#
69f9b481 |
| 28-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
add dbg_deprecated()
|
#
3b813d43 |
| 27-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
PHP8: check array key existence
|
#
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.
|
#
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
|
#
9c42b79d |
| 16-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
update saveWikiText()
allow plugin that provides alternative policy for handling external edits in changelog
|
#
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
|
#
c7192766 |
| 04-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
new method ChangeLog::addLogEntry()
rewrite `detectExternalEdit()` in inc/common.php
|
#
5ec96136 |
| 01-Nov-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
set revInfo{'current'] when needed
do not set 'current' key in ChangeLog:getCurrentRevisionInfo(), instead set it during loop in Revision and Diff classes
|
#
7866d571 |
| 24-Oct-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
UnitTest of pageinfo(), saveWikiText()
ChangeLog creates early .change file, p_get_metadata() will get full "meta_last_change" entry. The current key in the revinfo need to be excluded prior to p_s
UnitTest of pageinfo(), saveWikiText()
ChangeLog creates early .change file, p_get_metadata() will get full "meta_last_change" entry. The current key in the revinfo need to be excluded prior to p_set_metadata() call.
show more ...
|
#
252acce3 |
| 23-Oct-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
coding style of functions using ChangeLog
|
#
facfe250 |
| 14-Sep-2021 |
Satoshi Sahara <sahara.satoshi@gmail.com> |
external edits in changelog for images
|
#
056bf31f |
| 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix various errors in PHPUnit tests on PHP 8
|
#
98fe1ac9 |
| 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Remove ! operator causing unit tests to fail
|
#
357c9a39 |
| 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix undefined array keys when displaying images
|
#
c10f256a |
| 26-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix Undefined array key "DOKU_PREFS" in common.php
|
#
0a5f08e5 |
| 27-Oct-2020 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Minor optimization of clientIP()
Remove unnecessary assignment, check the output of filter_var() directly.
|
#
b75887c8 |
| 29-Sep-2020 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Remove $match, as it's no longer used
|
#
6a3c8020 |
| 29-Sep-2020 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Simplify clientIP() function
Replace regexps with FILTER_VALIDATE_IP
|
#
c0dd3914 |
| 27-Sep-2020 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Remove clientIP() verification from page locking
For editing without a user account, session_id() verification is more appropriate.
This will make page locking work for people editing the wiki from
Remove clientIP() verification from page locking
For editing without a user account, session_id() verification is more appropriate.
This will make page locking work for people editing the wiki from the same IP (which can happen in an office space, for example).
As discussed in https://forum.dokuwiki.org/d/18284-dont-store-ip-addresses/5
show more ...
|
#
46028c4c |
| 04-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is in
Move defines to their own file
As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is invoked (I'm not sure why).
In general PSR2 discourages a mix of main code and function/class setup with the call to define() being considered main code.
This patch moves these the define calls to a separate new file, solving both of the above problems.
These are not all our defines. Instead I focused on the ones that are ENUM-like.
In the future we should think about what defines can be replaced by class constants and what other define() calls should be moved.
show more ...
|
#
c8cc4053 |
| 04-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'nomailerrors'
* nomailerrors: replaced deprecated function call suppress errors messages in Mailer for non-admins #3014 more tests and a fix for #3036 added failing test for #3
Merge branch 'nomailerrors'
* nomailerrors: replaced deprecated function call suppress errors messages in Mailer for non-admins #3014 more tests and a fix for #3036 added failing test for #3036
show more ...
|
#
c1ec88ce |
| 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
remove calls to deprecated methods and classes
|
#
3314f3f5 |
| 01-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3007 from splitbrain/only-new
implemented only_new option for RSS feed
|
#
86858d7e |
| 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated function call
|