aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark
Commit message (Collapse)AuthorAgeFilesLines
* Add strict types for bookmarks managementArthurHoaro2020-10-137-162/+170
| | | | | | | | 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 mutex on datastore I/O operationsArthurHoaro2020-10-133-21/+34
| | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132
* Merge pull request #1540 from ArthurHoaro/fix/metadata-regexesArthurHoaro2020-10-131-2/+4
|\ | | | | Improve regex to extract HTML metadata (title, description, etc.)
| * Improve regex to extract HTML metadata (title, description, etc.)ArthurHoaro2020-09-031-2/+4
| | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375
* | 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"
* | Merge pull request #1552 from ArthurHoaro/feature/better-initializerArthurHoaro2020-09-121-11/+63
|\ \
| * | Improve default bookmarks after installArthurHoaro2020-09-101-11/+63
| |/ | | | | | | | | | | | | Used @nodiscc suggestion in #1148 (slightly edited). It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link. Fixes #1148
* / Fix visibility issue on daily pageArthurHoaro2020-09-062-7/+14
|/ | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543
* Fixed: Pinned bookmarks are displayed first in ATOM/RSS feedsArthurHoaro2020-08-293-7/+24
| | | | Fixes #1485
* Bookmark's thumbnails PHPDoc improvementArthurHoaro2020-08-011-3/+3
|
* Remove anonymous permission and initialize bookmarks on loginArthurHoaro2020-08-015-44/+33
|
* Better support for notes permalinkArthurHoaro2020-07-281-2/+2
|
* Process Shaarli install through Slim controllerArthurHoaro2020-07-233-9/+42
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-1/+1
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-231-106/+0
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-232-8/+9
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Process daily page through Slim controllerArthurHoaro2020-07-231-1/+1
|
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-231-0/+1
|
* Slim router: handle add tag routeArthurHoaro2020-07-231-1/+1
|
* Migrate cache purge function to a proper classArthurHoaro2020-07-232-3/+6
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago
* Process picwall rendering through Slim controller + UTArthurHoaro2020-07-231-1/+1
|
* Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-181-2/+7
| | | | | | | | The new bookmark service wasn't handling private tags properly. nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists. Fixes #726
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-2/+2
| | | | See #1307
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-1/+1
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Introduce Bookmark object and Service layer to retrieve themArthurHoaro2020-01-1713-665/+1583
| | | | See https://github.com/shaarli/Shaarli/issues/1307 for details
* Make sure that bookmark sort is consistent, even with equal timestampsArthurHoaro2019-08-071-2/+5
| | | | Fixes #1348
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-4/+81
| | | | | | | | | | | | | | | If the option is enabled, it will try to find a meta tag containing the page description and keywords, just like we do for the page title. It will either look for regular meta tag or OpenGraph ones. The option is disabled by default. Note that keywords meta tags is mostly not used. In `configure` template, the variable associated with this setting is `$retrieve_description`. Fixes #1302
* Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-021-0/+13
|\ | | | | Do not try to retrieve thumbnails for internal link
| * Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-0/+13
| | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warningArthurHoaro2019-02-241-1/+5
|\ \ | | | | | | Fix a warning if links sticky status isn't set
| * | Fix a warning if links sticky status isn't setArthurHoaro2019-02-091-1/+5
| |/ | | | | | | | | - initiate its status to false when the link is created - if not defined, initiate its status to false (can happen if the updater hasn't run)
* / Remove the redirector settingArthurHoaro2019-02-092-55/+10
|/ | | | Fixes #1239
* Optimize and cleanup importsVirtualTam2019-01-131-1/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-0/+222
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-123-13/+477
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-121-0/+601
Signed-off-by: VirtualTam <virtualtam@flibidi.net>