From eb6b17504921dc3b8c22715b9ec7790a34b4abe0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 31 May 2022 15:09:02 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .rubocop_todo/style/open_struct_use.yml | 5 - .../components/recovery_codes.vue | 4 +- .../components/environment_form.vue | 4 +- .../components/environments_detail_header.vue | 4 +- .../components/error_details.vue | 1 - .../components/new_feature_flag.vue | 2 +- .../components/jira_import_form.vue | 2 +- .../jobs/components/stuck_block.vue | 23 +- .../components/add_request.vue | 34 +- .../runner/components/runner_jobs.vue | 8 +- .../components/notes/system_note.vue | 10 +- .../dropdown_contents_labels_view.vue | 1 + .../sidebar/labels_select_vue/label_item.vue | 32 +- .../labels_select_vue/labels_select_root.vue | 19 +- .../labels_select_vue/store/getters.js | 7 +- .../labels_select_vue/store/mutations.js | 44 +- .../concerns/storage/legacy_namespace.rb | 14 - app/services/projects/after_rename_service.rb | 14 - app/services/projects/transfer_service.rb | 8 - app/views/abuse_reports/new.html.haml | 2 +- app/views/admin/abuse_reports/index.html.haml | 2 +- app/views/admin/applications/edit.html.haml | 2 +- app/views/admin/applications/index.html.haml | 2 +- app/views/admin/applications/new.html.haml | 2 +- app/views/admin/applications/show.html.haml | 2 +- .../admin/background_jobs/show.html.haml | 2 +- .../admin/broadcast_messages/index.html.haml | 2 +- app/views/admin/deploy_keys/edit.html.haml | 2 +- app/views/admin/deploy_keys/new.html.haml | 2 +- .../admin/gitaly_servers/index.html.haml | 2 +- app/views/admin/groups/edit.html.haml | 2 +- app/views/admin/groups/new.html.haml | 2 +- app/views/admin/groups/show.html.haml | 2 +- app/views/admin/health_check/show.html.haml | 2 +- app/views/admin/hook_logs/show.html.haml | 2 +- app/views/admin/identities/edit.html.haml | 2 +- app/views/admin/identities/new.html.haml | 2 +- app/views/admin/labels/edit.html.haml | 2 +- app/views/admin/labels/index.html.haml | 2 +- app/views/admin/labels/new.html.haml | 2 +- app/views/admin/projects/show.html.haml | 2 +- app/views/admin/spam_logs/index.html.haml | 2 +- app/views/admin/topics/edit.html.haml | 2 +- app/views/admin/topics/new.html.haml | 2 +- app/views/admin/users/_head.html.haml | 2 +- app/views/admin/users/edit.html.haml | 2 +- app/views/admin/users/new.html.haml | 2 +- .../doorkeeper/applications/edit.html.haml | 2 +- .../doorkeeper/applications/new.html.haml | 2 +- .../doorkeeper/applications/show.html.haml | 2 +- .../doorkeeper/authorizations/error.html.haml | 2 +- .../authorizations/redirect.html.haml | 2 +- .../doorkeeper/authorizations/show.html.haml | 2 +- app/views/groups/labels/edit.html.haml | 2 +- app/views/groups/labels/new.html.haml | 2 +- app/views/groups/milestones/edit.html.haml | 2 +- app/views/groups/milestones/new.html.haml | 2 +- .../settings/applications/edit.html.haml | 2 +- .../settings/applications/show.html.haml | 2 +- app/views/import/bitbucket/status.html.haml | 2 +- .../import/bitbucket_server/new.html.haml | 2 +- .../import/bitbucket_server/status.html.haml | 2 +- app/views/import/fogbugz/new.html.haml | 2 +- .../import/fogbugz/new_user_map.html.haml | 2 +- app/views/import/fogbugz/status.html.haml | 2 +- app/views/import/gitea/new.html.haml | 2 +- app/views/import/gitea/status.html.haml | 2 +- app/views/import/github/new.html.haml | 2 +- app/views/import/github/status.html.haml | 2 +- app/views/import/gitlab/status.html.haml | 2 +- .../import/gitlab_projects/new.html.haml | 2 +- app/views/import/manifest/new.html.haml | 2 +- app/views/import/manifest/status.html.haml | 2 +- app/views/import/phabricator/new.html.haml | 2 +- app/views/invites/show.html.haml | 2 +- app/views/profiles/chat_names/new.html.haml | 2 +- app/views/profiles/passwords/new.html.haml | 2 +- .../projects/_visibility_modal.html.haml | 2 +- app/views/projects/blob/_new_dir.html.haml | 2 +- app/views/projects/blob/_remove.html.haml | 2 +- app/views/projects/blob/_upload.html.haml | 2 +- app/views/projects/blob/edit.html.haml | 2 +- app/views/projects/blob/new.html.haml | 2 +- app/views/projects/branches/new.html.haml | 2 +- app/views/projects/compare/index.html.haml | 2 +- app/views/projects/deploy_keys/edit.html.haml | 2 +- .../projects/environments/terminal.html.haml | 2 +- app/views/projects/hook_logs/show.html.haml | 2 +- app/views/projects/imports/new.html.haml | 2 +- app/views/projects/issues/edit.html.haml | 2 +- app/views/projects/labels/edit.html.haml | 2 +- app/views/projects/labels/new.html.haml | 2 +- .../creations/_new_submit.html.haml | 2 +- .../projects/merge_requests/edit.html.haml | 2 +- app/views/projects/milestones/edit.html.haml | 2 +- app/views/projects/milestones/new.html.haml | 2 +- app/views/projects/pages/show.html.haml | 2 +- .../projects/pages_domains/new.html.haml | 2 +- .../projects/pages_domains/show.html.haml | 2 +- .../pipeline_schedules/edit.html.haml | 2 +- .../projects/pipeline_schedules/new.html.haml | 2 +- app/views/projects/pipelines/new.html.haml | 2 +- app/views/projects/snippets/edit.html.haml | 2 +- app/views/projects/snippets/new.html.haml | 2 +- app/views/projects/tags/new.html.haml | 2 +- app/views/projects/tracings/show.html.haml | 2 +- .../projects/usage_quotas/index.html.haml | 2 +- .../sent_notifications/unsubscribe.html.haml | 2 +- app/views/shared/_captcha_check.html.haml | 2 +- .../shared/integrations/overrides.html.haml | 2 +- app/views/shared/wikis/diff.html.haml | 2 +- app/views/shared/wikis/edit.html.haml | 2 +- app/views/shared/wikis/history.html.haml | 2 +- app/views/shared/wikis/pages.html.haml | 2 +- app/views/snippets/edit.html.haml | 2 +- app/views/users/unsubscribes/show.html.haml | 2 +- doc/.vale/gitlab/BadPlurals.yml | 3 +- .../application_settings_cache.md | 2 +- .../operations/sidekiq_memory_killer.md | 2 +- .../postgresql/database_load_balancing.md | 2 +- doc/administration/postgresql/external.md | 2 +- doc/administration/postgresql/index.md | 2 +- doc/administration/postgresql/pgbouncer.md | 2 +- .../postgresql/replication_and_failover.md | 2 +- doc/administration/postgresql/standalone.md | 2 +- .../troubleshooting/elasticsearch.md | 2 +- .../troubleshooting/postgresql.md | 2 +- doc/api/merge_requests.md | 4 +- doc/api/suggestions.md | 2 +- .../decomposition_partitioning_comparison.png | Bin 0 -> 33212 bytes .../ci_data_decay/pipeline_partitioning.md | 435 ++++++++++++++++++ .../database/scalability/patterns/index.md | 2 +- .../scalability/patterns/read_mostly.md | 2 +- .../scalability/patterns/time_decay.md | 2 +- doc/development/adding_database_indexes.md | 2 +- doc/development/cached_queries.md | 2 +- doc/development/creating_enums.md | 2 +- .../add_foreign_key_to_existing_column.md | 2 +- .../avoiding_downtime_in_migrations.md | 2 +- .../database/background_migrations.md | 2 +- .../database/batched_background_migrations.md | 2 +- .../database/client_side_connection_pool.md | 2 +- .../database/constraint_naming_convention.md | 2 +- doc/development/database/database_lab.md | 2 +- .../database/database_migration_pipeline.md | 2 +- .../database/database_reviewer_guidelines.md | 2 +- .../database/dbcheck-migrations-job.md | 2 +- .../database/deleting_migrations.md | 2 +- .../database/efficient_in_operator_queries.md | 2 +- doc/development/database/index.md | 2 +- doc/development/database/keyset_pagination.md | 2 +- .../database/layout_and_access_patterns.md | 2 +- .../database/loose_foreign_keys.md | 2 +- .../database/maintenance_operations.md | 2 +- .../migrations_for_multiple_databases.md | 2 +- .../database/multiple_databases.md | 20 +- .../database/not_null_constraints.md | 2 +- .../database/pagination_guidelines.md | 2 +- .../pagination_performance_guidelines.md | 2 +- .../database/post_deployment_migrations.md | 2 +- .../database/rename_database_tables.md | 2 +- .../database/setting_multiple_values.md | 2 +- .../strings_and_the_text_data_type.md | 2 +- .../database/table_partitioning.md | 2 +- .../database/transaction_guidelines.md | 2 +- doc/development/database_debugging.md | 2 +- doc/development/database_query_comments.md | 2 +- doc/development/database_review.md | 2 +- doc/development/db_dump.md | 2 +- doc/development/documentation/versions.md | 2 +- doc/development/elasticsearch.md | 2 +- doc/development/foreign_keys.md | 2 +- doc/development/graphql_guide/batchloader.md | 2 +- doc/development/hash_indexes.md | 2 +- doc/development/image_scaling.md | 2 +- .../insert_into_tables_in_batches.md | 2 +- .../iterating_tables_in_batches.md | 2 +- doc/development/ordering_table_columns.md | 2 +- doc/development/query_performance.md | 2 +- doc/development/query_recorder.md | 2 +- doc/development/serializing_data.md | 2 +- .../service_ping/metrics_instrumentation.md | 2 +- doc/development/single_table_inheritance.md | 2 +- doc/development/sql.md | 2 +- doc/development/swapping_tables.md | 2 +- .../understanding_explain_plans.md | 2 +- .../verifying_database_capabilities.md | 2 +- doc/integration/elasticsearch.md | 2 +- doc/update/mysql_to_postgresql.md | 2 +- .../upgrading_postgresql_using_slony.md | 2 +- .../monitoring/background_migrations.md | 2 +- doc/user/permissions.md | 1 + doc/user/search/advanced_search.md | 2 +- .../global_search/advanced_search_syntax.md | 2 +- locale/gitlab.pot | 24 +- spec/features/admin/admin_groups_spec.rb | 3 +- spec/features/admin/users/users_spec.rb | 4 +- spec/features/projects/jobs_spec.rb | 8 +- .../components/new_feature_flag_spec.js | 2 +- .../components/add_request_spec.js | 28 +- .../runner/components/runner_jobs_spec.js | 4 +- .../dropdown_contents_labels_view_spec.js | 7 +- .../labels_select_vue/label_item_spec.js | 28 +- .../labels_select_root_spec.js | 55 +-- .../labels_select_vue/store/getters_spec.js | 45 +- .../labels_select_vue/store/mutations_spec.js | 26 +- .../graphql/mutations/branches/create_spec.rb | 5 +- .../clusters/agent_tokens/create_spec.rb | 2 +- .../mutations/clusters/agents/create_spec.rb | 2 +- .../mutations/clusters/agents/delete_spec.rb | 2 +- spec/graphql/mutations/commits/create_spec.rb | 2 +- spec/models/namespace_spec.rb | 90 ---- .../projects/after_rename_service_spec.rb | 34 -- .../projects/transfer_service_spec.rb | 12 - 214 files changed, 903 insertions(+), 517 deletions(-) create mode 100644 doc/architecture/blueprints/ci_data_decay/decomposition_partitioning_comparison.png create mode 100644 doc/architecture/blueprints/ci_data_decay/pipeline_partitioning.md diff --git a/.rubocop_todo/style/open_struct_use.yml b/.rubocop_todo/style/open_struct_use.yml index e6af3b7bf24..172023c8fc1 100644 --- a/.rubocop_todo/style/open_struct_use.yml +++ b/.rubocop_todo/style/open_struct_use.yml @@ -8,11 +8,6 @@ Style/OpenStructUse: - ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb - lib/gitlab/testing/request_inspector_middleware.rb - spec/factories/wiki_pages.rb - - spec/graphql/mutations/branches/create_spec.rb - - spec/graphql/mutations/clusters/agent_tokens/create_spec.rb - - spec/graphql/mutations/clusters/agents/create_spec.rb - - spec/graphql/mutations/clusters/agents/delete_spec.rb - - spec/graphql/mutations/commits/create_spec.rb - spec/helpers/application_settings_helper_spec.rb - spec/helpers/profiles_helper_spec.rb - spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb diff --git a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue index fe801cd460f..6a2e5f5c2c5 100644 --- a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue +++ b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue @@ -101,9 +101,9 @@ export default {