aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle
Commit message (Collapse)AuthorAgeFilesLines
* Improve docsJeremy Benoist2017-05-311-0/+3
|
* Use graby ContentExtractor to clean htmlJeremy Benoist2017-05-311-1/+0
| | | | It might be better to re-use some graby functionalities to clean html instead of building a new system.
* Add support for authorsJeremy Benoist2017-05-311-1/+5
|
* Allow other fields to be send using APIJeremy Benoist2017-05-311-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 registrationJeremy Benoist2017-05-301-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
* WIPThomas Citharel2017-05-292-0/+103
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Move Tags assigner to a separate fileThomas Citharel2017-05-271-4/+4
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge remote-tracking branch 'origin/master' into 2.3Jeremy Benoist2017-05-191-4/+13
|\
| * Merge pull request #3095 from aaa2000/api-error-on-fail-fetch-contentThomas Citharel2017-05-101-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 retrievedadev2017-05-081-4/+13
| | | | | | | | | | | | Fix #2988
* | | Retrieve tag / tags value from query or requestJeremy Benoist2017-05-091-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.3Jeremy Benoist2017-05-092-2/+7
|\| |
| * | Fix API pagination is broken if perPage is custom valueadev2017-05-081-1/+2
| |/ | | | | | | Fix #2720
| * Fix display the form errors correctlyadev2017-05-051-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 limitJeremy Benoist2017-05-051-102/+94
| |
* | Added limitNicolas Lœuillet2017-05-011-0/+9
| |
* | Fix testsJeremy Benoist2017-05-011-1/+0
| |
* | Splitted the endpoint in twoNicolas Lœuillet2017-05-011-34/+62
| |
* | Added API endpoint to handle a list of URLNicolas Lœuillet2017-05-011-0/+71
| | | | | | | | By passing an array, you can add / delete URL in mass (bulk request)
* | Fix testsJeremy Benoist2017-04-291-2/+0
| |
* | Added endpoint to handle URL list to add/delete tagsNicolas Lœuillet2017-04-242-26/+63
| |
* | Added API endpoint to handle a list of URL and to add/delete tagsNicolas Lœuillet2017-04-241-0/+68
| |
* | return id of article instead of true if entry existsThomas Citharel2017-02-241-2/+2
|/
* Be consistent between migration & schema definitionJeremy Benoist2016-12-191-1/+1
|
* Fix tests & deprecation noticeJeremy Benoist2016-12-152-1/+1
|
* Return 304 when content isn't reloaded using the APIJeremy Benoist2016-11-221-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 failJeremy Benoist2016-11-201-6/+3
|
* Fixing testsJeremy Benoist2016-11-201-1/+1
|
* Add ability to reload entry from APIJeremy Benoist2016-11-201-0/+48
|
* CleanupJeremy Benoist2016-11-032-18/+1
|
* Fix rest controller mergeJeremy Benoist2016-11-034-0/+141
|
* Merge remote-tracking branch 'origin/master' into 2.2Jeremy Benoist2016-11-034-641/+563
|\
| * Removed useless routeNicolas Lœuillet2016-10-281-5/+0
| |
| * Exploded WallabagRestController into many controllersNicolas Lœuillet2016-10-284-521/+551
| | | | | | | | Fix #2503
* | Add entry.saved event to import & restJeremy Benoist2016-11-021-1/+8
| |
* | Added relation between API Client and UserNicolas Lœuillet2016-10-242-3/+22
| | | | | | | | Fix #2062
* | Add test on /api/annotationsJeremy Benoist2016-10-221-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
* | CSJeremy Benoist2016-10-221-1/+0
| |
* | Added a missing namespaceNicolas Lœuillet2016-10-221-0/+1
| |
* | fix cs and phpdocThomas Citharel2016-10-221-18/+6
| |
* | csThomas Citharel2016-10-221-6/+13
| |
* | move codeThomas Citharel2016-10-221-56/+31
| |
* | csThomas Citharel2016-10-221-3/+0
| |
* | bring annotations to APIThomas Citharel2016-10-221-0/+132
| |
* | CSJeremy Benoist2016-10-151-1/+0
| |
* | ApiDoc & Route annotation were conflictedJeremy Benoist2016-10-151-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-epubJeremy Benoist2016-10-122-6/+31
|\ \ | |/ |/| API: ability to export entry in all available format (epub, pdf, etc...)
| * Add entry export in APIJeremy Benoist2016-10-082-16/+32
| | | | | | | | | | Export isn't available for json & xml because user can use the default entry endpoint instead.
| * API: getEntry can return EPUBPascal MARTIN2016-10-081-1/+8
| |
| * Routing: epub format is allowed for APIPascal MARTIN2016-10-081-0/+2
| |