Fix a few disrepencies between CE and EE in the lines ordering
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
b690c268c2
commit
7af940e412
|
|
@ -238,15 +238,15 @@ module ApplicationSettingsHelper
|
|||
:signup_enabled,
|
||||
:terminal_max_session_time,
|
||||
:terms,
|
||||
:throttle_unauthenticated_enabled,
|
||||
:throttle_unauthenticated_requests_per_period,
|
||||
:throttle_unauthenticated_period_in_seconds,
|
||||
:throttle_authenticated_web_enabled,
|
||||
:throttle_authenticated_web_requests_per_period,
|
||||
:throttle_authenticated_web_period_in_seconds,
|
||||
:throttle_authenticated_api_enabled,
|
||||
:throttle_authenticated_api_requests_per_period,
|
||||
:throttle_authenticated_api_period_in_seconds,
|
||||
:throttle_authenticated_api_requests_per_period,
|
||||
:throttle_authenticated_web_enabled,
|
||||
:throttle_authenticated_web_period_in_seconds,
|
||||
:throttle_authenticated_web_requests_per_period,
|
||||
:throttle_unauthenticated_enabled,
|
||||
:throttle_unauthenticated_period_in_seconds,
|
||||
:throttle_unauthenticated_requests_per_period,
|
||||
:two_factor_grace_period,
|
||||
:unique_ips_limit_enabled,
|
||||
:unique_ips_limit_per_user,
|
||||
|
|
|
|||
|
|
@ -227,8 +227,8 @@ class ApplicationSetting < ActiveRecord::Base
|
|||
def self.defaults
|
||||
{
|
||||
after_sign_up_text: nil,
|
||||
allow_local_requests_from_hooks_and_services: false,
|
||||
akismet_enabled: false,
|
||||
allow_local_requests_from_hooks_and_services: false,
|
||||
authorized_keys_enabled: true, # TODO default to false if the instance is configured to use AuthorizedKeysCommand
|
||||
container_registry_token_expire_delay: 5,
|
||||
default_artifacts_expire_in: '30 days',
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ module API
|
|||
requires :housekeeping_incremental_repack_period, type: Integer, desc: "Number of Git pushes after which an incremental 'git repack' is run."
|
||||
end
|
||||
optional :html_emails_enabled, type: Boolean, desc: 'By default GitLab sends emails in HTML and plain text formats so mail clients can choose what format to use. Disable this option if you only want to send emails in plain text format.'
|
||||
optional :import_sources, type: Array[String], values: %w[github bitbucket gitlab google_code fogbugz git gitlab_project],
|
||||
optional :import_sources, type: Array[String], values: %w[github bitbucket gitlab google_code fogbugz git gitlab_project manifest],
|
||||
desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
|
||||
optional :koding_enabled, type: Boolean, desc: 'Enable Koding'
|
||||
given koding_enabled: ->(val) { val } do
|
||||
|
|
@ -76,8 +76,8 @@ module API
|
|||
requires :metrics_host, type: String, desc: 'The InfluxDB host'
|
||||
requires :metrics_method_call_threshold, type: Integer, desc: 'A method call is only tracked when it takes longer to complete than the given amount of milliseconds.'
|
||||
requires :metrics_packet_size, type: Integer, desc: 'The amount of points to store in a single UDP packet'
|
||||
requires :metrics_port, type: Integer, desc: 'The UDP port to use for connecting to InfluxDB'
|
||||
requires :metrics_pool_size, type: Integer, desc: 'The amount of InfluxDB connections to open'
|
||||
requires :metrics_port, type: Integer, desc: 'The UDP port to use for connecting to InfluxDB'
|
||||
requires :metrics_sample_interval, type: Integer, desc: 'The sampling interval in seconds'
|
||||
requires :metrics_timeout, type: Integer, desc: 'The amount of seconds after which an InfluxDB connection will time out'
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue