| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Fix #2503
|
| | |
|
| |
| |
| |
| | |
Fix #2062
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 …
|
|\ \
| |/
|/| |
API: ability to export entry in all available format (epub, pdf, etc...)
|
| |
| |
| |
| |
| | |
Export isn't available for json & xml because user can use the default
entry endpoint instead.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix entities definition
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As per Doctrine said in the debug tool bar:
- The field Wallabag\ApiBundle\Entity\Client#refreshTokens is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Wallabag\ApiBundle\Entity\RefreshToken#client does not contain the required 'inversedBy="refreshTokens"' attribute.
- The field Wallabag\ApiBundle\Entity\Client#accessTokens is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Wallabag\ApiBundle\Entity\AccessToken#client does not contain the required 'inversedBy="accessTokens"' attribute.
|
|/ /
| |
| |
| |
| |
| | |
Instead of retrieve all informations about entries of a tag to just count them, we’ll count them before with a fastest query.
Also change the layout of the tag list in material design
|
|\ \
| | |
| | | |
Changed relation between API client and refresh token
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | | |
Fix #2350
|
|\ \ \
| | | |
| | | | |
Ability to check multiple urls 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!)
|
| | |
|
|/
|
| |
Boo
|
|
|
|
| |
We forgot to pass them to the factory
|
| |
|
|
|
|
| |
It should allow third party to check if an url was already saved by a user
|
|
|
|
| |
Move enable cache for Tag in the Entity because function `find*` should return result and not a Query
|
|
|
|
| |
Since Symfony 3.1 we can define the json of a JsonResonse using `->setJson()`
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Tests not included
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|