Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ConfigManager: add a method to remove an entry | ArthurHoaro | 2018-07-05 | 1 | -0/+23 |
| | |||||
* | Fix warnings when upgrading from legacy SebSauvage version | ArthurHoaro | 2018-01-25 | 1 | -0/+14 |
| | | | | Fixes #1040 | ||||
* | Proper error if the conf file is invalid instead of fatal error | ArthurHoaro | 2017-03-12 | 1 | -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 namespace | ArthurHoaro | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | Fix blocking namespace issue | ArthurHoaro | 2017-03-08 | 1 | -4/+2 |
| | |||||
* | application: introduce the Shaarli\Config namespace | VirtualTam | 2017-03-04 | 4 | -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. | ArthurHoaro | 2016-10-20 | 1 | -1/+1 |
| | |||||
* | Parse plugin parameters description with the PluginManager | ArthurHoaro | 2016-08-02 | 1 | -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 files | ArthurHoaro | 2016-06-20 | 1 | -1/+1 |
| | |||||
* | Rename configuration key for better sections | ArthurHoaro | 2016-06-11 | 1 | -11/+11 |
| | |||||
* | ConfigManager no longer uses singleton pattern | ArthurHoaro | 2016-06-11 | 1 | -15/+13 |
| | |||||
* | Rename configuration keys and fix GLOBALS in templates | ArthurHoaro | 2016-06-11 | 2 | -18/+26 |
| | |||||
* | Adds ConfigJson which handle the configuration in JSON format. | ArthurHoaro | 2016-06-11 | 2 | -10/+261 |
| | | | | Also use the Updater to make the transition | ||||
* | Replace $GLOBALS configuration with the configuration manager in the whole ↵ | ArthurHoaro | 2016-06-11 | 2 | -22/+8 |
| | | | | code base | ||||
* | Introduce a configuration manager (not plugged yet) | ArthurHoaro | 2016-06-11 | 4 | -0/+265 |