Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
42feb55f
Commit
42feb55f
authored
Aug 03, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed sign-in restrictions buttons not toggling active state
Closes #35882
parent
88958e5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
app/assets/javascripts/commons/bootstrap.js
app/assets/javascripts/commons/bootstrap.js
+1
-0
changelogs/unreleased/fix-oauth-checkboxes.yml
changelogs/unreleased/fix-oauth-checkboxes.yml
+4
-0
spec/features/admin/admin_settings_spec.rb
spec/features/admin/admin_settings_spec.rb
+8
-0
No files found.
app/assets/javascripts/commons/bootstrap.js
View file @
42feb55f
...
...
@@ -9,6 +9,7 @@ import 'bootstrap-sass/assets/javascripts/bootstrap/tab';
import
'
bootstrap-sass/assets/javascripts/bootstrap/transition
'
;
import
'
bootstrap-sass/assets/javascripts/bootstrap/tooltip
'
;
import
'
bootstrap-sass/assets/javascripts/bootstrap/popover
'
;
import
'
bootstrap-sass/assets/javascripts/bootstrap/button
'
;
// custom jQuery functions
$
.
fn
.
extend
({
...
...
changelogs/unreleased/fix-oauth-checkboxes.yml
0 → 100644
View file @
42feb55f
---
title
:
Fixed sign-in restrictions buttons not toggling active state
merge_request
:
author
:
spec/features/admin/admin_settings_spec.rb
View file @
42feb55f
...
...
@@ -69,6 +69,14 @@ feature 'Admin updates settings' do
expect
(
find
(
'#service_push_channel'
).
value
).
to
eq
'#test_channel'
end
context
'sign-in restrictions'
,
:js
do
it
'de-activates oauth sign-in source'
do
find
(
'.btn'
,
text:
'GitLab.com'
).
click
expect
(
find
(
'.btn'
,
text:
'GitLab.com'
)).
not_to
have_css
(
'.active'
)
end
end
def
check_all_events
page
.
check
(
'Active'
)
page
.
check
(
'Push'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment