13 Jun, 2014
2 commits
-
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
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>
18 Apr, 2014
1 commit
-
Complements POST operation added in gitlabhq/gitlabhq#3146 Implement DELETE /users/:uid/keys/:id for admin users Fix "Line is too long. [83/80]" Use single quotes as advised Use single quotes as advised Use single quotes as advised Fix missing space around { and } Fix typo in documentation Only catch ActiveRecord::RecordNotFound, let other exceptions propagate Raise a "404 Not found" if key to be deleted cannot be found As requested by @jvanbaarsen in https://github.com/gitlabhq/gitlabhq/pull/6781#discussion_r11735114 Remove tab Unconfigured vim on this box, grrrr./
11 Apr, 2014
1 commit
19 Jan, 2014
1 commit
29 Sep, 2013
2 commits
-
Also, is_admin and can_create_group are exposed in the user information. Fixed attributes_for_keys to process properly keys with boolean values (since false.present? is false).
14 Sep, 2013
1 commit
11 Sep, 2013
2 commits
-
-calling build_user will now apply defaults and only override them if as: :admin is set Change-Id: Id1d938c0967752ecc14370af54f2d88128d18c44
-
-API now respects default_projects_limit, default_can_create_group, and default_can_create_team Change-Id: I059d060d576df1050e5371e707381c5e8c608a7a
29 Jul, 2013
1 commit
14 May, 2013
1 commit
18 Mar, 2013
1 commit
17 Mar, 2013
1 commit
-
Most of these are comments but a few are strings for users. Might be an idea to run this from time to time: https://github.com/lyda/misspell-check It runs mostly clean now.
07 Mar, 2013
1 commit
-
Conflicts: doc/api/projects.md spec/requests/api/projects_spec.rb
05 Mar, 2013
1 commit
27 Feb, 2013
1 commit
21 Feb, 2013
1 commit
20 Feb, 2013
1 commit
-
The users API updated with return codes, e.g. if required parameters are missing a `400 Bad Request` error is returned instead of `404`. Fixes return codes of functions, e.g. deletion of a ssh key is an idempotent function now. The API documentation is updated to reflect the current status of the API. Descriptions are more detailed and complete, infos to return values are added to all functions.
31 Jan, 2013
1 commit
-
… bladealslayer-extend_user_api Conflicts: spec/requests/api/users_spec.rb
18 Jan, 2013
1 commit
18 Dec, 2012
1 commit
-
Also added tests.
13 Nov, 2012
1 commit
19 Oct, 2012
1 commit
02 Oct, 2012
1 commit
21 Sep, 2012
2 commits
12 Sep, 2012
1 commit
25 Aug, 2012
3 commits
-
See docs for usage
-
Changes: * Move spec/monkeypatch to spec/support * Remove unused support/shared_examples * Move support/api to support/api_helpers to match module name * Move support/login to support/login_helpers to match module name * Move API specs to requests/api (convention over configuration) * Remove unused support/js_patch * Simplify login_as helper * Move DatabaseCleaner stuff to its own support file * Remove unnecessary configuration and requires from spec_helper