aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api/controllers
Commit message (Collapse)AuthorAgeFilesLines
* 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.