aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/admin
Commit message (Collapse)AuthorAgeFilesLines
* Asynchronous retrieval of bookmark's thumbnailsArthurHoaro2020-10-201-1/+2
| | | | | | | | | 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
* Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-152-24/+41
| | | | | | | | | | | | | | - 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
* Add strict types for bookmarks managementArthurHoaro2020-10-131-1/+1
| | | | | | | | Parameters typing and using strict types overall increase the codebase quality by enforcing the a given parameter will have the expected type. It also removes the need to unnecessary unit tests checking methods behavior with invalid input.
* Add Markdown Extra formatterArthurHoaro2020-10-131-1/+1
| | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169
* Security: fix multiple XSS vulnerabilities + fix search tags with special charsArthurHoaro2020-10-062-7/+7
| | | | | | XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list. Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
* Fix a bug preventing to edit bookmark with ID #0ArthurHoaro2020-09-301-1/+1
|
* Fix warning if the encoding retrieved from external headers is invalidArthurHoaro2020-09-301-1/+1
| | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n"
* Fix redirection to referer after editing a linkArthurHoaro2020-09-221-1/+1
| | | | Fixes #1545
* Plugins: do not save metadata along plugin parametersArthurHoaro2020-09-121-0/+1
| | | | | | Also prevent the token to be saved. Fixes #1550
* Inject BookmarkServiceInterface in plugins dataArthurHoaro2020-09-031-2/+0
| | | | Related discussion: ilesinge/shaarli-related#7
* Move all admin controller into a dedicated groupArthurHoaro2020-08-132-21/+1
| | | | Also handle authentication check in a new middleware for the admin group.
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-263-52/+7
|
* Fix: visitor are allowed to chose nb of links per pageArthurHoaro2020-07-241-19/+1
|
* Update French translationArthurHoaro2020-07-231-1/+1
|
* Multiple small fixesArthurHoaro2020-07-231-6/+11
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-3/+7
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-239-29/+23
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Process thumbnail synchronize page through Slim controllersArthurHoaro2020-07-232-1/+80
|
* Process token retrieve through Slim controllerArthurHoaro2020-07-231-0/+26
|
* Process plugins administration page through Slim controllersArthurHoaro2020-07-231-0/+98
|
* Process bookmarks import through Slim controllerArthurHoaro2020-07-232-15/+83
|
* Process bookmark exports through Slim controllersArthurHoaro2020-07-231-0/+92
|
* Pin bookmarks through Slim controllerArthurHoaro2020-07-231-0/+36
|
* Process change visibility action through Slim controllerArthurHoaro2020-07-231-1/+69
|
* Improve ManageTagController coverage and error handlingArthurHoaro2020-07-231-12/+32
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-235-19/+22
| | | | Also prefix most admin routes with /admin/
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-232-1/+259
|
* Process manage tags page through Slim controllerArthurHoaro2020-07-232-1/+88
|
* Process configure page through Slim controllerArthurHoaro2020-07-231-0/+120
|
* Test ShaarliAdminControllerArthurHoaro2020-07-231-1/+3
|
* Process password change controller through SlimArthurHoaro2020-07-232-0/+159
|
* Process tools page through Slim controllerArthurHoaro2020-07-231-0/+49
|
* Initialize admin Slim controllersArthurHoaro2020-07-233-0/+129
- Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links