]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
New plugin hook: ability to add custom filters to Shaarli search engine 1698/head
authorArthurHoaro <arthur@hoa.ro>
Wed, 20 Jan 2021 14:59:00 +0000 (15:59 +0100)
committerArthurHoaro <arthur@hoa.ro>
Thu, 4 Feb 2021 10:02:50 +0000 (11:02 +0100)
commitbcba6bd353161fab456b423e93571ab027d5423c
tree97a618b77d327a5f963c91522988e24db5a9e158
parent8997ae6c8e24286f7d47981eaf905e80d2481c10
New plugin hook: ability to add custom filters to Shaarli search engine

A new plugin hook has been added: hook_test_filter_search_entry
This hook allows to filter out bookmark with custom plugin code when a search is performed.

Related to #143
27 files changed:
application/api/ApiMiddleware.php
application/bookmark/BookmarkFileService.php
application/bookmark/BookmarkFilter.php
application/container/ContainerBuilder.php
application/plugin/PluginManager.php
doc/md/dev/Plugin-system.md
plugins/demo_plugin/demo_plugin.php
tests/PluginManagerTest.php
tests/api/ApiMiddlewareTest.php
tests/api/controllers/info/InfoTest.php
tests/api/controllers/links/DeleteLinkTest.php
tests/api/controllers/links/GetLinkIdTest.php
tests/api/controllers/links/GetLinksTest.php
tests/api/controllers/links/PostLinkTest.php
tests/api/controllers/links/PutLinkTest.php
tests/api/controllers/tags/DeleteTagTest.php
tests/api/controllers/tags/GetTagNameTest.php
tests/api/controllers/tags/GetTagsTest.php
tests/api/controllers/tags/PutTagTest.php
tests/bookmark/BookmarkFileServiceTest.php
tests/bookmark/BookmarkFilterTest.php
tests/bookmark/BookmarkInitializerTest.php
tests/feed/FeedBuilderTest.php
tests/netscape/BookmarkExportTest.php
tests/netscape/BookmarkImportTest.php
tests/plugins/test/test.php
tests/updater/UpdaterTest.php