Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade to Rails 5.2upgrade-rails-5-2-ce | Heinrich Lee Yu | 2019-07-12 | 1 | -5/+5 |
| | | | | Updates changed method names and fixes spec failures | ||||
* | Include the port in the URLs of the API Link headers | Rémy Coutable | 2019-06-06 | 1 | -15/+19 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use a path for the related merge requests endpointsh-fix-related-merge-requests-path | Stan Hu | 2019-05-07 | 1 | -0/+34 |
| | | | | | | | | | | Hosts using a non-standard configuration may have a different hostname/port/scheme than what may be configured on the GitLab server. While expose_url should generate a proper URL, there are cases where it may not work. Since we don't need the full URL, we can use the relative path. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61280 | ||||
* | Get rid of the user_namespace API helper method | Rémy Coutable | 2019-04-24 | 1 | -12/+0 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Autocorrect with RSpec/ExampleWording cop | Thong Kuah | 2019-04-05 | 1 | -3/+3 |
| | | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only" | ||||
* | Add port section to CI Image object | Francisco Javier López | 2019-04-03 | 2 | -0/+53 |
| | | | | | | | | | | | In order to implement https://gitlab.com/gitlab-org/gitlab-ee/issues/10179 we need several modifications on the CI config file. We are adding a new ports section in the default Image object. Each of these ports will accept: number, protocol and name. By default this new configuration will be only enabled in the Web IDE config file. | ||||
* | Provide EE backports for filtering by approver feature | Igor | 2019-03-07 | 1 | -0/+23 |
| | | | | | Adds custom validator for ArrayNoneAny param Extracts some logic in js into separate files | ||||
* | Revert "Merge branch 'id-1951-filter-merge-requests-by-approvers' into 'master'" | Igor | 2019-03-07 | 1 | -23/+0 |
| | | | | This reverts merge request !24982 | ||||
* | Provide EE backports for filtering by approver feature | Igor | 2019-03-07 | 1 | -0/+23 |
| | | | | | Adds custom validator for ArrayNoneAny param Extracts some logic in js into separate files | ||||
* | Properly implement API pagination headers and add specs | Adam Mulvany | 2019-02-21 | 1 | -91/+64 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Encode Content-Disposition filenames | Stan Hu | 2019-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | Users downloading non-ASCII attachments would see garbled characters. When used with object storage, AWS S3 would return an InvalidArgument error: Header value cannot be represented using ISO-8859-1. Per RFC 5987 and RFC 6266, Content-Disposition should be encoded properly. This commit takes the Rails 6 implementation of ActiveSuppport::Http::ContentDisposition (https://github.com/rails/rails/pull/33829) and ports it here. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/47673 | ||||
* | [API] Omit X-Total{,-Pages} when count > 10k | Rémy Coutable | 2019-01-22 | 1 | -15/+82 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Fix files/blob api endpoint content disposition | Francisco Javier López | 2019-01-10 | 1 | -14/+18 |
| | |||||
* | Improve readablity of CI_API_V4_URL related code | Grzegorz Bizon | 2019-01-04 | 1 | -1/+1 |
| | |||||
* | Add API::Helpers::Version and expose API root URL | Grzegorz Bizon | 2019-01-03 | 2 | -16/+27 |
| | | | | | This commits adds a new class that is supposed to represent Grape API version, like `v3` or `v4`. | ||||
* | Expose method that returns GitLab API paths | Grzegorz Bizon | 2019-01-03 | 1 | -0/+36 |
| | |||||
* | Fixed api content-disposition in blob and files endpoint | Francisco Javier López | 2018-12-31 | 1 | -0/+32 |
| | |||||
* | Support lowercase none / any | Heinrich Lee Yu | 2018-10-26 | 1 | -0/+2 |
| | |||||
* | Refactor api validator to separate class | Heinrich Lee Yu | 2018-10-26 | 1 | -0/+62 |
| | |||||
* | Include private contributions in user contribution graph | George Tsiolis | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ab-42194-keyset-pagination' into 'master' | Yorick Peterse | 2018-05-22 | 1 | -8/+204 |
|\ | | | | | | | | | | | | | API: Keyset pagination support Closes #45756 See merge request gitlab-org/gitlab-ce!18584 | ||||
| * | Add keyset pagination for API calls. | Andreas Brandl | 2018-05-21 | 1 | -8/+204 |
| | | | | | | | | Closes #45756. | ||||
* | | Fix `expose_url` helper does not include custom base url if it is set | Francisco Javier López | 2018-05-22 | 1 | -2/+14 |
|/ | |||||
* | Validate project path prior to hitting the database. | Andreas Brandl | 2018-04-13 | 1 | -0/+42 |
| | | | | Closes #45247. | ||||
* | Respect the protocol in `expose_url` | Toon Claes | 2018-03-12 | 1 | -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 UserFinder | Francisco Javier López | 2017-12-04 | 1 | -0/+21 |
| | |||||
* | Add some unit tests for lib/api/helpers.rb | Tomasz Maczukin | 2017-11-27 | 1 | -0/+109 |
| | |||||
* | Total Pages should be at least onetc-git-tower-pagination-links | Toon Claes | 2017-08-17 | 1 | -1/+2 |
| | | | | And the link to the last page cannot be `page=0`. | ||||
* | Add specs for pagination Link header | Toon Claes | 2017-08-17 | 1 | -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-default | Robert Speicher | 2017-08-02 | 1 | -1/+1 |
| | |||||
* | Add tests for pagination module extracted from API | Grzegorz Bizon | 2016-12-27 | 1 | -0/+94 |