debian-mirror-gitlab/app/views/admin/application_settings/network.html.haml

76 lines
3 KiB
Text
Raw Normal View History

2018-12-05 23:21:45 +05:30
- breadcrumb_title _("Network")
- page_title _("Network")
- @content_class = "limit-container-width" unless fluid_layout
%section.settings.as-performance.no-animate#js-performance-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('Performance optimization')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Various settings that affect GitLab performance.')
.settings-content
= render 'performance'
2020-10-24 23:57:45 +05:30
%section.settings.as-ip-limits.no-animate#js-ip-limits-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'ip_limits_content' } }
2018-12-05 23:21:45 +05:30
.settings-header
%h4
= _('User and IP Rate Limits')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure limits for web and API requests.')
.settings-content
= render 'ip_limits'
2020-10-24 23:57:45 +05:30
%section.settings.as-outbound.no-animate#js-outbound-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'outbound_requests_content' } }
2018-12-05 23:21:45 +05:30
.settings-header
%h4
= _('Outbound requests')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Allow requests to the local network from hooks and services.')
.settings-content
= render 'outbound'
2019-12-21 20:55:43 +05:30
%section.settings.as-protected-paths.no-animate#js-protected-paths-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('Protected Paths')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2019-12-21 20:55:43 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2020-04-22 19:07:51 +05:30
= _('Configure paths to be protected by Rack Attack.')
2021-01-29 00:20:46 +05:30
.help-block
= _('These paths are protected for POST requests.')
= link_to _('More information'), help_page_path('security/rack_attack', anchor: 'protected-paths-throttle'), target: '_blank'
2019-12-21 20:55:43 +05:30
.settings-content
= render 'protected_paths'
2020-04-22 19:07:51 +05:30
%section.settings.as-issue-limits.no-animate#js-issue-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('Issues Rate Limits')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2020-04-22 19:07:51 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure limit for issues created per minute by web and API requests.')
.settings-content
= render 'issue_limits'
2020-07-28 23:09:34 +05:30
%section.settings.as-import-export-limits.no-animate#js-import-export-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('Import/Export Rate Limits')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2020-07-28 23:09:34 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure limits for Project/Group Import/Export.')
.settings-content
= render 'import_export_limits'
2019-12-21 20:55:43 +05:30
= render_if_exists 'admin/application_settings/ee_network_settings'