| 53f3816e | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
do not drop undefined settings when saving the configuration |
| f37fd93e | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix numericopt setting
In 55a4f137738ef5718cc047e5fb802e1c6d0a409f a bug was introduced that
* forced resaving the config even if it hadn't changed * prevented setting the value to an empty string
fix numericopt setting
In 55a4f137738ef5718cc047e5fb802e1c6d0a409f a bug was introduced that
* forced resaving the config even if it hadn't changed * prevented setting the value to an empty string once set
show more ...
|
| 8356fe60 | 25-May-2018 |
Christopher Smith <chris@jalakai.co.uk> |
improve update() comments |
| e901cf74 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
make abstract test abstract again |
| d6987bdd | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fixed updateSettings iteration |
| 28cc4f40 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
make the onoff setting more boolean
We now parse true and false as well as some common strings |
| 6dd8fd81 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
some more testing |
| d6fc72e1 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix language and TOC handling |
| 91109d52 | 25-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
Fixed some bugs in the Loader and added tests |
| d7ab5a00 | 24-May-2018 |
Michael Große <grosse@cosmocode.de> |
fix: throw RemoteAccessDeniedException if not admin |
| 96d46bf4 | 24-May-2018 |
Michael Große <grosse@cosmocode.de> |
feat(RemoteAPI): Add call to delete Users to the remote API ✨ |
| 661c1ddc | 23-May-2018 |
Christopher Smith <chris@jalakai.co.uk> |
Make lexer/state stack more understandable - rename lexer $mode property to avoid two different uses of "mode" variables in the lexer - clarify/improve comments |
| 3af323c1 | 23-May-2018 |
Michael Große <grosse@cosmocode.de> |
fix: workaround premature metadata generation on page save
This fixes a bug where the creator of a new page was not saved to metadata. That could happen if a plugin calls pageinfo() in the IO_WIK
fix: workaround premature metadata generation on page save
This fixes a bug where the creator of a new page was not saved to metadata. That could happen if a plugin calls pageinfo() in the IO_WIKIPAGE_WRITE event AFTER handler. This creates a new .meta file for the page with the page's mtime as the creation timestamp. That caused the if clause changed in this commit to evaluate as false and thus the creator key was not saved.
This commit now also treats the page as newly created if the created date in the metadata to the file's current mtime.
show more ...
|
| 7739b12f | 22-May-2018 |
Andreas Gohr <gohr@cosmocode.de> |
removed obsolete language files
These shouldn't be there anymore since the plugins have been deleted
|
| c73b800a | 20-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
some more tests on the output mechanism |
| 98a151ba | 20-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
Some first Setting class tests |
| af40dea1 | 20-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
proper defaults for initialize
There isn't really unset variables, but we do expect null to be passed for some of them.
This also moves the update method further up as it's logically the next step. |
| f00299d8 | 20-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
extract save checking into own method
Instead of having the out() method return empty strings, a new method tells the writer if a setting should be saved or not. Only then the out() method is called. |
| 5d703e34 | 20-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
Also allow test files ending in Test.php
This makes it possible to give test files proper PSR-2 names where the file is named after the class name. |
| e98b5e44 | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
sucess is green |
| eb1b5958 | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
basic test for the Writer class |
| 1c0be3eb | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
reset config directory for every test
Our test suite did not reset the config directory for each test class as it does for the data directory. In addition it copied all files from the main config di
reset config directory for every test
Our test suite did not reset the config directory for each test class as it does for the data directory. In addition it copied all files from the main config directory over. Both may create an unpredictable state for tests.
This streamlines the initialization.
show more ...
|
| 70b28bcf | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
check for opcache function before using it |
| 0a5b05eb | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
Moved settings to their own namespace |
| be1cc9ae | 18-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
replaced ptln() with echo
We used to use ptln to ensure the produced HTML source code is somewhat readable, but with modern HTML inspectors this is no longer necessary and makes the PHP source code
replaced ptln() with echo
We used to use ptln to ensure the produced HTML source code is somewhat readable, but with modern HTML inspectors this is no longer necessary and makes the PHP source code ugly.
show more ...
|