Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API: Use POST to (un)block a userapi-post-block | Robert Schilling | 2017-02-20 | 1 | -2/+2 |
| | |||||
* | Paginate all endpoints that return an array | Robert Schilling | 2017-02-16 | 1 | -4/+12 |
| | |||||
* | Merge branch '1051-api-create-users-without-password' into 'master' | Rémy Coutable | 2017-02-10 | 1 | -2/+14 |
|\ | | | | | | | | | | | | | Optionally make users created via the API set their password Closes #1051 See merge request !8957 | ||||
| * | Optionally make users created via the API set their password | Joost Rijneveld | 2017-02-09 | 1 | -2/+14 |
| | | |||||
* | | Fix inconsistent naming for services that delete things | dixpac | 2017-02-08 | 1 | -1/+1 |
|/ | | | | | | * Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService | ||||
* | Force new password after password reset via API | George Andrinopoulos | 2017-02-02 | 1 | -0/+2 |
| | |||||
* | Fix Users API to accept confirm parameter | Mark Fletcher | 2017-01-11 | 1 | -1/+1 |
| | |||||
* | Fix the failing spec in POST /users APIfix-users-api-500-error | Rémy Coutable | 2017-01-05 | 1 | -7/+4 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | API: extern_uid is a stringapi-fix-extern-uid-validation | Robert Schilling | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | remove build_user from model User | Arsenev Vladislav | 2016-12-18 | 1 | -1/+1 |
| | |||||
* | Calls to the API are checked for scope. | Timothy Andrew | 2016-12-16 | 1 | -1/+4 |
| | | | | | | | | | | | | | | - Move the `Oauth2::AccessTokenValidationService` class to `AccessTokenValidationService`, since it is now being used for personal access token validation as well. - Each API endpoint declares the scopes it accepts (if any). Currently, the top level API module declares the `api` scope, and the `Users` API module declares the `read_user` scope (for GET requests). - Move the `find_user_by_private_token` from the API `Helpers` module to the `APIGuard` module, to avoid littering `Helpers` with more auth-related methods to support `find_user_by_private_token` | ||||
* | API: Memoize the current_user so that the sudo can work properly | Rémy Coutable | 2016-12-12 | 1 | -1/+1 |
| | | | | | | | | The issue was arising when `#current_user` was called a second time after a user was impersonated: the `User#is_admin?` check would be performed on it and it would fail. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | adds impersonator variable and makes sudo usage overall more clear24537-reenable-private-token-with-sudo | tiagonbotelho | 2016-12-07 | 1 | -8/+8 |
| | |||||
* | Reenables /user API request to return private-token if user is admin and ↵ | tiagonbotelho | 2016-12-07 | 1 | -1/+1 |
| | | | | requested with sudo | ||||
* | Use the pagination helper in the APIuse-pagination-helper | Robert Schilling | 2016-12-04 | 1 | -1/+4 |
| | |||||
* | Fix StrongAttibutes error with Ruby 2.124730-broken-master | Rémy Coutable | 2016-11-21 | 1 | -4/+5 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Grapify the users APIgrapify-users-api | Robert Schilling | 2016-11-21 | 1 | -258/+250 |
| | |||||
* | Add query param to filter users on 'external' & 'blocked' type on API | Yatish Mehta | 2016-11-08 | 1 | -1/+6 |
| | |||||
* | Get rid of extra .page call | Airat Shigapov | 2016-10-24 | 1 | -2/+1 |
| | |||||
* | Fix events order in user contributions API | Airat Shigapov | 2016-10-24 | 1 | -1/+2 |
| | |||||
* | API: New /users/:id/events endpoint | Rémy Coutable | 2016-10-10 | 1 | -0/+20 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Add User#organization to users api | Dmitriy Zaporozhets | 2016-09-27 | 1 | -2/+4 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Don't expose a user's private token in the `/api/v3/user` API. | Timothy Andrew | 2016-08-31 | 1 | -1/+1 |
| | | | | | | - This would allow anyone with a personal access token (even a read-only token, once scopes are implemented) to escalate their access by obtaining the private token. | ||||
* | Enable Style/RedundantParentheses rubocop coprubocop/enable-redundant-parentheses-cop | Grzegorz Bizon | 2016-05-30 | 1 | -1/+1 |
| | | | | See #17478 | ||||
* | Add changelog entry | Felipe Artur | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | Fix documentation and improve permissions code | Felipe Artur | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | Insert users check into api | Felipe Artur | 2016-04-18 | 1 | -2/+8 |
| | |||||
* | Expose user location in API | Robert Schilling | 2016-04-06 | 1 | -2/+4 |
| | |||||
* | Add missing API docs on external user | Achilleas Pipinellis | 2016-03-17 | 1 | -2/+2 |
| | | | | [ci skip] | ||||
* | API support for setting External flag on existing users | Zeger-Jan van de Weg | 2016-03-17 | 1 | -1/+2 |
| | |||||
* | External Users | Zeger-Jan van de Weg | 2016-03-13 | 1 | -2/+3 |
| | | | | | The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects. | ||||
* | Codestyle changes | Gabriel Mazetto | 2016-01-12 | 1 | -3/+3 |
| | |||||
* | Prevent ldap_blocked users from being blocked/unblocked by the API | Gabriel Mazetto | 2016-01-08 | 1 | -4/+8 |
| | |||||
* | Make single user API endpoint return Entities::User instead of ↵ | Michi302 | 2015-12-28 | 1 | -1/+1 |
| | | | | Entities::UserBasic | ||||
* | Add API support for looking up a user by username | Stan Hu | 2015-12-24 | 1 | -4/+10 |
| | | | | Needed to support Huboard | ||||
* | Added ability to update or set the identity of an existing user, like the ↵fix-user-identities-api | Patricio Cano | 2015-09-22 | 1 | -0/+11 |
| | | | | documentation said it was possible, but actually wasn't. | ||||
* | Restrict users API endpoints to use integer IDs | Stan Hu | 2015-08-23 | 1 | -1/+1 |
| | | | | Closes #2267 | ||||
* | Fix indentation | Douwe Maan | 2015-07-31 | 1 | -11/+11 |
| | |||||
* | Add ability to manage user email addresses via the API. | Douwe Maan | 2015-07-29 | 1 | -0/+111 |
| | |||||
* | Allow user to be blocked and unblocked via the API | Steve Norman | 2015-07-03 | 1 | -0/+30 |
| | |||||
* | Fix error when deleting a user who has projects | Stan Hu | 2015-06-23 | 1 | -1/+1 |
| | | | | | Closes #1856 Closes https://github.com/gitlabhq/gitlabhq/issues/9394 | ||||
* | You can not remove user if he/she is an only owner of group | Dmitriy Zaporozhets | 2015-05-28 | 1 | -1/+1 |
| | | | | | | | To prevent loose of group data you need to transfer or remove group first before you can remove user Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Change ordering so that confirm is removed from attrs before attempting to ↵ | RICKETTM@uk.ibm.com | 2015-03-24 | 1 | -2/+2 |
| | | | | User.build_user | ||||
* | Merge branch 'master' into mmonaco/gitlab-ce-api-user-noconfirm | Dmitriy Zaporozhets | 2015-02-27 | 1 | -5/+9 |
|\ | | | | | | | | | Conflicts: lib/api/users.rb | ||||
| * | Supporting for multiple omniauth provider for the same user | Valery Sizov | 2014-12-04 | 1 | -4/+8 |
| | | |||||
* | | Add 'confirm' option to users api | Matthew Monaco | 2014-11-03 | 1 | -1/+4 |
|/ | |||||
* | Improve error reporting on users API | jubianchi | 2014-09-16 | 1 | -21/+37 |
| | | | | | | | | * users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username * MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks * issues * labels * projects | ||||
* | Fix signup and project visibility | Dmitriy Zaporozhets | 2014-06-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Make app works with strong params | Dmitriy Zaporozhets | 2014-06-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Dont expose user email via API | Dmitriy Zaporozhets | 2014-06-13 | 1 | -4/+14 |
| | | | | | | | | | | | | | To prevent leaking of users info we reduce amount of user information retrieved via API for normal users. What user can get via API: * if not admin: only id, state, name, username and avatar_url * if admin: all user information * about himself: all informaion Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> |