diff --git a/.gitlab/CODEOWNERS b/.gitlab/CODEOWNERS index 4e476dfe414..8f8c0c65eb4 100644 --- a/.gitlab/CODEOWNERS +++ b/.gitlab/CODEOWNERS @@ -61,6 +61,37 @@ /doc/user/project/static_site_editor/index.md @marcia /doc/user/project/web_ide/index.md @marcia /doc/user/project/wiki/index.md @marcia +/doc/gitlab-basics/README.md @marcia +/doc/gitlab-basics/add-file.md @marcia +/doc/gitlab-basics/command-line-commands.md @marcia +/doc/gitlab-basics/create-branch.md @marcia +/doc/gitlab-basics/create-project.md @marcia +/doc/gitlab-basics/create-your-ssh-keys.md @marcia +/doc/gitlab-basics/feature_branch_workflow.md @marcia +/doc/gitlab-basics/fork-project.md @marcia +/doc/gitlab-basics/start-using-git.md @marcia +/doc/integration/sourcegraph.md @marcia +/doc/intro/README.md @marcia +/doc/push_rules/push_rules.md @marcia +/doc/ssh/README.md @marcia +/doc/topics/git/feature_branch_development.md @marcia +/doc/topics/git/how_to_install_git/index.md @marcia +/doc/topics/git/index.md @marcia +/doc/topics/git/lfs/index.md @marcia +/doc/topics/git/lfs/migrate_from_git_annex_to_git_lfs.md @marcia +/doc/topics/git/numerous_undo_possibilities_in_git/index.md @marcia +/doc/topics/git/partial_clone.md @marcia +/doc/topics/git/troubleshooting_git.md @marcia +/doc/topics/git/useful_git_commands.md @marcia +/doc/topics/gitlab_flow.md @marcia +/doc/user/index.md @marcia +/doc/user/snippets.md @marcia +/doc/administration/issue_closing_pattern.md @marcia +/doc/user/asciidoc.md @marcia +/doc/user/markdown.md @marcia +/doc/user/search/advanced_global_search.md @marcia +/doc/user/search/advanced_search_syntax.md @marcia +/doc/user/search/index.md @marcia [Frontend] *.scss @annabeldunstone @gitlab-org/maintainers/frontend diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9152b5bdb8b..3e0c2838252 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1351,11 +1351,6 @@ Rails/SaveBang: - 'ee/spec/models/visible_approvable_spec.rb' - 'ee/spec/models/vulnerabilities/feedback_spec.rb' - 'ee/spec/models/vulnerabilities/issue_link_spec.rb' - - 'ee/spec/policies/group_policy_spec.rb' - - 'ee/spec/policies/note_policy_spec.rb' - - 'ee/spec/policies/project_policy_spec.rb' - - 'ee/spec/policies/protected_branch_policy_spec.rb' - - 'ee/spec/policies/vulnerabilities/feedback_policy_spec.rb' - 'ee/spec/presenters/audit_event_presenter_spec.rb' - 'ee/spec/presenters/epic_presenter_spec.rb' - 'ee/spec/requests/api/boards_spec.rb' @@ -1778,13 +1773,6 @@ Rails/SaveBang: - 'spec/models/user_status_spec.rb' - 'spec/models/wiki_page/meta_spec.rb' - 'spec/models/wiki_page_spec.rb' - - 'spec/policies/ci/build_policy_spec.rb' - - 'spec/policies/ci/pipeline_policy_spec.rb' - - 'spec/policies/ci/pipeline_schedule_policy_spec.rb' - - 'spec/policies/group_policy_spec.rb' - - 'spec/policies/issue_policy_spec.rb' - - 'spec/policies/merge_request_policy_spec.rb' - - 'spec/policies/project_policy_spec.rb' - 'spec/presenters/ci/build_runner_presenter_spec.rb' - 'spec/presenters/ci/trigger_presenter_spec.rb' - 'spec/presenters/packages/conan/package_presenter_spec.rb' diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index e360ed98b04..af9f92bbb59 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -8ea5e38ead0ac4284aac4a45a94b3acf7e72cd87 +f3778a1784e50c9640086fb3ef9cbf7ba4d80513 diff --git a/app/assets/javascripts/branches/components/divergence_graph.vue b/app/assets/javascripts/branches/components/divergence_graph.vue index 36fff370ea1..deaed694b46 100644 --- a/app/assets/javascripts/branches/components/divergence_graph.vue +++ b/app/assets/javascripts/branches/components/divergence_graph.vue @@ -65,7 +65,7 @@ export default { diff --git a/app/assets/javascripts/branches/components/graph_bar.vue b/app/assets/javascripts/branches/components/graph_bar.vue index 83da41ca097..21cbcac820a 100644 --- a/app/assets/javascripts/branches/components/graph_bar.vue +++ b/app/assets/javascripts/branches/components/graph_bar.vue @@ -56,7 +56,7 @@ export default { diff --git a/app/assets/javascripts/incidents/constants.js b/app/assets/javascripts/incidents/constants.js index a0064c44a6e..4246c3e914f 100644 --- a/app/assets/javascripts/incidents/constants.js +++ b/app/assets/javascripts/incidents/constants.js @@ -9,3 +9,4 @@ export const I18N = { }; export const INCIDENT_SEARCH_DELAY = 300; +export const DEFAULT_PAGE_SIZE = 10; diff --git a/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql index eeba60139ca..d717d898ef0 100644 --- a/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql +++ b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql @@ -1,11 +1,23 @@ query getIncidents( - $searchTerm: String $projectPath: ID! $labelNames: [String] $state: IssuableState + $firstPageSize: Int + $lastPageSize: Int + $prevPageCursor: String = "" + $nextPageCursor: String = "" + $searchTerm: String ) { project(fullPath: $projectPath) { - issues(search: $searchTerm, state: $state, labelName: $labelNames) { + issues( + search: $searchTerm + state: $state + labelName: $labelNames + first: $firstPageSize + last: $lastPageSize + after: $nextPageCursor + before: $prevPageCursor + ) { nodes { iid title @@ -26,6 +38,12 @@ query getIncidents( } } } + pageInfo { + hasNextPage + endCursor + hasPreviousPage + startCursor + } } } } diff --git a/app/assets/javascripts/packages/details/components/information.vue b/app/assets/javascripts/packages/details/components/information.vue index 60bf1d40ff0..d787e0898ca 100644 --- a/app/assets/javascripts/packages/details/components/information.vue +++ b/app/assets/javascripts/packages/details/components/information.vue @@ -40,7 +40,7 @@ export default {