aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/controllers
Commit message (Collapse)AuthorAgeFilesLines
* namespacing: \Shaarli\HistoryVirtualTam2019-01-126-30/+30
| | | | 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-025-6/+2
| | | | 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
* GetTagsTest - Update to alpha sort for equal occurencesArthurHoaro2018-07-053-8/+8
|
* Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-0411-0/+711
| | | | | | | | | | | | Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34
* Drop PHP 5.5 compatibility and upgrade PHPUnit to v5.xArthurHoaro2018-02-021-2/+4
| | | | PHPUnit 4.x contains deprecated PHP functions in PHP 7.2.
* wildcard tag search supportWilli Eggeling2017-08-301-0/+83
| | | | | | | - when searching for tags you can now include '*' as wildcard placeholder - new search reduces overall overhead when filtering for tags - fixed combination with description tag search ('#' prefix) - tests added
* Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-252-4/+4
|\ | | | | Empty tag search will look for not tagged links
| * Empty tag search will look for not tagged linksArthurHoaro2017-05-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | Fixes #784 From now, searching for tags with an empty value will return only not tagged links, with the search bar showing `x results [not tagged]`. Note that using the api, the searchtags request parameter must be set to `false` to get the same result. - [ ] Update API doc
* | Add history entries for API endpointArthurHoaro2017-05-077-6/+72
| | | | | | | | CHANGED: datetime is now store as an object in history store file
* | API: Get History endpointArthurHoaro2017-05-071-0/+221
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-history-get
* | API: add DELETE endpointArthurHoaro2017-05-071-0/+104
| | | | | | | | | | | | Based on #840 See http://shaarli.github.io/api-documentation/\#links-link-delete
* | REST API: implement PUT methodArthurHoaro2017-05-071-0/+199
| | | | | | | | | | * Related to #609 * Documentation: http://shaarli.github.io/api-documentation/#links-link-put
* | REST API: implement POST link serviceArthurHoaro2017-03-271-0/+193
|/
* application: introduce the Shaarli\Config namespaceVirtualTam2017-03-043-9/+11
| | | | | | | | | | | Namespaces have been introduced with the REST API, and should be generalized to the whole codebase to manage object scope and benefit from autoloading. See: - https://secure.php.net/manual/en/language.namespaces.php - http://www.php-fig.org/psr/psr-4/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* REST API: implements getLink by ID serviceArthurHoaro2017-02-192-6/+137
| | | | See http://shaarli.github.io/api-documentation/#links-link-get
* REST API - getLinks: support the visibility parameterArthurHoaro2017-01-171-28/+22
|
* REST API: implement getLinks serviceArthurHoaro2017-01-151-0/+393
| | | | See http://shaarli.github.io/api-documentation/#links-links-collection-get
* REST API structure using Slim frameworkArthurHoaro2016-12-151-0/+113
* REST API routes are handle by Slim. * Every API controller go through ApiMiddleware which handles security. * First service implemented `/info`, for tests purpose.