summaryrefslogtreecommitdiff
path: root/lib/api/helpers/pagination.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Add feature-flag for keyset pagination.ab-42194-keyset-paginationAndreas Brandl2018-05-211-1/+1
|
* Add keyset pagination for API calls.Andreas Brandl2018-05-211-5/+165
| | | | Closes #45756.
* Refactor and extract DefaultPaginationStrategy.Andreas Brandl2018-05-211-43/+56
|
* Return only limited pagination headers for search API endpointsJarka Kadlecová2018-02-061-4/+13
|
* Added default order to UserFinderFrancisco Javier López2017-12-041-0/+10
|
* Total Pages should be at least onetc-git-tower-pagination-linksToon Claes2017-08-171-6/+11
| | | | And the link to the last page cannot be `page=0`.
* don't add next page link if current page is out of rangeJordan Patterson2017-08-171-1/+1
|
* Paginate all endpoints that return an arrayRobert Schilling2017-02-161-1/+1
|
* Extract API pagination code to a separete moduleGrzegorz Bizon2016-12-071-0/+45