Commit Graph

27 Commits

Author SHA1 Message Date
Pawel Chojnacki 4679107fdc Handle case where GITLAB_PROMETHEUS_METRICS_ENABLED is non boolean value by defaulting to false 2017-06-06 13:16:55 +02:00
Pawel Chojnacki 6a67148ed3 Make production settings fixture use Gitlab::CurrentSettings.current_application_settings
small code formatting changes
2017-06-02 19:46:29 +02:00
Pawel Chojnacki c86e1437eb Make fixture message more descriptive
+ use strip_heredoc to make the text in tests much more readable
2017-06-02 19:46:29 +02:00
Pawel Chojnacki e21b1501ff Allow enabling Prometheus metrics via ENV variable when db is seeded 2017-06-02 19:46:29 +02:00
Rémy Coutable 53ef1de4fc
Fix production admin fixture to use the new `Users::CreateService`
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-30 10:41:45 +02:00
DJ Mountney fb5f7733f1 Allow users to seed the initial runner registration token using an environment variable
This is useful for when runner is bundled with gitlab, like in a kubernetes stack, and we want the runner to be able to
register with gitlab as soon as they both come up.
2016-12-01 17:21:21 -08:00
Connor Shea efb7da68e6
Fix missed colorize methods. 2016-06-06 15:32:36 -06:00
Robert Speicher 599a6d7873 Allow the initial admin to set a password
Closes #1980
2016-03-04 17:37:57 -05:00
3kami3 cdcedd5b26 Add an option to supply root email through an environmental variable. 2016-02-08 18:26:29 +01:00
Robert Speicher 69723d2002 Devise 3.5.x deprecates `confirm!` in favor of `confirm` 2015-09-19 21:15:13 -04:00
Sytse Sijbrandij b3ab0e4efb Revert "Change default admin password from "5iveL!fe" to "password""
This reverts commit 8a01a12228.
2015-07-14 17:59:36 +02:00
Robert Speicher 8a01a12228 Change default admin password from "5iveL!fe" to "password" 2015-06-24 18:42:34 -04:00
Robert Speicher 5f20574db5 Fix a few remaining references to the old Theme names/IDs 2015-06-13 17:58:17 -04:00
Ciro Santilli faab452af9 Remove unneeded password_confirmation from seed. 2014-12-28 14:42:15 +01:00
Don Luchini 019c0f9e0f Remove unnecessary lines. 2014-11-05 08:57:05 -05:00
Don Luchini bc403356bb Do not require immediate password reset if specifying one when seeding database. 2014-11-04 10:02:38 -05:00
Marin Jankovski bbc52b0000 Use double quotes because we are inserting password now. 2014-10-07 11:48:25 +02:00
Ciro Santilli ac55373ff3 Replace empty? || nil? with blank?. 2014-09-27 11:15:08 +02:00
Marin Jankovski 09e64ae605 Add an option to supply root password through an environmental variable. 2014-09-11 10:06:56 +02:00
Dmitriy Zaporozhets c86962e098 Change deafult admin email to example.com 2014-07-19 14:27:01 +03:00
Dmitriy Zaporozhets f4733b0026 Confirm seed users 2013-10-15 12:23:25 +03:00
Dmitriy Zaporozhets b5593683af Mars theme for generated admin account 2013-08-26 13:06:41 +03:00
Dmitriy Zaporozhets fbf6989903 Force admin to change password after first sign-in 2013-06-13 20:06:33 +03:00
Dmitriy Zaporozhets c50ec72b52 Deprecate code for Project. Use title and path 2012-11-23 21:11:09 +03:00
gitlabhq 35d24b3928 cleaning 2011-10-22 14:08:03 +03:00
Valera Sizov 67f0c62d07 Issue #83 - Project limit 2011-10-09 11:15:01 -07:00
gitlabhq 9ba1224867 init commit 2011-10-09 00:36:38 +03:00