2f828abf | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
style fix |
19d5ba27 | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
rename trustedproxy option to trustedproxies
We use a new format (array instead of regex) and need a sure way to recognize it. Zebra's approach would not have survived the editing via config manager
rename trustedproxy option to trustedproxies
We use a new format (array instead of regex) and need a sure way to recognize it. Zebra's approach would not have survived the editing via config manager. As a side effect this also introduces a new languange string, which is good because the old one did no longer apply.
show more ...
|
e449acd0 | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
some small cleanups in Ip class
most importantly do not crash on invalid config |
6cc6a0d2 | 09-Jan-2025 |
Andreas Gohr <andi@splitbrain.org> |
use http_build_query() in buildURLparams()
buildURLparams() is used all throughout the code, but its implementation was overly simplistic. This changes it to use the much better builtin http_build_q
use http_build_query() in buildURLparams()
buildURLparams() is used all throughout the code, but its implementation was overly simplistic. This changes it to use the much better builtin http_build_query() function. This allows for correct encoding of array values or deeper nested structures.
show more ...
|
b21b7935 | 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
mv UNUSABLE_PASSWORD const to defines |
0ffe9fda | 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
add new behavior to doc block |
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. |
bfad6904 | 22-Dec-2024 |
Peter Dave Hello <hsu@peterdavehello.org> |
translation update |
56bbc10d | 17-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
init rendering correctly in API
When rendering a page, the ID should be passed. |
8407f251 | 02-Dec-2024 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
958c4f80 | 02-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
removed obsolete files from static autoloader |
fb021356 | 27-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
drop tilde from title. fixes #4347
When a link with the page relative shortcut is used and no title is given, the given ID is used to create a title. In this case, the tilde should be removed from t
drop tilde from title. fixes #4347
When a link with the page relative shortcut is used and no title is given, the given ID is used to create a title. In this case, the tilde should be removed from the title.
[[~SomeThing]] -> SomeThing
show more ...
|
b9cda918 | 27-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
unset empty REMOTE_USER. fixes #4348
An empty remote user should not be set at all. Seems like some webservers always set the environment var, even if no authentication happened. I'd argue that this
unset empty REMOTE_USER. fixes #4348
An empty remote user should not be set at all. Seems like some webservers always set the environment var, even if no authentication happened. I'd argue that this is wrong, but this should fix the behaviour.
show more ...
|
389c05a6 | 27-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix revisions used in RSS feeds. fixes #4357
A negative value needs to be passed to retrieve the current revision. |
0e11cf25 | 27-Nov-2024 |
brzsmg <brzsmg@gmail.com> |
Typo in the word associative |
38b70223 | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
code style fixes for Logger |
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 |
0f7af8fc | 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
replace E_USER_ERROR triggers with RuntimeExceptions
The use of trigger_error with a E_USER_ERROR is deprecated in PHP 8.4 |
e086ef6c | 23-Nov-2024 |
lvl1ch43l <15932478+lvl1ch43l@users.noreply.github.com> |
Remove check for deprecated E_STRICT |
99a0b426 | 22-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
mark nullable types explicitly
PHP 8.4 will throw a warning where type hints without a ?prefix are used and nullable parameters can be passed.
I'm not sure if I found all occurances, but we still r
mark nullable types explicitly
PHP 8.4 will throw a warning where type hints without a ?prefix are used and nullable parameters can be passed.
I'm not sure if I found all occurances, but we still rarely use type hints, so it might not be many indeed.
show more ...
|
8864f727 | 22-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
remove deprecated code
This removes code that has been marked as deprecated before 2020. |
53c68e5c | 22-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated utf8_encode #4354 |
5dccc923 | 19-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix error on phrase search with no results. fixes #4355
When no pages for a phrase can be found, eg. because the index is still empty, end($stack) returns false instead of an array, breaking the fol
fix error on phrase search with no results. fixes #4355
When no pages for a phrase can be found, eg. because the index is still empty, end($stack) returns false instead of an array, breaking the following loop.
show more ...
|
7c39410d | 11-Nov-2024 |
Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com> |
Fix MD5 hash calculation
Fix mismatch between search_allpages (local) and core.listPages (XMLRPC) API call hash calculation. |