Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3181 from wallabag/api-content-patch | Jérémy Benoist | 2017-06-07 | 1 | -0/+11 |
|\ | | | | | Add ability to patch an entry with more fields | ||||
| * | Add ability to patch an entry with more fields | Jeremy Benoist | 2017-06-02 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | Like when we create an entry, we can now patch an entry with new fields: - content - language - preview_picture - published_at - authors | ||||
* | | Return 201 on user creation | Jeremy Benoist | 2017-06-02 | 1 | -2/+2 |
| | | |||||
* | | API user creation behing a toggle | Jeremy Benoist | 2017-06-02 | 2 | -21/+85 |
|/ | | | | | | | | 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. | ||||
* | Merge pull request #3137 from aaa2000/isolated-tests | Jérémy Benoist | 2017-06-01 | 4 | -43/+71 |
|\ | | | | | Isolated tests | ||||
| * | Isolated tests | adev | 2017-05-31 | 4 | -43/+71 |
| | | | | | | | | Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation. | ||||
* | | Add support for authors | Jeremy Benoist | 2017-05-31 | 1 | -0/+4 |
| | | |||||
* | | Allow other fields to be send using API | Jeremy Benoist | 2017-05-31 | 1 | -0/+6 |
|/ | | | | | | | | | | | | | | | | Entry API can now have these new fields: - content - language - preview_picture - published_at Re-use the ContentProxy to be able to do the same using the web UI (in the future). htmLawed is used to clean stuff from content, I hope it’ll be enough to avoid security breach. Lower content validation when we want to update an entry with content already defined. Before, language & content_type were required. If there weren’t provided, we re-fetched the content using graby. I think these fields aren’t required for an entry to be created. So I removed them. Which means some import from the v1 export won’t be re-fetched since they provide content, url & title. Also, remove liberation link from Readability import to avoid overlaping import (from wallabag v1, which had the same link) | ||||
* | Avoid side effect on other tests | Jeremy Benoist | 2017-05-30 | 1 | -1/+13 |
| | |||||
* | Re-use `NewUserType` to validate registration | Jeremy Benoist | 2017-05-30 | 2 | -1/+99 |
| | | | | | | The only ugly things is how we handle error by generating the view and then parse the content to retrieve all errors… Fix exposition fields in User entity | ||||
* | Merge remote-tracking branch 'origin/master' into 2.3 | Jeremy Benoist | 2017-05-19 | 1 | -0/+34 |
|\ | |||||
| * | Merge pull request #3095 from aaa2000/api-error-on-fail-fetch-content | Thomas Citharel | 2017-05-10 | 1 | -0/+34 |
| |\ | | | | | | | Create a new entry via API even when its content can't be retrieved | ||||
| | * | Remove the created entry to avoid side effects on other tests | adev | 2017-05-09 | 1 | -8/+18 |
| | | | |||||
| | * | Create a new entry via API even when its content can't be retrieved | adev | 2017-05-08 | 1 | -0/+24 |
| | | | | | | | | | | | | Fix #2988 | ||||
* | | | Retrieve tag / tags value from query or request | Jeremy Benoist | 2017-05-09 | 1 | -4/+26 |
| | | | | | | | | | | | | | | | 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 | 1 | -0/+16 |
|\| | | |||||
| * | | Fix API pagination is broken if perPage is custom value | adev | 2017-05-08 | 1 | -0/+16 |
| |/ | | | | | | | Fix #2720 | ||||
* | | Added migrations execution after fresh install | Nicolas Lœuillet | 2017-05-05 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #3053 from wallabag/api-bulk-add | Nicolas Lœuillet | 2017-05-05 | 1 | -7/+56 |
|\ \ | | | | | | | Added API endpoint to handle a list of URL | ||||
| * | | Little refacto and send 400 on reaching urls limit | Jeremy Benoist | 2017-05-05 | 1 | -4/+3 |
| | | | |||||
| * | | Added limit | Nicolas Lœuillet | 2017-05-01 | 1 | -0/+23 |
| | | | |||||
| * | | Fix tests (for real this time) | Jeremy Benoist | 2017-05-01 | 1 | -2/+2 |
| | | | |||||
| * | | Fix tests | Jeremy Benoist | 2017-05-01 | 1 | -4/+4 |
| | | | |||||
| * | | Splitted the endpoint in two | Nicolas Lœuillet | 2017-05-01 | 1 | -29/+26 |
| | | | |||||
| * | | Added API endpoint to handle a list of URL | Nicolas Lœuillet | 2017-05-01 | 1 | -8/+38 |
| | | | | | | | | | | | | By passing an array, you can add / delete URL in mass (bulk request) | ||||
* | | | Merge pull request #3047 from wallabag/add-notmatches-operator | Nicolas Lœuillet | 2017-05-03 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | Added notmatches operator for tagging rule | ||||
| * | | Added notmatches operator for tagging rule | Nicolas Lœuillet | 2017-04-20 | 1 | -2/+2 |
| | | | |||||
* | | | Fix tests | Jeremy Benoist | 2017-04-29 | 1 | -13/+13 |
| | | | |||||
* | | | Added endpoint to handle URL list to add/delete tags | Nicolas Lœuillet | 2017-04-24 | 1 | -11/+48 |
| | | | |||||
* | | | Added API endpoint to handle a list of URL and to add/delete tags | Nicolas Lœuillet | 2017-04-24 | 1 | -0/+31 |
|/ / | |||||
* / | return id of article instead of true if entry exists | Thomas Citharel | 2017-02-24 | 1 | -2/+2 |
|/ | |||||
* | Return 304 when content isn't reloaded using the API | Jeremy Benoist | 2016-11-22 | 1 | -5/+1 |
| | | | | | | 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 | -1/+5 |
| | |||||
* | Fixing tests | Jeremy Benoist | 2016-11-20 | 1 | -3/+2 |
| | |||||
* | Add ability to reload entry from API | Jeremy Benoist | 2016-11-20 | 1 | -0/+37 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into 2.2 | Jeremy Benoist | 2016-11-03 | 3 | -828/+843 |
|\ | |||||
| * | Exploded WallabagRestController into many controllers | Nicolas Lœuillet | 2016-10-28 | 3 | -820/+835 |
| | | | | | | | | Fix #2503 | ||||
* | | Fixed migration and added tests | Nicolas Lœuillet | 2016-10-28 | 1 | -3/+16 |
| | | |||||
* | | Merge pull request #2372 from pmartin/api-get-entry-as-epub | Jeremy Benoist | 2016-10-12 | 1 | -48/+56 |
|\ \ | |/ |/| | API: ability to export entry in all available format (epub, pdf, etc...) | ||||
| * | Add entry export in API | Jeremy Benoist | 2016-10-08 | 1 | -48/+56 |
| | | | | | | | | | | Export isn't available for json & xml because user can use the default entry endpoint instead. | ||||
* | | Merge pull request #2351 from wallabag/fix-api-client-deletion | Nicolas Lœuillet | 2016-10-08 | 1 | -0/+104 |
|\ \ | | | | | | | Changed relation between API client and refresh token | ||||
| * | | Ensure access_token are removed | Jeremy Benoist | 2016-10-08 | 1 | -0/+104 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | | | Merge pull request #2393 from wallabag/api-urls-exist | Nicolas Lœuillet | 2016-10-08 | 1 | -0/+16 |
|\ \ \ | | | | | | | | | Ability to check multiple urls in API | ||||
| * | | | Ability to check multiple urls in API | Jeremy Benoist | 2016-10-07 | 1 | -0/+16 |
| | |/ | |/| | |||||
* / | | Ensure orphan tag are remove in API | Jeremy Benoist | 2016-10-07 | 1 | -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 test | Jeremy Benoist | 2016-10-05 | 1 | -0/+7 |
|/ | |||||
* | Fix parameters in API _links | Jeremy Benoist | 2016-10-02 | 1 | -1/+99 |
| | | | | We forgot to pass them to the factory | ||||
* | Add test when url doesn’t exist | Jeremy Benoist | 2016-10-01 | 1 | -0/+11 |
| | |||||
* | Add an exists endpoint in API | Jeremy Benoist | 2016-10-01 | 1 | -0/+11 |
| | | | | It should allow third party to check if an url was already saved by a user | ||||
* | Fix bad parameter for tests | Jeremy Benoist | 2016-09-25 | 1 | -1/+1 |
| |