summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2019-07-25 11:47:08 +0200
committerMathieu Parent <math.parent@gmail.com>2019-09-09 15:11:33 +0200
commitd5978d09219b654d8c43e6904d6f340643a8b3b9 (patch)
tree2e4056869eacc625e489364a077e87307cda3264 /lib/api
parentde3c61d85cce0d10c0cdb1ced926451f0fa42fff (diff)
downloadgitlab-ce-d5978d09219b654d8c43e6904d6f340643a8b3b9.tar.gz
App settings: Allow all import sources from API
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb
index dd27ebab83d..d4bf3f3ac95 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -74,7 +74,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 manifest],
+ optional :import_sources, type: Array[String], values: %w[github bitbucket bitbucket_server gitlab google_code fogbugz git gitlab_project gitea manifest phabricator],
desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
optional :max_artifacts_size, type: Integer, desc: "Set the maximum file size for each job's artifacts"
optional :max_attachment_size, type: Integer, desc: 'Maximum attachment size in MB'