aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark/BookmarkFileServiceTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Raise 404 error instead of 500 if permalink access is deniedArthurHoaro2020-10-281-2/+2
|
* Feature: add weekly and monthly view/RSS feed for daily pageArthurHoaro2020-10-271-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 keyArthurHoaro2020-10-271-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
* add search highlight unit testsArthurHoaro2020-10-161-0/+16
|
* Strict types: fix an issue in daily where the date could be an intArthurHoaro2020-10-161-2/+2
|
* Add strict types for bookmarks managementArthurHoaro2020-10-131-44/+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 operationsArthurHoaro2020-10-131-19/+25
| | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132
* Fix missing @expectedException convertionArthurHoaro2020-09-291-2/+1
|
* Compatibility with PHPUnit 9ArthurHoaro2020-09-291-2/+2
|
* Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-271-42/+42
| | | | 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-121-7/+11
|\
| * Improve default bookmarks after installArthurHoaro2020-09-101-7/+11
| | | | | | | | | | | | | | 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-061-0/+30
|/ | | | | | This filter (links by day) didn't apply any visibility parameter. Fixes #1543
* Fix basePath in unit tests reference DBArthurHoaro2020-07-281-2/+2
|
* Better support for notes permalinkArthurHoaro2020-07-281-2/+2
|
* 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
|
* 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-181-0/+1042
See #1307