| 96ebed36 | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix warning when no headline id is provided in section editor
When plugins implement their own section editor, usually no hid parameter will be set, triggering a warning in PHP 8.
fixes #114 |
| 3e2e2c4f | 17-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid php8 warnings in authad. fixes #3746 |
| 0c79340c | 15-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix codestyle |
| 0b1b444c | 15-Aug-2022 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Remove Accept-Encoding from auth_browseruid()
Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audi
Remove Accept-Encoding from auth_browseruid()
Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audio
CAPTCHA in the official CAPTCHA plugin stopped matching its corresponding
image. Details here:
https://github.com/splitbrain/dokuwiki-plugin-captcha/issues/115#issuecomment-1215007408
show more ...
|
| c7dab4e8 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated method calls |
| c243774d | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
another go at #3717
c0ece86a0ac0cfab0856b056fb3ce8e726855542 was wrong too, because most deprecation logs drop the callee |
| 6c6732d6 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
output log messages to STDERR during unit testig
This is especially helpful to notice deprecation messages |
| c0ece86a | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and l
Another fix for #3717
The deprecation mechanism did actually log the wrong file (callee instead of caller). This was fixed and the message adjusted again.
A guardian for very short backtraces and large offsets was added
show more ...
|
| 25edeeca | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
log deprecation messages independent from allowdebug
Only the logging configuration should influnece if deprecation messages are to be logged. By default they should be logged. |
| aa726f38 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
better deprecation message for require. fixes #3717 |
| 704bf768 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated call to dbglog. fixes #3726 |
| 45230f13 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
use self hosted msglint api. fixes #3736 |
| 042e7b39 | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
declare visibility o new method (codestyle fix) |
| be6462f4 | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
log warnings to error log
This introduces an error handler that will log warnings, including a stack trace in the error log. This should help plugin and core authors with identifying cases of uninit
log warnings to error log
This introduces an error handler that will log warnings, including a stack trace in the error log. This should help plugin and core authors with identifying cases of uninitilized variables in PHP8+ environments.
A feature flag (default off) will let users temporarily disable the display of warnings in the frontend. This should allow the usage of not yet upgraded plugins in many cases. In the future the flag can be removed again.
show more ...
|
| 586feb6e | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
Fix PHP8.1 warnings in logviewer |
| 0d48ec5c | 13-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
fixes for the popularity plugin
* initialize values to avoid warnings in PHP 8.1 * avoid iterating over a missing change log |
| 2ab59305 | 07-Aug-2022 |
Benjamin BERNARD <benjamin.bernard@benvii.com> |
:bug: Fixes #3738 , default value for mediamanger in fullscreen mode |
| 3f168574 | 05-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update Recent.php
Fix bug in line 158:
Change
$itemType = $info['mode'] = $info['media'] ? 'media' : 'page';
to
$itemType = $info['media'] ? 'media' : 'page'; |
| 3855b15e | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update Recent.php
Change to use $info['media'] instead of checking for dots in $ID to decide $info['mode']. |
| 35bad86a | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update changelog.php
Change so `$x['media']` is always set to either true or false. This so in Recent.php `$recent['media']` is never null and won't cause undefined array key error in PHP8. |
| f8a541a2 | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update PageDiff.php |
| 921c2ae3 | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update MediaDiff.php |
| 4d8dc0ce | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update PageRevisions.php
Fix history for pages with dot in name |
| 7efac80b | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update MediaRevisions.php
Fix history for pages with dot in name. |
| 29baf676 | 04-Aug-2022 |
TherealperO <110610509+TherealperO@users.noreply.github.com> |
Update RevisionInfo.php
Fix broken history for pages with dots in name |