2018-05-09 12:01:36 +05:30
|
|
|
- breadcrumb_title "Settings"
|
2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Settings"
|
2018-05-09 12:01:36 +05:30
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
|
|
|
- expanded = Rails.env.test?
|
2016-06-22 15:30:34 +05:30
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
%section.settings.as-visibility-access.no-animate#js-visibility-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Visibility and access controls')
|
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
2018-10-15 14:42:47 +05:30
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Set default and restrict visibility levels. Configure import sources and git access protocol.')
|
|
|
|
.settings-content
|
|
|
|
= render 'visibility_and_access'
|
|
|
|
|
|
|
|
%section.settings.as-account-limit.no-animate#js-account-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
2018-11-08 19:23:39 +05:30
|
|
|
= _('Account and limit')
|
2018-05-09 12:01:36 +05:30
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
2018-10-15 14:42:47 +05:30
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Session expiration, projects limit and attachment size.')
|
|
|
|
.settings-content
|
|
|
|
= render 'account_and_limit'
|
|
|
|
|
|
|
|
%section.settings.as-signup.no-animate#js-signup-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Sign-up restrictions')
|
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
2018-10-15 14:42:47 +05:30
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure the way a user creates a new account.')
|
|
|
|
.settings-content
|
|
|
|
= render 'signup'
|
|
|
|
|
|
|
|
%section.settings.as-signin.no-animate#js-signin-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Sign-in restrictions')
|
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
2018-10-15 14:42:47 +05:30
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Set requirements for a user to sign-in. Enable mandatory two-factor authentication.')
|
|
|
|
.settings-content
|
|
|
|
= render 'signin'
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
%section.settings.as-terms.no-animate#js-terms-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
2018-11-08 19:23:39 +05:30
|
|
|
= _('Terms of Service and Privacy Policy')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2018-11-08 19:23:39 +05:30
|
|
|
= _('Include a Terms of Service agreement and Privacy Policy that all users must accept.')
|
2018-10-15 14:42:47 +05:30
|
|
|
.settings-content
|
|
|
|
= render 'terms'
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
%section.settings.as-help-page.no-animate#js-help-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Help page')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Help page text and support page url.')
|
|
|
|
.settings-content
|
|
|
|
= render 'help_page'
|
|
|
|
|
|
|
|
%section.settings.as-pages.no-animate#js-pages-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Pages')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Size and domain settings for static websites')
|
|
|
|
.settings-content
|
|
|
|
= render 'pages'
|
|
|
|
|
|
|
|
%section.settings.as-ci-cd.no-animate#js-ci-cd-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Continuous Integration and Deployment')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Auto DevOps, runners and job artifacts')
|
|
|
|
.settings-content
|
|
|
|
= render 'ci_cd'
|
|
|
|
|
|
|
|
%section.settings.as-influx.no-animate#js-influx-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Influx')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable and configure InfluxDB metrics.')
|
|
|
|
.settings-content
|
|
|
|
= render 'influx'
|
|
|
|
|
|
|
|
%section.settings.as-prometheus.no-animate#js-prometheus-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Prometheus')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable and configure Prometheus metrics.')
|
|
|
|
.settings-content
|
|
|
|
= render 'prometheus'
|
|
|
|
|
|
|
|
%section.settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Profiling - Performance bar')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable the Performance Bar for a given group.')
|
|
|
|
= link_to icon('question-circle'), help_page_path('administration/monitoring/performance/performance_bar')
|
|
|
|
.settings-content
|
|
|
|
= render 'performance_bar'
|
|
|
|
|
|
|
|
%section.settings.as-background.no-animate#js-background-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Background jobs')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure Sidekiq job throttling.')
|
|
|
|
.settings-content
|
|
|
|
= render 'background_jobs'
|
|
|
|
|
|
|
|
%section.settings.as-spam.no-animate#js-spam-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Spam and Anti-bot Protection')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable reCAPTCHA or Akismet and set IP limits.')
|
|
|
|
.settings-content
|
|
|
|
= render 'spam'
|
|
|
|
|
|
|
|
%section.settings.as-abuse.no-animate#js-abuse-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Abuse reports')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Set notification email for abuse reports.')
|
|
|
|
.settings-content
|
|
|
|
= render 'abuse'
|
|
|
|
|
|
|
|
%section.settings.as-logging.no-animate#js-logging-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Error Reporting and Logging')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable Sentry for error reporting and logging.')
|
|
|
|
.settings-content
|
|
|
|
= render 'logging'
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
%section.qa-repository-storage-settings.settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded) }
|
2018-05-09 12:01:36 +05:30
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Repository storage')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure storage path and circuit breaker settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'repository_storage'
|
|
|
|
|
|
|
|
%section.settings.as-repository-check.no-animate#js-repository-check-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Repository maintenance')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure automatic git checks and housekeeping on repositories.')
|
|
|
|
.settings-content
|
|
|
|
= render 'repository_check'
|
|
|
|
|
|
|
|
- if Gitlab.config.registry.enabled
|
|
|
|
%section.settings.as-registry.no-animate#js-registry-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Container Registry')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Various container registry settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'registry'
|
|
|
|
|
|
|
|
- if koding_enabled?
|
|
|
|
%section.settings.as-koding.no-animate#js-koding-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Koding')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Online IDE integration settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'koding'
|
|
|
|
|
|
|
|
%section.settings.as-plantuml.no-animate#js-plantuml-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('PlantUML')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Allow rendering of PlantUML diagrams in Asciidoc documents.')
|
|
|
|
.settings-content
|
|
|
|
= render 'plantuml'
|
|
|
|
|
|
|
|
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header#usage-statistics
|
|
|
|
%h4
|
|
|
|
= _('Usage statistics')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Enable or disable version check and usage ping.')
|
|
|
|
.settings-content
|
|
|
|
= render 'usage'
|
|
|
|
|
|
|
|
%section.settings.as-email.no-animate#js-email-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Email')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Various email settings.')
|
|
|
|
.settings-content
|
|
|
|
= render 'email'
|
|
|
|
|
|
|
|
%section.settings.as-gitaly.no-animate#js-gitaly-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Gitaly')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure Gitaly timeouts.')
|
|
|
|
.settings-content
|
|
|
|
= render 'gitaly'
|
|
|
|
|
|
|
|
%section.settings.as-terminal.no-animate#js-terminal-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Web terminal')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Set max session time for web terminal.')
|
|
|
|
.settings-content
|
|
|
|
= render 'terminal'
|
|
|
|
|
|
|
|
%section.settings.as-realtime.no-animate#js-realtime-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Real-time features')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Change this value to influence how frequently the GitLab UI polls for updates.')
|
|
|
|
.settings-content
|
|
|
|
= render 'realtime'
|
|
|
|
|
|
|
|
%section.settings.as-performance.no-animate#js-performance-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Performance optimization')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Various settings that affect GitLab performance.')
|
|
|
|
.settings-content
|
|
|
|
= render 'performance'
|
|
|
|
|
|
|
|
%section.settings.as-ip-limits.no-animate#js-ip-limits-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('User and IP Rate Limits')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Configure limits for web and API requests.')
|
|
|
|
.settings-content
|
|
|
|
= render 'ip_limits'
|
|
|
|
|
|
|
|
%section.settings.as-outbound.no-animate#js-outbound-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Outbound requests')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
2018-05-09 12:01:36 +05:30
|
|
|
%p
|
|
|
|
= _('Allow requests to the local network from hooks and services.')
|
|
|
|
.settings-content
|
|
|
|
= render 'outbound'
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
%section.settings.as-mirror.no-animate#js-mirror-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
2018-11-08 19:23:39 +05:30
|
|
|
= _('Repository mirror')
|
2018-10-15 14:42:47 +05:30
|
|
|
%button.btn.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? 'Collapse' : 'Expand'
|
|
|
|
%p
|
|
|
|
= _('Configure push mirrors.')
|
|
|
|
.settings-content
|
|
|
|
= render partial: 'repository_mirrors_form'
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
%section.settings.as-third-party-offers.no-animate#js-third-party-offers-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Third party offers')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Control the display of third party offers.')
|
|
|
|
.settings-content
|
|
|
|
= render 'third_party_offers', application_setting: @application_setting
|
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
= render_if_exists 'admin/application_settings/custom_templates_form', expanded: expanded
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
%section.settings.no-animate#js-web-ide-settings{ class: ('expanded' if expanded) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Web IDE')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Manage Web IDE features')
|
|
|
|
.settings-content
|
|
|
|
= form_for @application_setting, url: admin_application_settings_path(anchor: "#js-web-ide-settings"), html: { class: 'fieldset-form' } do |f|
|
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
|
|
|
.form-check
|
|
|
|
= f.check_box :web_ide_clientside_preview_enabled, class: 'form-check-input'
|
|
|
|
= f.label :web_ide_clientside_preview_enabled, class: 'form-check-label' do
|
|
|
|
= s_('IDE|Client side evaluation')
|
|
|
|
%span.form-text.text-muted
|
|
|
|
= s_('IDE|Allow live previews of JavaScript projects in the Web IDE using CodeSandbox client side evaluation.')
|
|
|
|
|
|
|
|
= f.submit _('Save changes'), class: "btn btn-success"
|
|
|
|
|
|
|
|
= render_if_exists 'admin/application_settings/pseudonymizer_settings', expanded: expanded
|