aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ApiBundle/Controller/WallabagRestControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add a new endpoint to retrieve information from the wallabag instanceJeremy Benoist2019-01-151-0/+17
| | | | | | | Useful for api client which required some information. We might add more inside them in the future. The endpoint /api/version should be avoided now as it contains not so much information rather the version.
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-2/+2
|
* API user creation behing a toggleJeremy Benoist2017-06-021-4/+6
| | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* Exploded WallabagRestController into many controllersNicolas Lœuillet2016-10-281-820/+0
| | | | Fix #2503
* Merge pull request #2393 from wallabag/api-urls-existNicolas Lœuillet2016-10-081-0/+16
|\ | | | | Ability to check multiple urls in API
| * Ability to check multiple urls in APIJeremy Benoist2016-10-071-0/+16
| |
* | Ensure orphan tag are remove in APIJeremy Benoist2016-10-071-0/+9
|/ | | | | | When the association between a tag and an entry is removed, if the tag doesn’t have other entries, we can remove it. Also add more tests for that part and ensure TagControllerTest is isolated from the rest of the test suite (finally!)
* Fix typo & add testJeremy Benoist2016-10-051-0/+7
|
* Fix parameters in API _linksJeremy Benoist2016-10-021-1/+99
| | | | We forgot to pass them to the factory
* Add test when url doesn’t existJeremy Benoist2016-10-011-0/+11
|
* Add an exists endpoint in APIJeremy Benoist2016-10-011-0/+11
| | | | It should allow third party to check if an url was already saved by a user
* Fix bad parameter for testsJeremy Benoist2016-09-251-1/+1
|
* Add some testsJeremy Benoist2016-08-231-3/+110
| | | | | | | | | | | Also, retrieve tag from the request instead of the query (which will be the same but it's more easy to test). Moved down `deleteTagAction` because it conflicted with the new action: api_delete_tag => /api/tags/{tag}.{_format} api_delete_tags_label => /api/tags/label.{_format} And finally, throw exception when a tag is not found before removing it.
* Add filter for tags on APIThomas Citharel2016-06-291-0/+22
|
* Add since parameterThomas Citharel2016-06-251-0/+45
|
* Jump to Symfony 3.1Jeremy Benoist2016-06-221-0/+513