From f71f0f5307d836c4b0a7e501e4af799a536f3454 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 25 May 2022 09:08:47 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- GITALY_SERVER_VERSION | 2 +- GITLAB_SHELL_VERSION | 2 +- .../editor/source_editor_extension.js | 2 +- .../components/states/ready_to_merge.vue | 7 +++- .../page_bundles/merge_requests.scss | 11 +++++ app/controllers/application_controller.rb | 2 +- .../projects/merge_requests/_mr_box.html.haml | 6 ++- .../merge_requests/_mr_title.html.haml | 4 +- .../projects/merge_requests/show.html.haml | 2 +- app/workers/all_queues.yml | 18 -------- app/workers/expire_job_cache_worker.rb | 22 ---------- app/workers/expire_pipeline_cache_worker.rb | 27 ------------ config/sidekiq_queues.yml | 2 - doc/subscriptions/self_managed/index.md | 5 ++- lib/gitlab/base_doorkeeper_controller.rb | 3 ++ lib/gitlab/devise_failure.rb | 2 + spec/commands/sidekiq_cluster/cli_spec.rb | 10 ++--- .../application_controller_spec.rb | 4 -- .../oauth/authorizations_controller_spec.rb | 18 ++++++++ spec/frontend/editor/helpers.js | 6 +++ .../editor/source_editor_extension_spec.js | 1 + .../states/mr_widget_ready_to_merge_spec.js | 42 ++++++++++++++++++- spec/workers/every_sidekiq_worker_spec.rb | 2 - spec/workers/expire_job_cache_worker_spec.rb | 31 -------------- .../expire_pipeline_cache_worker_spec.rb | 38 ----------------- 25 files changed, 108 insertions(+), 161 deletions(-) delete mode 100644 app/workers/expire_job_cache_worker.rb delete mode 100644 app/workers/expire_pipeline_cache_worker.rb delete mode 100644 spec/workers/expire_job_cache_worker_spec.rb delete mode 100644 spec/workers/expire_pipeline_cache_worker_spec.rb diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index 4e5792f82a5..5bca1a62d34 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -5aa9d4d29c49ebe427a4a895158e195725cda2da +47335e9fa13b0185b9d479a9e8bffc535eed6a7c diff --git a/GITLAB_SHELL_VERSION b/GITLAB_SHELL_VERSION index 654afc8e19e..a984c5e3f2e 100644 --- a/GITLAB_SHELL_VERSION +++ b/GITLAB_SHELL_VERSION @@ -1 +1 @@ -14.7.0 +14.7.1 diff --git a/app/assets/javascripts/editor/source_editor_extension.js b/app/assets/javascripts/editor/source_editor_extension.js index 6d47e1e2248..7b73da4465f 100644 --- a/app/assets/javascripts/editor/source_editor_extension.js +++ b/app/assets/javascripts/editor/source_editor_extension.js @@ -12,6 +12,6 @@ export default class EditorExtension { } get api() { - return this.obj.provides?.(); + return this.obj.provides?.() || {}; } } diff --git a/app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue b/app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue index 9541058ec2a..41d35f68790 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue @@ -417,6 +417,7 @@ export default { } this.isMakingRequest = true; + this.editCommitMessage = false; if (!useAutoMerge) { this.mr.transitionStateMachine({ transition: MERGE }); @@ -663,7 +664,11 @@ export default {