| f2a2bc72 | 21-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
remove old IE conditionals from script loading
We really need not to think about IE anymore |
| 1ef69b55 | 12-Feb-2024 |
Nickeau <gerardnico@users.noreply.github.com> |
The delete profile form was no more visible due to a missing echo
Sorry. I missed this one. It was on my list of errors but I forgot it. |
| 7e23bd08 | 11-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
use correct FeedOptions methods. fixes #4203
This makes feed.php use the correct methods for setting the feed type and content-type header. It also adds the missing type definition for RSS 1.0 |
| 7a9c51a0 | 10-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
Imports may not be named like local classes. fixes #4200
For compatibility reasons we let our old `cache` class inherit from `dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP v
Imports may not be named like local classes. fixes #4200
For compatibility reasons we let our old `cache` class inherit from `dokuwiki\Cache\Cache` but `cache` equals `Cache`. At least on some PHP versions? I did not see any problem on my local machine running PHP 8.2 but the problem was visible on a machine running 8.1.27
show more ...
|
| 2c978aed | 09-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
sprintf expects ...args instead of an array. fixes #4193 |
| 1cedacf2 | 09-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
gracefully handle decryption errors
This should fix #4198 |
| 1418a776 | 09-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: legacy compatibility fix
wiki.getAllPages and dokuwiki.getPagelist differed in how the last modification timestamp was communicated.
This should fix splitbrain/dokuwiki-plugin-sync#70 |
| 64e1c19b | 08-Feb-2024 |
Nickeau <gerardnico@users.noreply.github.com> |
Reintroduce the FEED_DATA_PROCESS event
As explained here:
https://github.com/dokuwiki/dokuwiki/issues/4191 |
| 643ea3a6 | 07-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix overeager optimization in Table handler. fixes #4186
This reverts an optimization introduced in bcaec9f47d06126b3e653fea89a86d8b6a6cbef8
The number of elements in $this->tableCalls may change d
fix overeager optimization in Table handler. fixes #4186
This reverts an optimization introduced in bcaec9f47d06126b3e653fea89a86d8b6a6cbef8
The number of elements in $this->tableCalls may change during the loop, so they need to be recounted on every step. To protect it from being "optimized" again, the loop was changed into a while loop.
Ultimately it should be checked if this method could be optimized in another way.
show more ...
|
| ab86a1cd | 06-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
adjust group type hint for User API response |
| 932ec837 | 06-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix User response object in API |
| 8b267e5e | 06-Feb-2024 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
| e9472a98 | 06-Feb-2024 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix false errors when calling getInfo() from some plugins |
| e08e2789 | 04-Feb-2024 |
Bheesham Persaud <171007+bheesham@users.noreply.github.com> |
inc/fulltext Result from splice could be empty
The code for `AND` and `OR` assumes the call to splice will always return 2 elements, which isn't the case if no terms are found.
Example log messages
inc/fulltext Result from splice could be empty
The code for `AND` and `OR` assumes the call to splice will always return 2 elements, which isn't the case if no terms are found.
Example log messages:
PHP Warning: Undefined array key 0 in .../dokuwiki/inc/fulltext.php on line 134 PHP Warning: Undefined array key 1 in .../dokuwiki/inc/fulltext.php on line 134 PHP Warning: foreach() argument must be of type array|object, null given in .../dokuwiki/inc/fulltext.php on line 614
Simplified example, via `php -a`:
php > $arr = []; php > [$a, $b] = array_splice($arr, -2); PHP Warning: Undefined array key 0 in php shell code on line 1 PHP Warning: Undefined array key 1 in php shell code on line 1
To clear the warning we check if the result is empty and break early, otherwise we pass the result into `ft_resultCombine` or `ft_resultUnite`, which both handle the length 1 arrays.
show more ...
|
| e502773d | 28-Jan-2024 |
CodyMaster007 <lazorenkoda1@gmail.com> |
translation update |
| d160d64a | 27-Jan-2024 |
JPdroid <jpdroid.jpo@gmail.com> |
translation update |
| 32b5865d | 26-Jan-2024 |
NiteNeal <niteneal@gmail.com> |
translation update |
| 2fb31c4f | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
io_deleteFromFile: pass a string not null |
| 72c714a3 | 26-Jan-2024 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
| e860a4fb | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix is_ssl() check
There was a global statement missing? This seems to have to been broken in one of the recent merges.
Tests have been cleaned up but not changes in logic. |
| 4847991d | 26-Jan-2024 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
| cf9a4884 | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: use default favicon as very last resort
The dokuwiki logos we deliver in the wiki namespace are preferable. |
| 4554d54d | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: set item date. fixes #2960
The date was completely missing in the recent refactor. This readds it and uses a unix timestamp as suggested in #2960 |
| a94c17ee | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
style fixes |
| 1136941d | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: set tagline as subtitle. fixes #2239 |