| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
Also prevent the token to be saved.
Fixes #1550
|
|
|
|
|
| |
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.:
|
|
|
|
| |
See https://www.php-fig.org/psr/psr-2/\#51-if-elseif-else
|
|
|
|
|
|
| |
Plugin parameter can contain a description in their meta file under the key:
parameter.<param_name>="<description>"
|
| |
|
| |
|
|
see shaarli/Shaarli#275
|