aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle
Commit message (Collapse)AuthorAgeFilesLines
* Fix entities definitionJeremy Benoist2016-10-092-2/+2
| | | | | | | | As per Doctrine said in the debug tool bar: - The field Wallabag\ApiBundle\Entity\Client#refreshTokens is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Wallabag\ApiBundle\Entity\RefreshToken#client does not contain the required 'inversedBy="refreshTokens"' attribute. - The field Wallabag\ApiBundle\Entity\Client#accessTokens is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Wallabag\ApiBundle\Entity\AccessToken#client does not contain the required 'inversedBy="accessTokens"' attribute.
* Merge pull request #2351 from wallabag/fix-api-client-deletionNicolas Lœuillet2016-10-083-0/+157
|\ | | | | Changed relation between API client and refresh token
| * Ensure access_token are removedJeremy Benoist2016-10-083-0/+152
| | | | | | | | | | | | | | | | When we remove the client, we should ensure that access_token are also removed. To ensure that, I created a test that generated an access_token. So when we remove the client, this association should be cascaded and shouldn’t generate an error. Also I moved some Api related stuff to the ApiBundle (like the developer controler and ClientType form)
| * Changed relation between API client and refresh tokenNicolas Lœuillet2016-10-031-0/+5
| | | | | | | | Fix #2350
* | Merge pull request #2393 from wallabag/api-urls-existNicolas Lœuillet2016-10-081-1/+21
|\ \ | | | | | | Ability to check multiple urls in API
| * | Ability to check multiple urls in APIJeremy Benoist2016-10-071-1/+21
| | |
* | | Ensure orphan tag are remove in APIJeremy Benoist2016-10-071-0/+28
|/ / | | | | | | | | | | 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-1/+1
| |
* | Fix exists API callThomas Citharel2016-10-051-1/+1
|/ | | Boo
* Fix parameters in API _linksJeremy Benoist2016-10-021-2/+15
| | | | We forgot to pass them to the factory
* CSJeremy Benoist2016-10-021-1/+1
|
* Add an exists endpoint in APIJeremy Benoist2016-10-011-0/+32
| | | | It should allow third party to check if an url was already saved by a user
* Fix tags count in menuJeremy Benoist2016-09-251-3/+1
| | | | Move enable cache for Tag in the Entity because function `find*` should return result and not a Query
* Re-user JsonResponseJeremy Benoist2016-09-081-40/+27
| | | | Since Symfony 3.1 we can define the json of a JsonResonse using `->setJson()`
* Added tags counter in sidebar (material theme)Nicolas Lœuillet2016-09-041-1/+3
|
* Add some testsJeremy Benoist2016-08-231-23/+35
| | | | | | | | | | | 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.
* CSThomas Citharel2016-08-231-2/+1
|
* Delete tag or tags by labelThomas Citharel2016-08-231-0/+61
| | | | Tests not included
* Fix typos in field nameJeremy Benoist2016-08-231-1/+1
|
* added name on clientThomas Citharel2016-08-231-1/+1
|
* Added name on clientThomas Citharel2016-08-221-0/+31
| | | | | | | | - Fix typos in field name - Added migration for name field in API client table Manually cherry-picked from PR https://github.com/wallabag/wallabag/pull/2171
* Add filter for tags on APIThomas Citharel2016-06-291-1/+2
|
* CSThomas Citharel2016-06-251-1/+1
|
* Add since parameterThomas Citharel2016-06-251-1/+3
|
* Jump to Symfony 3.1Jeremy Benoist2016-06-222-564/+0
|
* CSJeremy Benoist2016-05-191-4/+3
|
* Tests for issue #2089Yuriy Evdokimov2016-05-181-0/+88
|
* PATCH also clears starred and archived signsYuriy Evdokimov2016-05-181-2/+2
|
* Starred and Archived clears if article is already existsYuriy Evdokimov2016-05-181-2/+2
|
* Set the title via POST /api/entriesNicolas Lœuillet2016-05-022-0/+7
| | | | Fix #2009
* Convert array + phpDocJeremy Benoist2016-04-123-22/+22
| | | | Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
* Remove int castNicolas Lœuillet2016-04-101-2/+2
|
* All the entries are fetched via GET /api/entriesNicolas Lœuillet2016-04-091-3/+3
| | | | Fix #1863: only the unread entries were fetched with GET /api/entries entrypoint. Now, all the entries are fetched
* Simplify tag creation from entryJeremy Benoist2016-03-271-1/+2
| | | | | Testing that a tag exist or is assigned to the current entry isn't important in the tag controler since the `assignTagsToEntry` is already doing that job. So it simplify the controller.
* add checkThomas Citharel2016-03-161-2/+6
|
* fix updating entry status through APIThomas Citharel2016-03-161-6/+2
|
* check if archive/star parameters without quotes workThomas Citharel2016-03-161-0/+49
|
* use integers for archived/starred statusThomas Citharel2016-03-162-22/+22
|
* fix api properties and typoThomas Citharel2016-03-162-4/+4
|
* Don't add entry through API if it already existsThomas Citharel2016-03-162-4/+26
|
* add tests on user in API responsesThomas Citharel2016-03-151-0/+6
|
* Improve testsJeremy Benoist2016-03-111-3/+3
| | | | | | - add more tests for coverage - add a test on annotation deletion - fix post annontation with ranges
* typos & csThomas Citharel2016-03-082-5/+7
|
* write test for versionVincent2016-03-071-0/+11
|
* Add version in APIVincent2016-03-071-0/+13
|
* Remove 'content' from APIJeremy Benoist2016-03-042-22/+0
| | | | Waiting to find a good solution to avoid side problem since user can no define the content
* use booleans instead of emptyThomas Citharel2016-03-041-4/+4
|
* add more properties for entries #1634Thomas Citharel2016-03-042-0/+53
|
* Move assignTagsToEntry in ContentProxy helperJeremy Benoist2016-02-191-28/+3
|
* [#1604] First draft to fix SensioLabsInsight reportNicolas Lœuillet2016-01-222-5/+1
|