aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/container
Commit message (Collapse)AuthorAgeFilesLines
* Plugin system: allow plugins to provide custom routesArthurHoaro2020-11-151-0/+5
| | | | | | | | | | - 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 PSR-3 logger for login attemptsArthurHoaro2020-10-201-1/+4
| | | | Fixes #1122
* Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-151-0/+2
| | | | | | | | | | | | | | - There is a new standalone script (metadata.js) which requests a new controller to get bookmark metadata and fill the form async - This feature is enabled with the new setting: general.enable_async_metadata (enabled by default) - general.retrieve_description is now enabled by default - A small rotating loader animation has a been added to bookmark inputs when metadata is being retrieved (default template) - Custom JS htmlentities has been removed and mathiasbynens/he library is used instead Fixes #1563
* Compatibility with PHPUnit 9ArthurHoaro2020-09-291-1/+1
|
* Properly handle 404 errorsArthurHoaro2020-09-121-0/+2
| | | | | | Use 404 template instead of default Slim error page if the route is not found. Fixes #827
* Better handling of plugin incompatibilityArthurHoaro2020-08-271-9/+14
| | | | | 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.:
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-0/+11
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-3/+12
| | | | Also prefix most admin routes with /admin/
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-231-0/+4
|
* Refactor front controller tests to create container mock using a traitArthurHoaro2020-07-231-0/+38
|
* Process logout through Slim controllerArthurHoaro2020-07-231-1/+9
|
* Process picwall rendering through Slim controller + UTArthurHoaro2020-07-231-0/+4
|
* Render login page through Slim controllerArthurHoaro2020-01-261-0/+49