summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-11 17:33:45 +0000
committerRémy Coutable <remy@rymai.me>2017-08-11 17:33:45 +0000
commit455dc74e65e7461c1a51bf3ea6594fe20b9df90c (patch)
tree774f83562305748b671f07d94f91c42079a8e066 /lib/api
parent5ab158f5459dc774f4613cab43de721b6366d833 (diff)
parent649d042dbc9e2bfda96bb98b0eabd4b00ea2daff (diff)
downloadgitlab-ce-455dc74e65e7461c1a51bf3ea6594fe20b9df90c.tar.gz
Merge branch 'disable-project-export' into 'master'
Add option to disable project export on instance See merge request !13211
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/settings.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb
index d55a61fa638..667ba468ce6 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -29,6 +29,7 @@ module API
desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
optional :disabled_oauth_sign_in_sources, type: Array[String], desc: 'Disable certain OAuth sign-in sources'
optional :enabled_git_access_protocol, type: String, values: %w[ssh http nil], desc: 'Allow only the selected protocols to be used for Git access.'
+ optional :project_export_enabled, type: Boolean, desc: 'Enable project export'
optional :gravatar_enabled, type: Boolean, desc: 'Flag indicating if the Gravatar service is enabled'
optional :default_projects_limit, type: Integer, desc: 'The maximum number of personal projects'
optional :max_attachment_size, type: Integer, desc: 'Maximum attachment size in MB'