Robert Speicher
75739e54be
Enable RSpec/NotToNot cop and auto-correct offenses
...
Also removes the note from the development/testing.md guide
2016-05-24 15:40:29 -04:00
Sean McGivern
bec350528c
Force password change after admin reset
...
When an admin changes a user's password for them, force the user to
reset the password after logging in by expiring the new password
immediately.
2016-05-16 09:21:24 +01:00
Drew Blessing
4fea5cda0b
Fix minor typos in admin health check page
2016-05-12 17:11:37 -05:00
Robert Speicher
5186f6e3bd
Merge branch 'default-scope-on-builds-page' into 'master'
...
Fix a description for default scope on builds
Should be "**All* builds (from this project)" for the {project,admin}
builds page without scope.
Fix a regression on !2243 (#4240 ).
See merge request !4118
2016-05-12 22:01:40 +00:00
Takuya Noguchi
18fdbf0a03
Fix a description for default scope on builds
2016-05-13 01:28:55 +09:00
DJ Mountney
0e0caf4d17
Add tests for the health check feature
2016-05-10 16:19:16 -07:00
Jacob Vosmaer
0f602be99f
Clear repository check columns asynchronously
2016-04-13 15:56:05 +02:00
Jacob Vosmaer
fa864716a8
Use new "clear all" button in tests
2016-04-13 12:13:53 +02:00
Jacob Vosmaer
5cf56e5647
Rename almost all the things
2016-04-06 13:47:05 +02:00
Jacob Vosmaer
bf9526739b
Rebase repo check MR
2016-04-04 17:23:43 +02:00
Dmitriy Zaporozhets
eaad236b45
Remove project-issuable-filter from admin builds page :)
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-02-05 11:53:06 +01:00
Douglas Barbosa Alexandre
567dc62b6d
Show 'All' tab by default in the builds page
2016-01-04 10:21:10 -02:00
Grzegorz Bizon
3e6950481a
Use method that creates runners registration token
...
`runners_registration_token` now creates a new token if it is blank.
2015-12-23 11:45:17 +01:00
Grzegorz Bizon
6586856a15
Use a new admin runners path when reseting runners token
2015-12-14 14:03:58 +01:00
Grzegorz Bizon
76a17d4f54
Merge branch 'master' into ci/persist-registration-token
...
* master:
Move CI admin builds and runners specs to correct directory
Fix 500 when viewing specific runners on runners page
Fix Ci::Project migration not migrating columns that cannot be NULL
Fix MySQL migration of CI emails
Minor fix in flow 'Merge when build succeeds'
2015-12-14 13:00:25 +00:00
Kamil Trzcinski
c0ff4fdd99
Move CI admin builds and runners specs to correct directory [ci skip]
2015-12-14 13:06:59 +01:00
Andrew Tomaka
daca985a6e
Prevent impersonation if blocked
2015-12-02 08:07:29 -05:00
Valery Sizov
f1504e1ad5
test fix
2015-11-30 18:03:07 +02:00
Valery Sizov
e92ceb7b57
fix specs
2015-11-30 16:12:31 +02:00
James Newton
3bb626f91c
refactor login as to be impersonation with better login/logout
...
Modifies the existing "login as" feature to be called impersonation, as
well as keeping track of who is impersonating to revert back to that
user without having to log out.
2015-10-29 11:00:17 +01:00
Pavel Forkert
3dec9dc4a3
Clarify spec title explanation
2015-09-24 16:40:21 +03:00
Pavel Forkert
eb9528b8b9
Move login button to user page, switched to POST method
2015-09-24 16:34:04 +03:00
Pavel Forkert
83347954fc
Add option to admin area to sign in as a specific user
...
Closes #2291
2015-09-24 16:14:16 +03:00
Robert Speicher
b42422a7a9
Move spec/features/admin/security_spec to spec/features/security
2015-07-22 00:39:18 -04:00
Robert Speicher
db8f4c0606
Add a button to Admin::Users#show to disable 2FA for that user
2015-07-10 17:18:33 -04: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
Robert Speicher
37066267e7
Use page.all and page.within in specs
2015-06-13 18:37:30 -04:00
Robert Speicher
9789b56a31
Update ffaker gem
...
Adds a version requirement which it didn't have before, at 2.0.0. This
version has breaking API changes in that the namespace is now `FFaker`
instead of `Faker`.
2015-05-20 19:22:00 -04:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Jeroen van Baarsen
026e988544
Even more hound fixes
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 21:00:55 +01:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 19:17:35 +01:00
Dmitriy Zaporozhets
f9e6f66898
Fix tests
2015-02-05 22:40:35 -08:00
Dmitriy Zaporozhets
bcc04adb13
Css/views cleanup after layout restyle
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-21 01:11:08 +02:00
Ciro Santilli
89f7345f3f
Remove unnecessary page. from tests.
2014-09-26 09:51:17 +02:00
Dmitriy Zaporozhets
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Jeroen van Baarsen
8362026a33
Split feature tests out to different build job
2014-04-13 19:05:52 +02:00
Dmitriy Zaporozhets
668358439e
Fix tests after can_create_team was removed
2013-08-21 15:07:09 +03:00
Dmitriy Zaporozhets
0bc714c271
Remove form for adding user to several projects from admin area.
...
Remove unnecessary projects order on User#show
2013-06-22 13:41:08 +03:00
Dmitriy Zaporozhets
6838304a85
Force user password change for users created by admin
2013-06-13 21:06:27 +03:00
Dmitry Medvinsky
22279bc558
Add settings for user permission defaults
...
“Can create groups” and “Can create teams” had hardcoded defaults to
`true`. Sometimes it is desirable to prohibit these for newly created
users by default.
2013-05-16 18:02:22 +04:00
Dmitriy Zaporozhets
1af2aeffc8
Minor usability improvements
2013-04-18 17:28:09 +03:00
Dmitriy Zaporozhets
b641cdd183
fix test
2013-04-02 14:30:32 +03:00
Dmitriy Zaporozhets
c610347cc1
Removed not relevant tests for admin.projects
2013-03-25 13:36:08 +02:00
Dmitriy Zaporozhets
1c517153a8
fix admin users tests
2013-02-28 19:56:36 +02:00
Dmitriy Zaporozhets
cce14e0b01
Removing ambiguity and non-working selectors
2013-02-21 13:28:05 +02:00
Dmitriy Zaporozhets
03f6a28ec0
move capybara scenarios to spec/features
2013-02-21 10:41:37 +02:00