| 7fba736b | 28-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update metadata of changed page in PageFile class |
| 07869ee7 | 28-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix typo |
| b43eeadb | 27-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 ...
|
| 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) |
| 3b813d43 | 27-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
PHP8: check array key existence |
| 36454bb5 | 27-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. |
| 666bc21d | 27-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
fix Undefined variable $id |
| b24e9c4a | 27-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 ...
|
| bbb28b9c | 27-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
remove goto-loop structure
plugin event handler should set correct changeType. |
| 3c425c43 | 24-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
group assertions for saveWikiText() |
| b9a4556d | 24-Nov-2021 |
Andreas Gohr <andi@splitbrain.org> |
avoid doubling line in logviewer. fixes #3554 |
| 66f4cdd4 | 24-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 |
| 6a410eb3 | 23-Nov-2021 |
Eduardo Mozart de Oliveira <eduardomozart182@gmail.com> |
translation update |
| 9c42b79d | 16-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update saveWikiText()
allow plugin that provides alternative policy for handling external edits in changelog |
| 326bf346 | 15-Nov-2021 |
Spiros Ioannou <sivann@gmail.com> |
much better greek (el) translations |
| d5824ab9 | 13-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rigorous COMMON_WIKIPAGE_SAVE
ignore wrong changes in id and file data caused by event handlers |
| 05282e9f | 13-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
use time() for revision date of externally deleted page
also, code doc updates |
| d154755d | 13-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
rename saveRevisionInfo to cacheRevisionInfo |
| a3a0fc58 | 13-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
move hasRevision() to trait |
| 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. |
| 01f039b6 | 11-Nov-2021 |
Andreas Gohr <andi@splitbrain.org> |
simplify relative resolver and add tests |
| 1c097872 | 11-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. |