From bfb305ef516d8d6c07e91024a16772070d09afe0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 30 Sep 2022 06:09:35 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../javascripts/branches/divergence_graph.js | 4 +- .../components/ci_admin_variables.vue | 10 +- .../components/ci_group_variables.vue | 10 +- .../components/ci_project_variables.vue | 12 +- .../ci_variable_list/store/actions.js | 12 +- .../javascripts/clusters/clusters_bundle.js | 4 +- .../clusters_list/store/actions.js | 4 +- .../javascripts/commit_merge_requests.js | 4 +- .../components/project_form_group.vue | 4 +- .../contributors/stores/actions.js | 4 +- app/mailers/previews/notify_preview.rb | 4 - app/views/admin/projects/_projects.html.haml | 5 +- config/esbuild.config.js | 59 +++++ config/webpack.config.js | 40 ++- config/webpack.vendor.config.js | 2 + ...081645_tmp_idx_null_member_namespace_id.rb | 17 ++ db/schema_migrations/20220929081645 | 1 + db/structure.sql | 2 + doc/user/admin_area/license_file.md | 4 +- .../ci/templates/Jobs/Build.gitlab-ci.yml | 2 +- .../templates/Jobs/Build.latest.gitlab-ci.yml | 2 +- .../background_migration/batched_migration.rb | 4 +- locale/gitlab.pot | 27 +++ package.json | 3 + .../components/ci_admin_variables_spec.js | 14 +- .../components/ci_group_variables_spec.js | 14 +- .../components/ci_project_variables_spec.js | 18 +- .../ci_variable_list/store/actions_spec.js | 12 +- .../clusters_list/store/actions_spec.js | 4 +- .../contributors/store/actions_spec.js | 4 +- .../batched_migration_spec.rb | 44 +++- yarn.lock | 227 ++++++++++++++++-- 32 files changed, 467 insertions(+), 110 deletions(-) create mode 100644 config/esbuild.config.js create mode 100644 db/post_migrate/20220929081645_tmp_idx_null_member_namespace_id.rb create mode 100644 db/schema_migrations/20220929081645 diff --git a/app/assets/javascripts/branches/divergence_graph.js b/app/assets/javascripts/branches/divergence_graph.js index 17fd3939441..d05b53f1a50 100644 --- a/app/assets/javascripts/branches/divergence_graph.js +++ b/app/assets/javascripts/branches/divergence_graph.js @@ -1,5 +1,5 @@ import Vue from 'vue'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import axios from '~/lib/utils/axios_utils'; import { __ } from '~/locale'; import DivergenceGraph from './components/divergence_graph.vue'; @@ -51,7 +51,7 @@ export default (endpoint, defaultBranch) => { }); }) .catch(() => - createFlash({ + createAlert({ message: __('Error fetching diverging counts for branches. Please try again.'), }), ); diff --git a/app/assets/javascripts/ci_variable_list/components/ci_admin_variables.vue b/app/assets/javascripts/ci_variable_list/components/ci_admin_variables.vue index 7d91e0f9550..8d891ff1746 100644 --- a/app/assets/javascripts/ci_variable_list/components/ci_admin_variables.vue +++ b/app/assets/javascripts/ci_variable_list/components/ci_admin_variables.vue @@ -1,5 +1,5 @@