From 326b4d3216d107b40142ee847c06f2c41a1ef220 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 25 Aug 2021 09:10:52 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- GITALY_SERVER_VERSION | 2 +- app/assets/javascripts/incidents/list.js | 2 +- .../javascripts/issue_show/components/app.vue | 19 ++- .../runner/components/runner_update_form.vue | 2 +- .../components/states/ready_to_merge.vue | 19 ++- .../vue_merge_request_widget/constants.js | 2 + .../mixins/ready_to_merge.js | 8 + .../issuable/init_issuable_header_warning.js | 12 +- .../issuable/issuable_header_warnings.vue | 24 ++- app/assets/stylesheets/pages/issuable.scss | 1 + app/controllers/invites_controller.rb | 7 +- app/controllers/registrations_controller.rb | 1 + app/helpers/issuables_helper.rb | 3 +- app/helpers/issues_helper.rb | 10 +- app/helpers/notify_helper.rb | 9 +- app/mailers/emails/members.rb | 29 +++- app/policies/issue_policy.rb | 8 + app/services/issuable_base_service.rb | 5 +- app/views/admin/runners/show.html.haml | 10 +- app/views/projects/issues/_issue.html.haml | 4 +- .../shared/issuable/form/_metadata.html.haml | 66 ++++---- .../issue_type/_details_header.html.haml | 2 +- .../dast_profile_disable_joins.yml | 8 - .../dast_scanner_profile_disable_joins.yml | 8 - .../dast_site_profile_disable_joins.yml | 8 - .../runner_detailed_view_vue_ui.yml | 8 - .../development/set_full_path.yml | 8 - .../experiment/invite_email_from.yml | 8 + doc/ci/migration/circleci.md | 10 +- lib/api/commits.rb | 2 +- lib/api/entities/commit_note.rb | 2 +- .../database/load_balancing/host_list.rb | 6 - .../load_balancing/service_discovery.rb | 47 ++++-- lib/gitlab/database/transaction/context.rb | 29 ++-- lib/gitlab/database/transaction/observer.rb | 2 +- lib/gitlab/git/repository.rb | 12 +- .../gitaly_client/repository_service.rb | 19 --- locale/gitlab.pot | 9 ++ .../admin/runners_controller_spec.rb | 28 ---- spec/controllers/invites_controller_spec.rb | 26 ++- .../registrations_controller_spec.rb | 34 ++++ spec/features/invites_spec.rb | 14 ++ .../issue_show/components/app_spec.js | 44 ++++-- .../components/runner_update_form_spec.js | 14 +- .../issuable/issuable_header_warnings_spec.js | 74 +++++---- spec/helpers/issuables_helper_spec.rb | 3 +- spec/helpers/issues_helper_spec.rb | 51 ++++++ spec/helpers/notify_helper_spec.rb | 22 +++ .../load_balancing/service_discovery_spec.rb | 79 ++++++++-- .../database/transaction/context_spec.rb | 28 +--- spec/lib/gitlab/git/repository_spec.rb | 93 +++-------- spec/mailers/notify_spec.rb | 29 ++++ spec/policies/issue_policy_spec.rb | 149 +++++++++--------- spec/requests/api/commits_spec.rb | 20 +++ 54 files changed, 711 insertions(+), 428 deletions(-) delete mode 100644 config/feature_flags/development/dast_profile_disable_joins.yml delete mode 100644 config/feature_flags/development/dast_scanner_profile_disable_joins.yml delete mode 100644 config/feature_flags/development/dast_site_profile_disable_joins.yml delete mode 100644 config/feature_flags/development/runner_detailed_view_vue_ui.yml delete mode 100644 config/feature_flags/development/set_full_path.yml create mode 100644 config/feature_flags/experiment/invite_email_from.yml diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index 11fe5bfe9bb..c7fba969292 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -bb2e3f4a916f031f38c9fb1c4fc955f50f0e4275 +bdbed7a8a30246ee83d325615bb43213bf7a1d69 diff --git a/app/assets/javascripts/incidents/list.js b/app/assets/javascripts/incidents/list.js index 8644ff3a249..6e6461cd7a9 100644 --- a/app/assets/javascripts/incidents/list.js +++ b/app/assets/javascripts/incidents/list.js @@ -24,7 +24,7 @@ export default () => { } = domEl.dataset; const apolloProvider = new VueApollo({ - defaultClient: createDefaultClient(), + defaultClient: createDefaultClient({}, { assumeImmutableResults: true }), }); return new Vue({ diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue index b7e24a8b17e..2c9a512acdb 100644 --- a/app/assets/javascripts/issue_show/components/app.vue +++ b/app/assets/javascripts/issue_show/components/app.vue @@ -1,5 +1,5 @@