History log of /dokuwiki/inc/ (Results 701 – 725 of 6646)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ec5280ef04-Dec-2021 Andreas Gohr <andi@splitbrain.org>

rearranging the Index class structure

This is a first step at stuff at restructuring the indexing classes a
bit more.

Some background:

We have basically two different kind of index files:

a) RowI

rearranging the Index class structure

This is a first step at stuff at restructuring the indexing classes a
bit more.

Some background:

We have basically two different kind of index files:

a) RowIndex (like page.idx)

Each line in the index contains a single value. The line number is used
as primary ID. These files can be very large. Thus an index like that
should never be read into memory completely if it can be avoided.

b) TupleIndex (like i12.idx)

Each line contains a list of tuples. The files tend to be smaller so
loading them completely for search and replace is easier.

Since the the access is so completely different, I tried to model that
in the two different classes, basically moving the methods from
\dokuwiki\Search\AbstractIndex to the new classes.

While doing so, I tried to make the doc blocks, variable names and
interface easier to understand. I also added tests for each of the
methods.

The old code has not been touched yet. So these classes do not do
anything outside of tests currently.

show more ...

3df1553d29-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

use Logger::debug() instead of deprecated dbglog()

a02395a129-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

catch up #3115 Sort with collator

fab81cc829-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

added missing 'notns' related code

05606aeb29-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix undefined array in FulltextSearch

this was already fixed by 5afd958 on 2021-02-05

97b27cd429-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix undefined variable

69f9b48128-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

add dbg_deprecated()

7fba736b28-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

update metadata of changed page in PageFile class

07869ee728-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix typo

3b813d4327-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

PHP8: check array key existence

36454bb527-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

remove page key from event data prior to return

$data['page'] is object $this, it is not possible to access the object after destructed.

666bc21d27-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix Undefined variable $id

b24e9c4a27-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

implement PageFile class

PageFile class handles wiki text file and its change management for specific page, main part comes from `function saveWikiText()`. This ensures and enables to use one **Pag

implement PageFile class

PageFile class handles wiki text file and its change management for specific page, main part comes from `function saveWikiText()`. This ensures and enables to use one **PageChangeLog** instance during a page save process among class methods and relevant plugins.

show more ...

bbb28b9c27-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

remove goto-loop structure

plugin event handler should set correct changeType.

66f4cdd424-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

set current revision date 1sec before now for external deletion

in preparation for possible new page save

6a410eb323-Nov-2021 Eduardo Mozart de Oliveira <eduardomozart182@gmail.com>

translation update

9c42b79d16-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

update saveWikiText()

allow plugin that provides alternative policy for handling external edits in changelog

d5824ab913-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

rigorous COMMON_WIKIPAGE_SAVE

ignore wrong changes in id and file data caused by event handlers

05282e9f13-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

use time() for revision date of externally deleted page

also, code doc updates

d154755d13-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

rename saveRevisionInfo to cacheRevisionInfo

a3a0fc5813-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

move hasRevision() to trait

54611a7a11-Nov-2021 Andreas Gohr <andi@splitbrain.org>

fix fallback implementation for resolve_pageid()

When an empty link was given, the old implementation fell back to $ID,
this was handled incorrectly in the deprecated method.

01f039b611-Nov-2021 Andreas Gohr <andi@splitbrain.org>

simplify relative resolver and add tests

1c09787211-Nov-2021 Andreas Gohr <andi@splitbrain.org>

make resolveStartPage easier to understand

This dosn't really change the behaviour but makes the code easier to
grasp. A simple unit test has been added.

fd260edf10-Nov-2021 alexdraconian <78018187+alexdraconian@users.noreply.github.com>

Update Ajax.php

1...<<21222324252627282930>>...266