| ac56bec8 | 17-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
fall back to empty (root) dir for base dir detection
When a basedir could not be detected, the default previously was '.' resulting in a valid but weird URL (http://example.com/./doku.php). We now d
fall back to empty (root) dir for base dir detection
When a basedir could not be detected, the default previously was '.' resulting in a valid but weird URL (http://example.com/./doku.php). We now default to an empty dir, resulting in a more sensible URL of http://example.com/doku.php
This should not matter in real web server setups but will be in effect while testing.
show more ...
|
| b5284271 | 09-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: add backward compatibility to API Version 11
This adds legacy support for the old API calls. This is mostly untested but should work. Returns might not be 100% compatible in all cases but I did
API: add backward compatibility to API Version 11
This adds legacy support for the old API calls. This is mostly untested but should work. Returns might not be 100% compatible in all cases but I did my best to return the same things as before.
This will be removed in the future of course and is just to not completely break any API usage immeadiately.
show more ...
|
| 0a034b36 | 08-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
do not pass referrer on api retry. fixes #3824
Our cache system ignores purge requests that have a referrer. The idea is to avoid permanent recaching because a purge link was posted somewhere. Howev
do not pass referrer on api retry. fixes #3824
Our cache system ignores purge requests that have a referrer. The idea is to avoid permanent recaching because a purge link was posted somewhere. However for the retry link in the extension manager we actually want the link to work. So this patch supresses the referrer for that link.
show more ...
|
| f11d3014 | 08-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
More resilence when talking to plugin repo fixes #4135
When the plugin repository answers but returns non-data (as can happen when the database isn't available, as we have learned yesterday), the ex
More resilence when talking to plugin repo fixes #4135
When the plugin repository answers but returns non-data (as can happen when the database isn't available, as we have learned yesterday), the extension manager still tried to deserialize the data.
This changes all communication from php-serialized to JSON encoded data. When JSON-decoding fails, the data is ignored and an error message is shown. Failure data like this will not be cached.
show more ...
|
| 12b99753 | 07-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix XMLRPC server tests
We test against the MockAPICore now since the tests are meant to ensure the general functionality of accepting XML and correctly calling APICalls works, not that the API retu
fix XMLRPC server tests
We test against the MockAPICore now since the tests are meant to ensure the general functionality of accepting XML and correctly calling APICalls works, not that the API returns the right things (this is tested in the ApiCore tests). Since we no longer use dates but always integers, we no longer need to handle that.
show more ...
|