Commit graph

17 commits

Author SHA1 Message Date
Marin Jankovski
3a8773fb2f Added USE_DB env var to allow loading fake settings without db running. 2015-09-01 17:49:16 +02:00
Eric Maziade
23aee0ca8a fixed connection detection so settings can be read from the database 2015-08-27 21:21:31 -04:00
Artem Sidorenko
55dca86b98 Import sources: settings in the admin interface 2015-08-20 11:28:27 +02:00
themaze75
1d080f5745 session_expire_seconds => session_expire_delay
delay is in seconds
more legible code in session_store
Added `GitLab restart required` help block to session_expire_delay
2015-06-10 22:10:00 -04:00
Eric Maziade
84a414fe53 Add session expiration delay configuration through UI application
settings
2015-06-05 11:50:37 -04:00
Stan Hu
dfd256f29e Support configurable attachment size via Application Settings
Fix bug where error messages from Dropzone would not be displayed on the issues page

Closes #1258
2015-04-02 00:04:08 -07:00
Vinnie Okada
cacac147de Move restricted visibility settings to the UI
Add checkboxes to the application settings page for restricted
visibility levels, and remove those settings from gitlab.yml.
2015-03-07 13:11:08 -07:00
Dmitriy Zaporozhets
a8a328b151 DB performance improvements to GitLab 2015-02-18 00:16:42 -08:00
Marco Wessel
afce47923c actually fix indentation 2015-01-25 18:38:35 +01:00
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