| 8921dd32 | 30-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
Update SECURITY.md - huntr is dead |
| b3894732 | 30-Oct-2024 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
| ad7e67c5 | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
ignore codesniffer on override method |
| db926724 | 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Replace strftime with Intl ICU. Fixes #3573
This uses a class that maps strftime placeholders to the appropriate ICU patterns. I am using the fallback-intl branch here which provides an English-only
Replace strftime with Intl ICU. Fixes #3573
This uses a class that maps strftime placeholders to the appropriate ICU patterns. I am using the fallback-intl branch here which provides an English-only fallback when the intl extension is not available.
Core has only two places where strftime is used: dformat() and the SimplePie feed parser. Both are adjusted with this patch. For the latter a custom Item class had to be registered. For better separation all our FeedParser classes have been moved to the Feed namespace where our FeedCreator classes already reside.
Note that this will currently be a degration for users without intl as it will fall back to date and not to the still available strftime.
show more ...
|
| 850e6620 | 30-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
updated composer depedencies |
| 518edfb1 | 21-Oct-2024 |
Anna Dabrowska <dabrowska@cosmocode.de> |
LinkWizard: fix multilevel parents in references |
| 9085b15b | 15-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
use relative links in LinkWizard
When the linked page has a common prefix with the current page, construct a relative link instead of always inserting absolute links. |
| d3d20a66 | 15-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
LinkWizard: add method to create a relative link
This is not used, yet. Usage will be added in a future commit.
Since we don't have a proper testing framework in place, yet. Tests have been added a
LinkWizard: add method to create a relative link
This is not used, yet. Usage will be added in a future commit.
Since we don't have a proper testing framework in place, yet. Tests have been added as a standalone script that can be run manually.
show more ...
|
| d2fda519 | 14-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
doc blocks in link wizard |
| 8dcd6c40 | 14-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
Linkwizard: use strict comparisons |
| 3f677f5c | 14-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
LinkWizard: don't use the deprecated keycode property anymore |
| df4e0c23 | 14-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
turn link wizard into a class
Basic modernisation of the link wizard to more modern JavaScript. |
| 6f649915 | 04-Oct-2024 |
Tomáš Heger <heger.tomas@gmail.com> |
translation update |
| 180ba08b | 03-Oct-2024 |
Jürgen Mayer <gro.ikiwukod@x.wellen.org> |
translation update |
| 06c886b9 | 15-Sep-2024 |
Andreas Gohr <andi@splitbrain.org> |
Check security token for media restore. fix #4323
The whole media management is a mess, but this should fix the issue for now.
I think the severity is low since, this will only restore previously u
Check security token for media restore. fix #4323
The whole media management is a mess, but this should fix the issue for now.
I think the severity is low since, this will only restore previously uploaded media files, so permissions need to be high enogh for upload anyway.
show more ...
|
| e44b94a4 | 08-Sep-2024 |
Andreas Gohr <andi@splitbrain.org> |
Revert "use a dispatcher to access static image files"
This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.
It was accidentally pused to master before review. A PR with a revert for the re
Revert "use a dispatcher to access static image files"
This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.
It was accidentally pused to master before review. A PR with a revert for the revert will be pushed shortly.
show more ...
|
| 944e9ba7 | 08-Sep-2024 |
Andreas Gohr <andi@splitbrain.org> |
use a dispatcher to access static image files
This makes it possible to replace default images in an update safe way. It also addresses the issue raised in dokuwiki/docker#16
A .htaccess rewrite ca
use a dispatcher to access static image files
This makes it possible to replace default images in an update safe way. It also addresses the issue raised in dokuwiki/docker#16
A .htaccess rewrite catches any direct accesses that might come in from plugins.
show more ...
|
| 521819ff | 26-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
make sure stderr is defined in logger
STDERR is only defined when PHP is called from the command line.
In the docker health check we set DOKU_UNITTEST to make sure that errors trigger exceptions in
make sure stderr is defined in logger
STDERR is only defined when PHP is called from the command line.
In the docker health check we set DOKU_UNITTEST to make sure that errors trigger exceptions instead being logged only. However when the error then is also written to STDERR it fails.
This patch makes sure the data is written to PHP's STDERR stream handler instead.
Should fix dokuwiki/docker#15
show more ...
|
| 598ce738 | 21-Aug-2024 |
nakky <nakky@naver.com> |
translation update |
| cff9a541 | 07-Aug-2024 |
Nathan Neulinger <nneul@neulinger.org> |
Support a URI parameter for ldap since current code doesn't actually work |
| d22e654a | 06-Aug-2024 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Use the reflection method |
| c04d78e1 | 05-Aug-2024 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Forgot to lowercase the result |
| 81f8bc8b | 05-Aug-2024 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Update AbstractAction.php
PHP 8 makes this method faster that the previous SubstringStrChr method mentioned in https://stackoverflow.com/a/27457689 |
| 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 ...
|
| b1a9a7ad | 01-Aug-2024 |
Kazutaka Miyasaka <kazmiya@gmail.com> |
Fix stored XSS vulnerability via do=export_metadata #4305
This prevents metadata export in general and also ensures the the temporary $doc property in the metadata renderer is cleared in document_end |