aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_test/tests
Commit message (Collapse)AuthorAge
...
* | | | | add (failing) compability test for AES encryptionAndreas Gohr2024-01-12
|/ / / /
* | | | fix IP testsAndreas Gohr2024-01-07
| | | | | | | | | | | | | | | | to accommodate the change introduced in e6d2a179db8ba3d368f5d453201de9ce41502a4f
* | | | added tests for auth token handlingAndreas Gohr2023-10-12
|/ / /
* | | Merge pull request #4074 from dokuwiki/issue4072Andreas Gohr2023-10-12
|\ \ \ | | | | | | | | strip any trailing dots when resolving IDs
| * | | removed obsolete testsAndreas Gohr2023-09-30
| | | | | | | | | | | | | | | | These tests have been moved to the File namespace.
| * | | strip any trailing dots when resolving IDsAndreas Gohr2023-09-30
| | | | | | | | | | | | | | | | fixes #4072
* | | | Fix unit test, little refactorGerrit Uitslag2023-09-25
| | | |
* | | | deprecate parseChangelogLine()Gerrit Uitslag2023-09-25
|/ / / | | | | | | | | | It was already replace in code, replaced in unit test as well.
* | | enforce content type on XML-RPC. addresses #3991Andreas Gohr2023-06-09
| | | | | | | | | | | | | | | This ensures only text/xml or application/xml content types are accepted when communicating with the XML-RPC API
* | | use local squid docker instance for proxy testingAndreas Gohr2023-04-26
| | |
* | | extracted JS compressor into its own libraryAndreas Gohr2023-03-29
| | | | | | | | | | | | This moves our JavaScript compressor into its own composer dependency.
* | | updated repo linksAndreas Gohr2023-03-23
| | |
* | | added test for #3924Andreas Gohr2023-03-16
| | | | | | | | | | | | | | | Bug report says polish letters aren't deaccented correctly, but it seems to work?
* | | fix trim call in Mailer's name cleaningAndreas Gohr2023-03-14
| | | | | | | | | | | | | | | | | | | | | The wrong quotes were used, turning what was meant to be a tab char into a literal t. fixes #3923
* | | Merge pull request #3831 from dokuwiki/pr3774Andreas Gohr2023-03-14
|\ \ \ | | | | | | | | Mail EOL handling
| * \ \ Merge branch 'pr/3774' into pr3774Andreas Gohr2022-11-08
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pr/3774: Revert: Messed up PR #3774 Replace direct access to $_SERVER with $INPUT->server->… Shorten comment line to appease PHP Code Sniffer Remove PHP version differentiation for MAILHEADER_EOL Fix testing errors with CRLF line endings remove obsolete define of MAILHEADER_EOL Handle change of line endings in mail() in PHP 8.0.14+
| | * | | Fix testing errors with CRLF line endingsfiwswe2022-09-19
| | |/ /
* | | | output full path when initializing savedir path failsAndreas Gohr2023-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix unititialized string offset access in query parserAndreas Gohr2023-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The code always tried to access positon 2 of the parsed token, even for tokens shorter than that (like OR) fixes #3896
* | | | Add mechanism to parse the Version data into its partsAndreas Gohr2023-02-23
| | | | | | | | | | | | | | | | This will be needed in the release automation I'm currently working on.
* | | | Properly quick search in titles with UTF-8 chars.Andreas Gohr2023-02-14
| | | | | | | | | | | | | | | | Fixes #3808
* | | | use httpbingo for HTPP testsAndreas Gohr2023-01-31
|/ / / | | | | | | | | | | | | | | | | | | | | | 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
* | | Move PSR compliant tests to the apropriate namespacesAndreas Gohr2022-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #3814 from splitbrain/exphpqueryAndreas Gohr2022-10-27
|\ \ \ | | | | | | | | replace phpquery by php-dom-wrapper #3308
| * | | replace phpquery by php-dom-wrapper #3308Andreas Gohr2022-10-19
| | |/ | |/| | | | | | | | | | | | | 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.
* | | Merge pull request #3812 from splitbrain/testnsAndreas Gohr2022-10-27
|\ \ \ | |/ / |/| | Test Autoloading Cleanup
| * | add proper namespace to test classesAndreas Gohr2022-10-19
| | | | | | | | | | | | | | | This adds the test namespace to those test classes that are already in PSR4 format.
| * | fix autoloading for testsAndreas Gohr2022-10-19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | Merge pull request #3798 from splitbrain/nofootshootAndreas Gohr2022-10-19
|\ \ | | | | | | Remove the htmlok and phpok embedding options
| * | Remove the htmlok and phpok embedding optionsAndreas Gohr2022-10-12
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #3721 from splitbrain/multioptsAndreas Gohr2022-10-19
|\ \ | |/ |/| Support the multiple attribute in Form selects
| * Support the multiple attribute in Form selectsAndreas Gohr2022-07-27
| | | | | | | | | | | | | | | | 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.
* | replace deprecated method callsAndreas Gohr2022-08-14
| |
* | use self hosted msglint api. fixes #3736Andreas Gohr2022-08-14
|/
* Merge pull request #3349 from cziehr/masterAndreas Gohr2022-06-24
|\ | | | | Fix loading order of extra defaults settings in the Configuration Manager
| * reformat codeGerrit Uitslag2022-01-05
| |
| * add unittests for loading of defaults, extra defaults, local and protected ↵Gerrit Uitslag2022-01-05
| | | | | | | | settings
* | throw exceptions in API on user creation errorsAndreas Gohr2022-06-24
| | | | | | | | As discussed in #3609
* | revert to simple boolean result when user creation fails, remove unused functionMichael Wegener2022-01-25
| |
* | Create one user per requestMichael Wegener2022-01-24
| |
* | Implements #3606: add xmlrpc createUsers functionMichael Wegener2022-01-24
| |
* | Merge pull request #3574 from splitbrain/php81Andreas Gohr2022-01-22
|\ \ | | | | | | Some PHP 8.1 compatibility fixes
| * | always use the same htmlspecialchars setupAndreas Gohr2022-01-01
| |/ | | | | | | | | | | | | defaults for htmlspecialchars change in PHP 8.1 All calls should always use our hsc() method to ensure comparability (especially when testing)
* | move resolvers into File namespaceAndreas Gohr2022-01-02
| |
* | Merge branch 'master' into refactorResolvingAndreas Gohr2022-01-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (142 commits) authPDO: extend mysql test to ensure multiple groups are read update DokuWiki install URL update smtp plugin URL update flashplayer URL Revert "Merge pull request #3039 from takuy/video-attributes" Revert "fixed video attribute handling in php8" Revert "more php8 fixes for the video attributes" guard against unsert user name. fixes #3455 remove remaining X-UA-Compatible headers. fixes #3434 more php8 fixes for the video attributes fixed video attribute handling in php8 fix test for draft file fix security problems in draft handling. fixes #3565 fix handling of loading auth backend check CSRF token in draftdel action. fixes #3563 ignore another PSR12 style check for now authplain: properly clean user names Removes use of deprecated create_function() in teests. Replaces them with anonymous functions. Refs #3545 check security token on logout. fixes #3561 create SECURITY.md fixes #3558 ...
| * Merge branch 'master' into revisionHandle3Gerrit Uitslag2021-12-28
| |\
| | * Revert "Merge pull request #3039 from takuy/video-attributes"Andreas Gohr2021-12-26
| | | | | | | | | | | | | | | This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversing changes made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d.
| | * Revert "fixed video attribute handling in php8"Andreas Gohr2021-12-26
| | | | | | | | | | | | This reverts commit f5cdab8ec90af0cde0c0e32209470cfa820b8ab5.
| | * Revert "more php8 fixes for the video attributes"Andreas Gohr2021-12-26
| | | | | | | | | | | | This reverts commit 89e046c85b43365a46ce9f137a1b843d3ef6813b.
| | * more php8 fixes for the video attributesAndreas Gohr2021-12-20
| | | | | | | | | | | | I defaulted back to null instead of an empty array.