Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote-tracking branch 'origin/master' into 2.3 | Jeremy Benoist | 2017-05-19 | 1 | -4/+13 |
|\ | |||||
| * | Merge pull request #3095 from aaa2000/api-error-on-fail-fetch-content | Thomas Citharel | 2017-05-10 | 1 | -4/+13 |
| |\ | | | | | | | Create a new entry via API even when its content can't be retrieved | ||||
| | * | Create a new entry via API even when its content can't be retrieved | adev | 2017-05-08 | 1 | -4/+13 |
| | | | | | | | | | | | | Fix #2988 | ||||
* | | | Retrieve tag / tags value from query or request | Jeremy Benoist | 2017-05-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | It allows to request to delete a tag using query string instead of body parameter (which seems to be the standard). Instead of breaking the previous behavior, I used a generic way to retrieve parameter (which looks into request attributes, query parameters and request parameters) | ||||
* | | | Merge remote-tracking branch 'origin/master' into 2.3 | Jeremy Benoist | 2017-05-09 | 2 | -2/+7 |
|\| | | |||||
| * | | Fix API pagination is broken if perPage is custom value | adev | 2017-05-08 | 1 | -1/+2 |
| |/ | | | | | | | Fix #2720 | ||||
| * | Fix display the form errors correctly | adev | 2017-05-05 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | Use `property_path` form option to map underscored form fields to object properties @see https://github.com/symfony/symfony/issues/9162#issuecomment-25431148 Fix #3067 | ||||
* | | Little refacto and send 400 on reaching urls limit | Jeremy Benoist | 2017-05-05 | 1 | -102/+94 |
| | | |||||
* | | Added limit | Nicolas Lœuillet | 2017-05-01 | 1 | -0/+9 |
| | | |||||
* | | Fix tests | Jeremy Benoist | 2017-05-01 | 1 | -1/+0 |
| | | |||||
* | | Splitted the endpoint in two | Nicolas Lœuillet | 2017-05-01 | 1 | -34/+62 |
| | | |||||
* | | Added API endpoint to handle a list of URL | Nicolas Lœuillet | 2017-05-01 | 1 | -0/+71 |
| | | | | | | | | By passing an array, you can add / delete URL in mass (bulk request) | ||||
* | | Fix tests | Jeremy Benoist | 2017-04-29 | 1 | -2/+0 |
| | | |||||
* | | Added endpoint to handle URL list to add/delete tags | Nicolas Lœuillet | 2017-04-24 | 2 | -26/+63 |
| | | |||||
* | | Added API endpoint to handle a list of URL and to add/delete tags | Nicolas Lœuillet | 2017-04-24 | 1 | -0/+68 |
| | | |||||
* | | return id of article instead of true if entry exists | Thomas Citharel | 2017-02-24 | 1 | -2/+2 |
|/ | |||||
* | Be consistent between migration & schema definition | Jeremy Benoist | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | Fix tests & deprecation notice | Jeremy Benoist | 2016-12-15 | 2 | -1/+1 |
| | |||||
* | Return 304 when content isn't reloaded using the API | Jeremy Benoist | 2016-11-22 | 1 | -3/+3 |
| | | | | | | Previously it was a 400 but this is more related to a real error. Using the API user should only know the content got reloaded or not. If reloaded: 200 otherwise: 304. | ||||
* | Return an explicit error if reload fail | Jeremy Benoist | 2016-11-20 | 1 | -6/+3 |
| | |||||
* | Fixing tests | Jeremy Benoist | 2016-11-20 | 1 | -1/+1 |
| | |||||
* | Add ability to reload entry from API | Jeremy Benoist | 2016-11-20 | 1 | -0/+48 |
| | |||||
* | Cleanup | Jeremy Benoist | 2016-11-03 | 2 | -18/+1 |
| | |||||
* | Fix rest controller merge | Jeremy Benoist | 2016-11-03 | 4 | -0/+141 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into 2.2 | Jeremy Benoist | 2016-11-03 | 4 | -641/+563 |
|\ | |||||
| * | Removed useless route | Nicolas Lœuillet | 2016-10-28 | 1 | -5/+0 |
| | | |||||
| * | Exploded WallabagRestController into many controllers | Nicolas Lœuillet | 2016-10-28 | 4 | -521/+551 |
| | | | | | | | | Fix #2503 | ||||
* | | Add entry.saved event to import & rest | Jeremy Benoist | 2016-11-02 | 1 | -1/+8 |
| | | |||||
* | | Added relation between API Client and User | Nicolas Lœuillet | 2016-10-24 | 2 | -3/+22 |
| | | | | | | | | Fix #2062 | ||||
* | | Add test on /api/annotations | Jeremy Benoist | 2016-10-22 | 1 | -16/+17 |
| | | | | | | | | | | | | | | Fix controller forward in WallabagRestController. Update PHPDoc so it is sorted the same way as others one Duplicate all annotations test to use both api & normal way Also, make annotation tests independent to each other | ||||
* | | CS | Jeremy Benoist | 2016-10-22 | 1 | -1/+0 |
| | | |||||
* | | Added a missing namespace | Nicolas Lœuillet | 2016-10-22 | 1 | -0/+1 |
| | | |||||
* | | fix cs and phpdoc | Thomas Citharel | 2016-10-22 | 1 | -18/+6 |
| | | |||||
* | | cs | Thomas Citharel | 2016-10-22 | 1 | -6/+13 |
| | | |||||
* | | move code | Thomas Citharel | 2016-10-22 | 1 | -56/+31 |
| | | |||||
* | | cs | Thomas Citharel | 2016-10-22 | 1 | -3/+0 |
| | | |||||
* | | bring annotations to API | Thomas Citharel | 2016-10-22 | 1 | -0/+132 |
| | | |||||
* | | CS | Jeremy Benoist | 2016-10-15 | 1 | -1/+0 |
| | | |||||
* | | ApiDoc & Route annotation were conflicted | Jeremy Benoist | 2016-10-15 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | The generated error was “Unable to guess how to get a Doctrine instance from the request information.”. I haven’t checked deeper in Doctrine (I know it was coming from the DoctrineParamConverter). Anyway, I check for FosRest possiblity to add extra format without allowing them for every route (like it was done in the first place). I finally found a way but it then seems all request goes to the FormatListener of FosRest so I needed to add a custom rules to match all request to be sure we don’t get a 406 error from FosRest. Should be ok now … | ||||
* | | Merge pull request #2372 from pmartin/api-get-entry-as-epub | Jeremy Benoist | 2016-10-12 | 2 | -6/+31 |
|\ \ | |/ |/| | API: ability to export entry in all available format (epub, pdf, etc...) | ||||
| * | Add entry export in API | Jeremy Benoist | 2016-10-08 | 2 | -16/+32 |
| | | | | | | | | | | Export isn't available for json & xml because user can use the default entry endpoint instead. | ||||
| * | API: getEntry can return EPUB | Pascal MARTIN | 2016-10-08 | 1 | -1/+8 |
| | | |||||
| * | Routing: epub format is allowed for API | Pascal MARTIN | 2016-10-08 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #2411 from wallabag/fix-entities | Nicolas Lœuillet | 2016-10-10 | 2 | -2/+2 |
|\ \ | | | | | | | Fix entities definition | ||||
| * | | Fix entities definition | Jeremy Benoist | 2016-10-09 | 2 | -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. | ||||
* | | | Optimize the way tag list is rendered | Jeremy Benoist | 2016-10-09 | 1 | -1/+1 |
|/ / | | | | | | | | | | | Instead of retrieve all informations about entries of a tag to just count them, we’ll count them before with a fastest query. Also change the layout of the tag list in material design | ||||
* | | Merge pull request #2351 from wallabag/fix-api-client-deletion | Nicolas Lœuillet | 2016-10-08 | 3 | -0/+157 |
|\ \ | | | | | | | Changed relation between API client and refresh token | ||||
| * | | Ensure access_token are removed | Jeremy Benoist | 2016-10-08 | 3 | -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 token | Nicolas Lœuillet | 2016-10-03 | 1 | -0/+5 |
| | | | | | | | | | | | | Fix #2350 | ||||
* | | | Merge pull request #2393 from wallabag/api-urls-exist | Nicolas Lœuillet | 2016-10-08 | 1 | -1/+21 |
|\ \ \ | | | | | | | | | Ability to check multiple urls in API |