aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/controllers/links/PostLinkTest.php
Commit message (Collapse)AuthorAgeFilesLines
* New plugin hook: ability to add custom filters to Shaarli search engineArthurHoaro2021-02-041-2/+9
| | | | | | | 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-291-0/+48
| | | | | | 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 mutex on datastore I/O operationsArthurHoaro2020-10-131-1/+3
| | | | | | | | | | | | 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-291-1/+1
| | |
* | | Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-261-2/+2
|/ /
* / Better support for notes permalinkArthurHoaro2020-07-281-2/+2
|/
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-11/+19
| | | | See #1307
* Optimize and cleanup importsVirtualTam2019-01-131-4/+5
| | | | 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-121-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\HistoryVirtualTam2019-01-121-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-2/+6
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to tests/VirtualTam2018-12-021-1/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-041-0/+218
Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34