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 ...
|
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 |
dfa189a8 | 22-Jun-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid timeouts in tests
For some reason it seems that CLI tests on github run with a execution time limit that can't be disabled by setting the appropriate ini value. Even more odd, the problem seem
avoid timeouts in tests
For some reason it seems that CLI tests on github run with a execution time limit that can't be disabled by setting the appropriate ini value. Even more odd, the problem seems to exist on windows only (even though the same limit is set on both OSes). In any case, this simply resets the time limit for each test run and that seems to fix the timeout issue.
show more ...
|
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 |
5d2c5d7e | 04-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
reformat code |
591ebe45 | 04-Jan-2022 |
Gerrit Uitslag <klapinklapin@gmail.com> |
add unittests for loading of defaults, extra defaults, local and protected settings |
2cd6cc0a | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
move resolvers into File namespace |
ee78287d | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
added autoplural tests for PageResolver |
093aec3d | 02-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
added pageresolver tests for tilde+startpage behaviour |
f7711f2b | 01-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
always use the same htmlspecialchars setup
defaults for htmlspecialchars change in PHP 8.1
All calls should always use our hsc() method to ensure comparability (especially when testing) |
d8ab8746 | 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Revert "Merge pull request #3039 from takuy/video-attributes"
This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversing changes made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d. |
e36579e9 | 26-Dec-2021 |
Andreas Gohr <andi@splitbrain.org> |
Revert "fixed video attribute handling in php8"
This reverts commit f5cdab8ec90af0cde0c0e32209470cfa820b8ab5. |