Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3181 from wallabag/api-content-patch | Jérémy Benoist | 2017-06-07 | 1 | -75/+75 |
|\ | | | | | Add ability to patch an entry with more fields | ||||
| * | Refactorize the way to save an Entry in the API | Jeremy Benoist | 2017-06-07 | 1 | -102/+70 |
| | | |||||
| * | Add ability to patch an entry with more fields | Jeremy Benoist | 2017-06-02 | 1 | -3/+35 |
| | | | | | | | | | | | | | | | | | | 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 | -5/+12 |
| | | |||||
* | | Add translation | Jeremy Benoist | 2017-06-02 | 1 | -1/+1 |
| | | |||||
* | | API user creation behing a toggle | Jeremy Benoist | 2017-06-02 | 1 | -3/+3 |
|/ | | | | | | | | 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. | ||||
* | Fix tests | Jeremy Benoist | 2017-06-01 | 1 | -22/+23 |
| | |||||
* | Avoid returning objects passed by reference. | Jerome Charaoui | 2017-06-01 | 1 | -2/+2 |
| | | | | | | Objects are always passed by reference, so it doesn't make sense to return an object which is passed by reference as it will always be the same object. This change makes the code a bit more readable. | ||||
* | Forced date can now be a timestamp too | Jeremy Benoist | 2017-05-31 | 1 | -1/+1 |
| | | | | Add adding more tests for forced content | ||||
* | Improve docs | Jeremy Benoist | 2017-05-31 | 1 | -0/+3 |
| | |||||
* | Use graby ContentExtractor to clean html | Jeremy Benoist | 2017-05-31 | 1 | -1/+0 |
| | | | | It might be better to re-use some graby functionalities to clean html instead of building a new system. | ||||
* | Add support for authors | Jeremy Benoist | 2017-05-31 | 1 | -1/+5 |
| | |||||
* | Allow other fields to be send using API | Jeremy Benoist | 2017-05-31 | 1 | -15/+31 |
| | | | | | | | | | | | | | | | | 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) | ||||
* | Re-use `NewUserType` to validate registration | Jeremy Benoist | 2017-05-30 | 1 | -39/+80 |
| | | | | | | 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 | ||||
* | WIP | Thomas Citharel | 2017-05-29 | 2 | -0/+103 |
| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | Move Tags assigner to a separate file | Thomas Citharel | 2017-05-27 | 1 | -4/+4 |
| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | 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 |
| | |