aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/visitor
Commit message (Collapse)AuthorAgeFilesLines
* Feature: Share private bookmarks using a URL containing a private keyArthurHoaro2020-10-271-0/+31
| | | | | | | | | | - Add a share link next to « Permalink » in linklist (using share icon from fork awesome) - This link generates a private key associated to the bookmark - Accessing the bookmark while logged out with the proper key will display it Fixes #475
* Merge pull request #1604 from ArthurHoaro/feature/server-admin-pageArthurHoaro2020-10-271-0/+9
|\ | | | | Feature: add a Server administration page
| * Feature: add a Server administration pageArthurHoaro2020-10-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | It contains mostly read only information about the current Shaarli instance, PHP version, extensions, file and folder permissions, etc. Also action buttons to clear the cache or sync thumbnails. Part of the content of this page is also displayed on the install page, to check server requirement before installing Shaarli config file. Fixes #40 Fixes #185
* | Use PSR-3 logger for login attemptsArthurHoaro2020-10-201-1/+1
|/ | | | Fixes #1122
* Asynchronous retrieval of bookmark's thumbnailsArthurHoaro2020-10-201-2/+55
| | | | | | | | | This feature is based general.enable_async_metadata setting and works with existing metadata.js file. The script is compatible with any template: - the thumbnail div bloc must have attribute - the bookmark bloc must have attribute with the bookmark ID as value Fixes #1564
* Compatibility with PHPUnit 9ArthurHoaro2020-09-2914-89/+110
|
* Fix invalid redirection using the path of an external domainArthurHoaro2020-09-222-10/+41
| | | | Fixes #1554
* Merge pull request #1539 from ArthurHoaro/feature/manual-root-urlArthurHoaro2020-09-224-9/+43
|\
| * Fix subfolder configuration in unit testsArthurHoaro2020-09-124-9/+43
| |
* | Properly handle 404 errorsArthurHoaro2020-09-122-1/+81
|/ | | | | | Use 404 template instead of default Slim error page if the route is not found. Fixes #827
* Fix feed target in UTArthurHoaro2020-09-031-3/+3
|
* Move error handling to dedicated controller instead of middlewareArthurHoaro2020-08-211-0/+70
|
* Move all admin controller into a dedicated groupArthurHoaro2020-08-131-0/+51
| | | | Also handle authentication check in a new middleware for the admin group.
* Remove anonymous permission and initialize bookmarks on loginArthurHoaro2020-08-011-3/+0
|
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-261-2/+0
|
* Fix: visitor are allowed to chose nb of links per pageArthurHoaro2020-07-241-0/+71
|
* Fix default link and redirection in install controllerArthurHoaro2020-07-241-2/+2
|
* Multiple small fixesArthurHoaro2020-07-231-0/+1
|
* Process login through Slim controllerArthurHoaro2020-07-232-4/+275
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-0/+264
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-0/+448
| | | | | 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-232-6/+6
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-232-13/+11
| | | | | | | 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.
* Process configure page through Slim controllerArthurHoaro2020-07-232-18/+19
|
* Test ShaarliAdminControllerArthurHoaro2020-07-231-1/+1
|
* Process password change controller through SlimArthurHoaro2020-07-239-99/+1
|
* Initialize admin Slim controllersArthurHoaro2020-07-239-0/+1938
- Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links