From dd18ae74af0dd661ca3a5ff5458feea925af5ab8 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 8 Jul 2021 12:08:30 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../components/content_editor.vue | 31 +++++++-- .../reports/components/issue_body.js | 9 +++ .../reports/components/report_item.vue | 21 ++++-- .../admin/background_migrations_controller.rb | 14 ++++ .../import/bulk_imports_controller.rb | 2 +- app/models/bulk_imports/export_status.rb | 2 +- app/models/user.rb | 5 +- .../bulk_imports/file_download_service.rb | 2 +- .../_migration.html.haml | 9 +++ .../background_migrations/index.html.haml | 1 + .../bulk_imports/export_request_worker.rb | 2 +- config/routes/admin.rb | 8 ++- doc/api/api_resources.md | 2 +- doc/api/usage_data.md | 4 +- doc/development/database_review.md | 3 +- doc/development/usage_ping/index.md | 14 ++-- .../usage_ping/metrics_dictionary.md | 2 +- .../usage_ping/metrics_instrumentation.md | 2 +- doc/raketasks/index.md | 2 +- doc/user/admin_area/settings/index.md | 2 +- doc/user/clusters/agent/index.md | 8 ++- doc/user/clusters/agent/repository.md | 7 +- .../clusters/deploy/inventory_object.md | 69 +++++++++++++++++++ lib/bulk_imports/clients/http.rb | 10 +-- .../common/extractors/rest_extractor.rb | 2 +- .../groups/extractors/subgroups_extractor.rb | 2 +- lib/gitlab/bitbucket_import/importer.rb | 5 +- lib/gitlab/github_import/user_finder.rb | 2 +- lib/gitlab/gitlab_import/importer.rb | 4 +- .../legacy_github_import/user_formatter.rb | 7 +- locale/gitlab.pot | 15 ++++ .../import/bulk_imports_controller_spec.rb | 2 +- .../admin_sees_background_migrations_spec.rb | 13 +++- .../components/content_editor_spec.js | 37 ++++++++-- .../grouped_issues_list_spec.js.snap | 1 + spec/lib/bulk_imports/clients/http_spec.rb | 32 ++++++--- spec/models/user_spec.rb | 13 ++++ spec/support/helpers/require_migration.rb | 2 +- .../export_request_worker_spec.rb | 2 +- 39 files changed, 289 insertions(+), 81 deletions(-) create mode 100644 doc/user/infrastructure/clusters/deploy/inventory_object.md diff --git a/app/assets/javascripts/content_editor/components/content_editor.vue b/app/assets/javascripts/content_editor/components/content_editor.vue index c6ab2e189ef..9a51def7075 100644 --- a/app/assets/javascripts/content_editor/components/content_editor.vue +++ b/app/assets/javascripts/content_editor/components/content_editor.vue @@ -1,10 +1,12 @@ diff --git a/app/assets/javascripts/reports/components/issue_body.js b/app/assets/javascripts/reports/components/issue_body.js index 56f46a3938e..6014d9d6ad8 100644 --- a/app/assets/javascripts/reports/components/issue_body.js +++ b/app/assets/javascripts/reports/components/issue_body.js @@ -1,3 +1,4 @@ +import IssueStatusIcon from '~/reports/components/issue_status_icon.vue'; import AccessibilityIssueBody from '../accessibility_report/components/accessibility_issue_body.vue'; import CodequalityIssueBody from '../codequality_report/components/codequality_issue_body.vue'; import TestIssueBody from '../grouped_test_report/components/test_issue_body.vue'; @@ -13,3 +14,11 @@ export const componentNames = { CodequalityIssueBody: CodequalityIssueBody.name, TestIssueBody: TestIssueBody.name, }; + +export const iconComponents = { + IssueStatusIcon, +}; + +export const iconComponentNames = { + IssueStatusIcon: IssueStatusIcon.name, +}; diff --git a/app/assets/javascripts/reports/components/report_item.vue b/app/assets/javascripts/reports/components/report_item.vue index df20d5c19ba..8871da8fbd7 100644 --- a/app/assets/javascripts/reports/components/report_item.vue +++ b/app/assets/javascripts/reports/components/report_item.vue @@ -1,12 +1,16 @@