diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-08-25 12:10:53 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-08-25 12:10:53 +0000 |
commit | a653c8ead4d45ffcab5447a9e38f9742600c0d09 (patch) | |
tree | e48db5b9f0a2c1ebe9624aef0c66cfa5c18683f3 /config | |
parent | faf92651aa5e9c6bcb88acac8de27c878d7edf06 (diff) | |
parent | 676f77269daa8a8c697bc34666bf3b00d540099b (diff) | |
download | gitlab-ce-a653c8ead4d45ffcab5447a9e38f9742600c0d09.tar.gz |
Merge branch 'master' into 'backstage/gb/rename-ci-cd-processing-sidekiq-queues'
# Conflicts:
# db/schema.rb
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/omniauth.rb | 6 | ||||
-rw-r--r-- | config/initializers/workhorse_multipart.rb | 4 | ||||
-rw-r--r-- | config/karma.config.js | 1 |
3 files changed, 2 insertions, 9 deletions
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 56c279ffcf4..fddb018e948 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -6,12 +6,6 @@ if Gitlab::LDAP::Config.enabled? const_set(server['provider_class'], Class.new(LDAP)) end end - - OmniauthCallbacksController.class_eval do - Gitlab::LDAP::Config.available_servers.each do |server| - alias_method server['provider_name'], :ldap - end - end end OmniAuth.config.full_host = Settings.gitlab['base_url'] diff --git a/config/initializers/workhorse_multipart.rb b/config/initializers/workhorse_multipart.rb index 064e5964f09..4196e3a8f61 100644 --- a/config/initializers/workhorse_multipart.rb +++ b/config/initializers/workhorse_multipart.rb @@ -10,10 +10,8 @@ end # module Gitlab module StrongParameterScalars - GITLAB_PERMITTED_SCALAR_TYPES = [::UploadedFile].freeze - def permitted_scalar?(value) - super || GITLAB_PERMITTED_SCALAR_TYPES.any? { |type| value.is_a?(type) } + super || value.is_a?(::UploadedFile) end end end diff --git a/config/karma.config.js b/config/karma.config.js index 2f571978e08..e459f5cdac3 100644 --- a/config/karma.config.js +++ b/config/karma.config.js @@ -8,6 +8,7 @@ if (webpackConfig.plugins) { webpackConfig.plugins = webpackConfig.plugins.filter(function (plugin) { return !( plugin instanceof webpack.optimize.CommonsChunkPlugin || + plugin instanceof webpack.optimize.ModuleConcatenationPlugin || plugin instanceof webpack.DefinePlugin ); }); |