aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Updater/UpdaterTest.php
Commit message (Collapse)AuthorAgeFilesLines
* 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-111-29/+28
|
* 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-111-32/+48
| | | | 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-151-0/+227
* 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).