aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/ShaarliMiddleware.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix login loop for private instancesArthurHoaro2020-09-011-1/+1
| | | | | | GET /login and POST /login have 2 distinct route name. Fixes #1533
* Move error handling to dedicated controller instead of middlewareArthurHoaro2020-08-211-25/+1
|
* Move all admin controller into a dedicated groupArthurHoaro2020-08-131-1/+11
| | | | Also handle authentication check in a new middleware for the admin group.
* Fix basePath in unit tests reference DBArthurHoaro2020-07-281-0/+1
|
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-261-2/+2
|
* Multiple small fixesArthurHoaro2020-07-231-1/+1
|
* Process login through Slim controllerArthurHoaro2020-07-231-1/+3
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-0/+6
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-8/+65
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-3/+3
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-0/+2
| | | | | | | With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
* Initialize admin Slim controllersArthurHoaro2020-07-231-2/+5
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Render login page through Slim controllerArthurHoaro2020-01-261-0/+57