93a95c09bf
Merge pull request #2351 from wallabag/fix-api-client-deletion
...
Changed relation between API client and refresh token
2016-10-08 13:31:54 +02:00
4ad6f5878a
Merge pull request #2393 from wallabag/api-urls-exist
...
Ability to check multiple urls in API
2016-10-08 13:31:31 +02:00
3f3a60879e
Add entry export in API
...
Export isn't available for json & xml because user can use the default
entry endpoint instead.
2016-10-08 12:59:19 +02:00
24de866534
API: getEntry can return EPUB
2016-10-08 12:05:41 +02:00
3d4b0b3064
Routing: epub format is allowed for API
2016-10-08 12:05:40 +02:00
ee32248f43
Ensure access_token are removed
...
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)
2016-10-08 00:05:41 +02:00
ac8cf632bb
Ensure orphan tag are remove in API
...
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!)
2016-10-07 23:31:53 +02:00
f0abc22d09
Ability to check multiple urls in API
2016-10-07 20:37:01 +02:00
0b174d69d7
Fix typo & add test
2016-10-05 19:30:56 +02:00
5d39243068
Fix exists API call
...
Boo
2016-10-05 15:28:36 +02:00
b0da721a52
Changed relation between API client and refresh token
...
Fix #2350
2016-10-03 21:39:01 +02:00
c3f8b428dd
Fix parameters in API _links
...
We forgot to pass them to the factory
2016-10-02 15:41:08 +02:00
3583cadf6f
CS
2016-10-02 01:43:50 +02:00
6273fefd5d
Add an exists endpoint in API
...
It should allow third party to check if an url was already saved by a user
2016-10-01 17:15:28 +02:00
faa86e06ba
Fix tags count in menu
...
Move enable cache for Tag in the Entity because function `find*` should return result and not a Query
2016-09-25 12:03:49 +02:00
60faee002c
Re-user JsonResponse
...
Since Symfony 3.1 we can define the json of a JsonResonse using `->setJson()`
2016-09-08 12:03:38 +02:00
429d86f388
Added tags counter in sidebar (material theme)
2016-09-04 20:53:28 +02:00
a0e1eafc35
Add some tests
...
Also, retrieve tag from the request instead of the query (which will be the same but it's more easy to test).
Moved down `deleteTagAction` because it conflicted with the new action:
api_delete_tag => /api/tags/{tag}.{_format}
api_delete_tags_label => /api/tags/label.{_format}
And finally, throw exception when a tag is not found before removing it.
2016-08-23 07:26:58 +02:00
9bf83f1fb8
CS
2016-08-23 07:26:58 +02:00
4da01f492b
Delete tag or tags by label
...
Tests not included
2016-08-23 07:26:58 +02:00
e71cef0bb8
Fix typos in field name
2016-08-23 07:26:58 +02:00
119914e65d
added name on client
2016-08-23 07:26:58 +02:00
9c545fe028
Added name on client
...
- Fix typos in field name
- Added migration for name field in API client table
Manually cherry-picked from PR
https://github.com/wallabag/wallabag/pull/2171
2016-08-22 20:18:27 +02:00
28803f106b
Add filter for tags on API
2016-06-29 09:55:57 +02:00
e43c78abd9
CS
2016-06-25 23:19:21 +02:00
e5fb89e5d3
Add since parameter
2016-06-25 21:05:50 +02:00
23634d5d84
Jump to Symfony 3.1
2016-06-22 17:59:35 +02:00
6922168420
CS
2016-05-19 07:41:54 +02:00
bba271e619
Tests for issue #2089
2016-05-18 15:37:07 +05:00
614a0bfd86
PATCH also clears starred and archived signs
2016-05-18 15:28:49 +05:00
873e380658
Starred and Archived clears if article is already exists
2016-05-18 10:30:33 +05:00
51a15609b3
Set the title via POST /api/entries
...
Fix #2009
2016-05-02 12:50:42 +02:00
4094ea4771
Convert array + phpDoc
...
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
2016-04-12 12:25:29 +02:00
0135c98b24
Remove int cast
2016-04-10 14:15:21 +02:00
5c3ca4fe9e
All the entries are fetched via GET /api/entries
...
Fix #1863 : only the unread entries were fetched with GET /api/entries entrypoint. Now, all the entries are fetched
2016-04-09 21:13:56 +02:00
2baca964f3
Simplify tag creation from entry
...
Testing that a tag exist or is assigned to the current entry isn't important in the tag controler since the `assignTagsToEntry` is already doing that job.
So it simplify the controller.
2016-03-27 17:09:33 +02:00
bc2b947cd5
add check
2016-03-16 22:47:12 +01:00
0cd0d6eb8c
fix updating entry status through API
2016-03-16 22:43:32 +01:00
2f60e5ea75
check if archive/star parameters without quotes work
2016-03-16 22:22:12 +01:00
189ef6342a
use integers for archived/starred status
2016-03-16 22:22:12 +01:00
0d3043a29c
fix api properties and typo
2016-03-16 22:22:12 +01:00
3107f92acb
Don't add entry through API if it already exists
2016-03-16 21:07:01 +01:00
bc44aa5784
add tests on user in API responses
2016-03-15 19:31:31 +01:00
09d8bb6fa2
Improve tests
...
- add more tests for coverage
- add a test on annotation deletion
- fix post annontation with ranges
2016-03-11 17:59:42 +01:00
6f8310b445
typos & cs
2016-03-08 09:22:25 +01:00
9761bfa18e
write test for version
2016-03-07 15:16:27 +01:00
2b4770301c
Add version in API
2016-03-07 15:00:03 +01:00
fba9e7d44d
Remove 'content' from API
...
Waiting to find a good solution to avoid side problem since user can no define the content
2016-03-04 11:46:18 +01:00
11a452813c
use booleans instead of empty
2016-03-04 11:39:21 +01:00
816ad4051b
add more properties for entries #1634
2016-03-04 11:39:20 +01:00