- 06 Dec, 2019 6 commits
-
-
Andreas Brandl authored
* API::Helpers::Pagination#paginate only exposes offset pagination * API::Helpers::Pagination#paginate_and_retrieve! supports both types I wanted to make it explicit that keyset pagination returns an array instead of a relation. This does not match the behavior of offset pagination, hence not mixing those in #paginate.
-
Andreas Brandl authored
-
Andreas Brandl authored
-
Andreas Brandl authored
This is in line with what we document: https://docs.gitlab.com/ee/api/README.html#status-codes
-
Andreas Brandl authored
This aligns with offset pagination, where we also allow up to 100 records max.
-
Andreas Brandl authored
This is the squashed together change from https://gitlab.com/gitlab-org/gitlab/merge_requests/19623 that had been reverted previously. Based on the refactoring in https://gitlab.com/gitlab-org/gitlab/merge_requests/21130
-
- 05 Dec, 2019 34 commits
-
-
Andreas Brandl authored
-
Andreas Brandl authored
-
Andreas Brandl authored
-
Andreas Brandl authored
-
Andreas Brandl authored
The method does not only prepare the relation (as the `prepare_relation` suggests), but also triggers batch counting which in turn executes the query as a side-effect. This is being signal-boosted with renaming the method to `prepare!`. We use it in places where we actually want both (preloading/batch counting) to happen. In other places (projects API), we actually don't want that and have the ability to split this into multiple steps now.
-
Andreas Brandl authored
The idea here is to make it explicit that at this point we are handling an array and not a relation anymore.
-
Andreas Brandl authored
-
Andreas Brandl authored
This separates the "relation builder" from the "batch counting" concern.
-
Andreas Brandl authored
-
-
Nick Thomas authored
Move wiki routing under /-/ scope See merge request gitlab-org/gitlab!21185
-
Kushal Pandya authored
Remove unnecessary regexp escaping See merge request gitlab-org/gitlab!21017
-
Stan Hu authored
Upgrade CI image to Go 1.12 (part 2) See merge request gitlab-org/gitlab!21249
-
Winnie Hellmann authored
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Paul Slaughter authored
Merge branch '32898-remove-coupling-of-alldiscussions-in-the-issues-discussion-tab-counter' into 'master' Remove coupling of allDiscussions in the issues discussion tab counter See merge request gitlab-org/gitlab!20899
-
Tom Quirk authored
The tab counter for discussion relies on 2 variables: discussionTabCounter _and_ isLoading. In order to effectively watch both of these properties, an additional computed value has been created, which is subsequently watched. This removes the dependency of allDiscussions from discussionTabCounter
-
Natalia Tepluhina authored
delete board_service.js file Closes #28616 See merge request gitlab-org/gitlab!20168
-
Marvin Karegyeya authored
-
Paul Slaughter authored
Remove hide_dismissed_vulnerabilities feature flag See merge request gitlab-org/gitlab!20483
-
Sean McGivern authored
Add a unique constraint to `software_licenses.name` column See merge request gitlab-org/gitlab!19840
-
mo khan authored
* Remove duplicates * Re-assign policies to oldest duplicate
-
Nick Thomas authored
Fetch initial merge request widget data async Closes #31406 See merge request gitlab-org/gitlab!20719
-
Martin Wortschack authored
Remove duplicate import from gfm_auto_complete_spec.js See merge request gitlab-org/gitlab!21233
-
Winnie Hellmann authored
-
Tim Zallmann authored
Resolve duplication `project-feature-toggle` buttons Closes #33663 See merge request gitlab-org/gitlab!20278
-
Jiaan Louw authored
Initial version of the partial button for project feature toggles.
-
Tim Zallmann authored
Make issuables list specs compatible w/ BootstrapVue 2 See merge request gitlab-org/gitlab!20991
-
Sean McGivern authored
Historical table for gitlab_subscriptions table See merge request gitlab-org/gitlab!19694
-
Sean McGivern authored
Resolve "Clean up Cohorts" See merge request gitlab-org/gitlab!20779
-
Brandon Labuschagne authored
The cohorts tables is receiving a facelift and the data provided to the frontend will now exlclude the current month.
-
Achilleas Pipinellis authored
Merge branch '29716-prometheus-server-fails-to-get-metrics-from-deployed-environments' into 'master' Rake task to ensure metrics from deployed environments Closes #29716 See merge request gitlab-org/gitlab!21007
-
Sean Arnold authored
-
Achilleas Pipinellis authored
Fix link in scss doc See merge request gitlab-org/gitlab!21228
-