Robert Speicher
db8f4c0606
Add a button to Admin::Users#show to disable 2FA for that user
2015-07-10 17:18:33 -04:00
Dmitriy Zaporozhets
7081ab1e9e
Merge branch 'add-unlock-access' into 'master'
...
Add support for unlocking users in admin settings
### What does this MR do?
This MR gives the ability to unlock a user from the Admin panel.
### Why was this MR needed?
If a user fails to login a certain number of times, Devise locks the user out for a certain amount of time (e.g. 10 minutes). There is no way for an admin to unlock a user if this happens (aside from editing the `locked_at` field entirely).
### Screenshots
#### Admin index page

#### Admin edit user page

### What are the relevant issue numbers?
This replaces !288 .
Closes https://github.com/gitlabhq/gitlabhq/issues/9381
See merge request !922
2015-07-02 13:39:35 +00:00
Stan Hu
3e738e3b9a
Add support for unlocking users in admin settings
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9381
2015-07-02 04:22:51 -07:00
Stan Hu
b643fa1603
Remove link leading to a 404 error in Deploy Keys page
...
Closes #1866
2015-07-01 22:53:52 -07:00
Robert Speicher
8384b577ef
Remove duplicate 'required: true' attribute
2015-06-26 22:08:34 -04:00
Darby
f0c4f0a5d4
Changed the placement of Restricted Domains
2015-06-23 15:54:33 -07:00
Darby
4cd3c33024
Updated the categories of Application Settings Form
2015-06-23 14:39:04 -07:00
Dmitriy Zaporozhets
8c6cbd4306
Merge branch 'master' into admin-edit-identities
2015-06-23 12:09:45 +02:00
Dmitriy Zaporozhets
7780a886e7
Set proper title when edit identity from admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-23 10:56:12 +02:00
Dmitriy Zaporozhets
1beb0dbe56
Fix admin identities code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-23 10:26:50 +02:00
Dmitriy Zaporozhets
7390b94db2
Fix code style issue
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 18:02:50 +02:00
Dmitriy Zaporozhets
73e003013f
Merge branch 'master' into admin-edit-identities
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/admin/users/show.html.haml
2015-06-22 18:00:11 +02:00
Dmitriy Zaporozhets
3fe3cbf222
Fix indendity test
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 17:52:22 +02:00
Dmitriy Zaporozhets
cc04c5b828
Refactor admin user page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 17:12:20 +02:00
Dmitriy Zaporozhets
b21390936a
Make provider a select for identities form in admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 16:53:11 +02:00
Dmitriy Zaporozhets
8f89a48847
Minor improvements to admin identities text
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-22 16:52:06 +02:00
Robert Speicher
516b4c1248
Allow Admin to filter users by 2FA status
2015-06-19 16:35:53 -04:00
Robert Speicher
22dd2240a6
Add 2FA status to Admin::Users#show
2015-06-19 15:04:47 -04:00
Dmitriy Zaporozhets
d059c69db7
Move identities list to own controller action
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-19 15:29:53 +02:00
Dmitriy Zaporozhets
270b7ce810
Add ability for admin to edit user identity
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-19 15:29:53 +02:00
Dmitriy Zaporozhets
228da2dd28
Admin can see and remove user identities
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-19 15:29:52 +02:00
Robert Speicher
7400cfc114
Bootlint: Use offset grid classes instead of empty divs
2015-06-16 13:32:32 -04:00
Douwe Maan
9ea8dcb5e2
Merge branch 'feature-session-expire-seconds-ui' into 'master'
...
Add session expiration delay configuration through UI application
Setting is accessible by the administrator through the UI and defaults to 1 week (the current setting)
Answers the following suggestions:
* http://feedback.gitlab.com/forums/176466-general/suggestions/6210719-make-session-length-configurable
* http://feedback.gitlab.com/forums/176466-general/suggestions/6730512-automatic-logout-after-a-time-being-idle
See merge request !774
2015-06-12 13:50:40 +00:00
themaze75 and Eric Maziade
1d080f5745
session_expire_seconds => session_expire_delay
...
delay is in seconds
more legible code in session_store
Added `GitLab restart required` help block to session_expire_delay
2015-06-10 22:10:00 -04:00
Dmitriy Zaporozhets
b637f84950
Fix broadcast message colors to one displayed in preview
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-08 20:39:02 +02:00
Dmitriy Zaporozhets
8641cda4a5
Dont use fixed pixel size if form controls - its bad for mobile devices
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-08 16:34:58 +02:00
Eric Maziade
84a414fe53
Add session expiration delay configuration through UI application
...
settings
2015-06-05 11:50:37 -04:00
Robert Speicher
793d9799b6
Show key fingerprint on DeployKeys#index
...
Also style all key fingerprints consistently across the app.
2015-06-03 18:03:04 -04:00
Robert Speicher
6e5473f930
Remove show actions from Admin and Project DeployKeys
2015-06-03 18:03:04 -04:00
Alex Lossent
60225a067d
Allow to configure a URL to show after sign out
2015-05-29 18:20:15 +02:00
Douwe Maan
96d6fdc27c
Add option to disallow users from registering any application to use GitLab as an OAuth provider
2015-05-29 13:29:16 +02:00
Dmitriy Zaporozhets
499154518a
You can not remove user if he/she is an only owner of group
...
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 >
2015-05-28 12:00:02 +02:00
Dmitriy Zaporozhets
c3cf32e863
Merge branch 'version-check' into gl-version-check
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/controllers/admin/application_settings_controller.rb
app/views/admin/application_settings/_form.html.haml
db/schema.rb
2015-05-08 16:05:00 +03:00
Stan Hu
a1c6f7ce20
Improve help line for restricted domain signups
2015-05-05 19:46:37 -07:00
Stan Hu
eb4f1eb5f5
Add application setting to restrict user signups to e-mail domains
...
This feature was requested long ago:
http://feedback.gitlab.com/forums/176466-general/suggestions/4118466-ability-to-register-only-from-ceratain-domains
This MR is based off !253 but changed to use application settings and use wildcard strings
to give more flexibility in pattern matching. Regexps seemed overkill and easy to get wrong.
Only restrict e-mail addresses upon creation
2015-05-02 09:36:52 -07:00
Douwe Maan
ae09c2a6db
Capitalize "X" in "New X".
2015-04-30 21:33:02 +02:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Dmitriy Zaporozhets
93359c7e06
Merge branch 'show-aside' of https://github.com/Soullivaneuh/gitlabhq into Soullivaneuh-show-aside
2015-04-30 19:40:05 +03:00
Dmitriy Zaporozhets
5bf9f69df7
Fix visibility settings UI in admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-04-29 20:32:48 +03:00
Stan Hu
808b05e974
Move service template and project service settings into a shared view
2015-04-29 07:52:27 -07:00
Dmitriy Zaporozhets
f21e269668
Fix adding new group members from admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-04-27 18:05:51 +03:00
Sullivan SENECHAL
f28f5e49f6
Fix wrong placement of show-aside link
2015-04-27 00:43:02 +02:00
Vinnie Okada
bd557e4b64
Add new admin settings
...
Add new global application settings for default project and snippet
visibility levels.
2015-04-26 07:48:19 -06:00
Ioannis Kappas
3196c52969
added fieldset support to project and admin services views.
...
split field logic to separate template.
2015-04-22 20:04:03 +03:00
Douwe Maan
87dd3f215f
Let members be invited from Add members pane.
2015-04-14 12:08:10 +02:00
Douwe Maan
2a1d4255da
Correctly render invite members without user.
2015-04-14 12:07:33 +02:00
Douwe Maan
cee98f2247
Reference project members by id instead of user_id.
2015-04-14 12:06:43 +02:00
Dmitriy Zaporozhets
9c14ed0689
Merge branch 'public-deploy-keys' into 'master'
...
Allow admin to create public deploy keys that are accessible to any project.
Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/1774 .
Project settings:

The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown.
The list of projects below the public key has been changed to only show projects the user has access to.
"Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys.
Admin index:

Admin detail page:

Projects using the deploy key are listed on the left and can be disabled easily.
See merge request !469
2015-04-13 09:08:13 +00:00
Robert Speicher
b9069f31b9
Make the New Application form's error messages visible
2015-04-07 13:01:30 -04:00
Ben Bodenmiller
af4577d779
remove extra scrollbar on background jobs
2015-04-04 05:46:18 -07:00