| ... | @@ -85,7 +85,7 @@ class Project < ActiveRecord::Base |
... | @@ -85,7 +85,7 @@ class Project < ActiveRecord::Base |
|
|
default_value_for :snippets_enabled, gitlab_config_features.snippets
|
|
default_value_for :snippets_enabled, gitlab_config_features.snippets
|
|
|
default_value_for :only_allow_merge_if_all_discussions_are_resolved, false
|
|
default_value_for :only_allow_merge_if_all_discussions_are_resolved, false
|
|
|
|
|
|
|
|
add_authentication_token_field :runners_token, encrypted: -> { Feature.enabled?(:projects_tokens_optional_encryption) ? :optional : :required }
|
|
add_authentication_token_field :runners_token, encrypted: -> { Feature.enabled?(:projects_tokens_optional_encryption, default_enabled: true) ? :optional : :required }
|
|
|
|
|
|
|
|
before_validation :mark_remote_mirrors_for_removal, if: -> { RemoteMirror.table_exists? }
|
|
before_validation :mark_remote_mirrors_for_removal, if: -> { RemoteMirror.table_exists? }
|
|
|
|
|
|
| ... | |
... | |
| ... | | ... | |