summaryrefslogtreecommitdiff
path: root/spec/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Support lowercase none / anyHeinrich Lee Yu2018-10-261-0/+2
|
* Refactor api validator to separate classHeinrich Lee Yu2018-10-261-0/+62
|
* Include private contributions in user contribution graphGeorge Tsiolis2018-09-071-1/+1
|
* Merge branch 'ab-42194-keyset-pagination' into 'master'Yorick Peterse2018-05-221-8/+204
|\ | | | | | | | | | | | | API: Keyset pagination support Closes #45756 See merge request gitlab-org/gitlab-ce!18584
| * Add keyset pagination for API calls.Andreas Brandl2018-05-211-8/+204
| | | | | | | | Closes #45756.
* | Fix `expose_url` helper does not include custom base url if it is setFrancisco Javier López2018-05-221-2/+14
|/
* Validate project path prior to hitting the database.Andreas Brandl2018-04-131-0/+42
| | | | Closes #45247.
* Respect the protocol in `expose_url`Toon Claes2018-03-121-0/+41
| | | | | | | When https is configured in the URL, also use that, and do not set it to http. Closes gitlab-org/gitlab-ee#5217
* Added default order to UserFinderFrancisco Javier López2017-12-041-0/+21
|
* Add some unit tests for lib/api/helpers.rbTomasz Maczukin2017-11-271-0/+109
|
* Total Pages should be at least onetc-git-tower-pagination-linksToon Claes2017-08-171-1/+2
| | | | And the link to the last page cannot be `page=0`.
* Add specs for pagination Link headerToon Claes2017-08-171-4/+47
| | | | | | | | | | | | | Add specs that check the 'Link' header for the inclusion of: - rel="first" - rel="last" - rel="prev" - rel="next" Fixes gitlab-org/gitlab-ce#36618 Related to gitlab-com/infrastructure#2532
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Add tests for pagination module extracted from APIGrzegorz Bizon2016-12-271-0/+94