Adam Hegyi
1bc5a3e4bd
Add a note about private_profile changes in 12.1
2019-07-19 09:53:19 +00:00
Stan Hu
f0400dc7c0
Merge branch '12800-read-and-write-user-admin-notes-via-api-ce' into 'master'
...
CE Backport: Read and write User "Admin notes" via API
See merge request gitlab-org/gitlab-ce!30775
2019-07-16 22:13:26 +00:00
manojmj
ce40c12849
CE: Read and write User "Admin notes" via API
...
This change adds the ability to read and
write admin notes for a user via the
USER API
2019-07-17 01:11:10 +05:30
Adam Hegyi
4959d8fd49
Migrate null values for users.private_profile
...
- Background migration for changing null values to false
- Set false as default value for private_profile DB column
2019-07-15 21:07:54 +00:00
Marcel Amirault
143872fa52
Remove trailing whitespace in docs
...
Remove unneeded trailing whitespace in lines in
/development /ci /api and /administration docs.
2019-07-12 08:15:38 +00:00
Tim Zallmann
b9e52612fe
Updates on success of an MR the count on top and in other tabs
...
New API endpoint for merge request count
Updates all open tabs at the same time with one call
Restructured API response
API response changed to 401 if no current_user
Added API + JS specs
Fix for Static Check
Updated Count on Open/Close, Assign/Unassign of MR's
Checking if MR Count is refreshed
Added # frozen_string_literal: true to spec
Added Changelog
2019-07-09 08:44:19 +00:00
Marcel Amirault
e83519bb7c
Docs: Add missing backtick fence to code block
2019-07-09 07:16:55 +00:00
Marcel Amirault
73c6477b7e
Changing badges to use parentheses not brackets
...
Previously, we used brackets to denote the tier badges,
but this made Kramdown, the docs site Markdown renderer,
show many warnings when building the site. This is now
fixed by using parentheses instead of square brackets.
This was caused by [PREMIUM] looking like a link to
Kramdown, which couldn't find a URL there.
See:
- https://gitlab.com/gitlab-com/gitlab-docs/merge_requests/484
- https://gitlab.com/gitlab-org/gitlab-ce/issues/63800
2019-07-08 08:50:38 +00:00
Marcel Amirault
8ac2c3ef43
Clean up EE api docs that were merged to CE
...
Many small fixes to api docs which were merged from EE to CE,
and tables cleaned up, as noted in issue
https://gitlab.com/gitlab-org/gitlab-ce/issues/64072
2019-07-04 08:22:41 +00:00
Achilleas Pipinellis
9671ca19de
Re-align CE and EE API docs
2019-07-03 12:48:42 +02:00
Marcel Amirault
a347d15972
Update api docs to finish aligning EE and CE docs
...
Squashing a few commits and continuing work
on merging the 12 api docs that have not
been ported to CE yet.
2019-07-03 09:32:54 +00:00
Stan Hu
d6f20b55b8
Add support for creating random passwords in user creation API
...
To avoid having to specify an actual password to create users, admins
can now use the `force_random_password` parameter to let Devise generate
a password.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63826
2019-06-27 13:25:37 -07:00
Michael Leopard
8cf85b4bb5
Updating CE repo to include new EE users API changes
...
Updated users API documentation
Moved API level changes to the service level
2019-06-19 20:27:34 +00:00
Thiago Presa
383176fbf5
Fix highest role docs
...
The docs for the highest_role field was incorrectly added to the
/users endpoint. This commit adds it to the /users/:id
2019-05-30 06:10:52 +00:00
Cynthia Ng
5b2239da9a
Add email clarification
2019-04-28 23:49:25 +00:00
Thiago Presa
538741f230
Add highest_role method to User
2019-03-22 09:54:03 +00:00
Evan Read
47fb1c5235
Remove consecutive blank lines from markdown files
...
For the sake of consistency, removes any extraneous
consecutive blank lines from the doc suite.
2019-02-18 09:36:13 +00:00
Rubén Dávila
24226b9fe2
Update last_activity_on for Users on some main GET endpoints
...
In order to have an accurate date about the last activity of a User
we need to update the last_activity_on field when the User is visiting
some basic pages of GitLab like pages related to Dashboards, Projects,
Issues and Merge Requests
2019-02-05 09:55:31 -05:00
Achilleas Pipinellis
0e078d1a8a
Replace look-alike token with '<your_access_token>'
...
Replace all '9koXpg98eAheJpvBs5tK' occurrences with
'<your_access_token>' in API docs.
2019-01-04 13:19:27 +01:00
rkottmann
c4cdf528a5
Update to properly reference users instead of projects
2018-11-23 14:41:50 +00:00
Imre Farkas
f3cd24a9f3
Display impersonation token value only after creation
...
Since we migrated all PersonlAccessTokens to store only its hash in the
DB, the token value can no longer be shown to the user.
2018-11-12 12:16:25 +01:00
William George
1b153d497b
Make getting a user by the username case insensitive
2018-10-18 09:06:44 +00:00
Douwe Maan
9fcd903b60
Merge branch 'features/unauth-access-ssh-keys' into 'master'
...
List public ssh keys by id or username without authentication
See merge request gitlab-org/gitlab-ce!20118
2018-10-05 08:41:04 +00:00
Ronald Claveau
7d55c1353d
List public ssh keys by id or username without authentication
2018-10-03 19:28:13 +02:00
Rémy Coutable
051090c804
Merge branch 'feature/set-public-email-through-api' into 'master'
...
Set public email through api
Closes #37675
See merge request gitlab-org/gitlab-ce!21938
2018-10-01 15:13:08 +00:00
Alexis Reigel
801fe04be7
allow users api to set public_email
2018-10-01 13:24:16 +02:00
Alexis Reigel
585b1b3fca
add user's public_email attribute to api
2018-09-27 11:33:55 +02:00
Alexander Tanayno
e9aec3a101
Adds a note about the case when reset_password is false
2018-09-14 11:03:47 +00:00
Robert Speicher
d15bd95482
Correct a typo in the User Status API docs
2018-09-13 15:19:46 -05:00
Stan Hu
ced2a932d7
Add ability to skip user email confirmation with API
...
This gives admins the ability to send a `skip_confirmation` flag in the
`POST /users/:id/email` API endpoint to skip the verification step and
assume the given e-mail address is verified.
Closes #50876
2018-09-10 22:41:53 -07:00
Bob Van Landuyt
12095251c3
Add the message HTML to the UserStatus api
2018-08-01 12:42:04 +02:00
Winnie Hellmann
229558bca0
Make it explicit that the status message can contain emojis
2018-07-30 15:01:27 +02:00
Bob Van Landuyt
b4c4b48a8c
Allow users to set a status
...
This can be done trough the API for the current user, or on the
profile page.
2018-07-30 15:01:26 +02:00
Lin Jen-Shin
12a7fb9933
Fix missing ` in users.md
...
This is already applied in EE
2018-07-24 23:35:09 +08:00
JX Terry
99011a61cf
Add an option to have a private profile on GitLab
2018-07-24 12:46:19 +00:00
Daniel Fernau
ab659da6d4
Update doc/api/users.md
...
Move "search by email or username" block to "for normal users" section
2018-07-16 12:49:46 +00:00
Dmitriy Zaporozhets
c87c55bb35
Add 2FA filter to users API for admins only
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-23 11:54:45 +03:00
Markus Koller
b7cd99c376
Allow including custom attributes in API responses
2018-02-08 13:30:34 +01:00
Dmitriy Zaporozhets
28ef8cc56e
Add sorting options for /users API (admin only)
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-06 16:00:33 +02:00
Onuwa Nnachi Isaac
865c9d9cfc
Update missing API documentation on `GET /users/:id/projects`
2018-01-12 13:46:20 +00:00
Daniel Juarez
0b9e1e1662
Skip confirmation user api
2017-11-21 15:47:58 +00:00
Douwe Maan
fbdf057898
Remove private_token from API user entity
2017-11-02 11:39:01 +01:00
Markus Koller
e9eae3eb0d
Support custom attributes on users
2017-09-28 16:49:42 +00:00
Annabel Dunstone Gray
9b177bb7c9
Revert "Merge branch 'revert-f2421b2b' into 'master'"
...
This reverts merge request !14148
2017-09-11 15:44:42 +00:00
Rubén Dávila
52a2423e37
Revert "Merge branch '35012-navigation-add-option-to-change-navigation-color-palette' into 'master'"
...
This reverts merge request !13619
2017-09-08 14:48:44 +00:00
Rubén Dávila
6c49a62800
Restore some changes from !9199
2017-09-06 12:54:09 -05:00
Robert Schilling
4dff341af1
Fix wrong API status codes
2017-09-06 09:15:34 +02:00
Robert Schilling
f4834c8ad5
Add documentation
2017-09-05 14:30:53 +02:00
Dan Dunckel
04e4210785
Update documentation of user creation by replacing the 'confirm' param with 'skip_confirmation'
2017-07-28 09:53:09 -06:00
Rémy Coutable
91f63820a5
Return `is_admin` attribute in the GET /user endpoint for admins
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-12 12:45:46 +02:00