7370732e | 03-Nov-2024 |
Sascha Leib <sascha.leib@kolmio.com> |
Time markup for Last Changed field
This adds semantic markup to the "last change" date in the article footer. This change should not have any impact on the rendering of the page. |
8b19906e | 30-Oct-2024 |
Andreas Gohr <andi@splitbrain.org> |
change use order for codesniffer happyness |
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 ...
|
180ba08b | 03-Oct-2024 |
Jürgen Mayer <gro.ikiwukod@x.wellen.org> |
translation update |
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 |
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 |
f4faa217 | 17-Jul-2024 |
Ekin <ata.ekin@windowslive.com> |
translation update |
4a9d6ae2 | 02-Jul-2024 |
mauli <mauli+gitstuff-things@maulware.com> |
Move JWT token into metadir #4239
Moving JWT token store away from cache directory, to have long-lived authentication files properly stored.
Using sha256 on the files instead of md5, to help mitiga
Move JWT token into metadir #4239
Moving JWT token store away from cache directory, to have long-lived authentication files properly stored.
Using sha256 on the files instead of md5, to help mitigate potential hash collision as filenames are based on username.
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. |
d4059ee7 | 22-Jun-2024 |
hauk92 <47572039+hauk92@users.noreply.github.com> |
Log in local time instead of utc |
0e1a7ec2 | 19-Jun-2024 |
merefox retronica <merefox@naver.com> |
translation update |
dafc9892 | 16-May-2024 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
432cfaa6 | 15-May-2024 |
Eduardo Mozart de Oliveira <eduardomozart182@gmail.com> |
translation update |
f28d9c9e | 08-May-2024 |
Junting Wu <lance20501@gmail.com> |
translation update |
186263b2 | 01-May-2024 |
Damien Regad <dregad@mantisbt.org> |
Apply PSR-12 to media_nstree() function |
de301a35 | 01-May-2024 |
Damien Regad <dregad@mantisbt.org> |
Fix display of media manager namespace hierarchy
When the media manager is called with ns parameter set to a value higher than the last namespace defined in the wiki, the non-existing namespace is n
Fix display of media manager namespace hierarchy
When the media manager is called with ns parameter set to a value higher than the last namespace defined in the wiki, the non-existing namespace is not added to the hierarchy.
This behavior is not consistent with what happens when the namespace's name is lower. In this case, an entry is inserted in the tree at the appropriate location.
Fixed by appending the temporary namespace at the end of the tree if it was not inserted by the search loop.
Fixes #4276
show more ...
|