| d51dacaa | 13-Feb-2021 |
Dario <darioriso@virgilio.it> |
translation update |
| b1ed87eb | 07-Feb-2021 |
Anika Henke <anika@selfthinker.org> |
Make it easier to remove h1 around logo
This adds a class to the h1 around the logo and changes the CSS to reference that class instead of the h1. That way it's easier to change the h1 to a div if s
Make it easier to remove h1 around logo
This adds a class to the h1 around the logo and changes the CSS to reference that class instead of the h1. That way it's easier to change the h1 to a div if someone prefers to have not more than one h1 per page.
show more ...
|
| 66b64c2a | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Address Scrutinizer inspection failure
The variable ``$port`` seems only to be defined at a later point. As such the call to ``isset()`` seems to always evaluate to ``false``. |
| 012c7cdc | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix Constant DOKU_MEDIADETAIL already defined
This error only occurs when PHPUnit runs both the `testScripts` and the `test_Validity` suites [1], because all tests are running in the same PHP proces
Fix Constant DOKU_MEDIADETAIL already defined
This error only occurs when PHPUnit runs both the `testScripts` and the `test_Validity` suites [1], because all tests are running in the same PHP process.
Adding an `if(!defined` check to avoid the problem.
[1]: ./phpunit.phar --filter 'testScripts|test_Validity'
show more ...
|
| 6d3d9dba | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Improve remote_test::test_notExistingCall()
There are actually 2 distinct test cases of invalid methods:
1. Not following the definition in Api class's PHPDoc block - core methods begin by a 'do
Improve remote_test::test_notExistingCall()
There are actually 2 distinct test cases of invalid methods:
1. Not following the definition in Api class's PHPDoc block - core methods begin by a 'dokuwiki' or 'wiki' followed by a . and the method name itself. - plugin methods are formed like 'plugin.<plugin name>.<method name>' 2. Method "type" does not begin with 'dokuwiki', 'wiki' or 'plugin'
A new check was added so both are now covered.
Test was modified to make use of PHPUnit expectException() method, instead of relying on a try/catch block.
show more ...
|
| 868550d4 | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix incorrect assertion in input_test::test_set()
$INPUT is set to 'test2', but the $_POST checks for 'test'. |
| 63f13cad | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fixed typos |
| 056bf31f | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix various errors in PHPUnit tests on PHP 8 |
| 049a05cf | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
.gitignore: exclude PHPUnit tests related files
The following files should not be checked in: - phpunit.phar: per documentation [1], it is PHP version-specific - PHPUnit's cache file - data files ge
.gitignore: exclude PHPUnit tests related files
The following files should not be checked in: - phpunit.phar: per documentation [1], it is PHP version-specific - PHPUnit's cache file - data files generated during tests execution
[1]: https://www.dokuwiki.org/devel:unittesting
show more ...
|
| fa3a5b86 | 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Reorganize .gitignore
- Add comment to regroup editor/IDE and temp files - Move config-related excludes together with other DokuWiki ones |
| a5bc54e3 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix version comparison in phpunit downloader |
| 57538c4b | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix deprecated phpunit assertions |
| f1d70d12 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
remove old DokuCLI class
This has been deprecated in 2017. Removing it instead of fixing tests and PHP8 compatibility |
| 1eadd9e8 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix global access on detail.php and avoid null loading
Another problem surfaced in the tests |
| 5afd9580 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix undefined array warning in fulltext indexer
This was surfaced on PHP8 and might actually have been a bug before. |
| 3366d071 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix PHP8 errors in tests
These were problems within the tests itself. There are many more problems in the actual code. |
| 1c33cec3 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
add needed type hints for phpunit8
This will break a lot of plugin tests, but can't be avoided |
| bd9dab32 | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
remove unnamespaced php unit wrapper |
| 34c8d5ba | 04-Feb-2021 |
Andreas Gohr <andi@splitbrain.org> |
default to phpunit8 now |
| 5d8c2b09 | 02-Feb-2021 |
Petr Kajzar <petr.kajzar@centrum.cz> |
translation update |
| e12277d1 | 29-Jan-2021 |
Anika Henke <anika@selfthinker.org> |
Fix TOC being cut off in `export_xhtml` mode |
| 4e5594e3 | 29-Jan-2021 |
Anika Henke <anika@selfthinker.org> |
Fix page's background colour in `export_html` mode
When using the `export_html` mode (page without surrounding layout) the page's background colour is grey with a gradient. That is the same backgrou
Fix page's background colour in `export_html` mode
When using the `export_html` mode (page without surrounding layout) the page's background colour is grey with a gradient. That is the same background that the page with layout has but different to the background the text is on. What you would want is the same colour the text is on, which is white.
show more ...
|
| 98fe1ac9 | 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Remove ! operator causing unit tests to fail |
| c9dd70d1 | 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix Undefined array key in xhtml.php |
| 357c9a39 | 27-Jan-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix undefined array keys when displaying images |