From 3748ae5cbbefd3de0111951e71e74b676c276d61 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 13 May 2021 12:10:02 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitlab/CODEOWNERS | 3 + .../components/recovery_codes.vue | 1 + .../drawer/pipeline_editor_drawer.vue | 2 +- .../components/time_ago_tooltip.vue | 2 +- app/assets/stylesheets/pages/notes.scss | 2 +- app/models/project.rb | 2 +- app/models/snippet.rb | 9 +- ...-reschedule-dropinvalidvulnerabilities.yml | 5 + .../unreleased/pipeline-drawer-z-indexing.yml | 5 + .../sh-avoid-trailing-slash-in-proxy.yml | 5 + ..._schedule_drop_invalid_vulnerabilities2.rb | 25 ++++ db/schema_migrations/20210511142748 | 1 + .../drop_invalid_vulnerabilities.rb | 11 ++ lib/gitlab/default_branch.rb | 10 ++ locale/gitlab.pot | 15 +-- package.json | 2 +- spec/frontend/pipelines/pipelines_spec.js | 5 +- .../components/time_ago_tooltip_spec.js | 75 +++++++++-- .../references/user_reference_filter_spec.rb | 21 +++ .../drop_invalid_vulnerabilities_spec.rb | 23 +++- spec/lib/gitlab/default_branch_spec.rb | 24 ++++ ...dule_drop_invalid_vulnerabilities2_spec.rb | 120 ++++++++++++++++++ spec/models/project_spec.rb | 19 +-- spec/models/snippet_spec.rb | 12 -- workhorse/internal/api/api.go | 5 +- workhorse/main_test.go | 6 +- yarn.lock | 8 +- 27 files changed, 349 insertions(+), 69 deletions(-) create mode 100644 changelogs/unreleased/301141-reschedule-dropinvalidvulnerabilities.yml create mode 100644 changelogs/unreleased/pipeline-drawer-z-indexing.yml create mode 100644 changelogs/unreleased/sh-avoid-trailing-slash-in-proxy.yml create mode 100644 db/post_migrate/20210511142748_schedule_drop_invalid_vulnerabilities2.rb create mode 100644 db/schema_migrations/20210511142748 create mode 100644 lib/gitlab/default_branch.rb create mode 100644 spec/lib/gitlab/default_branch_spec.rb create mode 100644 spec/migrations/20210511142748_schedule_drop_invalid_vulnerabilities2_spec.rb diff --git a/.gitlab/CODEOWNERS b/.gitlab/CODEOWNERS index 153c15f99cd..e23c5198a09 100644 --- a/.gitlab/CODEOWNERS +++ b/.gitlab/CODEOWNERS @@ -330,3 +330,6 @@ Dangerfile @gl-quality/eng-prod [Workhorse] /workhorse/ @jacobvosmaer-gitlab @nick.thomas @nolith @patrickbajao + +[Application Security] +/lib/gitlab/content_security_policy/ @gitlab-com/gl-security/appsec diff --git a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue index 4f9f6fb25c6..f89600fbed3 100644 --- a/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue +++ b/app/assets/javascripts/authentication/two_factor_auth/components/recovery_codes.vue @@ -140,6 +140,7 @@ export default {