aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Entity
Commit message (Collapse)AuthorAgeFilesLines
* Create a client when creating a user using the apiJeremy Benoist2017-06-071-0/+23
| | | | | | | | While creating a new user using the API, we also create a new client for the current user. So the app which just create the user can use its newly created client to configure the app. That new client is only return after creating the user. When calling the endpoint /api/user to get user information, the new client information won’t be return.
* Be consistent between migration & schema definitionJeremy Benoist2016-12-191-1/+1
|
* Added relation between API Client and UserNicolas Lœuillet2016-10-241-1/+16
| | | | Fix #2062
* Fix entities definitionJeremy Benoist2016-10-092-2/+2
| | | | | | | | 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.
* Ensure access_token are removedJeremy Benoist2016-10-081-0/+5
| | | | | | | | 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)
* Changed relation between API client and refresh tokenNicolas Lœuillet2016-10-031-0/+5
| | | | Fix #2350
* Added name on clientThomas Citharel2016-08-221-0/+31
| | | | | | | | - 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
* Symfony Upgrade Fixer FTWJeremy Benoist2016-01-154-4/+4
| | | | symfony-upgrade-fixer fix src/Wallabag/
* remove old implementation for login/register/recoverNicolas Lœuillet2015-10-033-3/+3
|
* * public registrationNicolas Lœuillet2015-10-034-0/+118
* remove WSSE implementation * add oAuth2 implementation