| 32f53e97 | 27-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
log additional errors
Our error handler was only logging warnings, but logging other errors, especially those that may have been triggered by 3rd party libs, is helpful, too. This adds a few more lo
log additional errors
Our error handler was only logging warnings, but logging other errors, especially those that may have been triggered by 3rd party libs, is helpful, too. This adds a few more loggable errors.
This should especially help with composer trigerring a E_USER_ERROR when the PHP version mismatches.
show more ...
|
| c7f6b7b7 | 26-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Move IP functions into a class |
| 4ec0f22b | 26-Oct-2022 |
Edney Rossi <prof.edneyrossi@gmail.com> |
translation update |
| 0772dde2 | 26-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Fix handling of unknown array settings
When a plugin used an array setting and was then installed, the old configuration can remain in local.php. It is handled by the SettingUndefined class. However
Fix handling of unknown array settings
When a plugin used an array setting and was then installed, the old configuration can remain in local.php. It is handled by the SettingUndefined class. However this class used the base out() mechanism which didn't know about arrays. The result was a fatal error resulting in a completely empty config file.
This moves the error handling from the SettingArray class to the base class which fixes the original problem.
It also adds a check if the Writer is about to write a completely empty config file and refuses to do so, throwing an Exception.
Probably related to #3777
show more ...
|
| 608cdefc | 22-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Factor out IP address functions; all proxies must be trusted |
| 8accc6f3 | 20-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
remove language strings for htmlok and phpok options
These options have been removed in bbe6b3a78bfaae7c3435ed2f909108be642b4684 |
| 70f2f351 | 20-Oct-2022 |
Phy <git@phy25.com> |
Update intro.txt |
| acdf738a | 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace phpquery by php-dom-wrapper #3308
This replaces the outdated phpquery library by the newer and maintained php-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery is left in but
replace phpquery by php-dom-wrapper #3308
This replaces the outdated phpquery library by the newer and maintained php-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery is left in but marked as deprecated.
show more ...
|
| fabefb7a | 19-Oct-2022 |
xboxones1 <91512529+xboxones1@users.noreply.github.com> |
Change text color for diff |
| ec34bb30 | 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Update core code to make use of sexplode()
This makes use of our own explode mechanism everywhere were we expect a fixed number of results. |
| b54ce96c | 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
add proper namespace to test classes
This adds the test namespace to those test classes that are already in PSR4 format. |
| ec85aeb2 | 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix autoloading for tests
This replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7
The canonical namespace for DokuWiki core tests is dokuwiki/test/ and this is mapped to _test/tests no
fix autoloading for tests
This replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7
The canonical namespace for DokuWiki core tests is dokuwiki/test/ and this is mapped to _test/tests now in the autoloader.
This means the majority of tests is in the dokuwiki/test/inc namespace.
Mockfiles are located at _test/mock and have the namespace dokuwiki/test/mock - if that's good or bad is debatable. I simply kept it as it always has been. But there might be an argument for having mock objects closer to the tests that use them (eg. right next to the test files).
show more ...
|
| 257ea06e | 19-Oct-2022 |
小李 <szsd5257@foxmail.com> |
translation update |
| ccc4830f | 16-Oct-2022 |
Olivier Humbert <trebmuh@tuxfamily.org> |
translation update |
| a8bda4bf | 16-Oct-2022 |
Olivier Humbert <trebmuh@tuxfamily.org> |
translation update |
| 08e37986 | 15-Oct-2022 |
Philippe Verbeke <ph.verbeke@gmail.com> |
translation update |
| 1a0013a6 | 14-Oct-2022 |
Schplurtz le Déboulonné <schplurtz@laposte.net> |
translation update |
| 2d198df1 | 12-Oct-2022 |
Aleksandr Selivanov <alexgearbox@yandex.ru> |
translation update |
| 631c6873 | 12-Oct-2022 |
Aleksandr Selivanov <alexgearbox@yandex.ru> |
translation update |
| 171622de | 12-Oct-2022 |
Olivier Humbert <trebmuh@tuxfamily.org> |
translation update |
| bbe6b3a7 | 12-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Remove the htmlok and phpok embedding options
Both options have grave security implications and novice users seem to ignore advice about them. In the last decades I never came across a wiki that had
Remove the htmlok and phpok embedding options
Both options have grave security implications and novice users seem to ignore advice about them. In the last decades I never came across a wiki that had legitimate use of these options.
If someone needs the functionality, it can easily be added back using a plugin. But I prefer to give users one less option to shoot themselves in the foot.
Removal of the translations for the config strings can follow after this has been merged.
show more ...
|
| ddba3176 | 12-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
gitignore improvements for tracking the wiki namespace
The previous exceptions didn't work. Found the correct way at https://stackoverflow.com/a/57859600 |
| 2f907d1b | 11-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
translation update |
| f5457a66 | 10-Oct-2022 |
Olivier HUMBERT <trebmuh@users.noreply.github.com> |
Update French translation
consistency with the rest of the translation |
| 9e83fb7b | 10-Oct-2022 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
use real French words. Thanks to @Trebmuh |