aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/controllers/links
Commit message (Collapse)AuthorAgeFilesLines
* New plugin hook: ability to add custom filters to Shaarli search engineArthurHoaro2021-02-045-8/+55
| | | | | | | A new plugin hook has been added: hook_test_filter_search_entry This hook allows to filter out bookmark with custom plugin code when a search is performed. Related to #143
* API: POST/PUT Link - properly parse tags stringArthurHoaro2020-12-292-0/+96
| | | | | | Even though the documentation specify that tags should be passed as an array, tags string is actually allowed. So this adds a proper parsing with configured separator. Related to #1651
* Merge pull request #1616 from dimtion/fix-api-redirectArthurHoaro2020-10-291-4/+4
|\ | | | | API postLink: change relative path to absolute path
| * postLink: change relative path to absolute pathLoïc Carr2020-10-281-4/+4
| |
* | add search highlight unit testsArthurHoaro2020-10-161-1/+1
| |
* | Add mutex on datastore I/O operationsArthurHoaro2020-10-135-6/+19
| | | | | | | | | | | | To make sure that there is no concurrent operation on the datastore file. Fixes #1132
* | Merge pull request #1525 from ArthurHoaro/feature/rest-api-bookmark-datesArthurHoaro2020-10-131-4/+4
|\ \ | | | | | | REST API: allow override of creation and update dates
| * | REST API: allow override of creation and update datesArthurHoaro2020-08-291-4/+4
| | | | | | | | | | | | | | | | | | | | | Note that if they're not provided, default behaviour will apply: creation and update dates will be autogenerated, and not empty. Fixes #1223
* | | Compatibility with PHPUnit 9ArthurHoaro2020-09-295-5/+5
| | |
* | | Convert legacy PHPUnit @expected* to new ->expect*ArthurHoaro2020-09-273-8/+8
| | | | | | | | | | | | Converted automatically using https://github.com/ArthurHoaro/convert-legacy-phpunit-expect
* | | Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-265-10/+10
|/ /
* | Fix basePath in unit tests reference DBArthurHoaro2020-07-282-2/+2
| |
* | Better support for notes permalinkArthurHoaro2020-07-282-4/+4
|/
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-185-37/+65
| | | | See #1307
* Optimize and cleanup importsVirtualTam2019-01-135-24/+27
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* API: update test regexes to comply with PCRE2VirtualTam2019-01-131-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-125-14/+14
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\HistoryVirtualTam2019-01-123-11/+11
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-022-4/+12
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to tests/VirtualTam2018-12-022-2/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add a button to set links as stickyArthurHoaro2018-10-061-9/+12
| | | | | | Meaning that they always appear on top of all links Fixes #186
* Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-045-0/+1170
Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34