aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Default colors plugin: generate CSS file during initializationArthurHoaro2020-08-291-9/+10
| | | | | Current behaviour only generate the custom CSS file when the plugin settings are saved, which can be annoying if the file is deleted but the settings are set. Most common use case is Docker deployment, because the plugin directory is not mounted as a volume.
* Better handling of plugin incompatibilityArthurHoaro2020-08-273-15/+42
| | | | | 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.:
* Move error handling to dedicated controller instead of middlewareArthurHoaro2020-08-212-15/+84
|
* Move all admin controller into a dedicated groupArthurHoaro2020-08-136-69/+154
| | | | Also handle authentication check in a new middleware for the admin group.
* Remove anonymous permission and initialize bookmarks on loginArthurHoaro2020-08-012-8/+9
|
* Fix basePath in unit tests reference DBArthurHoaro2020-07-287-27/+25
|
* Better support for notes permalinkArthurHoaro2020-07-284-8/+8
|
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-266-11/+50
|
* Fix: visitor are allowed to chose nb of links per pageArthurHoaro2020-07-242-47/+72
|
* Fix default link and redirection in install controllerArthurHoaro2020-07-241-2/+2
|
* Multiple small fixesArthurHoaro2020-07-232-1/+2
|
* Process login through Slim controllerArthurHoaro2020-07-233-5/+281
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-239-42/+365
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-2310-146/+835
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Process thumbnail synchronize page through Slim controllersArthurHoaro2020-07-231-0/+154
|
* Process token retrieve through Slim controllerArthurHoaro2020-07-231-0/+41
|
* Process plugins administration page through Slim controllersArthurHoaro2020-07-231-0/+190
|
* Process bookmarks import through Slim controllerArthurHoaro2020-07-233-12/+157
|
* Process bookmark exports through Slim controllersArthurHoaro2020-07-231-0/+167
|
* Use NetscapeBookmarkUtils object instance instead of static callsArthurHoaro2020-07-232-46/+72
|
* Pin bookmarks through Slim controllerArthurHoaro2020-07-231-0/+145
|
* Process change visibility action through Slim controllerArthurHoaro2020-07-231-0/+418
|
* Improve ManageTagController coverage and error handlingArthurHoaro2020-07-236-633/+1160
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-238-24/+33
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-235-90/+28
| | | | | | | 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.
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-232-0/+656
|
* Process manage tags page through Slim controllerArthurHoaro2020-07-231-0/+272
|
* Process configure page through Slim controllerArthurHoaro2020-07-234-18/+294
|
* Password change: UT use case with open shaarliArthurHoaro2020-07-231-0/+17
|
* Test ShaarliAdminControllerArthurHoaro2020-07-232-1/+200
|
* Process password change controller through SlimArthurHoaro2020-07-2314-125/+188
|
* Process tools page through Slim controllerArthurHoaro2020-07-232-1/+74
|
* Initialize admin Slim controllersArthurHoaro2020-07-2313-33/+137
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Process session filters through Slim controllersArthurHoaro2020-07-233-0/+478
| | | | | | | Including: - visibility - links per page - untagged only
* Process remove tag endpoint through Slim controllerArthurHoaro2020-07-231-0/+82
|
* Refactor front controller tests to create container mock using a traitArthurHoaro2020-07-2312-465/+232
|
* Process OpenSearch controller through SlimArthurHoaro2020-07-231-0/+92
| | | | Also it was missing on the default template feeds
* RSS/ATOM feeds: process through Slim controllerArthurHoaro2020-07-232-3/+222
|
* Make FeedBuilder instance creation independant of the request stackArthurHoaro2020-07-231-48/+15
|
* PHP 7.1 compatibilityArthurHoaro2020-07-231-2/+2
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-233-6/+182
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Slim daily: minor bugfix with empty dataArthurHoaro2020-07-231-0/+4
|
* Process daily page through Slim controllerArthurHoaro2020-07-231-0/+423
|
* Process tag list page through Slim controllerArthurHoaro2020-07-231-12/+191
|
* Few optimizations and code readability for tag cloud controllerArthurHoaro2020-07-231-3/+3
|
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-232-7/+2
|
* Working version before optimizationArthurHoaro2020-07-231-0/+258
|
* Slim router: handle add tag routeArthurHoaro2020-07-239-95/+197
|
* Process logout through Slim controllerArthurHoaro2020-07-232-1/+69
|
* Migrate cache purge function to a proper classArthurHoaro2020-07-233-24/+16
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago