Marco Wessel
b20fc14133
Fix indentation
2015-01-25 18:34:02 +01:00
Marco Wessel
aad6ceaef9
Allow configuring protection of the default branch upon first push
2015-01-25 17:09:10 +01:00
DJ Mountney
02d8575a61
Check for database connection before loading current application settings
2015-01-14 16:23:46 -08:00
Marin Jankovski
e348af1d4c
Rescue database error in application settings if the database still doesn't exist.
2015-01-14 09:03:25 +01:00
Jacob Vosmaer
bc95576e2c
Rescue missing database errors
...
While loading the Rails app we cannot assume that the gitlabhq_xxx
database exists already. If we do, `rake gitlab:setup` breaks!
This is a quick hack to make sure that fresh development setups of
GitLab (from master) will work again.
2015-01-09 11:26:26 +01:00
Dmitriy Zaporozhets
d0a50985ec
Create ApplicationSettings if does not exist in runtime
2015-01-08 11:26:16 -08:00
Dmitriy Zaporozhets
8133e44998
Hack for migrating to new settings
2015-01-08 10:30:35 -08:00
Dmitriy Zaporozhets
57a65ede77
Improve application settings and write tests
2015-01-08 09:53:35 -08:00