aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/config
Commit message (Collapse)AuthorAgeFilesLines
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-261-4/+12
|
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-1/+1
| | | | See #1307
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-171-0/+4
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* Optimize and cleanup importsVirtualTam2019-01-134-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Exceptions\IOExceptionVirtualTam2019-01-121-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* ConfigManager: add a method to remove an entryArthurHoaro2018-07-051-0/+23
|
* Fix warnings when upgrading from legacy SebSauvage versionArthurHoaro2018-01-251-0/+14
| | | | Fixes #1040
* Proper error if the conf file is invalid instead of fatal errorArthurHoaro2017-03-121-1/+1
| | | | | | | | Error: An error occurred while parsing configuration JSON file (data/config.json.php): error code #4 ➜ Syntax error Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
* Move config exception to dedicated classes with proper namespaceArthurHoaro2017-03-091-1/+1
|
* Fix blocking namespace issueArthurHoaro2017-03-081-4/+2
|
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-044-15/+16
| | | | | | | | | | | Namespaces have been introduced with the REST API, and should be generalized to the whole codebase to manage object scope and benefit from autoloading. See: - https://secure.php.net/manual/en/language.namespaces.php - http://www.php-fig.org/psr/psr-4/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-10-201-1/+1
|
* Parse plugin parameters description with the PluginManagerArthurHoaro2016-08-021-6/+6
| | | | | | Plugin parameter can contain a description in their meta file under the key: parameter.<param_name>="<description>"
* Add closing PHP tags to JSON config filesArthurHoaro2016-06-201-1/+1
|
* Rename configuration key for better sectionsArthurHoaro2016-06-111-11/+11
|
* ConfigManager no longer uses singleton patternArthurHoaro2016-06-111-15/+13
|
* Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-112-18/+26
|
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-112-10/+261
| | | | Also use the Updater to make the transition
* Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-112-22/+8
| | | | code base
* Introduce a configuration manager (not plugged yet)ArthurHoaro2016-06-114-0/+265