aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LinkFilterTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Hashtag systemArthurHoaro2016-06-061-0/+26
| | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* Refactor filter in LinkDBArthurHoaro2016-03-251-4/+3
| | | | | | | | * 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
* FeedBuilder unit testsArthurHoaro2016-03-251-6/+4
|
* Allow crossed search between terms and tagsArthurHoaro2016-02-281-1/+50
| | | | | | | * Partial fix of #449 * Current use case: search term + click on tag. * LinkFilter now returns all links if no filter is given. * Unit tests.
* Support text search across link fields.ArthurHoaro2016-02-151-6/+45
|
* Improved search: combine AND, exact terms and exclude search.ArthurHoaro2016-02-151-4/+36
|
* Add exclusion in tag searchArthurHoaro2016-02-151-0/+16
| | | | | | | | | | | * 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.
* Implemented searching for a phrase in double-quotes or all words in no ↵Florian Voigt2016-02-011-1/+16
| | | | | | particular order. + unit tests
* Link filter refactoringArthurHoaro2016-01-061-0/+242
* 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.