aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/ConfigManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Allow setting of a default note title, see #963Mark Gerarts2017-10-011-0/+1
|
* added option to redirect all anonymous users to login pageWilli Eggeling2017-09-031-0/+1
| | | | | | - new setting *force_login* added and documented - if both, *force_login* and *hide_public_links* are set to true, all requests (except for the feeds) are redirected to the login page
* Merge pull request #944 from thewilli/configure-remembermeVirtualTam2017-08-271-0/+2
|\ | | | | new setting: default value for 'remember me' checkbox
| * new setting: default value for 'remember me' checkboxWilli Eggeling2017-08-271-0/+2
| | | | | | | | | | | | - the default state for the login page's 'remember me' checkbox can now be configured - adapted the default and vintage theme to consider the new setting - added documentation for the new setting
* | migrated Github wiki links to readthedocsWilli Eggeling2017-08-261-2/+2
|/
* Add a whitelist of protocols for URLsArthurHoaro2017-05-251-0/+1
| | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* History mechanismArthurHoaro2017-03-211-0/+1
| | | | | | | | | | | Use case: rest API service * saved by default in data/history * same format as datastore.php * traced events: * save/edit/delete link * change settings or plugins settings * rename tag
* Merge pull request #804 from ArthurHoaro/feature/atom-defaultArthurHoaro2017-03-211-1/+1
|\ | | | | Fixes #304: use atom feed as default
| * Fixes #304: use atom feed as defaultArthurHoaro2017-03-111-1/+1
| | | | | | | | RSS feed is still available with the setting set to false
* | Proper error if the conf file is invalid instead of fatal errorArthurHoaro2017-03-121-1/+5
|/ | | | | | | | 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-33/+3
|
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-041-10/+6
| | | | | | | | | | | 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>
* Change templates set through administration UIKnah Tsaeb2017-01-051-0/+1
|
* REST API structure using Slim frameworkArthurHoaro2016-12-151-1/+3
| | | | | | * REST API routes are handle by Slim. * Every API controller go through ApiMiddleware which handles security. * First service implemented `/info`, for tests purpose.
* Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-10-201-0/+2
|
* Rename configuration key for better sectionsArthurHoaro2016-06-111-27/+31
|
* ConfigManager no longer uses singleton patternArthurHoaro2016-06-111-43/+41
|
* Remove remaining settings initialization in index.phpArthurHoaro2016-06-111-51/+13
| | | | Except for those which require external data (timezone and $_SERVER).
* Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-111-29/+54
|
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-111-4/+3
| | | | Also use the Updater to make the transition
* Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-111-4/+45
| | | | code base
* Introduce a configuration manager (not plugged yet)ArthurHoaro2016-06-111-0/+363