aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config
Commit message (Collapse)AuthorAgeFilesLines
* Multiple small fixesArthurHoaro2020-07-231-1/+3
|
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-0/+2
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-0/+1
| | | | | | | | | | | | | | | If the option is enabled, it will try to find a meta tag containing the page description and keywords, just like we do for the page title. It will either look for regular meta tag or OpenGraph ones. The option is disabled by default. Note that keywords meta tags is mostly not used. In `configure` template, the variable associated with this setting is `$retrieve_description`. Fixes #1302
* Remove the redirector settingArthurHoaro2019-02-091-4/+0
| | | | Fixes #1239
* namespacing: \Shaarli\UpdaterVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Exceptions\IOExceptionVirtualTam2019-01-123-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-2/+10
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to application/VirtualTam2018-12-021-2/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* 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
* Fix warnings when upgrading from legacy SebSauvage versionArthurHoaro2018-01-251-3/+3
| | | | Fixes #1040
* Shaarli's translationArthurHoaro2017-10-226-11/+20
| | | | | | | | | * 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-122-3/+13
|/ | | | | | | | 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-093-33/+44
|
* Fix blocking namespace issueArthurHoaro2017-03-082-15/+19
|
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-045-14/+15
| | | | | | | | | | | 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>
* Merge pull request #732 from ArthurHoaro/feature/theme-managerArthur2017-01-062-1/+3
|\ | | | | Theme manager: improvements
| * Change templates set through administration UIKnah Tsaeb2017-01-052-1/+3
| |
* | Cleanup: explicit method visibilityVirtualTam2017-01-053-9/+9
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* 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-202-1/+3
|
* Parse plugin parameters description with the PluginManagerArthurHoaro2016-08-021-3/+7
| | | | | | 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/+14
|
* Rename configuration key for better sectionsArthurHoaro2016-06-112-51/+55
|
* 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-113-46/+115
|
* Set the default timezone in index.phpArthurHoaro2016-06-111-3/+0
|
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-113-6/+69
| | | | Also use the Updater to make the transition
* Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-114-8/+50
| | | | code base
* Introduce a configuration manager (not plugged yet)ArthurHoaro2016-06-114-0/+607