]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Add exclusion in tag search
authorArthurHoaro <arthur@hoa.ro>
Wed, 20 Jan 2016 22:34:33 +0000 (23:34 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 15 Feb 2016 19:40:39 +0000 (20:40 +0100)
commit21979ff11ceee0042642ac17147858a4155d54c5
tree9527f3dbb2a23e0b42a2f9ce4cc7d4c7580da455
parent6e607ca613b47e17f7516e94adfee930d4f3e1e8
Add exclusion in tag search

  * 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.
application/LinkDB.php
application/LinkFilter.php
application/Updater.php
tests/LinkDBTest.php
tests/LinkFilterTest.php
tests/Updater/UpdaterTest.php
tests/utils/ReferenceLinkDB.php