Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1604 from ArthurHoaro/feature/server-admin-page | ArthurHoaro | 2020-10-27 | 2 | -0/+193 |
|\ | | | | | Feature: add a Server administration page | ||||
| * | Feature: add a Server administration page | ArthurHoaro | 2020-10-21 | 2 | -0/+193 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 attempts | ArthurHoaro | 2020-10-20 | 1 | -1/+1 |
|/ | | | | Fixes #1122 | ||||
* | Asynchronous retrieval of bookmark's thumbnails | ArthurHoaro | 2020-10-20 | 3 | -8/+114 |
| | | | | | | | | | 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 asynchrounously | ArthurHoaro | 2020-10-15 | 1 | -35/+83 |
| | | | | | | | | | | | | | | - 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 management | ArthurHoaro | 2020-10-13 | 3 | -6/+22 |
| | | | | | | | | 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 formatter | ArthurHoaro | 2020-10-13 | 1 | -1/+1 |
| | | | | | | | | Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169 | ||||
* | Merge pull request #1575 from ArthurHoaro/feature/php8 | ArthurHoaro | 2020-10-03 | 33 | -131/+155 |
|\ | |||||
| * | Compatibility with PHPUnit 9 | ArthurHoaro | 2020-09-29 | 33 | -131/+155 |
| | | |||||
* | | Fix a bug preventing to edit bookmark with ID #0 | ArthurHoaro | 2020-09-30 | 1 | -0/+24 |
|/ | |||||
* | Fix invalid redirection using the path of an external domain | ArthurHoaro | 2020-09-22 | 4 | -16/+47 |
| | | | | Fixes #1554 | ||||
* | Merge pull request #1539 from ArthurHoaro/feature/manual-root-url | ArthurHoaro | 2020-09-22 | 6 | -13/+47 |
|\ | |||||
| * | Fix subfolder configuration in unit tests | ArthurHoaro | 2020-09-12 | 6 | -13/+47 |
| | | |||||
* | | Merge pull request #1553 from ArthurHoaro/fix/404-page | ArthurHoaro | 2020-09-12 | 2 | -1/+81 |
|\ \ | | | | | | | Properly handle 404 errors | ||||
| * | | Properly handle 404 errors | ArthurHoaro | 2020-09-12 | 2 | -1/+81 |
| |/ | | | | | | | | | | | Use 404 template instead of default Slim error page if the route is not found. Fixes #827 | ||||
* / | Plugins: do not save metadata along plugin parameters | ArthurHoaro | 2020-09-12 | 1 | -2/+3 |
|/ | | | | | | Also prevent the token to be saved. Fixes #1550 | ||||
* | Merge pull request #1537 from ArthurHoaro/fix/back-compatible-targets | ArthurHoaro | 2020-09-03 | 1 | -3/+3 |
|\ | |||||
| * | Fix feed target in UT | ArthurHoaro | 2020-09-03 | 1 | -3/+3 |
| | | |||||
* | | Fix UT | ArthurHoaro | 2020-08-27 | 1 | -1/+1 |
|/ | |||||
* | Move error handling to dedicated controller instead of middleware | ArthurHoaro | 2020-08-21 | 1 | -0/+70 |
| | |||||
* | Move all admin controller into a dedicated group | ArthurHoaro | 2020-08-13 | 3 | -66/+51 |
| | | | | Also handle authentication check in a new middleware for the admin group. | ||||
* | Remove anonymous permission and initialize bookmarks on login | ArthurHoaro | 2020-08-01 | 1 | -3/+0 |
| | |||||
* | New basePath: fix officiel plugin paths and vintage template | ArthurHoaro | 2020-07-26 | 4 | -7/+34 |
| | |||||
* | Fix: visitor are allowed to chose nb of links per page | ArthurHoaro | 2020-07-24 | 2 | -47/+72 |
| | |||||
* | Fix default link and redirection in install controller | ArthurHoaro | 2020-07-24 | 1 | -2/+2 |
| | |||||
* | Multiple small fixes | ArthurHoaro | 2020-07-23 | 2 | -1/+2 |
| | |||||
* | Process login through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -4/+275 |
| | |||||
* | Process Shaarli install through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -11/+271 |
| | |||||
* | Process main page (linklist) through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+448 |
| | | | | | Including a bunch of improvements on the container, and helper used across new controllers. | ||||
* | Process thumbnail synchronize page through Slim controllers | ArthurHoaro | 2020-07-23 | 1 | -0/+154 |
| | |||||
* | Process token retrieve through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+41 |
| | |||||
* | Process plugins administration page through Slim controllers | ArthurHoaro | 2020-07-23 | 1 | -0/+190 |
| | |||||
* | Process bookmarks import through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -5/+149 |
| | |||||
* | Process bookmark exports through Slim controllers | ArthurHoaro | 2020-07-23 | 1 | -0/+167 |
| | |||||
* | Pin bookmarks through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+145 |
| | |||||
* | Process change visibility action through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+418 |
| | |||||
* | Improve ManageTagController coverage and error handling | ArthurHoaro | 2020-07-23 | 6 | -633/+1160 |
| | |||||
* | Use multi-level routes for existing controllers instead of 1 level everywhere | ArthurHoaro | 2020-07-23 | 6 | -18/+18 |
| | | | | Also prefix most admin routes with /admin/ | ||||
* | Explicitly define base and asset path in templates | ArthurHoaro | 2020-07-23 | 4 | -90/+13 |
| | | | | | | | 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 controllers | ArthurHoaro | 2020-07-23 | 1 | -0/+652 |
| | |||||
* | Process manage tags page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+272 |
| | |||||
* | Process configure page through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -18/+294 |
| | |||||
* | Password change: UT use case with open shaarli | ArthurHoaro | 2020-07-23 | 1 | -0/+17 |
| | |||||
* | Test ShaarliAdminController | ArthurHoaro | 2020-07-23 | 2 | -1/+200 |
| | |||||
* | Process password change controller through Slim | ArthurHoaro | 2020-07-23 | 14 | -125/+188 |
| | |||||
* | Process tools page through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -1/+74 |
| | |||||
* | Initialize admin Slim controllers | ArthurHoaro | 2020-07-23 | 12 | -32/+135 |
| | | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links | ||||
* | Process session filters through Slim controllers | ArthurHoaro | 2020-07-23 | 2 | -0/+421 |
| | | | | | | | Including: - visibility - links per page - untagged only | ||||
* | Process remove tag endpoint through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+82 |
| | |||||
* | Refactor front controller tests to create container mock using a trait | ArthurHoaro | 2020-07-23 | 10 | -465/+192 |
| |