From 30f908f6b9689ecda34474e68c55ce4dba1a9974 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 14 Dec 2021 21:13:08 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../ci_lint/components/ci_lint.vue | 2 +- app/assets/javascripts/ide/services/index.js | 2 +- .../components/commit/commit_section.vue | 8 +- .../components/file_nav/branch_switcher.vue | 6 +- .../components/header/pipeline_status.vue | 4 +- .../components/header/validation_segment.vue | 2 +- .../components/pipeline_editor_tabs.vue | 2 +- .../{ => client}/lint_ci.mutation.graphql | 0 .../update_app_status.mutation.graphql | 0 .../update_current_branch.mutation.graphql | 0 ...update_last_commit_branch.mutation.graphql | 0 .../update_pipeline_etag.mutation.graphql | 0 ...aphql => available_branches.query.graphql} | 0 ...ent.graphql => blob_content.query.graphql} | 0 ...config.graphql => ci_config.query.graphql} | 0 ...tatus.graphql => app_status.query.graphql} | 0 ...h.graphql => current_branch.query.graphql} | 0 ...ag.graphql => pipeline_etag.query.graphql} | 0 ...ipeline.graphql => pipeline.query.graphql} | 0 .../pipeline_editor/graphql/resolvers.js | 6 +- .../javascripts/pipeline_editor/index.js | 6 +- .../pipeline_editor/pipeline_editor_app.vue | 10 +- app/experiments/application_experiment.rb | 17 ++ .../settings/access_tokens/index.html.haml | 2 +- .../members/_filter_2fa_dropdown.html.haml | 11 - ...3102111_drop_ci_pipelines_mr_metrics_fk.rb | 15 ++ db/schema_migrations/20211213102111 | 1 + db/structure.sql | 3 - doc/api/resource_access_tokens.md | 2 +- doc/development/fe_guide/graphql.md | 4 +- doc/user/profile/account/delete_account.md | 2 +- .../project/settings/project_access_tokens.md | 213 +++++++++--------- lib/feature.rb | 2 +- lib/feature/definition.rb | 18 ++ lib/feature/shared.rb | 1 + .../database/gitlab_loose_foreign_keys.yml | 4 + locale/gitlab.pot | 6 - .../application_experiment_spec.rb | 69 ++++++ .../ci_lint/components/ci_lint_spec.js | 2 +- spec/frontend/ide/services/index_spec.js | 2 +- .../components/commit/commit_section_spec.js | 2 +- .../file-nav/branch_switcher_spec.js | 2 +- .../components/header/pipeline_status_spec.js | 2 +- .../pipeline_editor_app_spec.js | 7 +- spec/lib/feature/definition_spec.rb | 72 +++++- spec/lib/feature_spec.rb | 87 +++++++ .../lib/gitlab/lograge/custom_options_spec.rb | 18 +- spec/models/merge_request/metrics_spec.rb | 6 + spec/models/terraform/state_version_spec.rb | 5 + spec/support/helpers/snowplow_helpers.rb | 14 +- .../have_loose_foreign_key.rb | 25 ++ 51 files changed, 491 insertions(+), 171 deletions(-) rename app/assets/javascripts/pipeline_editor/graphql/mutations/{ => client}/lint_ci.mutation.graphql (100%) rename app/assets/javascripts/pipeline_editor/graphql/mutations/{ => client}/update_app_status.mutation.graphql (100%) rename app/assets/javascripts/pipeline_editor/graphql/mutations/{ => client}/update_current_branch.mutation.graphql (100%) rename app/assets/javascripts/pipeline_editor/graphql/mutations/{ => client}/update_last_commit_branch.mutation.graphql (100%) rename app/assets/javascripts/pipeline_editor/graphql/mutations/{ => client}/update_pipeline_etag.mutation.graphql (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/{available_branches.graphql => available_branches.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/{blob_content.graphql => blob_content.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/{ci_config.graphql => ci_config.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/client/{app_status.graphql => app_status.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/client/{current_branch.graphql => current_branch.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/client/{pipeline_etag.graphql => pipeline_etag.query.graphql} (100%) rename app/assets/javascripts/pipeline_editor/graphql/queries/{client/pipeline.graphql => pipeline.query.graphql} (100%) delete mode 100644 app/views/shared/members/_filter_2fa_dropdown.html.haml create mode 100644 db/post_migrate/20211213102111_drop_ci_pipelines_mr_metrics_fk.rb create mode 100644 db/schema_migrations/20211213102111 diff --git a/app/assets/javascripts/ci_lint/components/ci_lint.vue b/app/assets/javascripts/ci_lint/components/ci_lint.vue index bc8a1f05ef5..d541e89756a 100644 --- a/app/assets/javascripts/ci_lint/components/ci_lint.vue +++ b/app/assets/javascripts/ci_lint/components/ci_lint.vue @@ -1,7 +1,7 @@