aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/ConfigManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-0/+3
| | | | | | | | - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config
* Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-7/+0
|
* ConfigManager: add a method to remove an entryArthurHoaro2018-07-051-1/+49
|
* Use web-thumbnailer to retrieve thumbnailsArthurHoaro2018-07-051-0/+4
| | | | | | | | | | * requires PHP 5.6 * use blazy on linklist since a lot more thumbs are retrieved * thumbnails can be disabled * thumbs size is now 120x120 * thumbs are now cropped to fit the expected size Fixes #345 #425 #487 #543 #588 #590
* Use a specific page title in all pagesArthurHoaro2018-02-241-1/+1
| | | | | | Also fixed a few French translation issues Fixes #954 #955
* Shaarli's translationArthurHoaro2017-10-221-1/+5
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* 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