| 591ebe45 | 04-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
add unittests for loading of defaults, extra defaults, local and protected settings |
| 2cd6cc0a | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
move resolvers into File namespace |
| ee78287d | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
added autoplural tests for PageResolver |
| 093aec3d | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
added pageresolver tests for tilde+startpage behaviour |
| f7711f2b | 01-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
always use the same htmlspecialchars setup
defaults for htmlspecialchars change in PHP 8.1
All calls should always use our hsc() method to ensure comparability (especially when testing) |
| d8ab8746 | 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Revert "Merge pull request #3039 from takuy/video-attributes"
This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversing changes made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d. |
| e36579e9 | 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Revert "fixed video attribute handling in php8"
This reverts commit f5cdab8ec90af0cde0c0e32209470cfa820b8ab5. |
| c48d6608 | 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Revert "more php8 fixes for the video attributes"
This reverts commit 89e046c85b43365a46ce9f137a1b843d3ef6813b. |
| 89e046c8 | 20-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
more php8 fixes for the video attributes
I defaulted back to null instead of an empty array. |
| f5cdab8e | 20-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
fixed video attribute handling in php8 |
| 1ef67323 | 17-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix test for draft file |
| dec26820 | 08-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
retrieveRow needs to pad the index, too |
| 8ed35011 | 08-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
better method names |
| d6396b6d | 08-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
we need the same access methods in both index types |
| 9bd7d62f | 08-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Changed IndexAccessor names based on access method not content |
| b8ef19fe | 04-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 ...
|
| ec5280ef | 04-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 ...
|
| 5e23cdb8 | 29-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
Update common_saveWikiText.test.php
allow 2nd to last revision check for normal save |
| b7b9a99d | 28-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update unittest checkChangeLogAfterNormalSave
add routine for "save on top of external edit" assertions |
| 8fb3ff96 | 27-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 |
| e21f9472 | 27-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
saveWikiText() unittest 3.3
second to last revision check after repeated external edit |
| 92fda7f4 | 27-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) |
| 3c425c43 | 24-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
group assertions for saveWikiText() |
| ed1d7c89 | 11-Nov-2021 |
Andreas Gohr <andi@splitbrain.org> |
removed wrong test
See https://github.com/splitbrain/dokuwiki/pull/3272#issuecomment-966367900 for reasoning |
| 54611a7a | 11-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. |