From 86fa823611b3ab5701d144aca1c57c51b4af25d5 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 23 Sep 2020 06:09:45 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitignore | 2 +- app/assets/javascripts/awards_handler.js | 2 +- .../components/stage_staging_component.vue | 8 +- app/assets/javascripts/emoji/index.js | 20 ++-- .../javascripts/frequent_items/utils.js | 2 +- .../components/incidents/highlight_bar.vue | 20 +++- .../javascripts/issue_show/stores/index.js | 2 +- .../issue_show/utils/parse_data.js | 2 +- app/assets/javascripts/lib/dompurify.js | 53 ++++++++++ app/assets/javascripts/lib/utils/highlight.js | 2 +- .../javascripts/notebook/cells/markdown.vue | 2 +- .../notebook/cells/output/html.vue | 2 +- app/assets/javascripts/project_find_file.js | 2 +- .../components/release_block_header.vue | 8 +- app/assets/javascripts/user_popovers.js | 2 +- app/workers/all_queues.yml | 8 ++ ...ember_invitation_reminder_emails_worker.rb | 15 +++ ...230841-update-alert-gfm-like-reference.yml | 5 + .../issuable-award-fuzzy-search.yml | 5 + .../nfriend-fix-release-edit-button-size.yml | 5 + config/initializers/1_settings.rb | 3 + doc/development/i18n/externalization.md | 2 +- lib/gitlab/database/migration_helpers.rb | 8 +- locale/gitlab.pot | 3 + spec/frontend/awards_handler_spec.js | 10 ++ spec/frontend/emoji/emoji_spec.js | 22 ++++- .../incidents/highlight_bar_spec.js | 9 +- spec/frontend/lib/dompurify_spec.js | 98 +++++++++++++++++++ spec/frontend/project_find_file_spec.js | 5 +- spec/presenters/ci/pipeline_presenter_spec.rb | 17 ++-- ..._invitation_reminder_emails_worker_spec.rb | 29 ++++++ 31 files changed, 325 insertions(+), 48 deletions(-) create mode 100644 app/assets/javascripts/lib/dompurify.js create mode 100644 app/workers/member_invitation_reminder_emails_worker.rb create mode 100644 changelogs/unreleased/230841-update-alert-gfm-like-reference.yml create mode 100644 changelogs/unreleased/issuable-award-fuzzy-search.yml create mode 100644 changelogs/unreleased/nfriend-fix-release-edit-button-size.yml create mode 100644 spec/frontend/lib/dompurify_spec.js create mode 100644 spec/workers/member_invitation_reminder_emails_worker_spec.rb diff --git a/.gitignore b/.gitignore index 2a07963eecc..25c42cdb56d 100644 --- a/.gitignore +++ b/.gitignore @@ -96,4 +96,4 @@ apollo.config.js /tmp/matching_foss_tests.txt /tmp/matching_tests.txt ee/changelogs/unreleased-ee - +/sitespeed-result diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index cb71047e00c..6354ad323e4 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -572,7 +572,7 @@ export class AwardsHandler { } findMatchingEmojiElements(query) { - const emojiMatches = this.emoji.filterEmojiNamesByAlias(query); + const emojiMatches = this.emoji.queryEmojiNames(query); const $emojiElements = $('.emoji-menu-list:not(.frequent-emojis) [data-name]'); const $matchingElements = $emojiElements.filter( (i, elm) => emojiMatches.indexOf(elm.dataset.name) >= 0, diff --git a/app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue b/app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue index ba2be2e5167..6530bfd72a9 100644 --- a/app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue +++ b/app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue @@ -1,6 +1,5 @@