| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- 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
|