| ce8ae75e | 03-Dec-2025 |
Andreas Gohr <gohr@cosmocode.de> |
allow underscore methods in renderers #4554 |
| 3f108b37 | 23-Oct-2025 |
Andreas Gohr <gohr@cosmocode.de> |
refactor preference cookie handling. fixes #4544
This refactors the DOKU_PREF cookie handling on the PHP side into a class. It makes encoding/decoding more explicit and easier to understand.
The ne
refactor preference cookie handling. fixes #4544
This refactors the DOKU_PREF cookie handling on the PHP side into a class. It makes encoding/decoding more explicit and easier to understand.
The new class is used in set_doku_pref() and get_doku_pref() which have not been deprecated for now.
show more ...
|
| 2e0b7f74 | 02-Sep-2025 |
Andreas Gohr <gohr@cosmocode.de> |
set DOKU_INC in rector
I had several cases where rector failed to work on plugins without this. I'm not 100% sure why, but it doesn't hurt to set this early. |
| 7caad012 | 04-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
extend tests, fix issues with new Ip methods |
| 78a26510 | 01-Apr-2025 |
Andreas Gohr <andi@splitbrain.org> |
Add experimental tree builder classes
These classes provide mechanisms to build a traversable tree of pages and links. Either from the existing namespace structure, or from a control page containing
Add experimental tree builder classes
These classes provide mechanisms to build a traversable tree of pages and links. Either from the existing namespace structure, or from a control page containing (possibly a nested) set of links.
The nodes returned by the tree are deliberately sparse. No ACL checking is taking place. Developers can enrich (or omit) nodes and influence recursion decisions via callbacks.
The tree can optionally be sorted by comparators provided in the TreeSort class or a custom callback.
The API provided by these classes is not considered stable yet and may change over time. Plugin authors are encouraged to use them and provide feedback.
show more ...
|
| 19f3aa32 | 15-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
updated dev dependencies |
| 61d21e86 | 15-Mar-2025 |
kuangfio <kuangfionaly@gmail.com> |
Added API endpoint core.getMediaHistory #4147
squashed commits of #4369 |
| ced0b55f | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
Fix Ip tests
We no longer use the old regexp based config, so the tests failed. |
| d5dd5d1b | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
use renamed trustedproxies setting in tests |
| 058c6bae | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
adjusted tests for new buildURLparams()
null values are no longer added as empty parameters. |
| 527ad715 | 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
allow to set unusable password
This could be used by plugins such as dokuwiki-plugin-oauth to create accounts that can only by accessed via SSO. |
| 8b9fc108 | 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
skip buggy rector rule
see rectorphp/rector#8916 |
| 1e467458 | 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
skip two more rules from rector |
| 93aadb6c | 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
update rector to 1.2
Some of our skipped rules no longer exist or apply. Next auto-cleanup should be checked extra careful |
| 36784b8f | 27-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
use new expectLogMessage to check condition tested in test_savesequence4() |
| 109ebc86 | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
io_replaceInFile: replace warning with logging call |
| f577a2ef | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
Allow tests to expect log messages |
| 9ad2b913 | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated phpunit assertions |
| 759b7c08 | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
use phpunit 9
This should be the last version supporting php 7.4 |
| 6535a28f | 12-Nov-2024 |
Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com> |
Fix MD5 hash calculation tests |
| 7ffd5bd2 | 01-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
alternative token header support
The Authorization header is not always passed on to PHP, depending on the setup (See https://stackoverflow.com/q/34472303 for examples and workarounds).
This patch
alternative token header support
The Authorization header is not always passed on to PHP, depending on the setup (See https://stackoverflow.com/q/34472303 for examples and workarounds).
This patch adds support for an alternative X-DokuWiki-Token header that can be used when using token authentication and the standard Authorization header can not be used.
show more ...
|
| 07a871e6 | 25-Jun-2024 |
Andreas Gohr <andi@splitbrain.org> |
Support Woltlab password hashes
The Woltlab forum software uses bcrypt passwords, but prefixes them with "Bcrypt:". This adds support for this in our PassHash class. |
| ed46af86 | 27-Mar-2024 |
Andreas Gohr <andi@splitbrain.org> |
disable RemoveUnusedConstructorParamRector
At least until rectorphp/rector#8580 is fixed |
| dfaf0747 | 13-Mar-2024 |
Andreas Gohr <andi@splitbrain.org> |
Support b and x variants for bcrypt hashes
Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3
As stated on https://stackoverflow.com/a/36225192
> there is no differen
Support b and x variants for bcrypt hashes
Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3
As stated on https://stackoverflow.com/a/36225192
> there is no difference between 2, 2a, 2x, 2y, and 2b. If you wrote your > implementation correctly, they all output the same result.
show more ...
|
| 2a113f46 | 03-Mar-2024 |
FailedCode <xeres666@googlemail.com> |
Tests: The at() matcher has been deprecated
fixes #3811
Replaces at() with withConsecutive() in these tests:
- TestOfLexer::testSinglePattern - TestOfLexer::testMultiplePattern - TestOfLexerModes:
Tests: The at() matcher has been deprecated
fixes #3811
Replaces at() with withConsecutive() in these tests:
- TestOfLexer::testSinglePattern - TestOfLexer::testMultiplePattern - TestOfLexerModes::testIsolatedPattern - TestOfLexerModes::testModeChange - TestOfLexerModes::testNesting - TestOfLexerModes::testSingular - TestOfLexerModes::testUnwindTooFar - TestOfLexerHandlers::testModeMapping - TestOfLexerByteIndices::testIndex - TestOfLexerByteIndices::testIndexLookaheadEqual - TestOfLexerByteIndices::testIndexLookaheadNotEqual - TestOfLexerByteIndices::testIndexLookbehindEqual - TestOfLexerByteIndices::testIndexLookbehindNotEqual
show more ...
|