| 077b7fe2 | 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
add configuration for rector
A workflow should automatically suggest a new pull request with the changes.
Initial fixes will not be applied from the auto generated PR but will be added as piece by
add configuration for rector
A workflow should automatically suggest a new pull request with the changes.
Initial fixes will not be applied from the auto generated PR but will be added as piece by piece commits with rule updates to this branch.
show more ...
|
| 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 |
| c49393f5 | 09-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
increase required PHP version to 7.4 |
| 605810ee | 26-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
use local squid docker instance for proxy testing |
| 6b8df285 | 05-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
added deprecated tag for phpQuery::newDocument()
for highlightin in IDE |
| af28745a | 12-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
extracted JS compressor into its own library
This moves our JavaScript compressor into its own composer dependency. |
| 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 |
| a42c05d2 | 23-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Add mechanism to parse the Version data into its parts
This will be needed in the release automation I'm currently working on. |
| 7fb26b8e | 14-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Properly quick search in titles with UTF-8 chars.
Fixes #3808 |
| 8f5f1b87 | 02-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
Revert "reset Event System in TestRequest"
This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.
We have test that manipulate the event handler (eg. registering their own events on that han
Revert "reset Event System in TestRequest"
This reverts commit d09a8e055b2b1ddb55da17403441e873517de553.
We have test that manipulate the event handler (eg. registering their own events on that handler) which broke with above commit.
A better way needs to be found.
show more ...
|
| d09a8e05 | 01-Feb-2023 |
Andreas Gohr <andi@splitbrain.org> |
reset Event System in TestRequest
To better simulate requests, event registration should be redone on each simulated request. |
| 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 ...
|
| 17d97b8f | 27-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
fix type hints for new php-dom-wrapper |
| 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 ...
|
| 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 ...
|
| 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 ...
|