From 91a8a89bd67a2593f1cd5bff66bb5eb4cf123d7a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 21 Mar 2024 15:10:36 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .graphqlrc | 1 + .../work_item_attributes_wrapper.vue | 28 ++++++- .../javascripts/work_items/constants.js | 1 + app/models/group.rb | 4 + .../git/process_ref_changes_service.rb | 42 +++++++++- .../resource_access_tokens/create_service.rb | 3 +- .../unassign_issuables_worker.rb | 8 +- config/webpack.config.js | 35 +-------- config/webpack.constants.js | 35 ++++++++- ...security_scans_with_empty_finding_data.yml | 2 +- ..._security_scans_with_empty_finding_data.rb | 24 ++++++ db/schema_migrations/20240320102510 | 1 + .../geo/secondary_proxy/index.md | 52 +++++++------ doc/development/cloud_connector/index.md | 4 +- .../content_security_policy/directives.rb | 2 +- locale/gitlab.pot | 6 ++ package.json | 1 + scripts/review_apps/base-config.yaml | 4 +- spec/frontend/work_items/mock_data.js | 13 ++++ .../git/process_ref_changes_service_spec.rb | 28 ++++++- .../create_service_spec.rb | 23 +++++- .../features/work_items_shared_examples.rb | 61 +++++++++++++++ vite.config.js | 76 +++++++++++++++++++ 23 files changed, 374 insertions(+), 80 deletions(-) create mode 100644 db/post_migrate/20240320102510_finalize_purge_security_scans_with_empty_finding_data.rb create mode 100644 db/schema_migrations/20240320102510 diff --git a/.graphqlrc b/.graphqlrc index 1debc7ab4d3..19c8f2112fa 100644 --- a/.graphqlrc +++ b/.graphqlrc @@ -4,4 +4,5 @@ schema: documents: - ./app/assets/javascripts/**/*.graphql - ./ee/app/assets/javascripts/**/*.graphql + - ./jh/app/assets/javascripts/**/*.graphql - ./app/graphql/queries/**/*.graphql diff --git a/app/assets/javascripts/work_items/components/work_item_attributes_wrapper.vue b/app/assets/javascripts/work_items/components/work_item_attributes_wrapper.vue index 409436ca6fa..e5e42998efd 100644 --- a/app/assets/javascripts/work_items/components/work_item_attributes_wrapper.vue +++ b/app/assets/javascripts/work_items/components/work_item_attributes_wrapper.vue @@ -12,8 +12,10 @@ import { WIDGET_TYPE_PROGRESS, WIDGET_TYPE_START_AND_DUE_DATE, WIDGET_TYPE_TIME_TRACKING, + WIDGET_TYPE_ROLLEDUP_DATES, WIDGET_TYPE_WEIGHT, WIDGET_TYPE_COLOR, + WORK_ITEM_TYPE_VALUE_EPIC, } from '../constants'; import WorkItemAssigneesInline from './work_item_assignees_inline.vue'; import WorkItemAssigneesWithEdit from './work_item_assignees_with_edit.vue'; @@ -61,6 +63,8 @@ export default { import('ee_component/work_items/components/work_item_color_inline.vue'), WorkItemColorWithEdit: () => import('ee_component/work_items/components/work_item_color_with_edit.vue'), + WorkItemRolledupDates: () => + import('ee_component/work_items/components/work_item_rolledup_dates.vue'), }, mixins: [glFeatureFlagMixin()], props: { @@ -92,6 +96,9 @@ export default { workItemDueDate() { return this.isWidgetPresent(WIDGET_TYPE_START_AND_DUE_DATE); }, + workItemRolledupDates() { + return this.isWidgetPresent(WIDGET_TYPE_ROLLEDUP_DATES); + }, workItemWeight() { return this.isWidgetPresent(WIDGET_TYPE_WEIGHT); }, @@ -113,6 +120,11 @@ export default { workItemMilestone() { return this.isWidgetPresent(WIDGET_TYPE_MILESTONE); }, + showRolledupDates() { + return ( + this.glFeatures.workItemsRolledupDates && this.workItemType === WORK_ITEM_TYPE_VALUE_EPIC + ); + }, workItemParent() { return this.isWidgetPresent(WIDGET_TYPE_HIERARCHY)?.parent; }, @@ -211,6 +223,20 @@ export default { @error="$emit('error', $event)" /> + -