History log of /dokuwiki/inc/ (Results 76 – 100 of 6440)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0f7af8fc25-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

e086ef6c23-Nov-2024 lvl1ch43l <15932478+lvl1ch43l@users.noreply.github.com>

Remove check for deprecated E_STRICT

99a0b42622-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 ...

8864f72722-Nov-2024 Andreas Gohr <andi@splitbrain.org>

remove deprecated code

This removes code that has been marked as deprecated before 2020.

53c68e5c22-Nov-2024 Andreas Gohr <andi@splitbrain.org>

replace deprecated utf8_encode #4354

5dccc92319-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 ...

7c39410d11-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.

7370732e03-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.

8b19906e30-Oct-2024 Andreas Gohr <andi@splitbrain.org>

change use order for codesniffer happyness

b389473230-Oct-2024 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes

ad7e67c526-Jan-2024 Andreas Gohr <andi@splitbrain.org>

ignore codesniffer on override method

db92672426-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 ...


/dokuwiki/composer.json
/dokuwiki/composer.lock
Feed/FeedParser.php
Feed/FeedParserFile.php
Feed/FeedParserItem.php
common.php
legacy.php
parser/xhtml.php
/dokuwiki/vendor/composer/autoload_files.php
/dokuwiki/vendor/composer/autoload_psr4.php
/dokuwiki/vendor/composer/autoload_static.php
/dokuwiki/vendor/composer/installed.json
/dokuwiki/vendor/composer/installed.php
/dokuwiki/vendor/geshi/geshi/CHANGELOG
/dokuwiki/vendor/geshi/geshi/THANKS
/dokuwiki/vendor/geshi/geshi/src/geshi/nim.php
/dokuwiki/vendor/paragonie/constant_time_encoding/README.md
/dokuwiki/vendor/paragonie/constant_time_encoding/src/Base32.php
/dokuwiki/vendor/paragonie/constant_time_encoding/src/Base64.php
/dokuwiki/vendor/paragonie/constant_time_encoding/src/Binary.php
/dokuwiki/vendor/paragonie/constant_time_encoding/src/Encoding.php
/dokuwiki/vendor/paragonie/constant_time_encoding/src/Hex.php
/dokuwiki/vendor/paragonie/constant_time_encoding/src/RFC4648.php
/dokuwiki/vendor/php81_bc/strftime/.editorconfig
/dokuwiki/vendor/php81_bc/strftime/.gitattributes
/dokuwiki/vendor/php81_bc/strftime/.gitignore
/dokuwiki/vendor/php81_bc/strftime/LICENSE
/dokuwiki/vendor/php81_bc/strftime/README.md
/dokuwiki/vendor/php81_bc/strftime/autoload.php
/dokuwiki/vendor/php81_bc/strftime/composer.json
/dokuwiki/vendor/php81_bc/strftime/example.php
/dokuwiki/vendor/php81_bc/strftime/src/AbstractLocaleFormatter.php
/dokuwiki/vendor/php81_bc/strftime/src/DateLocaleFormatter.php
/dokuwiki/vendor/php81_bc/strftime/src/IntlLocaleFormatter.php
/dokuwiki/vendor/php81_bc/strftime/src/php-8.1-strftime.php
/dokuwiki/vendor/phpseclib/phpseclib/BACKERS.md
/dokuwiki/vendor/phpseclib/phpseclib/composer.json
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/Strings.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/OpenSSH.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/PKCS8.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/Raw.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/StreamCipher.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/SymmetricKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS8.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/PrivateKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/OpenSSH.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS1.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PKCS8.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/PuTTY.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/Raw.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/XML.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ASN1.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/SSH2.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/PrivateKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Base.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Binary.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Montgomery.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/Prime.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/TwistedEdwards.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/Common.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/JWK.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPrivate.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/MontgomeryPublic.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/OpenSSH.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS1.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS8.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PuTTY.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/XML.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/libsodium.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ASN1.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/IEEE.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/SSH2.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/PrivateKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/JWK.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/MSBLOB.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/OpenSSH.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS1.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS8.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PSS.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PuTTY.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/Raw.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/XML.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/PrivateKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/PublicKey.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Exception/InvalidPacketLengthException.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Exception/TimeoutException.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ANSI.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/TBSCertList.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/X509.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/Barrett.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Barrett.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/EvalBarrett.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent.php
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/Identity.php
180ba08b03-Oct-2024 Jürgen Mayer <gro.ikiwukod@x.wellen.org>

translation update

e44b94a408-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 ...

944e9ba708-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 ...

521819ff26-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 ...

598ce73821-Aug-2024 nakky <nakky@naver.com>

translation update

d22e654a06-Aug-2024 fiwswe <53953985+fiwswe@users.noreply.github.com>

Use the reflection method

c04d78e105-Aug-2024 fiwswe <53953985+fiwswe@users.noreply.github.com>

Forgot to lowercase the result

81f8bc8b05-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

7ffd5bd201-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 ...

b1a9a7ad01-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

f4faa21717-Jul-2024 Ekin <ata.ekin@windowslive.com>

translation update

4a9d6ae202-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 ...

07a871e625-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.

12345678910>>...258