From 7f59234892f27812dc91044cd63a6a4655e26263 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 13 Nov 2020 12:09:03 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitlab/ci/rules.gitlab-ci.yml | 8 +- .rubocop_manual_todo.yml | 3 - GITLAB_WORKHORSE_VERSION | 2 +- .../components/issuable_item.vue | 27 ++- .../components/issuable_list_root.vue | 3 + .../components/tree_action_link.vue | 2 +- .../vue_shared/components/actions_button.vue | 1 - .../filtered_search_bar_root.vue | 6 + .../vue_shared/components/web_ide_link.vue | 2 +- app/assets/stylesheets/pages/tree.scss | 2 +- .../assigned_merge_requests_resolver.rb | 3 +- .../authored_merge_requests_resolver.rb | 3 +- ...b => user_merge_requests_resolver_base.rb} | 2 +- app/graphql/types/user_type.rb | 4 +- app/models/ci/build_trace_chunk.rb | 11 -- .../ci/build_trace_chunks/legacy_fog.rb | 77 -------- app/views/devise/registrations/new.html.haml | 2 +- app/views/devise/shared/_signup_box.html.haml | 21 ++- app/views/projects/_find_file_link.html.haml | 2 +- app/views/projects/buttons/_clone.html.haml | 2 +- .../projects/buttons/_download.html.haml | 2 +- .../projects/buttons/_xcode_link.html.haml | 2 +- .../projects/tree/_tree_header.html.haml | 2 +- ...chart-tooltip-overlays-filter-dropdown.yml | 5 + .../alipniagov-update-workhorse-to-8-54.yml | 5 + .../ps-fix-repo-tree-header-button-styles.yml | 5 + ...esh_merge_requests_from_beginning-flag.yml | 6 + .../unreleased/sh-remove-legacy-fog-ff.yml | 5 + ..._refresh_merge_requests_from_beginning.yml | 8 - .../development/ci_trace_new_fog_store.yml | 8 - doc/api/boards.md | 1 + doc/subscriptions/self_managed/index.md | 19 +- .../settings/sign_up_restrictions.md | 8 + locale/gitlab.pot | 80 ++++++--- package.json | 2 +- .../components/issuable_item_spec.js | 58 ++++++- spec/frontend/issuable_list/mock_data.js | 1 + .../tokens/author_token_spec.js | 1 + .../tokens/branch_token_spec.js | 1 + .../tokens/label_token_spec.js | 1 + .../tokens/milestone_token_spec.js | 1 + spec/models/ci/build_trace_chunk_spec.rb | 26 +-- .../ci/build_trace_chunks/legacy_fog_spec.rb | 164 ------------------ yarn.lock | 8 +- 44 files changed, 242 insertions(+), 360 deletions(-) rename app/graphql/resolvers/{user_merge_requests_resolver.rb => user_merge_requests_resolver_base.rb} (97%) delete mode 100644 app/models/ci/build_trace_chunks/legacy_fog.rb create mode 100644 changelogs/unreleased/280811-mr-analytics-chart-tooltip-overlays-filter-dropdown.yml create mode 100644 changelogs/unreleased/alipniagov-update-workhorse-to-8-54.yml create mode 100644 changelogs/unreleased/ps-fix-repo-tree-header-button-styles.yml create mode 100644 changelogs/unreleased/remove-ci_always_refresh_merge_requests_from_beginning-flag.yml create mode 100644 changelogs/unreleased/sh-remove-legacy-fog-ff.yml delete mode 100644 config/feature_flags/development/ci_always_refresh_merge_requests_from_beginning.yml delete mode 100644 config/feature_flags/development/ci_trace_new_fog_store.yml delete mode 100644 spec/models/ci/build_trace_chunks/legacy_fog_spec.rb diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 3827fff079c..7f469221da2 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -164,7 +164,7 @@ - "vendor/assets/**/*" - ".gitlab/ci/**/*" - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}" - - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml" + - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,rubocop_manual_todo,scss-lint}.yml" - "*_VERSION" - "Gemfile{,.lock}" - "Rakefile" @@ -186,7 +186,7 @@ - "vendor/assets/**/*" - ".gitlab/ci/**/*" - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}" - - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml" + - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,rubocop_manual_todo,scss-lint}.yml" - "*_VERSION" - "Gemfile{,.lock}" - "Rakefile" @@ -210,7 +210,7 @@ - "vendor/assets/**/*" - ".gitlab/ci/**/*" - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}" - - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml" + - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,rubocop_manual_todo,scss-lint}.yml" - "*_VERSION" - "Gemfile{,.lock}" - "Rakefile" @@ -231,7 +231,7 @@ - "vendor/assets/**/*" - ".gitlab/ci/**/*" - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}" - - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml" + - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,rubocop_manual_todo,scss-lint}.yml" - "*_VERSION" - "Gemfile{,.lock}" - "Rakefile" diff --git a/.rubocop_manual_todo.yml b/.rubocop_manual_todo.yml index 3fe46000e5e..330c7906895 100644 --- a/.rubocop_manual_todo.yml +++ b/.rubocop_manual_todo.yml @@ -43,8 +43,6 @@ Graphql/IDType: Graphql/ResolverType: Exclude: - - 'app/graphql/resolvers/assigned_merge_requests_resolver.rb' - - 'app/graphql/resolvers/authored_merge_requests_resolver.rb' - 'app/graphql/resolvers/base_resolver.rb' - 'app/graphql/resolvers/ci/pipeline_stages_resolver.rb' - 'app/graphql/resolvers/commit_pipelines_resolver.rb' @@ -61,7 +59,6 @@ Graphql/ResolverType: - 'app/graphql/resolvers/project_pipelines_resolver.rb' - 'app/graphql/resolvers/projects/snippets_resolver.rb' - 'app/graphql/resolvers/snippets_resolver.rb' - - 'app/graphql/resolvers/user_merge_requests_resolver.rb' - 'app/graphql/resolvers/users/group_count_resolver.rb' - 'app/graphql/resolvers/users/snippets_resolver.rb' - 'ee/app/graphql/resolvers/ci/jobs_resolver.rb' diff --git a/GITLAB_WORKHORSE_VERSION b/GITLAB_WORKHORSE_VERSION index d9b7ec5a2f7..a99caf2cdef 100644 --- a/GITLAB_WORKHORSE_VERSION +++ b/GITLAB_WORKHORSE_VERSION @@ -1 +1 @@ -8.53.0 +8.54.0 diff --git a/app/assets/javascripts/issuable_list/components/issuable_item.vue b/app/assets/javascripts/issuable_list/components/issuable_item.vue index 05bc3185cc8..1ee794ab208 100644 --- a/app/assets/javascripts/issuable_list/components/issuable_item.vue +++ b/app/assets/javascripts/issuable_list/components/issuable_item.vue @@ -84,6 +84,14 @@ export default { } return {}; }, + showDiscussions() { + return typeof this.issuable.userDiscussionsCount === 'number'; + }, + showIssuableMeta() { + return Boolean( + this.hasSlotContents('status') || this.showDiscussions || this.issuable.assignees, + ); + }, }, methods: { hasSlotContents(slotName) { @@ -166,6 +174,7 @@ export default { {{ author.name }} +  
-
    +
    • +
    • + + + {{ issuable.userDiscussionsCount }} + +
    • + diff --git a/app/assets/javascripts/repository/components/tree_action_link.vue b/app/assets/javascripts/repository/components/tree_action_link.vue index 72764f3ccc9..c5ab150adaf 100644 --- a/app/assets/javascripts/repository/components/tree_action_link.vue +++ b/app/assets/javascripts/repository/components/tree_action_link.vue @@ -24,5 +24,5 @@ export default { diff --git a/app/assets/javascripts/vue_shared/components/actions_button.vue b/app/assets/javascripts/vue_shared/components/actions_button.vue index 9b21de19185..cb4c5f20377 100644 --- a/app/assets/javascripts/vue_shared/components/actions_button.vue +++ b/app/assets/javascripts/vue_shared/components/actions_button.vue @@ -61,7 +61,6 @@ export default {