aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1540 from ArthurHoaro/fix/metadata-regexesArthurHoaro2020-10-131-0/+89
|\ | | | | Improve regex to extract HTML metadata (title, description, etc.)
| * Improve regex to extract HTML metadata (title, description, etc.)ArthurHoaro2020-09-031-0/+89
| | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375
* | Merge pull request #1575 from ArthurHoaro/feature/php8ArthurHoaro2020-10-036-29/+25
|\ \
| * | Fix missing @expectedException convertionArthurHoaro2020-09-292-4/+3
| | |
| * | Compatibility with PHPUnit 9ArthurHoaro2020-09-296-25/+22
| | |
* | | Merge pull request #1569 from ArthurHoaro/fix/bad-encodingArthurHoaro2020-09-301-0/+13
|\ \ \ | |/ / |/| | Fix warning if the encoding retrieved from external headers is invalid
| * | Fix warning if the encoding retrieved from external headers is invalidArthurHoaro2020-09-301-0/+13
| | | | | | | | | | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n"
* | | Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-273-58/+60
| | | | | | | | | | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
* | | Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-261-1/+1
|/ /
* | Merge pull request #1552 from ArthurHoaro/feature/better-initializerArthurHoaro2020-09-122-29/+59
|\ \
| * | Improve default bookmarks after installArthurHoaro2020-09-102-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 pageArthurHoaro2020-09-062-2/+42
|/ | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543
* Remove anonymous permission and initialize bookmarks on loginArthurHoaro2020-08-011-5/+9
|
* Fix basePath in unit tests reference DBArthurHoaro2020-07-281-2/+2
|
* Better support for notes permalinkArthurHoaro2020-07-282-4/+4
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-10/+10
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-231-5/+0
|
* Slim router: handle add tag routeArthurHoaro2020-07-231-3/+1
|
* Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-181-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)ArthurHoaro2020-01-187-730/+1861
| | | | See #1307
* Fix UT: LinkDBTest - make each tests independantArthurHoaro2019-08-101-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 timestampsArthurHoaro2019-08-071-0/+35
| | | | Fixes #1348
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-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-retrieveArthurHoaro2019-03-021-0/+20
|\ | | | | Do not try to retrieve thumbnails for internal link
| * Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-0/+20
| | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Remove the redirector settingArthurHoaro2019-02-092-66/+7
|/ | | | 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/+333
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-122-3/+510
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-121-0/+653
Signed-off-by: VirtualTam <virtualtam@flibidi.net>