#
d868eb89 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function declaration braces/spaces
|
#
c1482d1c |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function argument spacing
|
#
24870174 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to the rest of inc
|
#
64259528 |
| 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
removed outdated version check
|
#
bf8392eb |
| 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
use samesite=Lax cookie attribute #2849
Since this has been the default in Chrome for a while, no sideeffects are to be expected.
|
#
977aa967 |
| 23-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
updated repo links
|
#
a577fbc2 |
| 11-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
Don't send notifications if no save happend.
A page save might not actually save a new revision. For example when no changes were detected or a plugin cancelled the saving action. In that case no no
Don't send notifications if no save happend.
A page save might not actually save a new revision. For example when no changes were detected or a plugin cancelled the saving action. In that case no notifications should be sent and the cache does not need any updates.
Fixes #3871
show more ...
|
#
c7875401 |
| 02-Feb-2023 |
Jyoti S <16028156+AmritasyaPutra@users.noreply.github.com> |
Fix for PHP 8.1 Warning
I am running Dokuwiki Release 2022-07-31a "Igor" and I noticed the following variety of PHP logs generated:
[01-Feb-2023 07:21:37 Asia/Kolkata] PHP Warning: Undefined array
Fix for PHP 8.1 Warning
I am running Dokuwiki Release 2022-07-31a "Igor" and I noticed the following variety of PHP logs generated:
[01-Feb-2023 07:21:37 Asia/Kolkata] PHP Warning: Undefined array key "host" in /home/ekvastra/wiki.ekvastra.in/inc/common.php on line 1362
show more ...
|
#
a46a37ef |
| 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
avoid warning in formText when no text is given
|
#
181adffe |
| 09-Dec-2022 |
Julian Jeggle <julian.jeggle@uni-muenster.de> |
Check if SE referrer url actually has a query part
|
#
c7f6b7b7 |
| 26-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Move IP functions into a class
|
#
7ff6ad9a |
| 22-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Merge branch 'master' into fix-clientip
|
#
608cdefc |
| 22-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Factor out IP address functions; all proxies must be trusted
|
#
ec34bb30 |
| 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Update core code to make use of sexplode()
This makes use of our own explode mechanism everywhere were we expect a fixed number of results.
|
#
a7580321 |
| 01-Sep-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Fix clientIP() returning the wrong address
|
#
12dd3cbc |
| 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
introduce sexplode() as a PHP8 safe explode()
We often have constructs like
list($foo, $bar) = explode(',', $input, 2);
In PHP8+ this will throw warnings when the explode returns fewer than 2 elem
introduce sexplode() as a PHP8 safe explode()
We often have constructs like
list($foo, $bar) = explode(',', $input, 2);
In PHP8+ this will throw warnings when the explode returns fewer than 2 elements. Our code usually (always?) will anticipate missing elements so the construct isn't really problematic.
The implementation here wraps the solution suggested at https://stackoverflow.com/a/56971347 into a new utility function.
I anticipate that people might object to the function name. It was chosen as a short form of "safe explode". This makes fixing the warning easy by simply adding a single letter. I also find it slightly amusing and would be open to change it to just sex() just for the fun of it.
show more ...
|
#
10f359ad |
| 28-Apr-2022 |
Andreas Gohr <andi@splitbrain.org> |
Replace direct calls to strftime with dformat calls
This is in preparation for fixing #3573
|
#
e6c6ac50 |
| 22-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3574 from splitbrain/php81
Some PHP 8.1 compatibility fixes
|
#
79a2d784 |
| 05-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJ
update phpdocs, rename dokuwiki/Ui/Draft to PageDraft
|
#
bf8f8509 |
| 01-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
guard against unset parameters
Many string function will throw a deprecation warning in PHP 8.1 when null is passed. This adds a few guards in some of our methods (not all, yet)
|
#
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)
|
#
357931f3 |
| 28-Dec-2021 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Merge branch 'master' into revisionHandle3
|
#
a58fcbbc |
| 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
guard against unsert user name. fixes #3455
|
#
d70c006d |
| 20-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3270 from adakaleh/simplify_clientIP
Simplify clientIP() function
|
#
22bbbace |
| 20-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3269 from adakaleh/clientIP_page_locking
Remove clientIP() verification from page locking
|