Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
248492cc57
commit
9fe1a4945b
13
.rubocop.yml
13
.rubocop.yml
|
|
@ -966,3 +966,16 @@ Cop/FeatureFlagUsage:
|
|||
Style/ArgumentsForwarding:
|
||||
Enabled: true
|
||||
AllowOnlyRestArgument: false
|
||||
|
||||
Search/NamespacedClass:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- 'config/**/*.rb'
|
||||
- 'db/**/*.rb'
|
||||
- 'ee/db/**/*.rb'
|
||||
- 'ee/bin/**/*'
|
||||
- 'ee/elastic/**/*.rb' # Advanced Search migrations issue: <>
|
||||
- 'scripts/**/*'
|
||||
- 'spec/migrations/**/*.rb'
|
||||
- 'app/experiments/**/*_experiment.rb'
|
||||
- 'ee/app/experiments/**/*_experiment.rb'
|
||||
|
|
@ -0,0 +1,231 @@
|
|||
---
|
||||
Search/NamespacedClass:
|
||||
Exclude:
|
||||
- 'app/controllers/concerns/search_rate_limitable.rb'
|
||||
- 'app/controllers/search_controller.rb'
|
||||
- 'app/graphql/resolvers/concerns/project_search_arguments.rb'
|
||||
- 'app/graphql/resolvers/concerns/search_arguments.rb'
|
||||
- 'app/graphql/types/issuable_searchable_field_enum.rb'
|
||||
- 'app/helpers/enable_search_settings_helper.rb'
|
||||
- 'app/helpers/search_helper.rb'
|
||||
- 'app/models/concerns/optionally_search.rb'
|
||||
- 'app/models/concerns/pg_full_text_searchable.rb'
|
||||
- 'app/models/issues/search_data.rb'
|
||||
- 'app/presenters/packages/nuget/search_results_presenter.rb'
|
||||
- 'app/presenters/search_service_presenter.rb'
|
||||
- 'app/services/packages/conan/search_service.rb'
|
||||
- 'app/services/packages/nuget/search_service.rb'
|
||||
- 'app/services/search_service.rb'
|
||||
- 'ee/app/controllers/admin/elasticsearch_controller.rb'
|
||||
- 'ee/app/controllers/ee/search_controller.rb'
|
||||
- 'ee/app/graphql/types/iteration_searchable_field_enum.rb'
|
||||
- 'ee/app/helpers/ee/search_helper.rb'
|
||||
- 'ee/app/models/concerns/elastic/application_versioned_search.rb'
|
||||
- 'ee/app/models/concerns/elastic/namespace_update.rb'
|
||||
- 'ee/app/models/concerns/elastic/projects_search.rb'
|
||||
- 'ee/app/models/concerns/elastic/repositories_search.rb'
|
||||
- 'ee/app/models/concerns/elastic/snippets_search.rb'
|
||||
- 'ee/app/models/concerns/elastic/wiki_repositories_search.rb'
|
||||
- 'ee/app/models/concerns/elasticsearch_indexed_container.rb'
|
||||
- 'ee/app/models/concerns/zoekt/searchable_repository.rb'
|
||||
- 'ee/app/models/elastic/group_index_status.rb'
|
||||
- 'ee/app/models/elastic/index_setting.rb'
|
||||
- 'ee/app/models/elastic/migration_record.rb'
|
||||
- 'ee/app/models/elastic/reindexing_slice.rb'
|
||||
- 'ee/app/models/elastic/reindexing_subtask.rb'
|
||||
- 'ee/app/models/elastic/reindexing_task.rb'
|
||||
- 'ee/app/models/elasticsearch_indexed_namespace.rb'
|
||||
- 'ee/app/models/elasticsearch_indexed_project.rb'
|
||||
- 'ee/app/models/zoekt/indexed_namespace.rb'
|
||||
- 'ee/app/models/zoekt/shard.rb'
|
||||
- 'ee/app/presenters/ee/search_service_presenter.rb'
|
||||
- 'ee/app/services/ee/search_service.rb'
|
||||
- 'ee/app/services/elastic/bookkeeping_shard_service.rb'
|
||||
- 'ee/app/services/elastic/cluster_reindexing_service.rb'
|
||||
- 'ee/app/services/elastic/data_migration_service.rb'
|
||||
- 'ee/app/services/elastic/index_projects_by_id_service.rb'
|
||||
- 'ee/app/services/elastic/index_projects_by_range_service.rb'
|
||||
- 'ee/app/services/elastic/index_projects_service.rb'
|
||||
- 'ee/app/services/elastic/indexing_control_service.rb'
|
||||
- 'ee/app/services/elastic/process_bookkeeping_service.rb'
|
||||
- 'ee/app/services/elastic/process_initial_bookkeeping_service.rb'
|
||||
- 'ee/app/services/integrations/slack_options/label_search_handler.rb'
|
||||
- 'ee/app/services/integrations/slack_options/user_search_handler.rb'
|
||||
- 'ee/app/services/protected_environments/search_service.rb'
|
||||
- 'ee/app/workers/concerns/elastic/bulk_cron_worker.rb'
|
||||
- 'ee/app/workers/concerns/elastic/indexing_control.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_backfill_helper.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_helper.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_obsolete.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_options.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_remove_fields_helper.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_state.rb'
|
||||
- 'ee/app/workers/concerns/elastic/migration_update_mappings_helper.rb'
|
||||
- 'ee/app/workers/elastic/migration_worker.rb'
|
||||
- 'ee/app/workers/elastic/namespace_update_worker.rb'
|
||||
- 'ee/app/workers/elastic/project_transfer_worker.rb'
|
||||
- 'ee/app/workers/elastic_association_indexer_worker.rb'
|
||||
- 'ee/app/workers/elastic_cluster_reindexing_cron_worker.rb'
|
||||
- 'ee/app/workers/elastic_commit_indexer_worker.rb'
|
||||
- 'ee/app/workers/elastic_delete_project_worker.rb'
|
||||
- 'ee/app/workers/elastic_full_index_worker.rb'
|
||||
- 'ee/app/workers/elastic_index_bulk_cron_worker.rb'
|
||||
- 'ee/app/workers/elastic_index_initial_bulk_cron_worker.rb'
|
||||
- 'ee/app/workers/elastic_indexing_control_worker.rb'
|
||||
- 'ee/app/workers/elastic_namespace_indexer_worker.rb'
|
||||
- 'ee/app/workers/elastic_namespace_rollout_worker.rb'
|
||||
- 'ee/app/workers/elastic_remove_expired_namespace_subscriptions_from_index_cron_worker.rb'
|
||||
- 'ee/app/workers/zoekt/indexer_worker.rb'
|
||||
- 'ee/lib/api/elasticsearch_indexed_namespaces.rb'
|
||||
- 'ee/lib/ee/api/helpers/search_helpers.rb'
|
||||
- 'ee/lib/ee/gitlab/group_search_results.rb'
|
||||
- 'ee/lib/ee/gitlab/search/parsed_query.rb'
|
||||
- 'ee/lib/ee/gitlab/search_context.rb'
|
||||
- 'ee/lib/ee/gitlab/search_results.rb'
|
||||
- 'ee/lib/ee/gitlab/snippet_search_results.rb'
|
||||
- 'ee/lib/elastic/as_json.rb'
|
||||
- 'ee/lib/elastic/class_proxy_util.rb'
|
||||
- 'ee/lib/elastic/instance_proxy_util.rb'
|
||||
- 'ee/lib/elastic/latest/application_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/application_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/commit_config.rb'
|
||||
- 'ee/lib/elastic/latest/config.rb'
|
||||
- 'ee/lib/elastic/latest/custom_language_analyzers.rb'
|
||||
- 'ee/lib/elastic/latest/document_should_be_deleted_from_index_error.rb'
|
||||
- 'ee/lib/elastic/latest/git_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/git_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/issue_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/issue_config.rb'
|
||||
- 'ee/lib/elastic/latest/issue_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/merge_request_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/merge_request_config.rb'
|
||||
- 'ee/lib/elastic/latest/merge_request_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/milestone_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/milestone_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/note_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/note_config.rb'
|
||||
- 'ee/lib/elastic/latest/note_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/project_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/project_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/project_wiki_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/project_wiki_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/query_context.rb'
|
||||
- 'ee/lib/elastic/latest/repository_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/repository_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/routing.rb'
|
||||
- 'ee/lib/elastic/latest/snippet_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/snippet_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/state_filter.rb'
|
||||
- 'ee/lib/elastic/latest/user_class_proxy.rb'
|
||||
- 'ee/lib/elastic/latest/user_config.rb'
|
||||
- 'ee/lib/elastic/latest/user_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/metrics_update_service.rb'
|
||||
- 'ee/lib/elastic/migration.rb'
|
||||
- 'ee/lib/elastic/multi_version_class_proxy.rb'
|
||||
- 'ee/lib/elastic/multi_version_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/multi_version_util.rb'
|
||||
- 'ee/lib/elastic/timeout_error.rb'
|
||||
- 'ee/lib/elastic/v12p1/application_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/application_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/config.rb'
|
||||
- 'ee/lib/elastic/v12p1/issue_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/issue_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/merge_request_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/merge_request_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/milestone_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/milestone_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/note_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/note_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/project_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/project_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/project_wiki_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/project_wiki_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/repository_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/repository_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/routing.rb'
|
||||
- 'ee/lib/elastic/v12p1/snippet_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/snippet_instance_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/user_class_proxy.rb'
|
||||
- 'ee/lib/elastic/v12p1/user_instance_proxy.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/adapter/active_record/importing.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/adapter/multiple/records.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/client.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/indexing/instance_methods.rb'
|
||||
- 'ee/lib/gem_extensions/elasticsearch/model/response/records.rb'
|
||||
- 'ee/lib/gitlab/elastic/bool_expr.rb'
|
||||
- 'ee/lib/gitlab/elastic/bulk_indexer.rb'
|
||||
- 'ee/lib/gitlab/elastic/client.rb'
|
||||
- 'ee/lib/gitlab/elastic/document_reference.rb'
|
||||
- 'ee/lib/gitlab/elastic/elasticsearch_enabled_cache.rb'
|
||||
- 'ee/lib/gitlab/elastic/expr_name.rb'
|
||||
- 'ee/lib/gitlab/elastic/group_search_results.rb'
|
||||
- 'ee/lib/gitlab/elastic/helper.rb'
|
||||
- 'ee/lib/gitlab/elastic/indexer.rb'
|
||||
- 'ee/lib/gitlab/elastic/project_search_results.rb'
|
||||
- 'ee/lib/gitlab/elastic/search_results.rb'
|
||||
- 'ee/lib/gitlab/elastic/snippet_search_results.rb'
|
||||
- 'ee/lib/gitlab/metrics/global_search_indexing_slis.rb'
|
||||
- 'ee/lib/gitlab/metrics/samplers/global_search_sampler.rb'
|
||||
- 'ee/lib/gitlab/search/aggregation.rb'
|
||||
- 'ee/lib/gitlab/search/aggregation_parser.rb'
|
||||
- 'ee/lib/gitlab/search/client.rb'
|
||||
- 'ee/lib/gitlab/search/index_curator.rb'
|
||||
- 'ee/lib/gitlab/search/recent_epics.rb'
|
||||
- 'ee/lib/gitlab/usage/metrics/instrumentations/advanced_search/build_type_metric.rb'
|
||||
- 'ee/lib/gitlab/usage/metrics/instrumentations/advanced_search/distribution_metric.rb'
|
||||
- 'ee/lib/gitlab/usage/metrics/instrumentations/advanced_search/lucene_version_metric.rb'
|
||||
- 'ee/lib/gitlab/usage/metrics/instrumentations/advanced_search/version_metric.rb'
|
||||
- 'ee/lib/gitlab/zoekt/search_results.rb'
|
||||
- 'ee/lib/system_check/app/advanced_search_migrations_check.rb'
|
||||
- 'ee/lib/system_check/app/search_check.rb'
|
||||
- 'ee/lib/zoekt/logger.rb'
|
||||
- 'ee/spec/support/elastic.rb'
|
||||
- 'ee/spec/support/elastic_query_name_inspector.rb'
|
||||
- 'ee/spec/support/helpers/elasticsearch_helpers.rb'
|
||||
- 'ee/spec/support/helpers/search_results_helpers.rb'
|
||||
- 'ee/spec/support/zoekt.rb'
|
||||
- 'lib/api/entities/nuget/search_result.rb'
|
||||
- 'lib/api/entities/nuget/search_result_version.rb'
|
||||
- 'lib/api/entities/nuget/search_results.rb'
|
||||
- 'lib/api/helpers/search_helpers.rb'
|
||||
- 'lib/gitlab/background_migration/backfill_imported_issue_search_data.rb'
|
||||
- 'lib/gitlab/background_migration/backfill_issue_search_data.rb'
|
||||
- 'lib/gitlab/elasticsearch/logger.rb'
|
||||
- 'lib/gitlab/empty_search_results.rb'
|
||||
- 'lib/gitlab/github_import/clients/search_repos.rb'
|
||||
- 'lib/gitlab/group_search_results.rb'
|
||||
- 'lib/gitlab/instrumentation/elasticsearch_transport.rb'
|
||||
- 'lib/gitlab/instrumentation/global_search_api.rb'
|
||||
- 'lib/gitlab/instrumentation/zoekt.rb'
|
||||
- 'lib/gitlab/metrics/elasticsearch_rack_middleware.rb'
|
||||
- 'lib/gitlab/metrics/global_search_slis.rb'
|
||||
- 'lib/gitlab/project_search_results.rb'
|
||||
- 'lib/gitlab/redacted_search_results_logger.rb'
|
||||
- 'lib/gitlab/search/abuse_detection.rb'
|
||||
- 'lib/gitlab/search/abuse_validators/no_abusive_coercion_from_string_validator.rb'
|
||||
- 'lib/gitlab/search/abuse_validators/no_abusive_term_length_validator.rb'
|
||||
- 'lib/gitlab/search/found_blob.rb'
|
||||
- 'lib/gitlab/search/found_wiki_page.rb'
|
||||
- 'lib/gitlab/search/params.rb'
|
||||
- 'lib/gitlab/search/parsed_query.rb'
|
||||
- 'lib/gitlab/search/query.rb'
|
||||
- 'lib/gitlab/search/recent_issues.rb'
|
||||
- 'lib/gitlab/search/recent_items.rb'
|
||||
- 'lib/gitlab/search/recent_merge_requests.rb'
|
||||
- 'lib/gitlab/search/sort_options.rb'
|
||||
- 'lib/gitlab/search_context.rb'
|
||||
- 'lib/gitlab/search_results.rb'
|
||||
- 'lib/gitlab/slash_commands/issue_search.rb'
|
||||
- 'lib/gitlab/slash_commands/presenters/issue_search.rb'
|
||||
- 'lib/gitlab/snippet_search_results.rb'
|
||||
- 'lib/gitlab/usage_data_counters/search_counter.rb'
|
||||
- 'lib/peek/views/elasticsearch.rb'
|
||||
- 'lib/peek/views/zoekt.rb'
|
||||
- 'qa/qa/ee/page/admin/settings/component/elasticsearch.rb'
|
||||
- 'qa/qa/ee/resource/settings/elasticsearch.rb'
|
||||
- 'qa/qa/ee/scenario/test/integration/elasticsearch.rb'
|
||||
- 'qa/qa/page/search/results.rb'
|
||||
- 'qa/qa/runtime/search.rb'
|
||||
- 'spec/support/helpers/filtered_search_helpers.rb'
|
||||
- 'spec/support/helpers/search_helpers.rb'
|
||||
- 'spec/support/helpers/search_settings_helpers.rb'
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
<script>
|
||||
import {
|
||||
GlSearchBoxByType,
|
||||
GlOutsideDirective as Outside,
|
||||
GlIcon,
|
||||
GlToken,
|
||||
GlTooltipDirective,
|
||||
|
|
@ -53,7 +52,7 @@ export default {
|
|||
SEARCH_RESULTS_SCOPE,
|
||||
KBD_HELP,
|
||||
},
|
||||
directives: { Outside, GlTooltip: GlTooltipDirective, GlResizeObserverDirective },
|
||||
directives: { GlTooltip: GlTooltipDirective, GlResizeObserverDirective },
|
||||
components: {
|
||||
GlSearchBoxByType,
|
||||
HeaderSearchDefaultItems,
|
||||
|
|
@ -65,7 +64,6 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
showDropdown: false,
|
||||
isFocused: false,
|
||||
currentFocusIndex: SEARCH_BOX_INDEX,
|
||||
};
|
||||
|
|
@ -91,7 +89,7 @@ export default {
|
|||
return Boolean(gon?.current_username);
|
||||
},
|
||||
showSearchDropdown() {
|
||||
if (!this.showDropdown || !this.isLoggedIn) {
|
||||
if (!this.isFocused || !this.isLoggedIn) {
|
||||
return false;
|
||||
}
|
||||
return this.searchOptions?.length > 0;
|
||||
|
|
@ -108,7 +106,6 @@ export default {
|
|||
}
|
||||
return FIRST_DROPDOWN_INDEX;
|
||||
},
|
||||
|
||||
searchInputDescribeBy() {
|
||||
if (this.isLoggedIn) {
|
||||
return this.$options.i18n.SEARCH_INPUT_DESCRIBE_BY_WITH_DROPDOWN;
|
||||
|
|
@ -160,37 +157,22 @@ export default {
|
|||
methods: {
|
||||
...mapActions(['setSearch', 'fetchAutocompleteOptions', 'clearAutocomplete']),
|
||||
openDropdown() {
|
||||
this.showDropdown = true;
|
||||
this.isFocused = true;
|
||||
this.$emit('expandSearchBar');
|
||||
|
||||
// check isFocused state to avoid firing duplicate events
|
||||
if (!this.isFocused) {
|
||||
this.isFocused = true;
|
||||
this.$emit('expandSearchBar', true);
|
||||
|
||||
Tracking.event(undefined, 'focus_input', {
|
||||
label: 'global_search',
|
||||
property: 'navigation_top',
|
||||
});
|
||||
}
|
||||
},
|
||||
closeDropdown() {
|
||||
this.showDropdown = false;
|
||||
Tracking.event(undefined, 'focus_input', {
|
||||
label: 'global_search',
|
||||
property: 'navigation_top',
|
||||
});
|
||||
},
|
||||
collapseAndCloseSearchBar() {
|
||||
// we need a delay on this method
|
||||
// for the search bar not to remove
|
||||
// the clear button from dom
|
||||
// and register clicks on dropdown items
|
||||
setTimeout(() => {
|
||||
this.showDropdown = false;
|
||||
this.isFocused = false;
|
||||
this.$emit('collapseSearchBar');
|
||||
this.isFocused = false;
|
||||
this.$emit('collapseSearchBar');
|
||||
|
||||
Tracking.event(undefined, 'blur_input', {
|
||||
label: 'global_search',
|
||||
property: 'navigation_top',
|
||||
});
|
||||
}, 200);
|
||||
Tracking.event(undefined, 'blur_input', {
|
||||
label: 'global_search',
|
||||
property: 'navigation_top',
|
||||
});
|
||||
},
|
||||
submitSearch() {
|
||||
if (this.search?.length <= SEARCH_SHORTCUTS_MIN_CHARACTERS && this.currentFocusIndex < 0) {
|
||||
|
|
@ -226,7 +208,6 @@ export default {
|
|||
|
||||
<template>
|
||||
<form
|
||||
v-outside="closeDropdown"
|
||||
role="search"
|
||||
:aria-label="$options.i18n.SEARCH_GITLAB"
|
||||
class="header-search gl-relative gl-rounded-base gl-w-full"
|
||||
|
|
@ -244,12 +225,11 @@ export default {
|
|||
:placeholder="$options.i18n.SEARCH_GITLAB"
|
||||
:aria-activedescendant="currentFocusedId"
|
||||
:aria-describedby="$options.SEARCH_INPUT_DESCRIPTION"
|
||||
@focus="openDropdown"
|
||||
@click="openDropdown"
|
||||
@blur="collapseAndCloseSearchBar"
|
||||
@focusin="openDropdown"
|
||||
@focusout="collapseAndCloseSearchBar"
|
||||
@input="getAutocompleteOptions"
|
||||
@keydown.enter.stop.prevent="submitSearch"
|
||||
@keydown.esc.stop.prevent="closeDropdown"
|
||||
@keydown.esc.stop.prevent="collapseAndCloseSearchBar"
|
||||
/>
|
||||
<gl-token
|
||||
v-if="showScopeHelp"
|
||||
|
|
@ -301,7 +281,6 @@ export default {
|
|||
:max="searchOptions.length - 1"
|
||||
:min="$options.FIRST_DROPDOWN_INDEX"
|
||||
:default-index="defaultIndex"
|
||||
@tab="closeDropdown"
|
||||
/>
|
||||
<header-search-default-items
|
||||
v-if="showDefaultItems"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ export default {
|
|||
class="timeline-entry note note-wrapper discussion-filter-note js-discussion-filter-note"
|
||||
data-qa-selector="discussion_filter_container"
|
||||
>
|
||||
<div class="timeline-icon d-none d-lg-flex">
|
||||
<div
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
>
|
||||
<gl-icon name="comment" />
|
||||
</div>
|
||||
<div class="timeline-content gl-pl-8">
|
||||
|
|
|
|||
|
|
@ -13,7 +13,9 @@ export default {
|
|||
|
||||
<template>
|
||||
<timeline-entry-item class="note note-wrapper" data-qa-selector="skeleton_note_placeholder">
|
||||
<div class="timeline-icon"></div>
|
||||
<div
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
></div>
|
||||
<div class="timeline-content">
|
||||
<div class="note-header"></div>
|
||||
<div class="note-body gl-mt-4"><gl-skeleton-loader /></div>
|
||||
|
|
|
|||
|
|
@ -25,11 +25,18 @@ import axios from '~/lib/utils/axios_utils';
|
|||
import { __ } from '~/locale';
|
||||
import NoteHeader from '~/notes/components/note_header.vue';
|
||||
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
|
||||
import { spriteIcon } from '~/lib/utils/common_utils';
|
||||
import { renderGFM } from '~/behaviors/markdown/render_gfm';
|
||||
import TimelineEntryItem from './timeline_entry_item.vue';
|
||||
|
||||
const MAX_VISIBLE_COMMIT_LIST_COUNT = 3;
|
||||
const MR_ICON_COLORS = {
|
||||
approval: 'gl-bg-green-100 gl-text-green-700',
|
||||
'issue-close': 'gl-bg-red-100 gl-text-red-700',
|
||||
'git-merge': 'gl-bg-blue-100 gl-text-blue-700',
|
||||
};
|
||||
const ICON_COLORS = {
|
||||
'issue-close': 'gl-bg-blue-100 gl-text-blue-700',
|
||||
};
|
||||
|
||||
export default {
|
||||
i18n: {
|
||||
|
|
@ -63,7 +70,7 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['targetNoteHash', 'descriptionVersions']),
|
||||
...mapGetters(['targetNoteHash', 'descriptionVersions', 'getNoteableData']),
|
||||
...mapState(['isLoadingDescriptionVersion']),
|
||||
noteAnchorId() {
|
||||
return `note_${this.note.id}`;
|
||||
|
|
@ -71,9 +78,6 @@ export default {
|
|||
isTargetNote() {
|
||||
return this.targetNoteHash === this.noteAnchorId;
|
||||
},
|
||||
iconHtml() {
|
||||
return spriteIcon(this.note.system_note_icon_name);
|
||||
},
|
||||
toggleIcon() {
|
||||
return this.expanded ? 'chevron-up' : 'chevron-down';
|
||||
},
|
||||
|
|
@ -87,6 +91,12 @@ export default {
|
|||
descriptionVersion() {
|
||||
return this.descriptionVersions[this.note.description_version_id];
|
||||
},
|
||||
iconBgClass() {
|
||||
const colors =
|
||||
this.getNoteableData.noteableType === 'MergeRequest' ? MR_ICON_COLORS : ICON_COLORS;
|
||||
|
||||
return colors[this.note.system_note_icon_name] || 'gl-bg-gray-50 gl-text-gray-600';
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
renderGFM(this.$refs['gfm-content']);
|
||||
|
|
@ -108,9 +118,6 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
safeHtmlConfig: {
|
||||
ADD_TAGS: ['use'], // to support icon SVGs
|
||||
},
|
||||
userColorSchemeClass: window.gon.user_color_scheme,
|
||||
};
|
||||
</script>
|
||||
|
|
@ -121,7 +128,16 @@ export default {
|
|||
:class="{ target: isTargetNote, 'pr-0': shouldShowDescriptionVersion }"
|
||||
class="note system-note note-wrapper"
|
||||
>
|
||||
<div v-safe-html:[$options.safeHtmlConfig]="iconHtml" class="timeline-icon"></div>
|
||||
<div
|
||||
:class="iconBgClass"
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6"
|
||||
>
|
||||
<gl-icon
|
||||
v-if="note.system_note_icon_name"
|
||||
:name="note.system_note_icon_name"
|
||||
data-testid="timeline-icon"
|
||||
/>
|
||||
</div>
|
||||
<div class="timeline-content">
|
||||
<div class="note-header">
|
||||
<note-header
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<template>
|
||||
<div class="timeline-icon"><slot></slot></div>
|
||||
<div
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,9 @@ export default {
|
|||
|
||||
<template>
|
||||
<timeline-entry-item class="system-note note-wrapper">
|
||||
<div class="timeline-icon">
|
||||
<div
|
||||
class="gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
>
|
||||
<gl-icon :name="icon" />
|
||||
</div>
|
||||
<div class="timeline-content">
|
||||
|
|
|
|||
|
|
@ -127,7 +127,11 @@ export default {
|
|||
:class="{ target: isTargetNote, 'pr-0': shouldShowDescriptionVersion }"
|
||||
class="note system-note note-wrapper"
|
||||
>
|
||||
<div class="timeline-icon"><gl-icon :name="note.systemNoteIconName" /></div>
|
||||
<div
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
>
|
||||
<gl-icon :name="note.systemNoteIconName" />
|
||||
</div>
|
||||
<div class="timeline-content">
|
||||
<div class="note-header">
|
||||
<note-header
|
||||
|
|
|
|||
|
|
@ -30,7 +30,9 @@ export default {
|
|||
|
||||
<template>
|
||||
<li class="timeline-entry note note-wrapper discussion-filter-note">
|
||||
<div class="timeline-icon gl-display-none gl-lg-display-flex">
|
||||
<div
|
||||
class="gl-float-left gl--flex-center gl-rounded-full gl-mt-n1 gl-ml-2 gl-w-6 gl-h-6 gl-bg-gray-50 gl-text-gray-600"
|
||||
>
|
||||
<gl-icon name="comment" />
|
||||
</div>
|
||||
<div class="timeline-content gl-pl-8">
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
width: $super-sidebar-width;
|
||||
z-index: $super-sidebar-z-index;
|
||||
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
@include gl-focus;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -450,40 +450,6 @@ $system-note-icon-m-left: $avatar-m-left + $icon-size-diff / $avatar-m-ratio;
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.timeline-icon {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.system-note,
|
||||
.discussion-filter-note {
|
||||
.timeline-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: $gray-50;
|
||||
width: $system-note-icon-size;
|
||||
height: $system-note-icon-size;
|
||||
border: 1px solid $gray-50;
|
||||
border-radius: $system-note-icon-size;
|
||||
margin: -$gl-spacing-scale-1 0 0 $gl-spacing-scale-2;
|
||||
|
||||
svg {
|
||||
width: $system-note-svg-size;
|
||||
height: $system-note-svg-size;
|
||||
fill: $gray-600;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.discussion-filter-note {
|
||||
.timeline-icon {
|
||||
width: $system-note-icon-size;
|
||||
height: $system-note-icon-size;
|
||||
margin-top: -8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card .notes {
|
||||
|
|
|
|||
|
|
@ -159,6 +159,22 @@
|
|||
background-color: $search-and-nav-links-a30 !important;
|
||||
}
|
||||
|
||||
&.is-focused {
|
||||
input {
|
||||
background-color: $white;
|
||||
color: $gl-text-color !important;
|
||||
box-shadow: inset 0 0 0 1px $gray-900;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 0 0 1px $gray-900, 0 0 0 1px $white, 0 0 0 3px $blue-400;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $gray-400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
svg.gl-search-box-by-type-search-icon {
|
||||
color: $search-and-nav-links-a80;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@ module Ci
|
|||
Settings.cron_jobs['pipeline_schedule_worker']['cron']
|
||||
end
|
||||
|
||||
# Using destroy instead of before_destroy as we want nullify_dependent_associations_in_batches
|
||||
# to run first and not in a transaction block. This prevents timeouts for schedules with numerous pipelines
|
||||
def destroy
|
||||
nullify_dependent_associations_in_batches
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
note_id: note.id } }
|
||||
.timeline-entry-inner
|
||||
- if note.system
|
||||
.timeline-icon
|
||||
.gl-float-left.gl--flex-center.gl-rounded-full.gl-mt-n1.gl-ml-2.gl-w-6.gl-h-6.gl-bg-gray-50.gl-text-gray-600
|
||||
= icon_for_system_note(note)
|
||||
- else
|
||||
.timeline-avatar.gl-float-left
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
name: elasticsearch_use_traversal_id_optimization
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108135
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/391286
|
||||
milestone: '15.9'
|
||||
type: development
|
||||
group: group::global search
|
||||
default_enabled: false
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: index, concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
description: Require approvals prior to deploying to a Protected Environment
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: reference
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: reference
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: concepts, howto
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: reference
|
||||
disqus_identifier: 'https://docs.gitlab.com/ee/ci/environments.html'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: tutorial
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: tutorial
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
description: Control the job concurrency in GitLab CI/CD
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
stage: Configure
|
||||
stage: Deploy
|
||||
group: Incubation
|
||||
info: Cloud Seed (formerly 5mp) is a GitLab Incubation Engineering program. No technical writer assigned to this group.
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: reference
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
type: reference
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: A tutorial using Flux with Project Access Tokens
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
type: reference
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -197,11 +197,17 @@ After you set up your identity provider to work with GitLab, you must configure
|
|||
|
||||
1. On the top bar, select **Main menu > Groups** and find your group.
|
||||
1. On the left sidebar, select **Settings > SAML SSO**.
|
||||
1. Find the SSO URL from your identity provider and enter it the **Identity provider single sign-on URL** field.
|
||||
1. Find and enter the fingerprint for the SAML token signing certificate in the **Certificate** field.
|
||||
1. Select the access level to be applied to newly added users in the **Default membership role** field. The default access level is 'Guest'.
|
||||
1. Complete the fields:
|
||||
- In the **Identity provider single sign-on URL** field, enter the SSO URL from your identity provider.
|
||||
- In the **Certificate fingerprint** field, enter the fingerprint for the SAML token signing certificate.
|
||||
1. In the **Default membership role** field, select the role to assign to new users.
|
||||
The default role is **Guest**.
|
||||
1. Select the **Enable SAML authentication for this group** checkbox.
|
||||
1. Select the **Save changes** button.
|
||||
1. Optional. Select:
|
||||
- **Enforce SSO-only authentication for web activity for this group**.
|
||||
- **Enforce SSO-only authentication for Git activity for this group**.
|
||||
For more information, see the [SSO enforcement documentation](#sso-enforcement).
|
||||
1. Select **Save changes**.
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
stage: Configure
|
||||
group: Configure
|
||||
stage: Deploy
|
||||
group: Environments
|
||||
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
||||
---
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue