]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - index.php
Link filter refactoring
authorArthurHoaro <arthur@hoa.ro>
Sun, 27 Dec 2015 09:08:20 +0000 (10:08 +0100)
committerArthurHoaro <arthur@hoa.ro>
Wed, 6 Jan 2016 18:53:04 +0000 (19:53 +0100)
commit822bffced8212e7f34bcb2ad063b31a78bd57bdb
tree04cd1efe9d2f015669a451fc7c853c23e38a44cb
parentba83317573a1477d731cbd3d974b601cf9afdba3
Link filter refactoring

  * 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.
application/LinkDB.php
application/LinkFilter.php [new file with mode: 0644]
application/Utils.php
index.php
tests/LinkDBTest.php
tests/LinkFilterTest.php [new file with mode: 0644]
tests/utils/ReferenceLinkDB.php
tpl/linklist.html