71951841 | 24-Sep-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
deprecate parseChangelogLine()
It was already replace in code, replaced in unit test as well. |
cc7691ad | 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
enforce content type on XML-RPC. addresses #3991
This ensures only text/xml or application/xml content types are accepted when communicating with the XML-RPC API |
605810ee | 26-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
use local squid docker instance for proxy testing |
977aa967 | 23-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
updated repo links |
25fd365a | 16-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
added test for #3924
Bug report says polish letters aren't deaccented correctly, but it seems to work? |
2b58f049 | 14-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix trim call in Mailer's name cleaning
The wrong quotes were used, turning what was meant to be a tab char into a literal t.
fixes #3923 |
697a39ae | 06-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
output full path when initializing savedir path fails
This will not only clean up double slashes etc. as mentioned in #3903 but will also output the full canonical path (starting at the filesystem r
output full path when initializing savedir path fails
This will not only clean up double slashes etc. as mentioned in #3903 but will also output the full canonical path (starting at the filesystem root) when showing an error on initializing the savedir paths. This should make it easier to understand which path DokuWiki is trying to access exactly.
show more ...
|
40f2b82e | 25-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Fix unititialized string offset access in query parser
The code always tried to access positon 2 of the parsed token, even for tokens shorter than that (like OR)
fixes #3896 |
7fb26b8e | 14-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Properly quick search in titles with UTF-8 chars.
Fixes #3808 |
d9a7912a | 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
use httpbingo for HTPP tests
This service is based on httpbin-go which seems to be better maintained and should be easy to set up for ourselves if needed.
This also fixes a warning when the client
use httpbingo for HTPP tests
This service is based on httpbin-go which seems to be better maintained and should be easy to set up for ourselves if needed.
This also fixes a warning when the client is reused with the max_bodysize mechanism
show more ...
|
98640fd3 | 27-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Move PSR compliant tests to the apropriate namespaces
Having "inc" in the namespace is awkward. Instead the test class namespaces now correspond to their real class namespaces.
With further refacto
Move PSR compliant tests to the apropriate namespaces
Having "inc" in the namespace is awkward. Instead the test class namespaces now correspond to their real class namespaces.
With further refactorings we should get rid of most of the stuff in tests/inc
this is a continuation of #3812
show more ...
|
c7f6b7b7 | 26-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Move IP functions into a class |
608cdefc | 22-Oct-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Factor out IP address functions; all proxies must be trusted |
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 ...
|
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 ...
|
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 ...
|
e21332f8 | 19-Sep-2022 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Fix testing errors with CRLF line endings |
a7580321 | 01-Sep-2022 |
Zebra North <mrzebra@mrzebra.co.uk> |
Fix clientIP() returning the wrong address |
c7dab4e8 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated method calls |
45230f13 | 14-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
use self hosted msglint api. fixes #3736 |
5a10fbce | 27-Jul-2022 |
Andreas Gohr <andi@splitbrain.org> |
Support the multiple attribute in Form selects
This should fix a problem mentioned in https://github.com/splitbrain/dokuwiki-plugin-data/pull/229#issuecomment-1196367602
Note that prefilling from $
Support the multiple attribute in Form selects
This should fix a problem mentioned in https://github.com/splitbrain/dokuwiki-plugin-data/pull/229#issuecomment-1196367602
Note that prefilling from $INPUT is still only supported for single value selects.
show more ...
|
b1d4a667 | 24-Jun-2022 |
Andreas Gohr <andi@splitbrain.org> |
throw exceptions in API on user creation errors
As discussed in #3609 |
047b3cae | 25-Jan-2022 |
Michael Wegener <wegener@satware.com> |
revert to simple boolean result when user creation fails, remove unused function |
f0e32bb9 | 24-Jan-2022 |
Michael Wegener <wegener@satware.com> |
Create one user per request |
0e0fd3b7 | 24-Jan-2022 |
Michael Wegener <wegener@satware.com> |
Implements #3606: add xmlrpc createUsers function |