Skip to content
Snippets Groups Projects
Commit a21e4112 authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/gitlab@12-0-stable-ee

parent 96b52080
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 0 deletions
Loading
Loading
@@ -122,3 +122,5 @@ module Projects
end
end
end
Projects::Settings::CiCdController.prepend(EE::Projects::Settings::CiCdController)
Loading
Loading
@@ -25,3 +25,5 @@ module Projects
end
end
end
Projects::Settings::IntegrationsController.prepend(EE::Projects::Settings::IntegrationsController)
Loading
Loading
@@ -69,3 +69,5 @@ module Projects
end
end
end
Projects::Settings::OperationsController.prepend(::EE::Projects::Settings::OperationsController)
Loading
Loading
@@ -104,3 +104,5 @@ module Projects
end
end
end
Projects::Settings::RepositoryController.prepend(EE::Projects::Settings::RepositoryController)
Loading
Loading
@@ -41,3 +41,5 @@ class Projects::VariablesController < Projects::ApplicationController
%i[id variable_type key secret_value protected masked _destroy]
end
end
Projects::VariablesController.prepend(EE::Projects::VariablesController)
Loading
Loading
@@ -462,3 +462,5 @@ class ProjectsController < Projects::ApplicationController
end
end
end
ProjectsController.prepend(EE::ProjectsController)
Loading
Loading
@@ -126,3 +126,5 @@ class RegistrationsController < Devise::RegistrationsController
Gitlab::Utils.to_boolean(params[:terms_opt_in])
end
end
RegistrationsController.prepend(EE::RegistrationsController)
Loading
Loading
@@ -62,3 +62,5 @@ class RootController < Dashboard::ProjectsController
root_urls.exclude?(home_page_url)
end
end
RootController.prepend(EE::RootController)
Loading
Loading
@@ -36,3 +36,5 @@ class SentNotificationsController < ApplicationController
end
end
end
SentNotificationsController.prepend(EE::SentNotificationsController)
Loading
Loading
@@ -279,3 +279,5 @@ class SessionsController < Devise::SessionsController
end
end
end
SessionsController.prepend(EE::SessionsController)
Loading
Loading
@@ -167,3 +167,5 @@ class UsersController < ApplicationController
access_denied! unless can?(current_user, :read_user_profile, user)
end
end
UsersController.prepend(EE::UsersController)
Loading
Loading
@@ -93,3 +93,5 @@ module Autocomplete
end
end
end
Autocomplete::UsersFinder.prepend(EE::Autocomplete::UsersFinder)
Loading
Loading
@@ -34,3 +34,5 @@ class GroupMembersFinder
end
# rubocop: enable CodeReuse/ActiveRecord
end
GroupMembersFinder.prepend(EE::GroupMembersFinder)
Loading
Loading
@@ -145,3 +145,5 @@ class IssuesFinder < IssuableFinder
current_user.blank?
end
end
IssuesFinder.prepend(EE::IssuesFinder)
Loading
Loading
@@ -13,6 +13,8 @@
class LicenseTemplateFinder
include Gitlab::Utils::StrongMemoize
 
prepend ::EE::LicenseTemplateFinder # rubocop: disable Cop/InjectEnterpriseEditionModule
attr_reader :project, :params
 
def initialize(project, params = {})
Loading
Loading
Loading
Loading
@@ -101,3 +101,5 @@ class MergeRequestsFinder < IssuableFinder
.or(table[:title].matches('[WIP]%'))
end
end
MergeRequestsFinder.prepend(EE::MergeRequestsFinder)
Loading
Loading
@@ -141,3 +141,5 @@ class NotesFinder
@params[:notes_filter].present?
end
end
NotesFinder.prepend(EE::NotesFinder)
Loading
Loading
@@ -24,6 +24,8 @@
class ProjectsFinder < UnionFinder
include CustomAttributesFilter
 
prepend ::EE::ProjectsFinder # rubocop: disable Cop/InjectEnterpriseEditionModule
attr_accessor :params
attr_reader :current_user, :project_ids_relation
 
Loading
Loading
Loading
Loading
@@ -3,6 +3,8 @@
class TemplateFinder
include Gitlab::Utils::StrongMemoize
 
prepend ::EE::TemplateFinder # rubocop: disable Cop/InjectEnterpriseEditionModule
VENDORED_TEMPLATES = HashWithIndifferentAccess.new(
dockerfiles: ::Gitlab::Template::DockerfileTemplate,
gitignores: ::Gitlab::Template::GitignoreTemplate,
Loading
Loading
Loading
Loading
@@ -95,3 +95,5 @@ class UsersFinder
end
end
end
UsersFinder.prepend(EE::UsersFinder)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment