History log of /dokuwiki/ (Results 1151 – 1175 of 10762)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b8ef19fe04-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Add support to access multiple rows at once

When saving word indexs (w*.idx) often multiple words of the same length
will need to be accessed. This implements a new method that allows that
in an eff

Add support to access multiple rows at once

When saving word indexs (w*.idx) often multiple words of the same length
will need to be accessed. This implements a new method that allows that
in an efficient way.

Note: this removes the INDEX_MARK_DELETED mechanism to mark deleted
entries. Entries are now deleted using empty lines again. This makes the
batch handling much simpler. If a good reason exists that we should keep
it, it can be readded.

show more ...

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

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

Update common_saveWikiText.test.php

allow 2nd to last revision check for normal save

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

fix undefined variable

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

update unittest checkChangeLogAfterNormalSave

add routine for "save on top of external edit" assertions

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

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

set default size for embedded SVGs

many templates fail to set proper sizes for admin icons etc. This will
prevent SVGs from blowing up by default - of course templates should
still overwrite this de

set default size for embedded SVGs

many templates fail to set proper sizes for admin icons etc. This will
prevent SVGs from blowing up by default - of course templates should
still overwrite this default.

show more ...

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

saveWikiText() unittest 5

5.1 create a page
5.2 external edit
5.3 edit and save
5.4 delete
5.5 create a page, second time
5.6 externally delete
5.7 create a page, third time

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

saveWikiText() unittest 3.3

second to last revision check after repeated external edit

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

saveWikiText() unittest 4

4.1 externally create a page
4.2 edit and save
4.3 externally edit (file older than last rev)

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.

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

group assertions for saveWikiText()

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

avoid doubling line in logviewer. fixes #3554

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

1...<<41424344454647484950>>...431