aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PluginManagerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* New plugin hook: ability to add custom filters to Shaarli search engineArthurHoaro2021-02-041-0/+16
| | | | | | | 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
* Plugin system: allow plugins to provide custom routesArthurHoaro2020-11-151-0/+39
| | | | | | | | | | - each route will be prefixed by `/plugin/<plugin_name>` - add a new template for plugins rendering - add a live example in the demo_plugin Check out the "Plugin System" documentation for more detail. Related to #143
* Use assertRegExp polyfill instead of regexMatchesArthurHoaro2020-09-291-1/+2
|
* Compatibility with PHP 8ArthurHoaro2020-09-291-2/+2
|
* Compatibility with PHPUnit 9ArthurHoaro2020-09-291-1/+1
|
* Plugins: do not save metadata along plugin parametersArthurHoaro2020-09-121-15/+29
| | | | | | Also prevent the token to be saved. Fixes #1550
* Better handling of plugin incompatibilityArthurHoaro2020-08-271-6/+23
| | | | | If a PHP is raised while executing plugin hook, Shaarli will display an error instead of rendering the error page (or just ending in fatal error for default hooks). Also added phpErrorHandler which is handled differently that regular errorHandler by Slim.:
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-171-2/+1
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-121-7/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-041-0/+1
| | | | | | | | | | | Namespaces have been introduced with the REST API, and should be generalized to the whole codebase to manage object scope and benefit from autoloading. See: - https://secure.php.net/manual/en/language.namespaces.php - http://www.php-fig.org/psr/psr-4/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #619 from ArthurHoaro/plugins/param-descVirtualTam2016-08-131-2/+8
|\ | | | | Add a description to plugin parameters
| * Parse plugin parameters description with the PluginManagerArthurHoaro2016-08-021-2/+8
| | | | | | | | | | | | Plugin parameter can contain a description in their meta file under the key: parameter.<param_name>="<description>"
* | Fix: add missing final newlines, untabify textVirtualTam2016-08-131-1/+1
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* PluginManager no longer uses singleton patternArthurHoaro2016-06-111-15/+19
|
* Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-311-0/+19
|
* Unit tests for Router and PluginManager.ArthurHoaro2015-11-071-6/+6
|
* Plugin system - COREArthurHoaro2015-11-071-0/+66
see shaarli/Shaarli#275