2018-09-18 08:42:11 +00:00
|
|
|
- breadcrumb_title _("Network")
|
|
|
|
- page_title _("Network")
|
2018-09-04 18:06:57 +00:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
|
|
|
|
2018-09-19 10:57:57 +00:00
|
|
|
%section.settings.as-performance.no-animate#js-performance-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 18:06:57 +00:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Performance optimization')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 10:57:57 +00:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 18:06:57 +00:00
|
|
|
%p
|
|
|
|
= _('Various settings that affect GitLab performance.')
|
|
|
|
.settings-content
|
|
|
|
= render 'performance'
|
|
|
|
|
2019-08-24 06:41:47 +00:00
|
|
|
%section.settings.as-ip-limits.no-animate#js-ip-limits-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'ip_limits_section' } }
|
2018-09-04 18:06:57 +00:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('User and IP Rate Limits')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 10:57:57 +00:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 18:06:57 +00:00
|
|
|
%p
|
|
|
|
= _('Configure limits for web and API requests.')
|
|
|
|
.settings-content
|
|
|
|
= render 'ip_limits'
|
|
|
|
|
2019-10-29 12:06:40 +00:00
|
|
|
%section.settings.as-outbound.no-animate#js-outbound-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'outbound_requests_section' } }
|
2018-09-04 18:06:57 +00:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Outbound requests')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 10:57:57 +00:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 18:06:57 +00:00
|
|
|
%p
|
|
|
|
= _('Allow requests to the local network from hooks and services.')
|
|
|
|
.settings-content
|
|
|
|
= render 'outbound'
|
2019-09-26 21:06:29 +00:00
|
|
|
|
|
|
|
%section.settings.as-protected-paths.no-animate#js-protected-paths-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Protected Paths')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2020-03-21 00:09:18 +00:00
|
|
|
= _('Configure paths to be protected by Rack Attack.')
|
2019-09-26 21:06:29 +00:00
|
|
|
.settings-content
|
|
|
|
= render 'protected_paths'
|
2019-10-09 12:06:13 +00:00
|
|
|
|
2020-04-14 15:09:44 +00:00
|
|
|
%section.settings.as-issue-limits.no-animate#js-issue-limits-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Issues Rate Limits')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Configure limit for issues created per minute by web and API requests.')
|
|
|
|
.settings-content
|
|
|
|
= render 'issue_limits'
|
|
|
|
|
2019-10-09 12:06:13 +00:00
|
|
|
= render_if_exists 'admin/application_settings/ee_network_settings'
|