| e7a87ee2 | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
fix http tests
The response at httpbingo has changed, tests needed updates |
| d41f5a8f | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
fix destructuring false returns from changelog functions
The changelog functions can return false when lines are unparsable or don't exist. The result can no longer be destructured then in newer PHP
fix destructuring false returns from changelog functions
The changelog functions can return false when lines are unparsable or don't exist. The result can no longer be destructured then in newer PHP versions. This adds the necessary checks.
It should also handle corrupt lines within a changelog better.
show more ...
|
| 2082444c | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
avoid using null as cache key
Sometime null is passed as revision to wikiFN. This should not happen but we're not very strict about the type here. Any falsy value is the current revision. But using
avoid using null as cache key
Sometime null is passed as revision to wikiFN. This should not happen but we're not very strict about the type here. Any falsy value is the current revision. But using null as an array key is deprecated. Also using different falsy values would also result in different caches, even though the same revision is meant. So this casts all revisions to integer and falsy values will be 0 now, solving both issues.
show more ...
|
| dc63e34d | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
Fix deprecation warning in UTF8/Conversion
Original message:
PHP Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead |
| da1e6c6b | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated tests for PHP 8.2
* now using DomWrapper 3.0 which removes a bunch of deprecation messages * fixed class name throwing a warning * fixed deprecated reflection use |
| 8e88a29b | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
update minimum requirement to PHP 8.2
According to https://stitcher.io/blog/php-version-stats-june-2025 most people are running a newer version anyway. 8.2 still receives security support til the en
update minimum requirement to PHP 8.2
According to https://stitcher.io/blog/php-version-stats-june-2025 most people are running a newer version anyway. 8.2 still receives security support til the end of the year and is the version included in Debian old-stable (Bookworm).
This patch only increases the minumum version and updates the composer dependencies. No code has been changed yet.
show more ...
|
| 2b2e0eb4 | 07-Mar-2026 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
| 4f50091d | 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
github actions: define concurrency groups
This should cancel queued or running actions, when a new push is made to the same branch. |
| 6def457d | 06-Mar-2026 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
editor: render focus outlines above other content |
| ce55bf2b | 06-Mar-2026 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
editor a11y: remove tabindex
these do more harm then good |
| 26d34d69 | 27-Feb-2026 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
add alt texts for size ctl images |
| 99eafcf3 | 27-Feb-2026 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
wrap size ctl images in buttons
to make them keyboard-accessible |
| 9d1b6472 | 06-Mar-2026 |
Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com> |
Update session validation checks in auth.php
Refactor session validation to check for user and pass existence. |
| 254a09b3 | 03-Mar-2026 |
smocap <smocap@gmail.com> |
Translation update (es) |
| 63820e33 | 03-Mar-2026 |
Christian Paul <info@jaller.de> |
Fix typo: conflictig -> conflicting |
| 9cdd189d | 25-Feb-2026 |
Andreas Gohr <gohr@cosmocode.de> |
make JWT available in session
When a token authentication was successful, the token is now added to the user session. This allows other plugins (like twofactor) make use of it. |
| 31003314 | 02-Feb-2026 |
Andreas Gohr <gohr@cosmocode.de> |
TreeBuilder: skip invalid pages and namespaces
This will hide namespace templates or weird folders from listings. Can be disabled with a flag if needed. |
| eb4caac3 | 27-Jan-2026 |
Andreas Gohr <andi@splitbrain.org> |
reuse bcrypt default difficulty #2093
Instead of hardcoding our own default, we can use PHP's constant |
| 8f178b70 | 19-Jan-2026 |
Alexander Lehmann <alexlehm@gmail.com> |
convert tests to data provider |
| 6f0cf24e | 17-Jan-2026 |
Alexander Lehmann <alexlehm@gmail.com> |
add comment to the real-ip test |
| 2b760c9f | 15-Jan-2026 |
Alexander Lehmann <alexlehm@gmail.com> |
add custom client_ip_header |
| 4628acd8 | 22-Dec-2025 |
DevAny <devany.kr@gmail.com> |
Translation update (ko) |
| 984279ed | 09-Dec-2025 |
Andreas Gohr <gohr@cosmocode.de> |
set explicit referrer-policy
This emits a referrer policy header. It will instruct browsers to send an abbreviated (host name only) referrer header on cross-origin requests.
This fixes issues with
set explicit referrer-policy
This emits a referrer policy header. It will instruct browsers to send an abbreviated (host name only) referrer header on cross-origin requests.
This fixes issues with YouTube embeds reported at splitbrain/dokuwiki-plugin-vshare#154
This setting is the default in many browsers, so it doesn't change behavior for most people.
More info at:
* https://github.com/splitbrain/dokuwiki-plugin-vshare/issues/154 * https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy
show more ...
|
| ba6d945f | 04-Dec-2025 |
WillForan <willforan@gmail.com> |
lint(Ip32.php): fix spacing
still unsure about function names and order
``` ./vendor/bin/phpcbf --standard=PSR12 ../inc/Ip32.php
------------------------------------------------ FILE
lint(Ip32.php): fix spacing
still unsure about function names and order
``` ./vendor/bin/phpcbf --standard=PSR12 ../inc/Ip32.php
------------------------------------------------ FILE FIXED REMAINING ------------------------------------------------ dokuwiki/inc/Ip32.php 35 0 ```
show more ...
|
| 2f70db90 | 04-Dec-2025 |
WillForan <willforan@gmail.com> |
fix: 32bit IP tests w/string of decimal representation, overflows
Math in PHP is hard! sprintf("%.0f",0x7FFFFFFFFFFFFFFF) == sprintf("%.0f",0x7FFFFFFFFFFFFF00)
Changes * 32bit gets own version o
fix: 32bit IP tests w/string of decimal representation, overflows
Math in PHP is hard! sprintf("%.0f",0x7FFFFFFFFFFFFFFF) == sprintf("%.0f",0x7FFFFFFFFFFFFF00)
Changes * 32bit gets own version of tests where expected values are strings * decimalToBinary32 to replace `sprintf("%032b%032b"...)`, avoids overflow * overflow check in ipv4 too * refactor * partsTo64 for 32bit parts into dec value as str (bcmath) * Ip32::$b32 as class constant * condition always PHP_INT_SIZE == 4 for 32bit (instead of == 8 for 64)
show more ...
|