Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2021-05-11 21:10:21 +00:00
parent f020d5dc9b
commit 0ae8428c8e
838 changed files with 1124 additions and 1125 deletions

View File

@ -1 +1 @@
4a1b0d4018ee35cfe786ba3dd975b20013a39e39 8d525bfb986a26ee6c1c6d0ec976fa2614928cf8

View File

@ -1,6 +1,8 @@
<script> <script>
import { GlButton, GlIcon } from '@gitlab/ui'; import { GlButton, GlIcon } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue';
import { DRAWER_EXPANDED_KEY } from '../../constants';
import FirstPipelineCard from './cards/first_pipeline_card.vue'; import FirstPipelineCard from './cards/first_pipeline_card.vue';
import GettingStartedCard from './cards/getting_started_card.vue'; import GettingStartedCard from './cards/getting_started_card.vue';
import PipelineConfigReferenceCard from './cards/pipeline_config_reference_card.vue'; import PipelineConfigReferenceCard from './cards/pipeline_config_reference_card.vue';
@ -14,17 +16,19 @@ export default {
i18n: { i18n: {
toggleTxt: __('Collapse'), toggleTxt: __('Collapse'),
}, },
localDrawerKey: DRAWER_EXPANDED_KEY,
components: { components: {
FirstPipelineCard, FirstPipelineCard,
GettingStartedCard, GettingStartedCard,
PipelineConfigReferenceCard,
VisualizeAndLintCard,
GlButton, GlButton,
GlIcon, GlIcon,
LocalStorageSync,
PipelineConfigReferenceCard,
VisualizeAndLintCard,
}, },
data() { data() {
return { return {
isExpanded: false, isExpanded: true,
topPosition: 0, topPosition: 0,
}; };
}, },
@ -61,29 +65,31 @@ export default {
}; };
</script> </script>
<template> <template>
<aside <local-storage-sync v-model="isExpanded" :storage-key="$options.localDrawerKey" as-json>
aria-live="polite" <aside
class="gl-fixed gl-right-0 gl-bg-gray-10 gl-shadow-drawer gl-transition-medium gl-border-l-solid gl-border-1 gl-border-gray-100 gl-h-full gl-z-index-9999 gl-overflow-y-auto" aria-live="polite"
:style="rootStyle" class="gl-fixed gl-right-0 gl-bg-gray-10 gl-shadow-drawer gl-transition-medium gl-border-l-solid gl-border-1 gl-border-gray-100 gl-h-full gl-z-index-9999 gl-overflow-y-auto"
> :style="rootStyle"
<gl-button
category="tertiary"
class="gl-w-full gl-h-9 gl-rounded-0! gl-border-none! gl-border-b-solid! gl-border-1! gl-border-gray-100 gl-text-decoration-none! gl-outline-0! gl-display-flex"
:class="buttonClass"
:title="__('Toggle sidebar')"
@click="toggleDrawer"
> >
<span v-if="isExpanded" class="gl-text-gray-500 gl-mr-3" data-testid="collapse-text"> <gl-button
{{ __('Collapse') }} category="tertiary"
</span> class="gl-w-full gl-h-9 gl-rounded-0! gl-border-none! gl-border-b-solid! gl-border-1! gl-border-gray-100 gl-text-decoration-none! gl-outline-0! gl-display-flex"
<gl-icon data-testid="toggle-icon" :name="buttonIconName" /> :class="buttonClass"
</gl-button> :title="__('Toggle sidebar')"
<div v-if="isExpanded" class="gl-h-full gl-p-5" data-testid="drawer-content"> @click="toggleDrawer"
<getting-started-card class="gl-mb-4" /> >
<first-pipeline-card class="gl-mb-4" /> <span v-if="isExpanded" class="gl-text-gray-500 gl-mr-3" data-testid="collapse-text">
<visualize-and-lint-card class="gl-mb-4" /> {{ __('Collapse') }}
<pipeline-config-reference-card /> </span>
<div class="gl-h-13"></div> <gl-icon data-testid="toggle-icon" :name="buttonIconName" />
</div> </gl-button>
</aside> <div v-if="isExpanded" class="gl-h-full gl-p-5" data-testid="drawer-content">
<getting-started-card class="gl-mb-4" />
<first-pipeline-card class="gl-mb-4" />
<visualize-and-lint-card class="gl-mb-4" />
<pipeline-config-reference-card />
<div class="gl-h-13"></div>
</div>
</aside>
</local-storage-sync>
</template> </template>

View File

@ -26,3 +26,5 @@ export const TABS_WITH_COMMIT_FORM = [CREATE_TAB, LINT_TAB, VISUALIZE_TAB];
export const COMMIT_ACTION_CREATE = 'CREATE'; export const COMMIT_ACTION_CREATE = 'CREATE';
export const COMMIT_ACTION_UPDATE = 'UPDATE'; export const COMMIT_ACTION_UPDATE = 'UPDATE';
export const DRAWER_EXPANDED_KEY = 'pipeline_editor_drawer_expanded';

View File

@ -21,7 +21,12 @@ import { backOff } from '~/lib/utils/common_utils';
import httpStatusCodes from '~/lib/utils/http_status'; import httpStatusCodes from '~/lib/utils/http_status';
import { redirectTo } from '~/lib/utils/url_utility'; import { redirectTo } from '~/lib/utils/url_utility';
import { s__, __, n__ } from '~/locale'; import { s__, __, n__ } from '~/locale';
import { VARIABLE_TYPE, FILE_TYPE, CONFIG_VARIABLES_TIMEOUT } from '../constants'; import {
VARIABLE_TYPE,
FILE_TYPE,
CONFIG_VARIABLES_TIMEOUT,
CC_VALIDATION_REQUIRED_ERROR,
} from '../constants';
import filterVariables from '../utils/filter_variables'; import filterVariables from '../utils/filter_variables';
import RefsDropdown from './refs_dropdown.vue'; import RefsDropdown from './refs_dropdown.vue';
@ -60,6 +65,8 @@ export default {
GlSprintf, GlSprintf,
GlLoadingIcon, GlLoadingIcon,
RefsDropdown, RefsDropdown,
CcValidationRequiredAlert: () =>
import('ee_component/billings/components/cc_validation_required_alert.vue'),
}, },
directives: { SafeHtml }, directives: { SafeHtml },
props: { props: {
@ -143,6 +150,9 @@ export default {
descriptions() { descriptions() {
return this.form[this.refFullName]?.descriptions ?? {}; return this.form[this.refFullName]?.descriptions ?? {};
}, },
ccRequiredError() {
return this.error === CC_VALIDATION_REQUIRED_ERROR;
},
}, },
watch: { watch: {
refValue() { refValue() {
@ -329,8 +339,9 @@ export default {
<template> <template>
<gl-form @submit.prevent="createPipeline"> <gl-form @submit.prevent="createPipeline">
<cc-validation-required-alert v-if="ccRequiredError" class="gl-pb-5" />
<gl-alert <gl-alert
v-if="error" v-else-if="error"
:title="errorTitle" :title="errorTitle"
:dismissible="false" :dismissible="false"
variant="danger" variant="danger"

View File

@ -4,3 +4,6 @@ export const DEBOUNCE_REFS_SEARCH_MS = 250;
export const CONFIG_VARIABLES_TIMEOUT = 5000; export const CONFIG_VARIABLES_TIMEOUT = 5000;
export const BRANCH_REF_TYPE = 'branch'; export const BRANCH_REF_TYPE = 'branch';
export const TAG_REF_TYPE = 'tag'; export const TAG_REF_TYPE = 'tag';
export const CC_VALIDATION_REQUIRED_ERROR =
'Credit card required to be on file in order to create a pipeline';

View File

@ -9,4 +9,4 @@ class Admin::ApplicationController < ApplicationController
layout 'admin' layout 'admin'
end end
Admin::ApplicationController.prepend_if_ee('EE::Admin::ApplicationController') Admin::ApplicationController.prepend_mod_with('Admin::ApplicationController')

View File

@ -292,4 +292,4 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
end end
end end
Admin::ApplicationSettingsController.prepend_if_ee('EE::Admin::ApplicationSettingsController') Admin::ApplicationSettingsController.prepend_mod_with('Admin::ApplicationSettingsController')

View File

@ -24,4 +24,4 @@ class Admin::DashboardController < Admin::ApplicationController
end end
end end
Admin::DashboardController.prepend_if_ee('EE::Admin::DashboardController') Admin::DashboardController.prepend_mod_with('Admin::DashboardController')

View File

@ -24,4 +24,4 @@ class Admin::DevOpsReportController < Admin::ApplicationController
end end
end end
Admin::DevOpsReportController.prepend_if_ee('EE::Admin::DevOpsReportController') Admin::DevOpsReportController.prepend_mod_with('Admin::DevOpsReportController')

View File

@ -117,4 +117,4 @@ class Admin::GroupsController < Admin::ApplicationController
end end
end end
Admin::GroupsController.prepend_if_ee('EE::Admin::GroupsController') Admin::GroupsController.prepend_mod_with('Admin::GroupsController')

View File

@ -14,4 +14,4 @@ class Admin::HealthCheckController < Admin::ApplicationController
end end
end end
Admin::HealthCheckController.prepend_if_ee('EE::Admin::HealthCheckController') Admin::HealthCheckController.prepend_mod_with('Admin::HealthCheckController')

View File

@ -89,4 +89,4 @@ class Admin::ProjectsController < Admin::ApplicationController
end end
end end
Admin::ProjectsController.prepend_if_ee('EE::Admin::ProjectsController') Admin::ProjectsController.prepend_mod_with('Admin::ProjectsController')

View File

@ -344,4 +344,4 @@ class Admin::UsersController < Admin::ApplicationController
end end
end end
Admin::UsersController.prepend_if_ee('EE::Admin::UsersController') Admin::UsersController.prepend_mod_with('Admin::UsersController')

View File

@ -556,4 +556,4 @@ class ApplicationController < ActionController::Base
end end
end end
ApplicationController.prepend_ee_mod ApplicationController.prepend_mod

View File

@ -71,4 +71,4 @@ class AutocompleteController < ApplicationController
end end
end end
AutocompleteController.prepend_if_ee('EE::AutocompleteController') AutocompleteController.prepend_mod_with('AutocompleteController')

View File

@ -158,4 +158,4 @@ module Boards
end end
end end
Boards::IssuesController.prepend_if_ee('EE::Boards::IssuesController') Boards::IssuesController.prepend_mod_with('Boards::IssuesController')

View File

@ -99,4 +99,4 @@ module Boards
end end
end end
Boards::ListsController.prepend_if_ee('EE::Boards::ListsController') Boards::ListsController.prepend_mod_with('Boards::ListsController')

View File

@ -362,4 +362,4 @@ class Clusters::ClustersController < Clusters::BaseController
end end
end end
Clusters::ClustersController.prepend_if_ee('EE::Clusters::ClustersController') Clusters::ClustersController.prepend_mod_with('Clusters::ClustersController')

View File

@ -177,4 +177,4 @@ module AuthenticatesWithTwoFactor
end end
end end
AuthenticatesWithTwoFactor.prepend_if_ee('EE::AuthenticatesWithTwoFactor') AuthenticatesWithTwoFactor.prepend_mod_with('AuthenticatesWithTwoFactor')

View File

@ -65,4 +65,4 @@ module BoardsActions
end end
end end
BoardsActions.prepend_if_ee('EE::BoardsActions') BoardsActions.prepend_mod_with('BoardsActions')

View File

@ -91,4 +91,4 @@ module BoardsResponses
end end
end end
BoardsResponses.prepend_if_ee('EE::BoardsResponses') BoardsResponses.prepend_mod_with('BoardsResponses')

View File

@ -43,4 +43,4 @@ module CycleAnalyticsParams
end end
end end
CycleAnalyticsParams.prepend_if_ee('EE::CycleAnalyticsParams') CycleAnalyticsParams.prepend_mod_with('CycleAnalyticsParams')

View File

@ -72,4 +72,4 @@ module EnforcesTwoFactorAuthentication
end end
end end
EnforcesTwoFactorAuthentication.prepend_if_ee('EE::EnforcesTwoFactorAuthentication') EnforcesTwoFactorAuthentication.prepend_mod_with('EnforcesTwoFactorAuthentication')

View File

@ -102,4 +102,4 @@ module Integrations
end end
end end
Integrations::Params.prepend_if_ee('EE::Integrations::Params') Integrations::Params.prepend_mod_with('Integrations::Params')

View File

@ -46,4 +46,4 @@ module InternalRedirect
end end
end end
InternalRedirect.prepend_if_ee('EE::InternalRedirect') InternalRedirect.prepend_mod_with('InternalRedirect')

View File

@ -259,4 +259,4 @@ module IssuableActions
# rubocop:enable Gitlab/ModuleWithInstanceVariables # rubocop:enable Gitlab/ModuleWithInstanceVariables
end end
IssuableActions.prepend_if_ee('EE::IssuableActions') IssuableActions.prepend_mod_with('IssuableActions')

View File

@ -158,4 +158,4 @@ module IssuableCollections
# rubocop:enable Gitlab/ModuleWithInstanceVariables # rubocop:enable Gitlab/ModuleWithInstanceVariables
end end
IssuableCollections.prepend_if_ee('EE::IssuableCollections') IssuableCollections.prepend_mod_with('IssuableCollections')

View File

@ -136,4 +136,4 @@ module LfsRequest
end end
end end
LfsRequest.prepend_if_ee('EE::LfsRequest') LfsRequest.prepend_mod_with('LfsRequest')

View File

@ -187,4 +187,4 @@ module MembershipActions
end end
end end
MembershipActions.prepend_if_ee('EE::MembershipActions') MembershipActions.prepend_mod_with('MembershipActions')

View File

@ -56,4 +56,4 @@ module RoutableActions
end end
end end
RoutableActions.prepend_if_ee('EE::RoutableActions') RoutableActions.prepend_mod_with('RoutableActions')

View File

@ -36,4 +36,4 @@ class ConfirmationsController < Devise::ConfirmationsController
end end
end end
ConfirmationsController.prepend_if_ee('EE::ConfirmationsController') ConfirmationsController.prepend_mod_with('ConfirmationsController')

View File

@ -116,4 +116,4 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
end end
end end
Dashboard::ProjectsController.prepend_if_ee('EE::Dashboard::ProjectsController') Dashboard::ProjectsController.prepend_mod_with('Dashboard::ProjectsController')

View File

@ -122,4 +122,4 @@ class Explore::ProjectsController < Explore::ApplicationController
end end
end end
Explore::ProjectsController.prepend_if_ee('EE::Explore::ProjectsController') Explore::ProjectsController.prepend_mod_with('Explore::ProjectsController')

View File

@ -72,4 +72,4 @@ class Groups::ApplicationController < ApplicationController
end end
end end
Groups::ApplicationController.prepend_if_ee('EE::Groups::ApplicationController') Groups::ApplicationController.prepend_mod_with('Groups::ApplicationController')

View File

@ -51,4 +51,4 @@ class Groups::AutocompleteSourcesController < Groups::ApplicationController
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
end end
Groups::AutocompleteSourcesController.prepend_if_ee('EE::Groups::AutocompleteSourcesController') Groups::AutocompleteSourcesController.prepend_mod

View File

@ -89,4 +89,4 @@ class Groups::GroupMembersController < Groups::ApplicationController
end end
end end
Groups::GroupMembersController.prepend_if_ee('EE::Groups::GroupMembersController') Groups::GroupMembersController.prepend_mod_with('Groups::GroupMembersController')

View File

@ -95,4 +95,4 @@ class Groups::MilestonesController < Groups::ApplicationController
end end
end end
Groups::MilestonesController.prepend_if_ee('EE::Groups::MilestonesController') Groups::MilestonesController.prepend_mod_with('Groups::MilestonesController')

View File

@ -100,4 +100,4 @@ module Groups
end end
end end
Groups::Settings::CiCdController.prepend_if_ee('EE::Groups::Settings::CiCdController') Groups::Settings::CiCdController.prepend_mod_with('Groups::Settings::CiCdController')

View File

@ -57,4 +57,4 @@ module Groups
end end
end end
Groups::VariablesController.prepend_if_ee('EE::Groups::VariablesController') Groups::VariablesController.prepend_mod_with('Groups::VariablesController')

View File

@ -365,4 +365,4 @@ class GroupsController < Groups::ApplicationController
end end
end end
GroupsController.prepend_if_ee('EE::GroupsController') GroupsController.prepend_mod_with('GroupsController')

View File

@ -265,4 +265,4 @@ class Import::GithubController < Import::BaseController
end end
end end
Import::GithubController.prepend_if_ee('EE::Import::GithubController') Import::GithubController.prepend_mod_with('Import::GithubController')

View File

@ -38,4 +38,4 @@ class Ldap::OmniauthCallbacksController < OmniauthCallbacksController
end end
end end
Ldap::OmniauthCallbacksController.prepend_if_ee('EE::Ldap::OmniauthCallbacksController') Ldap::OmniauthCallbacksController.prepend_mod_with('Ldap::OmniauthCallbacksController')

View File

@ -289,4 +289,4 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
end end
end end
OmniauthCallbacksController.prepend_if_ee('EE::OmniauthCallbacksController') OmniauthCallbacksController.prepend_mod_with('OmniauthCallbacksController')

View File

@ -69,4 +69,4 @@ class PasswordsController < Devise::PasswordsController
end end
end end
PasswordsController.prepend_if_ee('EE::PasswordsController') PasswordsController.prepend_mod_with('PasswordsController')

View File

@ -37,4 +37,4 @@ class Profiles::AccountsController < Profiles::ApplicationController
end end
end end
Profiles::AccountsController.prepend_if_ee('EE::Profiles::AccountsController') Profiles::AccountsController.prepend_mod_with('Profiles::AccountsController')

View File

@ -60,4 +60,4 @@ class Profiles::PersonalAccessTokensController < Profiles::ApplicationController
end end
end end
Profiles::PersonalAccessTokensController.prepend_if_ee('EE::Profiles::PersonalAccessTokensController') Profiles::PersonalAccessTokensController.prepend_mod_with('Profiles::PersonalAccessTokensController')

View File

@ -55,4 +55,4 @@ class Profiles::PreferencesController < Profiles::ApplicationController
end end
end end
Profiles::PreferencesController.prepend_if_ee('::EE::Profiles::PreferencesController') Profiles::PreferencesController.prepend_mod_with('Profiles::PreferencesController')

View File

@ -49,4 +49,4 @@ class Projects::AutocompleteSourcesController < Projects::ApplicationController
end end
end end
Projects::AutocompleteSourcesController.prepend_if_ee('EE::Projects::AutocompleteSourcesController') Projects::AutocompleteSourcesController.prepend_mod_with('Projects::AutocompleteSourcesController')

View File

@ -264,4 +264,4 @@ class Projects::EnvironmentsController < Projects::ApplicationController
end end
end end
Projects::EnvironmentsController.prepend_if_ee('EE::Projects::EnvironmentsController') Projects::EnvironmentsController.prepend_mod_with('Projects::EnvironmentsController')

View File

@ -131,4 +131,4 @@ class Projects::ForksController < Projects::ApplicationController
end end
end end
Projects::ForksController.prepend_if_ee('EE::Projects::ForksController') Projects::ForksController.prepend_mod_with('Projects::ForksController')

View File

@ -60,4 +60,4 @@ class Projects::GroupLinksController < Projects::ApplicationController
end end
end end
Projects::GroupLinksController.prepend_if_ee('EE::Projects::GroupLinksController') Projects::GroupLinksController.prepend_mod_with('Projects::GroupLinksController')

View File

@ -81,4 +81,4 @@ class Projects::ImportsController < Projects::ApplicationController
end end
end end
Projects::ImportsController.prepend_if_ee('EE::Projects::ImportsController') Projects::ImportsController.prepend_mod_with('Projects::ImportsController')

View File

@ -391,4 +391,4 @@ class Projects::IssuesController < Projects::ApplicationController
def create_vulnerability_issue_feedback(issue); end def create_vulnerability_issue_feedback(issue); end
end end
Projects::IssuesController.prepend_if_ee('EE::Projects::IssuesController') Projects::IssuesController.prepend_mod_with('Projects::IssuesController')

View File

@ -65,4 +65,4 @@ class Projects::MergeRequests::ApplicationController < Projects::ApplicationCont
end end
end end
Projects::MergeRequests::ApplicationController.prepend_if_ee('EE::Projects::MergeRequests::ApplicationController') Projects::MergeRequests::ApplicationController.prepend_mod_with('Projects::MergeRequests::ApplicationController')

View File

@ -141,4 +141,4 @@ class Projects::MergeRequests::CreationsController < Projects::MergeRequests::Ap
end end
end end
Projects::MergeRequests::CreationsController.prepend_ee_mod Projects::MergeRequests::CreationsController.prepend_mod

View File

@ -534,4 +534,4 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
end end
end end
Projects::MergeRequestsController.prepend_if_ee('EE::Projects::MergeRequestsController') Projects::MergeRequestsController.prepend_mod_with('Projects::MergeRequestsController')

View File

@ -94,4 +94,4 @@ class Projects::MirrorsController < Projects::ApplicationController
end end
end end
Projects::MirrorsController.prepend_if_ee('EE::Projects::MirrorsController') Projects::MirrorsController.prepend_mod_with('Projects::MirrorsController')

View File

@ -55,4 +55,4 @@ class Projects::PagesController < Projects::ApplicationController
end end
end end
Projects::PagesController.prepend_if_ee('EE::Projects::PagesController') Projects::PagesController.prepend_mod_with('Projects::PagesController')

View File

@ -309,4 +309,4 @@ class Projects::PipelinesController < Projects::ApplicationController
end end
end end
Projects::PipelinesController.prepend_if_ee('EE::Projects::PipelinesController') Projects::PipelinesController.prepend_mod_with('Projects::PipelinesController')

View File

@ -64,4 +64,4 @@ class Projects::ProjectMembersController < Projects::ApplicationController
end end
end end
Projects::ProjectMembersController.prepend_if_ee('EE::Projects::ProjectMembersController') Projects::ProjectMembersController.prepend_mod_with('Projects::ProjectMembersController')

View File

@ -29,4 +29,4 @@ class Projects::ProtectedBranchesController < Projects::ProtectedRefsController
end end
end end
Projects::ProtectedBranchesController.prepend_if_ee('EE::Projects::ProtectedBranchesController') Projects::ProtectedBranchesController.prepend_mod_with('Projects::ProtectedBranchesController')

View File

@ -68,4 +68,4 @@ class Projects::ProtectedRefsController < Projects::ApplicationController
end end
end end
Projects::ProtectedRefsController.prepend_if_ee('EE::Projects::ProtectedRefsController') Projects::ProtectedRefsController.prepend_mod_with('Projects::ProtectedRefsController')

View File

@ -127,4 +127,4 @@ class Projects::RepositoriesController < Projects::ApplicationController
end end
end end
Projects::RepositoriesController.prepend_if_ee('EE::Projects::RepositoriesController') Projects::RepositoriesController.prepend_mod_with('Projects::RepositoriesController')

View File

@ -14,4 +14,4 @@ module Projects
end end
end end
Projects::Security::ConfigurationController.prepend_if_ee('EE::Projects::Security::ConfigurationController') Projects::Security::ConfigurationController.prepend_mod_with('Projects::Security::ConfigurationController')

View File

@ -160,4 +160,4 @@ module Projects
end end
end end
Projects::Settings::CiCdController.prepend_if_ee('EE::Projects::Settings::CiCdController') Projects::Settings::CiCdController.prepend_mod_with('Projects::Settings::CiCdController')

View File

@ -155,4 +155,4 @@ module Projects
end end
end end
Projects::Settings::OperationsController.prepend_if_ee('::EE::Projects::Settings::OperationsController') Projects::Settings::OperationsController.prepend_mod_with('Projects::Settings::OperationsController')

View File

@ -134,4 +134,4 @@ module Projects
end end
end end
Projects::Settings::RepositoryController.prepend_if_ee('EE::Projects::Settings::RepositoryController') Projects::Settings::RepositoryController.prepend_mod_with('Projects::Settings::RepositoryController')

View File

@ -545,4 +545,4 @@ class ProjectsController < Projects::ApplicationController
end end
end end
ProjectsController.prepend_if_ee('EE::ProjectsController') ProjectsController.prepend_mod_with('ProjectsController')

View File

@ -70,4 +70,4 @@ module Registrations
end end
end end
Registrations::WelcomeController.prepend_if_ee('EE::Registrations::WelcomeController') Registrations::WelcomeController.prepend_mod_with('Registrations::WelcomeController')

View File

@ -203,4 +203,4 @@ class RegistrationsController < Devise::RegistrationsController
end end
end end
RegistrationsController.prepend_if_ee('EE::RegistrationsController') RegistrationsController.prepend_mod_with('RegistrationsController')

View File

@ -134,4 +134,4 @@ module Repositories
end end
end end
Repositories::GitHttpClientController.prepend_if_ee('EE::Repositories::GitHttpClientController') Repositories::GitHttpClientController.prepend_mod_with('Repositories::GitHttpClientController')

View File

@ -122,4 +122,4 @@ module Repositories
end end
end end
Repositories::GitHttpController.prepend_if_ee('EE::Repositories::GitHttpController') Repositories::GitHttpController.prepend_mod_with('Repositories::GitHttpController')

View File

@ -148,4 +148,4 @@ module Repositories
end end
end end
Repositories::LfsApiController.prepend_if_ee('EE::Repositories::LfsApiController') Repositories::LfsApiController.prepend_mod_with('Repositories::LfsApiController')

View File

@ -70,4 +70,4 @@ class RootController < Dashboard::ProjectsController
end end
end end
RootController.prepend_if_ee('EE::RootController') RootController.prepend_mod_with('RootController')

View File

@ -152,4 +152,4 @@ class SearchController < ApplicationController
end end
end end
SearchController.prepend_if_ee('EE::SearchController') SearchController.prepend_mod_with('SearchController')

View File

@ -53,4 +53,4 @@ class SentNotificationsController < ApplicationController
end end
end end
SentNotificationsController.prepend_if_ee('EE::SentNotificationsController') SentNotificationsController.prepend_mod_with('SentNotificationsController')

View File

@ -315,4 +315,4 @@ class SessionsController < Devise::SessionsController
end end
end end
SessionsController.prepend_if_ee('EE::SessionsController') SessionsController.prepend_mod_with('SessionsController')

View File

@ -117,4 +117,4 @@ class UploadsController < ApplicationController
end end
end end
UploadsController.prepend_if_ee('EE::UploadsController') UploadsController.prepend_mod_with('UploadsController')

View File

@ -260,4 +260,4 @@ class UsersController < ApplicationController
end end
end end
UsersController.prepend_if_ee('EE::UsersController') UsersController.prepend_mod_with('UsersController')

View File

@ -67,4 +67,4 @@ module AlertManagement
end end
end end
AlertManagement::AlertsFinder.prepend_if_ee('EE::AlertManagement::AlertsFinder') AlertManagement::AlertsFinder.prepend_mod_with('AlertManagement::AlertsFinder')

View File

@ -51,4 +51,4 @@ module AlertManagement
end end
end end
::AlertManagement::HttpIntegrationsFinder.prepend_if_ee('EE::AlertManagement::HttpIntegrationsFinder') ::AlertManagement::HttpIntegrationsFinder.prepend_mod_with('AlertManagement::HttpIntegrationsFinder')

View File

@ -102,4 +102,4 @@ module Autocomplete
end end
end end
Autocomplete::UsersFinder.prepend_if_ee('EE::Autocomplete::UsersFinder') Autocomplete::UsersFinder.prepend_mod_with('Autocomplete::UsersFinder')

View File

@ -94,4 +94,4 @@ module Ci
end end
end end
Ci::DailyBuildGroupReportResultsFinder.prepend_if_ee('::EE::Ci::DailyBuildGroupReportResultsFinder') Ci::DailyBuildGroupReportResultsFinder.prepend_mod_with('Ci::DailyBuildGroupReportResultsFinder')

View File

@ -19,4 +19,4 @@ class ForkTargetsFinder
attr_reader :project, :user attr_reader :project, :user
end end
ForkTargetsFinder.prepend_if_ee('EE::ForkTargetsFinder') ForkTargetsFinder.prepend_mod_with('ForkTargetsFinder')

View File

@ -88,4 +88,4 @@ class GroupMembersFinder < UnionFinder
end end
end end
GroupMembersFinder.prepend_if_ee('EE::GroupMembersFinder') GroupMembersFinder.prepend_mod_with('GroupMembersFinder')

View File

@ -126,4 +126,4 @@ class GroupProjectsFinder < ProjectsFinder
end end
end end
GroupProjectsFinder.prepend_if_ee('EE::GroupProjectsFinder') GroupProjectsFinder.prepend_mod_with('GroupProjectsFinder')

View File

@ -117,4 +117,4 @@ class IssuesFinder < IssuableFinder
end end
end end
IssuesFinder.prepend_if_ee('EE::IssuesFinder') IssuesFinder.prepend_mod_with('IssuesFinder')

View File

@ -45,4 +45,4 @@ class IssuesFinder
end end
end end
IssuesFinder::Params.prepend_if_ee('EE::IssuesFinder::Params') IssuesFinder::Params.prepend_mod_with('IssuesFinder::Params')

View File

@ -56,4 +56,4 @@ class LicenseTemplateFinder
end end
end end
LicenseTemplateFinder.prepend_if_ee('::EE::LicenseTemplateFinder') LicenseTemplateFinder.prepend_mod_with('LicenseTemplateFinder')

View File

@ -220,4 +220,4 @@ class MergeRequestsFinder < IssuableFinder
end end
end end
MergeRequestsFinder.prepend_if_ee('EE::MergeRequestsFinder') MergeRequestsFinder.prepend_mod_with('MergeRequestsFinder')

View File

@ -60,4 +60,4 @@ module Namespaces
end end
end end
Namespaces::ProjectsFinder.prepend_if_ee('::EE::Namespaces::ProjectsFinder') Namespaces::ProjectsFinder.prepend_mod_with('Namespaces::ProjectsFinder')

View File

@ -183,4 +183,4 @@ class NotesFinder
end end
end end
NotesFinder.prepend_if_ee('EE::NotesFinder') NotesFinder.prepend_mod_with('NotesFinder')

View File

@ -247,4 +247,4 @@ class ProjectsFinder < UnionFinder
end end
end end
ProjectsFinder.prepend_if_ee('::EE::ProjectsFinder') ProjectsFinder.prepend_mod_with('ProjectsFinder')

View File

@ -221,4 +221,4 @@ class SnippetsFinder < UnionFinder
end end
end end
SnippetsFinder.prepend_if_ee('EE::SnippetsFinder') SnippetsFinder.prepend_mod_with('SnippetsFinder')

View File

@ -70,4 +70,4 @@ class TemplateFinder
end end
end end
TemplateFinder.prepend_if_ee('::EE::TemplateFinder') TemplateFinder.prepend_mod_with('TemplateFinder')

View File

@ -215,4 +215,4 @@ class TodosFinder
end end
end end
TodosFinder.prepend_if_ee('EE::TodosFinder') TodosFinder.prepend_mod_with('TodosFinder')

View File

@ -143,4 +143,4 @@ class UsersFinder
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
end end
UsersFinder.prepend_if_ee('EE::UsersFinder') UsersFinder.prepend_mod_with('UsersFinder')

View File

@ -170,7 +170,7 @@ class GitlabSchema < GraphQL::Schema
end end
end end
GitlabSchema.prepend_if_ee('EE::GitlabSchema') # rubocop: disable Cop/InjectEnterpriseEditionModule GitlabSchema.prepend_mod_with('GitlabSchema') # rubocop: disable Cop/InjectEnterpriseEditionModule
# Force the schema to load as a workaround for intermittent errors we # Force the schema to load as a workaround for intermittent errors we
# see due to a lack of thread safety. # see due to a lack of thread safety.

View File

@ -34,4 +34,4 @@ module Mutations
end end
end end
Mutations::AlertManagement::HttpIntegration::Create.prepend_if_ee('::EE::Mutations::AlertManagement::HttpIntegration::Create') Mutations::AlertManagement::HttpIntegration::Create.prepend_mod_with('Mutations::AlertManagement::HttpIntegration::Create')

View File

@ -33,4 +33,4 @@ module Mutations
end end
end end
Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase.prepend_if_ee('::EE::Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase') Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase.prepend_mod_with('Mutations::AlertManagement::HttpIntegration::HttpIntegrationBase')

Some files were not shown because too many files have changed in this diff Show More