Skip to content

Extend /help/instance_configuration with size limits

What does this MR do?

On the {base_url}/help/instance_configuration help page, you can find information about the settings used in your current instance. This MR extends the content of this page with the following size limits:

  • Maximum attachment size
  • Maximum push size (optional setting, show '-' if not set)
  • Maximum import size (show '-' if set to 0 (unlimited))
  • Maximum diff patch size
  • Maximum job artifact size
  • Maximum page size (show '-' if set to 0 (unlimited))
  • Maximum snippet size

In addition, the GitLab CI chapter is removed. That chapter previously contained only the Maximum job artifact size setting, which is now also listed in the Size Limits chapter.

🛠 with at Siemens

/cc @bufferoverflow

Screenshots

before after
image image

How to setup and validate locally

  1. Visit {base_url}/help/instance_configuration.
  2. Visit {base_url}/admin/application_settings/general and set other size limits.
  3. Clear Rails cache
    Rails.cache.delete('instance_configuration')
  4. Visit {base_url}/help/instance_configuration.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Jonas Wälter

Merge request reports

Loading