aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Feature: bulk creation of bookmarksArthurHoaro2020-10-271-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This changes creates a new form in addlink page allowing to create multiple bookmarks at once more easily. It focuses on re-using as much existing code and template component as possible. These changes includes: - a new form in addlink (hidden behind a button by default), containing a text area for URL, and tags/private status to apply to created links - this form displays a new template called editlink.batch, itself including editlink template multiple times - User interation in this new templates are handle by a new JS script (shaare-batch.js) making AJAX requests, and therefore does not need page reloading - ManageShaareController has been split into 3 distinct controllers: + ShaareAdd: displays addlink template + ShaareManage: various operation applied on existing shaares (change visibility, pin, deletion, etc.) + ShaarePublish: handles creation/edit forms and saving Shaare's form - Updated translations Fixes #137
* Feature: Share private bookmarks using a URL containing a private keyArthurHoaro2020-10-271-0/+1
| | | | | | | | | | - 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/+2
|\ | | | | Feature: add a Server administration page
| * Feature: add a Server administration pageArthurHoaro2020-10-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #1601 from ArthurHoaro/feature/psr3ArthurHoaro2020-10-241-2/+17
|\ \
| * | Use PSR-3 logger for login attemptsArthurHoaro2020-10-201-2/+17
| |/ | | | | | | Fixes #1122
* / Dislay an error if an exception occurs in the error handlerArthurHoaro2020-10-201-3/+9
|/ | | | Related to #1598
* Add a setting to retrieve bookmark metadata asynchrounouslyArthurHoaro2020-10-151-1/+1
| | | | | | | | | | | | | | - 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 manual configuration for root URLArthurHoaro2020-09-121-0/+3
| | | | | | This new setting under 'general.root_url' allows to override automatic discovery of Shaarli instance's URL. Fixes #1339
* Fix broken route to filter not tagged bookmarksArthurHoaro2020-08-311-1/+1
| | | | | | Also display the filter for visitors. Fixes #1529
* Move all admin controller into a dedicated groupArthurHoaro2020-08-131-26/+28
| | | | Also handle authentication check in a new middleware for the admin group.
* Fix links per page controller pathArthurHoaro2020-07-271-1/+1
|
* Multiple small fixesArthurHoaro2020-07-231-4/+0
|
* Move PHP and config init to dedicated fileArthurHoaro2020-07-231-120/+23
| | | | in order to keep index.php as minimal as possible
* Process login through Slim controllerArthurHoaro2020-07-231-83/+1
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-231-141/+12
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-528/+6
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Process thumbnail synchronize page through Slim controllersArthurHoaro2020-07-231-27/+8
|
* Process token retrieve through Slim controllerArthurHoaro2020-07-231-2/+2
|
* Process plugins administration page through Slim controllersArthurHoaro2020-07-231-49/+5
|
* Process bookmarks import through Slim controllerArthurHoaro2020-07-231-45/+3
|
* Process bookmark exports through Slim controllersArthurHoaro2020-07-231-44/+3
|
* Use NetscapeBookmarkUtils object instance instead of static callsArthurHoaro2020-07-231-7/+2
|
* Pin bookmarks through Slim controllerArthurHoaro2020-07-231-14/+3
|
* Process change visibility action through Slim controllerArthurHoaro2020-07-231-47/+4
|
* Improve ManageTagController coverage and error handlingArthurHoaro2020-07-231-5/+5
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-103/+43
| | | | Also prefix most admin routes with /admin/
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-231-158/+22
|
* Process manage tags page through Slim controllerArthurHoaro2020-07-231-32/+3
|
* Process configure page through Slim controllerArthurHoaro2020-07-231-82/+4
|
* Process password change controller through SlimArthurHoaro2020-07-231-50/+4
|
* Process tools page through Slim controllerArthurHoaro2020-07-231-14/+4
|
* Initialize admin Slim controllersArthurHoaro2020-07-231-16/+19
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Process session filters through Slim controllersArthurHoaro2020-07-231-41/+16
| | | | | | | Including: - visibility - links per page - untagged only
* Process remove tag endpoint through Slim controllerArthurHoaro2020-07-231-29/+2
|
* Process OpenSearch controller through SlimArthurHoaro2020-07-231-3/+2
| | | | Also it was missing on the default template feeds
* RSS/ATOM feeds: process through Slim controllerArthurHoaro2020-07-231-38/+3
|
* Make FeedBuilder instance creation independant of the request stackArthurHoaro2020-07-231-3/+1
|
* Remove legacy handling of /add-tag routeArthurHoaro2020-07-231-39/+1
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-231-100/+3
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Slim daily: support legacy query parameterArthurHoaro2020-07-231-1/+2
|
* Process daily page through Slim controllerArthurHoaro2020-07-231-107/+4
|
* Process tag list page through Slim controllerArthurHoaro2020-07-231-22/+2
|
* Few optimizations and code readability for tag cloud controllerArthurHoaro2020-07-231-1/+1
|
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-231-5/+0
|
* Working version before optimizationArthurHoaro2020-07-231-2/+2
|
* Process tag cloud page through Slim controllerArthurHoaro2020-07-231-43/+2
|
* Slim router: handle add tag routeArthurHoaro2020-07-231-0/+1
|
* Process logout through Slim controllerArthurHoaro2020-07-231-5/+2
|
* Migrate cache purge function to a proper classArthurHoaro2020-07-231-2/+6
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago