Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CS | Jeremy Benoist | 2018-11-28 | 1 | -1/+1 |
| | |||||
* | Fix tests | Jeremy Benoist | 2018-11-28 | 1 | -44/+40 |
| | |||||
* | Entry: add archived_at property and updateArchived method | Sébastien Viande | 2018-09-21 | 1 | -0/+2 |
| | |||||
* | php-cs-fixer | Kevin Decherf | 2018-09-05 | 1 | -15/+15 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Fix tests | Jeremy Benoist | 2018-06-06 | 1 | -17/+17 |
| | |||||
* | api: copy entry object before sending, to keep id | Kevin Decherf | 2017-12-17 | 1 | -0/+1 |
| | | | | | | Workaround for https://github.com/wallabag/android-app/issues/646 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Fix empty title and domain_name when exception is thrown during fetch | Kevin Decherf | 2017-12-13 | 1 | -0/+2 |
| | | | | | | | | | | Add a new helper to set a default title when it's empty: 1/ use basename part of entry's path, if any 2/ or use domain name Fixes #2053 Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | CS | Jeremy Benoist | 2017-11-21 | 1 | -1/+1 |
| | |||||
* | Fix phpcs | Kevin Decherf | 2017-11-19 | 1 | -17/+17 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Improve EntryRestControllerTest for origin_url | Kevin Decherf | 2017-11-19 | 1 | -0/+55 |
| | | | | | | | | Ensure that origin_url is initially null Ensure patching entry with origin_url='' Ensure patching entry with origin_url=null Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Add some tests for OriginUrl in EntryRestController | Kevin Decherf | 2017-11-19 | 1 | -0/+73 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | CS | Jeremy Benoist | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | Fix #3361 add test | Sébastien Viande | 2017-10-12 | 1 | -0/+7 |
| | |||||
* | Multiple tag search was broken from API | Jeremy Benoist | 2017-09-06 | 1 | -0/+3 |
| | | | | | | | | | | First, the setParameter() were done on the same parameter which in fact just duplicated the condition in the SQL query (like `where t.label = 'test' and t.label = 'test'`. Changed the parameter doesn't help because the query was then wrong. Changing the way to match associated tags for an entry and it worked. | ||||
* | Set a starred_at field when an entry is starred. | François D | 2017-08-25 | 1 | -0/+5 |
| | | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field. | ||||
* | Add a test for updatePublishedAt | Jeremy Benoist | 2017-07-24 | 1 | -0/+34 |
| | | | | | | | To avoid error when a content is re-submitted and it previously add a published date. Also, fix the `testPostSameEntry` | ||||
* | CS | Jeremy Benoist | 2017-07-03 | 1 | -15/+14 |
| | |||||
* | Fix PATCH method | Jeremy Benoist | 2017-07-03 | 1 | -10/+58 |
| | | | | | The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before. Also, sending tags when patching an entry will now remove all current tags & assocatied new ones. | ||||
* | Fix tests | Jeremy Benoist | 2017-07-03 | 1 | -12/+12 |
| | |||||
* | Add a real configuration for CS-Fixer | Jeremy Benoist | 2017-07-01 | 1 | -148/+148 |
| | |||||
* | Return null instead of false | Jeremy Benoist | 2017-06-28 | 1 | -3/+3 |
| | |||||
* | Avoid BC on exists endpoint | Jeremy Benoist | 2017-06-23 | 1 | -4/+37 |
| | |||||
* | Add public filter/field in the API | Jeremy Benoist | 2017-06-10 | 1 | -0/+52 |
| | | | | | | Listing entries can now be filtered by “public”. Creating or patching an entry can now set is to public or remove the public. Entry response now include “is_public” boolean field | ||||
* | Fix test | Jeremy Benoist | 2017-06-08 | 1 | -4/+4 |
| | | | | | de_DE is not valid language. Zataz doesn’t send a valid language in their content (they use `fr-FR`). | ||||
* | 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 | ||||
* | Merge pull request #3137 from aaa2000/isolated-tests | Jérémy Benoist | 2017-06-01 | 1 | -12/+25 |
|\ | | | | | Isolated tests | ||||
| * | Isolated tests | adev | 2017-05-31 | 1 | -12/+25 |
| | | | | | | | | 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) | ||||
* | 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 | ||||
* | | | 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. |