From e231a129a349ea6c8bb5f51e18ee7d8717b7d82c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 31 Jan 2025 21:12:19 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../layout/empty_line_after_magic_comment.yml | 1 - .../todos/components/todo_item.vue | 20 +++++- .../components/work_item_actions.vue | 2 +- .../concerns/projects/look_ahead_preloads.rb | 4 +- .../description_template_content_resolver.rb | 22 ++++++ .../description_templates_resolver.rb | 56 +++++++++++---- app/graphql/types/query_type.rb | 7 ++ ...description_template_content_input_type.rb | 16 +++++ .../work_items/description_template_type.rb | 6 +- app/models/ci/runner.rb | 20 ------ .../fe_search_build_by_name.yml | 2 +- .../populate_and_use_build_names_table.yml | 4 +- ...enable-gitlab-advanced-sast-by-default.yml | 22 ++++++ ...eys_from_application_settings_if_exists.rb | 19 +++++ db/schema_migrations/20250130100818 | 1 + doc/administration/incoming_email.md | 4 +- doc/administration/load_balancer.md | 2 +- doc/administration/object_storage.md | 4 +- doc/api/graphql/reference/index.md | 34 +++++++-- doc/api/group_access_tokens.md | 2 +- doc/api/personal_access_tokens.md | 40 ++++++++--- doc/api/project_access_tokens.md | 4 +- doc/api/project_import_export.md | 2 +- doc/development/ai_architecture.md | 2 +- doc/development/api_graphql_styleguide.md | 2 +- doc/development/api_styleguide.md | 6 +- doc/development/cascading_settings.md | 2 +- doc/development/chatops_on_gitlabcom.md | 2 +- .../site_architecture/global_nav.md | 21 +----- doc/development/features_inside_dot_gitlab.md | 2 +- doc/development/index.md | 2 +- doc/development/tracing.md | 2 +- doc/development/ux/index.md | 2 +- doc/integration/clickhouse.md | 2 +- doc/update/breaking_windows.md | 1 + doc/update/deprecations.md | 24 +++++++ .../sast/gitlab_advanced_sast.md | 7 ++ doc/user/gitlab_duo/data_usage.md | 2 +- lib/api/ci/helpers/runner.rb | 6 -- lib/api/ci/runner.rb | 4 -- lib/web_ide/settings_sync.rb | 24 ++++++- locale/gitlab.pot | 3 - .../work_items/work_item_detail_spec.rb | 16 +++-- .../todos/components/todo_item_spec.js | 25 ++++++- .../components/work_item_actions_spec.js | 6 ++ .../description_templates_resolver_spec.rb | 64 ----------------- .../description_template_type_spec.rb | 2 +- spec/helpers/ide_helper_spec.rb | 2 +- spec/lib/api/ci/helpers/runner_spec.rb | 22 ------ spec/lib/web_ide/settings_sync_spec.rb | 68 ++++++++++++++---- .../api/ci/runner/jobs_request_post_spec.rb | 59 ---------------- .../api/ci/runner/runners_verify_post_spec.rb | 67 ------------------ .../work_item_description_templates_spec.rb | 61 ++++++++-------- .../api/graphql/projects/projects_spec.rb | 8 +-- .../user/contributed_projects_query_spec.rb | 8 +-- .../user/starred_projects_query_spec.rb | 8 +-- ..._item_description_template_content_spec.rb | 70 +++++++++++++++++++ .../types/query_type_shared_context.rb | 1 + 58 files changed, 508 insertions(+), 389 deletions(-) create mode 100644 app/graphql/resolvers/work_items/description_template_content_resolver.rb create mode 100644 app/graphql/types/work_items/description_template_content_input_type.rb rename config/feature_flags/{gitlab_com_derisk => beta}/fe_search_build_by_name.yml (93%) rename config/feature_flags/{gitlab_com_derisk => beta}/populate_and_use_build_names_table.yml (91%) create mode 100644 data/deprecations/17-9-enable-gitlab-advanced-sast-by-default.yml create mode 100644 db/post_migrate/20250130100818_remove_cloud_connector_keys_from_application_settings_if_exists.rb create mode 100644 db/schema_migrations/20250130100818 delete mode 100644 spec/graphql/resolvers/work_items/description_templates_resolver_spec.rb create mode 100644 spec/requests/api/graphql/work_item_description_template_content_spec.rb diff --git a/.rubocop_todo/layout/empty_line_after_magic_comment.yml b/.rubocop_todo/layout/empty_line_after_magic_comment.yml index 7b4bdcf7b68..aff118f96ec 100644 --- a/.rubocop_todo/layout/empty_line_after_magic_comment.yml +++ b/.rubocop_todo/layout/empty_line_after_magic_comment.yml @@ -250,7 +250,6 @@ Layout/EmptyLineAfterMagicComment: - 'ee/spec/lib/gitlab/middleware/ip_restrictor_spec.rb' - 'ee/spec/lib/gitlab/search/client_spec.rb' - 'ee/spec/lib/gitlab/spdx/catalogue_spec.rb' - - 'ee/spec/lib/system_check/app/advanced_search_migrations_check_spec.rb' - 'ee/spec/lib/system_check/geo/http_connection_check_spec.rb' - 'ee/spec/models/analytics/cycle_analytics/aggregation_context_spec.rb' - 'ee/spec/models/ci/minutes/quota_spec.rb' diff --git a/app/assets/javascripts/todos/components/todo_item.vue b/app/assets/javascripts/todos/components/todo_item.vue index bedcaa0be17..872529823da 100644 --- a/app/assets/javascripts/todos/components/todo_item.vue +++ b/app/assets/javascripts/todos/components/todo_item.vue @@ -1,10 +1,11 @@