aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Updater
Commit message (Collapse)AuthorAgeFilesLines
* namespacing: \Shaarli\UpdaterVirtualTam2019-01-122-880/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-122-0/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-4/+16
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to tests/VirtualTam2018-12-021-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add a button to set links as stickyArthurHoaro2018-10-061-0/+61
| | | | | | Meaning that they always appear on top of all links Fixes #186
* Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-1/+1
| | | | | | | | - 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
* Thumbnails: add a common mode to only retrieve thumbs from popular media ↵ArthurHoaro2018-07-051-3/+4
| | | | websites
* Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-4/+36
|
* Update thumbnail integration after rebasing the branchArthurHoaro2018-07-051-0/+15
|
* Make max download size and timeout configurableArthurHoaro2018-03-071-0/+64
| | | | Fixes #1061
* Use the new 'default' theme... as defaultArthurHoaro2017-05-091-40/+0
| | | | Fixes #866
* Fixes #304: use atom feed as defaultArthurHoaro2017-03-111-0/+45
| | | | RSS feed is still available with the setting set to false
* Fix #773: set Piwik URL protocolArthurHoaro2017-03-111-0/+41
|
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-041-1/+3
| | | | | | | | | | | 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>
* Add markdown_escape settingArthurHoaro2017-02-281-0/+66
| | | | | | | | | | | | | This setting allows to escape HTML in markdown rendering or not. The goal behind it is to avoid XSS issue in shared instances. More info: * the setting is set to true by default * it is set to false for anyone who already have the plugin enabled (avoid breaking existing entries) * improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof * mention the setting in the plugin README
* Set the vintage theme by default for the time beingArthurHoaro2017-02-271-0/+40
|
* Updater: keep custom theme preference with the new theme settingArthurHoaro2017-01-051-0/+44
|
* Minor improvements regarding #705 (coding style, unit tests, etc.)ArthurHoaro2017-01-051-0/+1
|
* Prepare settings for the API in the admin page and during the installArthurHoaro2016-12-121-2/+38
| | | | | | | | API settings: - api.enabled - api.secret The API settings will be initialized (and the secret generated) with an update method.
* Add a persistent 'shorturl' key to all linksArthurHoaro2016-12-121-4/+4
| | | | | | | All existing link will keep their permalinks. New links will have smallhash generated with date+id. The purpose of this is to avoid collision between links due to their creation date.
* Unit Test for the new ID systemArthurHoaro2016-12-121-0/+98
|
* Fix update method escapeUnescapedConfigArthurHoaro2016-08-021-0/+24
| | | | | | | * Actually run it * unit tests Fixes #611
* Rename configuration key for better sectionsArthurHoaro2016-06-111-6/+6
|
* ConfigManager no longer uses singleton patternArthurHoaro2016-06-112-34/+34
|
* Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-111-72/+25
|
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-111-6/+60
| | | | Also use the Updater to make the transition
* Replace $GLOBALS configuration with the configuration manager in the whole ↵ArthurHoaro2016-06-112-35/+50
| | | | code base
* Refactor filter in LinkDBArthurHoaro2016-03-251-2/+2
| | | | | | | | * search type now carried by LinkDB in order to factorize code between different search sources. * LinkDB->filter split in 3 method: filterSearch, filterHash, filterDay (we know what type of filter is needed). * filterHash now throw a LinkNotFoundException if it doesn't exist: internal implementation choice, still displays a 404. * Smallhash regex has been rewritten. * Unit tests update
* Private/Hidden tagsArthurHoaro2016-02-151-1/+0
| | | | | | | Tags starting with a dot '.' are now private. They can only be seen and searched when logged in. Fixes #315
* Add exclusion in tag searchArthurHoaro2016-02-151-0/+18
| | | | | | | | | | | * Searching '-mytag' will now exlude all shaares with 'mytag' tag. * All tags starting with a '-' are renamed without it (through the Updater). * Unit tests. Minor code changes: * LinkDB->filter() can now take no parameters (get all link depending on logged status). * tagsStrToArray() is now static and filters blank tags.
* Introduce the Updater class whichArthurHoaro2016-02-152-0/+295
* contains methods designed to be run once. * is able to upgrade the datastore or the configuration. * is based on methods names, stored in a text file with ';' separator (updates.txt). * begins with existing function 'mergeDeprecatedConfigFile()' (options.php).