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 40 additions and 0 deletions
Loading
Loading
@@ -7,3 +7,5 @@ class IdeController < ApplicationController
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end
end
IdeController.prepend_if_ee('EE::IdeController')
Loading
Loading
@@ -186,3 +186,5 @@ class Import::GithubController < Import::BaseController
{}
end
end
Import::GithubController.prepend_if_ee('EE::Import::GithubController')
Loading
Loading
@@ -31,3 +31,5 @@ class Ldap::OmniauthCallbacksController < OmniauthCallbacksController
redirect_to new_user_session_path
end
end
Ldap::OmniauthCallbacksController.prepend_if_ee('EE::Ldap::OmniauthCallbacksController')
Loading
Loading
@@ -214,3 +214,5 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
end
end
end
OmniauthCallbacksController.prepend_if_ee('EE::OmniauthCallbacksController')
Loading
Loading
@@ -64,3 +64,5 @@ class PasswordsController < Devise::PasswordsController
notice: I18n.t('devise.passwords.send_paranoid_instructions')
end
end
PasswordsController.prepend_if_ee('EE::PasswordsController')
Loading
Loading
@@ -30,3 +30,5 @@ class Profiles::AccountsController < Profiles::ApplicationController
{}
end
end
Profiles::AccountsController.prepend_if_ee('EE::Profiles::AccountsController')
Loading
Loading
@@ -50,3 +50,5 @@ class Profiles::PreferencesController < Profiles::ApplicationController
]
end
end
Profiles::PreferencesController.prepend_if_ee('::EE::Profiles::PreferencesController')
Loading
Loading
@@ -43,3 +43,5 @@ class Projects::AutocompleteSourcesController < Projects::ApplicationController
.execute(params[:type], params[:type_id])
end
end
Projects::AutocompleteSourcesController.prepend_if_ee('EE::Projects::AutocompleteSourcesController')
Loading
Loading
@@ -260,3 +260,5 @@ class Projects::EnvironmentsController < Projects::ApplicationController
access_denied! unless can?(current_user, :stop_environment, environment)
end
end
Projects::EnvironmentsController.prepend_if_ee('EE::Projects::EnvironmentsController')
Loading
Loading
@@ -119,3 +119,5 @@ class Projects::GitHttpClientController < Projects::ApplicationController
Gitlab::ProtocolAccess.allowed?('http')
end
end
Projects::GitHttpClientController.prepend_if_ee('EE::Projects::GitHttpClientController')
Loading
Loading
@@ -110,3 +110,5 @@ class Projects::GitHttpController < Projects::GitHttpClientController
Users::ActivityService.new(user, 'pull').execute
end
end
Projects::GitHttpController.prepend_if_ee('EE::Projects::GitHttpController')
Loading
Loading
@@ -53,3 +53,5 @@ class Projects::GroupLinksController < Projects::ApplicationController
params.permit(:link_group_access, :expires_at)
end
end
Projects::GroupLinksController.prepend_if_ee('EE::Projects::GroupLinksController')
Loading
Loading
@@ -73,3 +73,5 @@ class Projects::ImportsController < Projects::ApplicationController
.merge(import_url_params)
end
end
Projects::ImportsController.prepend_if_ee('EE::Projects::ImportsController')
Loading
Loading
@@ -280,3 +280,5 @@ class Projects::IssuesController < Projects::ApplicationController
Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/42422')
end
end
Projects::IssuesController.prepend_if_ee('EE::Projects::IssuesController')
Loading
Loading
@@ -231,3 +231,5 @@ class Projects::JobsController < Projects::ApplicationController
'attachment'
end
end
Projects::JobsController.prepend_if_ee('EE::Projects::JobsController')
Loading
Loading
@@ -123,3 +123,5 @@ class Projects::LfsApiController < Projects::GitHttpClientController
_('You cannot write to this read-only GitLab instance.')
end
end
Projects::LfsApiController.prepend_if_ee('EE::Projects::LfsApiController')
Loading
Loading
@@ -59,3 +59,5 @@ class Projects::MergeRequests::ApplicationController < Projects::ApplicationCont
@merge_request.close
end
end
Projects::MergeRequests::ApplicationController.prepend_if_ee('EE::Projects::MergeRequests::ApplicationController')
Loading
Loading
@@ -117,3 +117,5 @@ class Projects::MergeRequests::DiffsController < Projects::MergeRequests::Applic
@notes
end
end
Projects::MergeRequests::DiffsController.prepend_if_ee('EE::Projects::MergeRequests::DiffsController')
Loading
Loading
@@ -351,3 +351,5 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
return render_404 unless can?(current_user, :read_build, merge_request.actual_head_pipeline)
end
end
Projects::MergeRequestsController.prepend_if_ee('EE::Projects::MergeRequestsController')
Loading
Loading
@@ -90,3 +90,5 @@ class Projects::MirrorsController < Projects::ApplicationController
params.require(:project).permit(mirror_params_attributes)
end
end
Projects::MirrorsController.prepend_if_ee('EE::Projects::MirrorsController')
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