Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Raise 404 error instead of 500 if permalink access is denied | ArthurHoaro | 2020-10-28 | 1 | -2/+2 |
| | |||||
* | Feature: add weekly and monthly view/RSS feed for daily page | ArthurHoaro | 2020-10-27 | 1 | -34/+90 |
| | | | | | | | | | - Heavy refactoring of DailyController - Add a banner like in tag cloud to display monthly and weekly links - Translations: t() now supports variables with optional first letter uppercase Fixes #160 | ||||
* | Feature: Share private bookmarks using a URL containing a private key | ArthurHoaro | 2020-10-27 | 1 | -0/+31 |
| | | | | | | | | | | - 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 | ||||
* | Asynchronous retrieval of bookmark's thumbnails | ArthurHoaro | 2020-10-20 | 1 | -0/+44 |
| | | | | | | | | | 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 | ||||
* | Merge pull request #1567 from ArthurHoaro/feature/async-title-retrieval | ArthurHoaro | 2020-10-20 | 1 | -115/+108 |
|\ | |||||
| * | Improve metadata retrieval (performances and accuracy) | ArthurHoaro | 2020-10-15 | 1 | -115/+108 |
| | | | | | | | | | | - Use dedicated function to download headers to avoid apply multiple regexps on headers - Also try to extract title from meta tags | ||||
* | | add search highlight unit tests | ArthurHoaro | 2020-10-16 | 2 | -1/+55 |
| | | |||||
* | | Strict types: fix an issue in daily where the date could be an int | ArthurHoaro | 2020-10-16 | 1 | -2/+2 |
|/ | |||||
* | Add strict types for bookmarks management | ArthurHoaro | 2020-10-13 | 3 | -95/+0 |
| | | | | | | | | 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 operations | ArthurHoaro | 2020-10-13 | 3 | -24/+37 |
| | | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132 | ||||
* | Merge pull request #1540 from ArthurHoaro/fix/metadata-regexes | ArthurHoaro | 2020-10-13 | 1 | -0/+89 |
|\ | | | | | Improve regex to extract HTML metadata (title, description, etc.) | ||||
| * | Improve regex to extract HTML metadata (title, description, etc.) | ArthurHoaro | 2020-09-03 | 1 | -0/+89 |
| | | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375 | ||||
* | | Merge pull request #1575 from ArthurHoaro/feature/php8 | ArthurHoaro | 2020-10-03 | 6 | -29/+25 |
|\ \ | |||||
| * | | Fix missing @expectedException convertion | ArthurHoaro | 2020-09-29 | 2 | -4/+3 |
| | | | |||||
| * | | Compatibility with PHPUnit 9 | ArthurHoaro | 2020-09-29 | 6 | -25/+22 |
| | | | |||||
* | | | Merge pull request #1569 from ArthurHoaro/fix/bad-encoding | ArthurHoaro | 2020-09-30 | 1 | -0/+13 |
|\ \ \ | |/ / |/| | | Fix warning if the encoding retrieved from external headers is invalid | ||||
| * | | Fix warning if the encoding retrieved from external headers is invalid | ArthurHoaro | 2020-09-30 | 1 | -0/+13 |
| | | | | | | | | | | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n" | ||||
* | | | Convert legacy PHPUnit @expected* to new ->expect* | ArthurHoaro | 2020-09-27 | 3 | -58/+60 |
| | | | | | | | | | | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect | ||||
* | | | Comply with PHPUnit V8: setup/teardown functions must return void | ArthurHoaro | 2020-09-26 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1552 from ArthurHoaro/feature/better-initializer | ArthurHoaro | 2020-09-12 | 2 | -29/+59 |
|\ \ | |||||
| * | | Improve default bookmarks after install | ArthurHoaro | 2020-09-10 | 2 | -29/+59 |
| |/ | | | | | | | | | | | | | 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 page | ArthurHoaro | 2020-09-06 | 2 | -2/+42 |
|/ | | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543 | ||||
* | Remove anonymous permission and initialize bookmarks on login | ArthurHoaro | 2020-08-01 | 1 | -5/+9 |
| | |||||
* | Fix basePath in unit tests reference DB | ArthurHoaro | 2020-07-28 | 1 | -2/+2 |
| | |||||
* | Better support for notes permalink | ArthurHoaro | 2020-07-28 | 2 | -4/+4 |
| | |||||
* | Process main page (linklist) through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -10/+10 |
| | | | | | Including a bunch of improvements on the container, and helper used across new controllers. | ||||
* | Handle tag filtering in the Bookmark service | ArthurHoaro | 2020-07-23 | 1 | -5/+0 |
| | |||||
* | Slim router: handle add tag route | ArthurHoaro | 2020-07-23 | 1 | -3/+1 |
| | |||||
* | Fix an issue with private tags and fix nomarkdown tag | ArthurHoaro | 2020-01-18 | 1 | -0/+41 |
| | | | | | | | | 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) | ArthurHoaro | 2020-01-18 | 7 | -730/+1861 |
| | | | | See #1307 | ||||
* | Fix UT: LinkDBTest - make each tests independant | ArthurHoaro | 2019-08-10 | 1 | -13/+12 |
| | | | | | Otherwise the datastore is empty in the last test, making it inconsistent due to dates issues. | ||||
* | Make sure that bookmark sort is consistent, even with equal timestamps | ArthurHoaro | 2019-08-07 | 1 | -0/+35 |
| | | | | Fixes #1348 | ||||
* | Automatically retrieve description for new bookmarks | ArthurHoaro | 2019-07-06 | 1 | -11/+193 |
| | | | | | | | | | | | | | | | 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-retrieve | ArthurHoaro | 2019-03-02 | 1 | -0/+20 |
|\ | | | | | Do not try to retrieve thumbnails for internal link | ||||
| * | Do not try to retrieve thumbnails for internal link | ArthurHoaro | 2019-02-24 | 1 | -0/+20 |
| | | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files. | ||||
* | | Remove the redirector setting | ArthurHoaro | 2019-02-09 | 2 | -66/+7 |
|/ | | | | Fixes #1239 | ||||
* | Optimize and cleanup imports | VirtualTam | 2019-01-13 | 1 | -1/+0 |
| | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | namespacing: move LinkUtils along \Shaarli\Bookmark classes | VirtualTam | 2019-01-12 | 1 | -0/+333 |
| | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | namespacing: \Shaarli\Bookmark\LinkFilter | VirtualTam | 2019-01-12 | 2 | -3/+510 |
| | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | ||||
* | namespacing: \Shaarli\Bookmark\LinkDB | VirtualTam | 2019-01-12 | 1 | -0/+653 |
Signed-off-by: VirtualTam <virtualtam@flibidi.net> |