Francisco Javier López
|
40887a94bd
|
Fix files/blob api endpoint content disposition
|
2019-01-10 12:30:19 +00:00 |
Grzegorz Bizon
|
8707827d39
|
Improve readablity of CI_API_V4_URL related code
|
2019-01-04 15:32:40 +01:00 |
Grzegorz Bizon
|
f10fe3ae97
|
Add API::Helpers::Version and expose API root URL
This commits adds a new class that is supposed to represent Grape API
version, like `v3` or `v4`.
|
2019-01-03 14:18:05 +01:00 |
Grzegorz Bizon
|
128a5e410f
|
Expose method that returns GitLab API paths
|
2019-01-03 14:18:05 +01:00 |
Francisco Javier López
|
2cd47bba9a
|
Fixed api content-disposition in blob and files endpoint
|
2018-12-31 13:02:32 +01:00 |
Heinrich Lee Yu
|
e0f0c29b0c
|
Support lowercase none / any
|
2018-10-26 10:47:14 +08:00 |
Heinrich Lee Yu
|
bf1ed85a9d
|
Refactor api validator to separate class
|
2018-10-26 10:32:14 +08:00 |
George Tsiolis
|
124cece3b3
|
Include private contributions in user contribution graph
|
2018-09-07 15:08:55 +00:00 |
Yorick Peterse
|
4d3b313a90
|
Merge branch 'ab-42194-keyset-pagination' into 'master'
API: Keyset pagination support
Closes #45756
See merge request gitlab-org/gitlab-ce!18584
|
2018-05-22 11:19:34 +00:00 |
Francisco Javier López
|
0af4c56cff
|
Fix `expose_url` helper does not include custom base url if it is set
|
2018-05-22 08:54:20 +00:00 |
Andreas Brandl
|
f8aee5b086
|
Add keyset pagination for API calls.
Closes #45756.
|
2018-05-21 18:02:41 +02:00 |
Andreas Brandl
|
c4e4258721
|
Validate project path prior to hitting the database.
Closes #45247.
|
2018-04-13 15:59:45 +02:00 |
Toon Claes
|
3802006436
|
Respect the protocol in `expose_url`
When https is configured in the URL, also use that, and do not set it
to http.
Closes gitlab-org/gitlab-ee#5217
|
2018-03-12 15:34:11 +01:00 |
Francisco Javier López
|
7c2b7296d4
|
Added default order to UserFinder
|
2017-12-04 09:49:53 +00:00 |
Tomasz Maczukin
|
a9212e0f07
|
Add some unit tests for lib/api/helpers.rb
|
2017-11-27 23:06:42 +01:00 |
Toon Claes
|
e17d9529fa
|
Total Pages should be at least one
And the link to the last page cannot be `page=0`.
|
2017-08-17 21:47:01 +02:00 |
Toon Claes
|
a98d17a838
|
Add specs for pagination Link header
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
|
2017-08-17 21:47:01 +02:00 |
Robert Speicher
|
72a7b30c9f
|
Change all `:empty_project` to `:project`
|
2017-08-02 17:47:31 -04:00 |
Grzegorz Bizon
|
f9331db136
|
Add tests for pagination module extracted from API
|
2016-12-27 12:11:29 +01:00 |