From cb3b9f9243555b0c26145e2992a9f01f7fa47bf5 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 12 May 2022 12:08:30 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../components/secure_files_list.vue | 8 -- .../clusters_list/components/agent_table.vue | 2 - .../clusters_list/components/clusters.vue | 2 - .../cycle_analytics/components/stage_table.vue | 2 - .../diffs/components/compare_dropdown_layout.vue | 7 +- .../members/components/table/members_table.vue | 2 - .../stylesheets/page_bundles/merge_requests.scss | 17 ++-- app/controllers/projects/releases_controller.rb | 8 +- app/models/ci/secure_file.rb | 7 +- app/models/event.rb | 4 + app/models/merge_request.rb | 24 +----- app/models/wiki.rb | 40 ++++----- app/models/work_items/type.rb | 4 + app/serializers/release_entity.rb | 9 ++ app/services/environments/stop_service.rb | 4 +- app/views/events/event/_note.html.haml | 2 + .../_merge_request_merge_checks_settings.html.haml | 2 +- ..._merge_request_merge_options_settings.html.haml | 2 +- app/views/shared/issuable/_sidebar.html.haml | 2 +- app/workers/bulk_imports/pipeline_worker.rb | 10 +-- ...fix_related_environments_for_merge_requests.yml | 8 -- .../development/remove_sha_from_releases_json.yml | 8 ++ .../undefined/gitaly_replace_wiki_update_page.yml | 8 -- .../development/001_create_base_work_item_types.rb | 2 +- .../production/003_create_base_work_item_types.rb | 2 +- doc/administration/audit_events.md | 1 + doc/api/graphql/reference/index.md | 17 ++-- doc/api/secure_files.md | 5 -- doc/api/status_checks.md | 6 +- doc/ci/secure_files/index.md | 2 - doc/development/ee_features.md | 24 ++++++ doc/development/index.md | 2 +- .../dependency_scanning/index.md | 22 ++--- doc/user/group/iterations/index.md | 22 ++--- doc/user/packages/pypi_repository/index.md | 3 +- lib/api/ci/secure_files.rb | 4 +- lib/api/entities/ci/secure_file.rb | 1 - lib/api/helpers/projects_helpers.rb | 4 +- .../common/pipelines/entity_finisher.rb | 2 +- .../groups/pipelines/group_attributes_pipeline.rb | 2 +- .../pipelines/namespace_settings_pipeline.rb | 2 +- lib/bulk_imports/ndjson_pipeline.rb | 2 +- lib/bulk_imports/pipeline.rb | 8 +- .../pipelines/project_attributes_pipeline.rb | 2 + .../work_items/base_type_importer.rb | 14 +++- locale/gitlab.pot | 28 ++++--- package.json | 2 +- .../projects/releases_controller_spec.rb | 25 ++++-- .../user_manages_merge_requests_settings_spec.rb | 12 +-- .../components/secure_files_list_spec.js | 7 +- spec/lib/bulk_imports/ndjson_pipeline_spec.rb | 2 +- spec/lib/bulk_imports/pipeline_spec.rb | 4 +- .../work_items/base_type_importer_spec.rb | 2 +- spec/models/ci/secure_file_spec.rb | 7 -- spec/models/event_spec.rb | 30 +++++++ spec/models/merge_request_spec.rb | 44 ---------- spec/requests/api/ci/secure_files_spec.rb | 22 +---- spec/serializers/release_serializer_spec.rb | 4 + spec/services/environments/stop_service_spec.rb | 12 --- spec/services/issues/create_service_spec.rb | 8 ++ spec/support/helpers/test_env.rb | 2 +- .../shared_examples/models/wiki_shared_examples.rb | 10 --- .../work_item_base_types_importer.rb | 42 +++++++++- spec/workers/bulk_imports/pipeline_worker_spec.rb | 14 ++-- workhorse/go.mod | 1 + workhorse/internal/git/error.go | 96 ++++++++++++++++++++++ workhorse/internal/git/error_test.go | 80 ++++++++++++++++++ workhorse/internal/git/git-http.go | 14 +++- workhorse/internal/git/receive-pack.go | 2 +- yarn.lock | 7 +- 70 files changed, 501 insertions(+), 307 deletions(-) delete mode 100644 config/feature_flags/development/fix_related_environments_for_merge_requests.yml create mode 100644 config/feature_flags/development/remove_sha_from_releases_json.yml delete mode 100644 config/feature_flags/undefined/gitaly_replace_wiki_update_page.yml create mode 100644 workhorse/internal/git/error_test.go diff --git a/app/assets/javascripts/ci_secure_files/components/secure_files_list.vue b/app/assets/javascripts/ci_secure_files/components/secure_files_list.vue index d70ade36fe9..1283db5c8eb 100644 --- a/app/assets/javascripts/ci_secure_files/components/secure_files_list.vue +++ b/app/assets/javascripts/ci_secure_files/components/secure_files_list.vue @@ -40,10 +40,6 @@ export default { key: 'name', label: __('Filename'), }, - { - key: 'permissions', - label: __('Permissions'), - }, { key: 'created_at', label: __('Uploaded'), @@ -112,10 +108,6 @@ export default { {{ item.name }} - - diff --git a/app/assets/javascripts/clusters_list/components/agent_table.vue b/app/assets/javascripts/clusters_list/components/agent_table.vue index 2decdb5307b..b878a6835b2 100644 --- a/app/assets/javascripts/clusters_list/components/agent_table.vue +++ b/app/assets/javascripts/clusters_list/components/agent_table.vue @@ -165,8 +165,6 @@ export default { :items="agentsList" :fields="fields" stacked="md" - head-variant="white" - thead-class="gl-border-b-solid gl-border-b-2 gl-border-b-gray-100" class="gl-mb-4!" data-testid="cluster-agent-list-table" > diff --git a/app/assets/javascripts/clusters_list/components/clusters.vue b/app/assets/javascripts/clusters_list/components/clusters.vue index 02eac5a6268..fb3c8ff66b0 100644 --- a/app/assets/javascripts/clusters_list/components/clusters.vue +++ b/app/assets/javascripts/clusters_list/components/clusters.vue @@ -235,8 +235,6 @@ export default { :fields="fields" fixed stacked="md" - head-variant="white" - thead-class="gl-border-b-solid gl-border-b-2 gl-border-b-gray-100" class="qa-clusters-table gl-mb-4!" data-testid="cluster_list_table" > diff --git a/app/assets/javascripts/cycle_analytics/components/stage_table.vue b/app/assets/javascripts/cycle_analytics/components/stage_table.vue index 6a45969fd1a..e4236968efc 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_table.vue +++ b/app/assets/javascripts/cycle_analytics/components/stage_table.vue @@ -191,9 +191,7 @@ export default { />