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
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-09-04 18:06:57 +00:00
= _('Performance optimization')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
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'
2020-07-21 18:09:45 +00:00
%section.settings.as-ip-limits.no-animate#js-ip-limits-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'ip_limits_content' } }
2018-09-04 18:06:57 +00:00
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-17 21:09:17 +00:00
= _('User and IP rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-09-19 10:57:57 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
2018-09-04 18:06:57 +00:00
%p
2021-09-17 21:09:17 +00:00
= _('Set limits for web and API requests.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/user_and_ip_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
2018-09-04 18:06:57 +00:00
.settings-content
= render 'ip_limits'
2021-04-21 15:09:35 +00:00
%section.settings.as-packages-limits.no-animate#js-packages-limits-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'packages_limits_content' } }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-15 15:10:13 +00:00
= _('Package registry rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-04-21 15:09:35 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-09-15 15:10:13 +00:00
= _('Set rate limits for package registry API requests that supersede the general user and IP rate limits.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/package_registry_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
2021-04-21 15:09:35 +00:00
.settings-content
2021-09-21 00:09:28 +00:00
= render partial: 'network_rate_limits', locals: { anchor: 'js-packages-limits-settings', setting_fragment: 'packages_api' }
2021-12-08 21:10:18 +00:00
%section.settings.as-files-limits.no-animate#js-files-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-12-08 21:10:18 +00:00
= _('Files API Rate Limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-12-08 21:10:18 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure specific limits for Files API requests that supersede the general user and IP rate limits.')
.settings-content
= render partial: 'network_rate_limits', locals: { anchor: 'js-files-limits-settings', setting_fragment: 'files_api' }
2021-04-21 15:09:35 +00:00
2022-03-17 18:08:54 +00:00
%section.settings.as-search-limits.no-animate#js-search-limits-settings{ class: ('expanded' if expanded_by_default?) }
2022-03-14 06:07:47 +00:00
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2022-03-14 06:07:47 +00:00
= _('Search rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2022-03-14 06:07:47 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Set rate limits for searches performed by web or API requests.')
.settings-content
= render 'search_limits'
2021-09-28 12:11:10 +00:00
%section.settings.as-deprecated-limits.no-animate#js-deprecated-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-28 12:11:10 +00:00
= _('Deprecated API rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-09-28 12:11:10 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure specific limits for deprecated API requests that supersede the general user and IP rate limits.')
= link_to _('Which API requests are affected?'), help_page_path('user/admin_area/settings/deprecated_api_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
= render partial: 'network_rate_limits', locals: { anchor: 'js-deprecated-limits-settings', setting_fragment: 'deprecated_api' }
2021-09-01 18:08:49 +00:00
%section.settings.as-git-lfs-limits.no-animate#js-git-lfs-limits-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'git_lfs_limits_content' } }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-01 18:08:49 +00:00
= _('Git LFS Rate Limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-09-01 18:08:49 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure specific limits for Git LFS requests that supersede the general user and IP rate limits.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/git_lfs_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
= render 'git_lfs_limits'
2020-07-21 18:09:45 +00:00
%section.settings.as-outbound.no-animate#js-outbound-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'outbound_requests_content' } }
2018-09-04 18:06:57 +00:00
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2022-01-07 03:14:36 +00:00
= s_('OutboundRequests|Outbound requests')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-09-19 10:57:57 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
2018-09-04 18:06:57 +00:00
%p
2022-01-07 03:14:36 +00:00
= s_('OutboundRequests|Allow requests to the local network from hooks and services.')
= link_to _('Learn more.'), help_page_path('security/webhooks.md'), target: '_blank', rel: 'noopener noreferrer'
2018-09-04 18:06:57 +00:00
.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
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-10-26 18:09:19 +00:00
= _('Protected paths')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2019-09-26 21:06:29 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-10-26 18:09:19 +00:00
= _('Rate limit access to specified paths.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/protected_paths.md'), target: '_blank', rel: 'noopener noreferrer'
2020-10-30 00:09:00 +00:00
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
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2020-04-14 15:09:44 +00:00
= _('Issues Rate Limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2020-04-14 15:09:44 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-08-12 06:10:10 +00:00
= _('Limit the number of issues and epics per minute a user can create through web and API requests.')
2021-07-30 21:10:15 +00:00
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_issues_creation.md'), target: '_blank', rel: 'noopener noreferrer'
2020-04-14 15:09:44 +00:00
.settings-content
= render 'issue_limits'
2021-02-09 21:09:19 +00:00
%section.settings.as-note-limits.no-animate#js-note-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-13 18:11:46 +00:00
= _('Notes rate limit')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-02-09 21:09:19 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-09-13 18:11:46 +00:00
= _('Set the per-user rate limit for notes created by web or API requests.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_notes_creation.md'), target: '_blank', rel: 'noopener noreferrer'
2021-02-09 21:09:19 +00:00
.settings-content
= render 'note_limits'
2022-02-08 18:16:03 +00:00
%section.settings.as-users-api-limits.no-animate#js-users-api-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2022-02-08 18:16:03 +00:00
= _('Users API rate limit')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2022-02-08 18:16:03 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Set the per-user rate limit for getting a user by ID via the API.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_users_api.md'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
= render 'users_api_limits'
2020-07-07 15:08:49 +00:00
%section.settings.as-import-export-limits.no-animate#js-import-export-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-09-10 12:10:27 +00:00
= _('Import and export rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2020-07-07 15:08:49 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-09-10 12:10:27 +00:00
= _('Set per-user rate limits for imports and exports of projects and groups.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/import_export_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
2020-07-07 15:08:49 +00:00
.settings-content
= render 'import_export_limits'
2022-05-16 15:08:39 +00:00
%section.settings.as-pipeline-limits.no-animate#js-pipeline-limits-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-07-11 12:08:41 +00:00
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2022-05-16 15:08:39 +00:00
= _('Pipeline creation rate limits')
2022-06-13 18:09:22 +00:00
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2022-05-16 15:08:39 +00:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Limit the number of pipeline creation requests per minute. This limit includes pipelines created through the UI, the API, and by background processing.')
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_pipelines_creation.md'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
= render 'pipeline_limits'
2019-10-09 12:06:13 +00:00
= render_if_exists 'admin/application_settings/ee_network_settings'