aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkFilter.php
Commit message (Collapse)AuthorAgeFilesLines
* Add exclusion in tag searchArthurHoaro2016-02-151-8/+22
| | | | | | | | | | | * 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-1/+0
| | | | | | | * 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).
* Implemented searching for a phrase in double-quotes or all words in no ↵Florian Voigt2016-02-011-13/+32
| | | | | | particular order. + unit tests
* Link filter refactoringArthurHoaro2016-01-061-0/+259
* introduce class LinkFilter to handle link filter operation (and lighten LinkDB). * handle 'private only' in filtering. * update template to prefill search fields with current search terms. * coding style. * unit test (mostly move from LinkDB to LinkFilter). PS: preparation for #358 #315 and 'AND' search.