aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/UserRestController.php
Commit message (Collapse)AuthorAgeFilesLines
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-2/+2
|
* Add ability to name the clientJeremy Benoist2017-06-081-3/+4
|
* Create a client when creating a user using the apiJeremy Benoist2017-06-071-5/+15
| | | | | | | | 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.
* Return 201 on user creationJeremy Benoist2017-06-021-5/+12
|
* Add translationJeremy Benoist2017-06-021-1/+1
|
* API user creation behing a toggleJeremy Benoist2017-06-021-3/+3
| | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* 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-291-0/+98
Signed-off-by: Thomas Citharel <tcit@tcit.fr>