Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-02-07 15:58:38 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-02-07 15:58:38 +0300
commit05033177d7349b5301ac9898a5acd0184b009f55 (patch)
tree0a59c8b0e7e580601f8097cfbd1ce8ffb6717bbb /lib/api
parent294129475c0977ce8bd32a6fa43b62af5022ee67 (diff)
parent433bcf9b0439771b1e2661a62fec115e44922232 (diff)
Merge branch 'local-markdown-version' into 'master'
Add local markdown version Closes #32789 See merge request gitlab-org/gitlab-ce!24822
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 95371961398..b16faffe335 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -121,6 +121,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 :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 :local_markdown_version, type: Integer, desc: "Local markdown version, increase this value when any cached markdown should be invalidated"
ApplicationSetting::SUPPORTED_KEY_TYPES.each do |type|
optional :"#{type}_key_restriction",