summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-10 09:30:39 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-10 09:30:39 -0800
commit3d369a5b85ecebdb884b43764b0b21ee2bfad0ad (patch)
tree5ced242114e25967d698bc30a9b7d9e23d64e7c0
parent367dee33e260fec07c6ebaf4e10b76e6dcda816d (diff)
downloadgitlab-ce-3d369a5b85ecebdb884b43764b0b21ee2bfad0ad.tar.gz
Remove settings from gitlab.yml.example which we already have in UI
-rw-r--r--app/views/admin/application_settings/_form.html.haml3
-rw-r--r--config/gitlab.yml.example17
2 files changed, 2 insertions, 18 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index bf0ee49d2f4..ae0c70a79c7 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -37,6 +37,7 @@
.form-group
= f.label :sign_in_text, class: 'control-label'
.col-sm-10
- = f.text_area :sign_in_text, class: 'form-control'
+ = f.text_area :sign_in_text, class: 'form-control', rows: 4
+ .help-block Markdown enabled
.form-actions
= f.submit 'Save', class: 'btn btn-primary'
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 2f10eae0b2f..044b1f66b25 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -46,8 +46,6 @@ production: &base
# Email server smtp settings are in config/initializers/smtp_settings.rb.sample
- ## User settings
- default_projects_limit: 10
# default_can_create_group: false # default: true
# username_changing_enabled: false # default: true - User can change her username/namespace
## Default theme
@@ -58,16 +56,6 @@ production: &base
## COLOR = 5
# default_theme: 2 # default: 2
- ## Users can create accounts
- # This also allows normal users to sign up for accounts themselves
- # default: true - By default users can sign up themselves
- # signup_enabled: true
-
- ## Standard login settings
- # The standard login can be disabled to force login via LDAP
- # default: true - If set to false the standard login form won't be shown on the sign-in page
- # signin_enabled: false
-
# Restrict setting visibility levels for non-admin users.
# The default is to allow all levels.
# restricted_visibility_levels: [ "public" ]
@@ -296,11 +284,6 @@ production: &base
# piwik_url: '_your_piwik_url'
# piwik_site_id: '_your_piwik_site_id'
- ## Text under sign-in page (Markdown enabled)
- # sign_in_text: |
- # ![Company Logo](http://www.companydomain.com/logo.png)
- # [Learn more about CompanyName](http://www.companydomain.com/)
-
rack_attack:
git_basic_auth:
# Whitelist requests from 127.0.0.1 for web proxies (NGINX/Apache) with incorrect headers