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

Add latest changes from gitlab-org/gitlab@master

parent 25cb337c
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 1 deletion
Loading
@@ -534,3 +534,5 @@ class ApplicationController < ActionController::Base
Loading
@@ -534,3 +534,5 @@ class ApplicationController < ActionController::Base
end end
end end
end end
ApplicationController.prepend_if_ee('EE::ApplicationController')
Loading
@@ -46,3 +46,5 @@ class AutocompleteController < ApplicationController
Loading
@@ -46,3 +46,5 @@ class AutocompleteController < ApplicationController
render json: target_branches.map { |target_branch| { title: target_branch } } render json: target_branches.map { |target_branch| { title: target_branch } }
end end
end end
AutocompleteController.prepend_if_ee('EE::AutocompleteController')
Loading
@@ -87,3 +87,5 @@ module Boards
Loading
@@ -87,3 +87,5 @@ module Boards
end end
end end
end end
Boards::ListsController.prepend_if_ee('EE::Boards::ListsController')
Loading
@@ -244,3 +244,5 @@ class Clusters::ClustersController < Clusters::BaseController
Loading
@@ -244,3 +244,5 @@ class Clusters::ClustersController < Clusters::BaseController
@cluster.applications.each(&:schedule_status_update) @cluster.applications.each(&:schedule_status_update)
end end
end end
Clusters::ClustersController.prepend_if_ee('EE::Clusters::ClustersController')
Loading
@@ -44,3 +44,5 @@ module BoardsActions
Loading
@@ -44,3 +44,5 @@ module BoardsActions
serializer.represent(resource, serializer: 'board', include_full_project_path: board.group_board?) serializer.represent(resource, serializer: 'board', include_full_project_path: board.group_board?)
end end
end end
BoardsActions.prepend_if_ee('EE::BoardsActions')
Loading
@@ -86,3 +86,5 @@ module BoardsResponses
Loading
@@ -86,3 +86,5 @@ module BoardsResponses
BoardSerializer.new BoardSerializer.new
end end
end end
BoardsResponses.prepend_if_ee('EE::BoardsResponses')
Loading
@@ -18,3 +18,5 @@ module CycleAnalyticsParams
Loading
@@ -18,3 +18,5 @@ module CycleAnalyticsParams
end end
end end
end end
CycleAnalyticsParams.prepend_if_ee('EE::CycleAnalyticsParams')
Loading
@@ -45,3 +45,5 @@ module InternalRedirect
Loading
@@ -45,3 +45,5 @@ module InternalRedirect
URI(request.referer).path URI(request.referer).path
end end
end end
InternalRedirect.prepend_if_ee('EE::InternalRedirect')
Loading
@@ -260,3 +260,5 @@ module IssuableActions
Loading
@@ -260,3 +260,5 @@ module IssuableActions
end end
# rubocop:enable Gitlab/ModuleWithInstanceVariables # rubocop:enable Gitlab/ModuleWithInstanceVariables
end end
IssuableActions.prepend_if_ee('EE::IssuableActions')
Loading
@@ -153,3 +153,5 @@ module IssuableCollections
Loading
@@ -153,3 +153,5 @@ module IssuableCollections
end end
# rubocop:enable Gitlab/ModuleWithInstanceVariables # rubocop:enable Gitlab/ModuleWithInstanceVariables
end end
IssuableCollections.prepend_if_ee('EE::IssuableCollections')
Loading
@@ -128,3 +128,5 @@ module LfsRequest
Loading
@@ -128,3 +128,5 @@ module LfsRequest
false false
end end
end end
LfsRequest.prepend_if_ee('EE::LfsRequest')
Loading
@@ -55,3 +55,5 @@ module RoutableActions
Loading
@@ -55,3 +55,5 @@ module RoutableActions
end end
end end
end end
RoutableActions.prepend_if_ee('EE::RoutableActions')
Loading
@@ -85,3 +85,5 @@ module ServiceParams
Loading
@@ -85,3 +85,5 @@ module ServiceParams
ALLOWED_PARAMS_CE ALLOWED_PARAMS_CE
end end
end end
ServiceParams.prepend_if_ee('EE::ServiceParams')
Loading
@@ -31,3 +31,5 @@ class ConfirmationsController < Devise::ConfirmationsController
Loading
@@ -31,3 +31,5 @@ class ConfirmationsController < Devise::ConfirmationsController
after_sign_in_path_for(resource) after_sign_in_path_for(resource)
end end
end end
ConfirmationsController.prepend_if_ee('EE::ConfirmationsController')
Loading
@@ -100,3 +100,5 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
Loading
@@ -100,3 +100,5 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
Project::SORTING_PREFERENCE_FIELD Project::SORTING_PREFERENCE_FIELD
end end
end end
Dashboard::ProjectsController.prepend_if_ee('EE::Dashboard::ProjectsController')
Loading
@@ -38,3 +38,5 @@ class Groups::ApplicationController < ApplicationController
Loading
@@ -38,3 +38,5 @@ class Groups::ApplicationController < ApplicationController
url_for(safe_params) url_for(safe_params)
end end
end end
Groups::ApplicationController.prepend_if_ee('EE::Groups::ApplicationController')
Loading
@@ -18,3 +18,5 @@ class Groups::ClustersController < Clusters::ClustersController
Loading
@@ -18,3 +18,5 @@ class Groups::ClustersController < Clusters::ClustersController
@group ||= find_routable!(Group, params[:group_id] || params[:id]) @group ||= find_routable!(Group, params[:group_id] || params[:id])
end end
end end
Groups::ClustersController.prepend_if_ee('EE::Groups::ClustersController')
Loading
@@ -53,3 +53,5 @@ class Groups::GroupMembersController < Groups::ApplicationController
Loading
@@ -53,3 +53,5 @@ class Groups::GroupMembersController < Groups::ApplicationController
# MembershipActions concern # MembershipActions concern
alias_method :membershipable, :group alias_method :membershipable, :group
end end
Groups::GroupMembersController.prepend_if_ee('EE::Groups::GroupMembersController')
Loading
@@ -118,3 +118,5 @@ class Groups::MilestonesController < Groups::ApplicationController
Loading
@@ -118,3 +118,5 @@ class Groups::MilestonesController < Groups::ApplicationController
params.permit(:state, :search_title).merge(group_ids: group.id) params.permit(:state, :search_title).merge(group_ids: group.id)
end end
end end
Groups::MilestonesController.prepend_if_ee('EE::Groups::MilestonesController')
Loading
@@ -133,7 +133,7 @@ class GroupsController < Groups::ApplicationController
Loading
@@ -133,7 +133,7 @@ class GroupsController < Groups::ApplicationController
protected protected
   
def render_show_html def render_show_html
render 'groups/show' render 'groups/show', locals: { trial: params[:trial] }
end end
   
def render_details_html def render_details_html
Loading
@@ -229,3 +229,5 @@ class GroupsController < Groups::ApplicationController
Loading
@@ -229,3 +229,5 @@ class GroupsController < Groups::ApplicationController
url_for(safe_params) url_for(safe_params)
end end
end end
GroupsController.prepend_if_ee('EE::GroupsController')
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