Commit graph

19 commits

Author SHA1 Message Date
Robin Bobbitt
649d042dbc Add option to disable project export on instance 2017-08-11 12:22:37 -04:00
Phil Hughes
42feb55f20
Fixed sign-in restrictions buttons not toggling active state
Closes #35882
2017-08-03 12:08:10 +01:00
Keifer Furzland
7e113b6824 Remove superfluous type defs in specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Robert Speicher
eef068754a Merge branch 'master' into rs-sign_in 2017-07-06 12:43:51 -04:00
Tiago Botelho
197a5df42a Allow admin to disable all restricted visibility levels 2017-07-05 19:20:52 +01:00
Robert Speicher
e939bf7be1 Change gitlab_sign_in to sign_in where possible 2017-06-29 12:18:23 -04:00
Robert Speicher
45fb1f9542 Change login_as uses to gitlab_sign_in 2017-06-19 18:59:01 -05:00
Robin Bobbitt
e09ddc62b3 Help landing page customizations 2017-06-14 11:40:21 -04:00
Z.J. van de Weg
091c260812 Improve readability and add test 2017-03-23 13:35:20 +01:00
Robert Speicher
f592cae129 Merge branch 'sh-fix-admin-application-settings' into 'master'
Fix Error 500 when application settings are saved

Closes #29674 and #29115

See merge request !10070
2017-03-21 07:21:01 +00:00
Toon Claes
dd3d62b626 Make feature spec more robust
Ensure the correct "Public" radio is selected by choosing it on ID.
2017-03-20 22:05:02 +01:00
Stan Hu
681af5bc4f Fix Error 500 when application settings are saved
Due to a Rails bug, fetching the application settings from Redis
may prevent the attribute methods from being loaded for the `ApplicationSetting`
model. More details here: https://github.com/rails/rails/issues/27348

There was also a secondary problem introduced by overriding these
association methods which caused all default visibility levels to be
set to `nil`. Before, the previous implementation allowed the string
"20" to be saved as an integer, while now a table lookup happens
before that. We fix this by enforcing the integer value in the
controller and default to PRIVATE.

Closes #29674
2017-03-18 15:39:48 -07:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Grzegorz Bizon
632c2939bb Revert "Merge branch 'revert-9cac0317' into 'master' "
This reverts commit c20934869f, reversing
changes made to 4b7ec44b91.
2017-01-23 16:35:24 +01:00
Grzegorz Bizon
baeaa97ef4 Revert "Merge branch 'dont-persist-application-settings-in-test-env' into 'master'"
This reverts merge request !8573
2017-01-21 22:55:35 +00:00
Rémy Coutable
f6cc29ed83 Don't persist ApplicationSetting in test env
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-15 01:07:29 -05:00
Kamil Trzcinski
f5ff372140
Fix failures 2016-12-18 23:34:40 +01:00
Kamil Trzcinski
f9023adbad
Fix spec failures 2016-12-18 23:32:53 +01:00
jurre
0469e7dffd Move admin settings spinach feature to rspec 2016-12-13 17:13:21 +01:00
Renamed from features/steps/admin/settings.rb (Browse further)