@@ -139,6 +145,10 @@ are listed in the descriptions of the relevant settings.
...
@@ -139,6 +145,10 @@ are listed in the descriptions of the relevant settings.
| `akismet_api_key` | string | required by: `akismet_enabled` | API key for akismet spam protection. |
| `akismet_api_key` | string | required by: `akismet_enabled` | API key for akismet spam protection. |
| `akismet_enabled` | boolean | no | (**If enabled, requires:**`akismet_api_key`) Enable or disable akismet spam protection. |
| `akismet_enabled` | boolean | no | (**If enabled, requires:**`akismet_api_key`) Enable or disable akismet spam protection. |
| `allow_local_requests_from_hooks_and_services` | boolean | no | Allow requests to the local network from hooks and services. |
| `allow_local_requests_from_hooks_and_services` | boolean | no | Allow requests to the local network from hooks and services. |
| `asset_proxy_enabled` | boolean | no | (**If enabled, requires:**`asset_proxy_url`) Enable proxying of assets. GitLab restart is required to apply changes. |
| `asset_proxy_secret_key` | string | no | Shared secret with the asset proxy server. GitLab restart is required to apply changes. |
| `asset_proxy_url` | string | no | URL of the asset proxy server. GitLab restart is required to apply changes. |
| `asset_proxy_whitelist` | string or array of strings | no | Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted. GitLab restart is required to apply changes. |
| `authorized_keys_enabled` | boolean | no | By default, we write to the `authorized_keys` file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand. |
| `authorized_keys_enabled` | boolean | no | By default, we write to the `authorized_keys` file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand. |
| `auto_devops_domain` | string | no | Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages. |
| `auto_devops_domain` | string | no | Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages. |
| `auto_devops_enabled` | boolean | no | Enable Auto DevOps for projects by default. It will automatically build, test, and deploy applications based on a predefined CI/CD configuration. |
| `auto_devops_enabled` | boolean | no | Enable Auto DevOps for projects by default. It will automatically build, test, and deploy applications based on a predefined CI/CD configuration. |
...
@@ -161,7 +171,7 @@ are listed in the descriptions of the relevant settings.
...
@@ -161,7 +171,7 @@ are listed in the descriptions of the relevant settings.
| `email_author_in_body` | boolean | no | Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue, merge request or comment in the email body instead. |
| `email_author_in_body` | boolean | no | Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue, merge request or comment in the email body instead. |
| `enabled_git_access_protocol` | string | no | Enabled protocols for Git access. Allowed values are: `ssh`, `http`, and `nil` to allow both protocols. |
| `enabled_git_access_protocol` | string | no | Enabled protocols for Git access. Allowed values are: `ssh`, `http`, and `nil` to allow both protocols. |
| `enforce_terms` | boolean | no | (**If enabled, requires:**`terms`) Enforce application ToS to all users. |
| `enforce_terms` | boolean | no | (**If enabled, requires:**`terms`) Enforce application ToS to all users. |
| `first_day_of_week` | integer | no | Start day of the week for calendar views and date pickers. Valid values are `0` (default) for Sunday, `1` for Monday, and `6` for Saturday. |
| `first_day_of_week`| integer | no | Start day of the week for calendar views and date pickers. Valid values are `0` (default) for Sunday, `1` for Monday, and `6` for Saturday. |
| `gitaly_timeout_default` | integer | no | Default Gitaly timeout, in seconds. This timeout is not enforced for git fetch/push operations or Sidekiq jobs. Set to `0` to disable timeouts. |
| `gitaly_timeout_default` | integer | no | Default Gitaly timeout, in seconds. This timeout is not enforced for git fetch/push operations or Sidekiq jobs. Set to `0` to disable timeouts. |
| `gitaly_timeout_fast` | integer | no | Gitaly fast operation timeout, in seconds. Some Gitaly operations are expected to be fast. If they exceed this threshold, there may be a problem with a storage shard and 'failing fast' can help maintain the stability of the GitLab instance. Set to `0` to disable timeouts. |
| `gitaly_timeout_fast` | integer | no | Gitaly fast operation timeout, in seconds. Some Gitaly operations are expected to be fast. If they exceed this threshold, there may be a problem with a storage shard and 'failing fast' can help maintain the stability of the GitLab instance. Set to `0` to disable timeouts. |
| `gitaly_timeout_medium` | integer | no | Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to `0` to disable timeouts. |
| `gitaly_timeout_medium` | integer | no | Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to `0` to disable timeouts. |
| `asset_proxy_secret_key` | Shared secret with the asset proxy server. |
| `asset_proxy_url` | URL of the asset proxy server. |
| `asset_proxy_whitelist` | Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted. |
These can be set via the [Application setting API](../api/settings.md)
Note that a GitLab restart is required to apply any changes.
requires:akismet_api_key,type: String,desc: 'Generate API key at http://www.akismet.com'
requires:akismet_api_key,type: String,desc: 'Generate API key at http://www.akismet.com'
end
end
optional:asset_proxy_enabled,type: Boolean,desc: 'Enable proxying of assets'
optional:asset_proxy_url,type: String,desc: 'URL of the asset proxy server'
optional:asset_proxy_secret_key,type: String,desc: 'Shared secret with the asset proxy server'
optional:asset_proxy_whitelist,type: Array[String],coerce_with: Validations::Types::CommaSeparatedToArray.coerce,desc: 'Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted.'
optional:clientside_sentry_enabled,type: Boolean,desc: 'Sentry can also be used for reporting and logging clientside exceptions. https://sentry.io/for/javascript/'
optional:clientside_sentry_enabled,type: Boolean,desc: 'Sentry can also be used for reporting and logging clientside exceptions. https://sentry.io/for/javascript/'
givenclientside_sentry_enabled: ->(val){val}do
givenclientside_sentry_enabled: ->(val){val}do
requires:clientside_sentry_dsn,type: String,desc: 'Clientside Sentry Data Source Name'
requires:clientside_sentry_dsn,type: String,desc: 'Clientside Sentry Data Source Name'
...
@@ -129,7 +133,7 @@ module API
...
@@ -129,7 +133,7 @@ module API
optional:terminal_max_session_time,type: Integer,desc: 'Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.'
optional:terminal_max_session_time,type: Integer,desc: 'Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.'
optional:usage_ping_enabled,type: Boolean,desc: 'Every week GitLab will report license usage back to GitLab, Inc.'
optional:usage_ping_enabled,type: Boolean,desc: 'Every week GitLab will report license usage back to GitLab, Inc.'
optional:instance_statistics_visibility_private,type: Boolean,desc: 'When set to `true` Instance statistics will only be available to admins'
optional:instance_statistics_visibility_private,type: Boolean,desc: 'When set to `true` Instance statistics will only be available to admins'
optional:local_markdown_version,type: Integer,desc: "Local markdown version, increase this value when any cached markdown should be invalidated"
optional:local_markdown_version,type: Integer,desc: 'Local markdown version, increase this value when any cached markdown should be invalidated'