summaryrefslogtreecommitdiff
path: root/lib/api/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-2913-0/+26
| | | | | | | | | | 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
* Merge branch 'rubocop-code-reuse' into 'master'Robert Speicher2018-09-133-0/+10
|\ | | | | | | | | Add RuboCop cops to enforce code reusing rules See merge request gitlab-org/gitlab-ce!21391
| * Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-113-0/+10
| | | | | | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* | Initialize projects with readmeSteve2018-09-121-0/+1
|/
* Use policies to determine if attributes can be set in the APISean McGivern2018-08-221-4/+1
| | | | This is more idiomatic than checking membership explicitly.
* Allow date parameters on Issues and Notes API for group ownersFlorent Dubois2018-08-221-1/+1
| | | | | | | - Allow `created_at` and `updated_at` parameters on Issues API - Allow `created_at` on Issue Notes API Closes gitlab-org/gitlab-ce#40059
* Fix bug setting http headers in Files APIFrancisco Javier López 🌴 On vacation; back on August 22th!2018-08-011-1/+5
|
* Resolve "API endpoint that returns all members, including the inherited ↵🙈 jacopo beschi 🙉2018-07-251-0/+25
| | | | membership through ancestor group"
* Resolve "do not set updated_at when creating note"Kia Mei Somabes2018-07-121-0/+2
|
* Add SHA256 and HEAD on File APIAhmet Demir2018-06-281-0/+11
|
* Change update entrypoint instead of adding new keep-alive oneTomasz Maczukin2018-06-071-0/+5
|
* Replace grape-route-helpers with our own grape-path-helpersStan Hu2018-05-301-1/+1
| | | | | | | | | | | This gem (https://gitlab.com/gitlab-org/grape-path-helpers) makes a number of changes: 1. Brings in @mdelaossa's changes in https://github.com/reprah/grape-route-helpers/pull/21 2. Fixes some broken specs and code for Grape 1.0+ 3. Optimizes the generation of paths by bringing in @dblessing's HashWithIndifferentAccess changes in https://gitlab.com/gitlab-org/gitlab-ce/issues/45718#note_70123793 Closes #45718
* Merge branch 'zj-internal-repo-path' into 'master'Grzegorz Bizon2018-05-281-6/+0
|\ | | | | | | | | Don't pass the repository path to Gitlab Shell See merge request gitlab-org/gitlab-ce!19011
| * Don't pass the repository path to Gitlab ShellZeger-Jan van de Weg2018-05-171-6/+0
| | | | | | | | This isn't a requirement, and removes deprecated method calls
* | Merge branch 'ab-42194-keyset-pagination' into 'master'Yorick Peterse2018-05-221-40/+213
|\ \ | | | | | | | | | | | | | | | | | | API: Keyset pagination support Closes #45756 See merge request gitlab-org/gitlab-ce!18584
| * | 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
| |/
* | Fix `expose_url` helper does not include custom base url if it is setFrancisco Javier López2018-05-221-2/+7
|/
* Merge request and commit discussions APIJan Provaznik2018-05-011-7/+49
|
* show only groups an admin is a member of in dashboards/gropsRoger Rüttimann2018-05-011-0/+3
|
* Resolve "Namespace factory is problematic"Lin Jen-Shin2018-04-231-1/+3
|
* Add an API endpoint to download git repository snapshotsNick Thomas2018-04-191-0/+25
|
* Make the API project params reusableBob Van Landuyt2018-04-041-0/+38
|
* Remove support for absolute dirs from Git::EnvJacob Vosmaer (GitLab)2018-03-301-12/+0
|
* Send Gitaly payload for git-upload-archive SSH commandsAlejandro Rodríguez2018-03-211-1/+1
|
* Respect the protocol in `expose_url`Toon Claes2018-03-121-1/+1
| | | | | | | When https is configured in the URL, also use that, and do not set it to http. Closes gitlab-org/gitlab-ee#5217
* Merge branch 'gitaly-git-mandatory' into 'master'Douwe Maan2018-03-071-7/+0
|\ | | | | | | | | Make git push mandatory See merge request gitlab-org/gitlab-ce!17565
| * Make git push mandatoryKim "BKC" Carlbäcker2018-03-061-7/+0
| |
* | Merge branch 'jprovazn-api' into 'master'Sean McGivern2018-03-071-0/+76
|\ \ | |/ |/| | | | | Add discussion API See merge request gitlab-org/gitlab-ce!17510
| * Add discussion APIjprovazn-apiJan Provaznik2018-03-071-0/+76
| | | | | | | | | | * adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
* | Projects and groups badges APIFrancisco Javier López2018-03-051-0/+28
|/
* Persist runner IP address on contact (#43489)Dylan Griffith2018-02-281-6/+12
|
* Allow including custom attributes in API responsesMarkus Koller2018-02-081-0/+28
|
* Merge branch '41763-search-api' into 'master'Sean McGivern2018-02-071-4/+13
|\ | | | | | | | | | | | | Search API Closes #41763 See merge request gitlab-org/gitlab-ce!16878
| * Return only limited pagination headers for search API endpointsJarka Kadlecová2018-02-061-4/+13
| |
* | Merge branch ↵Kamil Trzciński2018-02-071-19/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour' into 'master' Resolve "StuckCiJobsWorker wrongly detects, cancels 'stuck' builds when per-job timeout is more than an hour" Closes #38265, #42196, and #42750 See merge request gitlab-org/gitlab-ce!16756
| * \ Merge branch 'master' into ↵Matija Čupić2018-02-041-4/+2
| |\ \ | | |/ | | | | | | 38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour
| * | Refactor runner attribute caching implementationMatija Čupić2018-02-041-1/+1
| | |
| * | Move info update implementation to Ci::Runner modelMatija Čupić2018-01-291-26/+1
| | |
| * | Update runner info on all authenticated requestsMatija Čupić2018-01-291-0/+2
| | |
| * | Extend Runner API helpers with cache info storageMatija Čupić2018-01-291-5/+11
| | |
* | | Moves project creationg to git access check for git pushTiago Botelho2018-02-061-12/+8
| | |
* | | Abstracts ProjectMoved and ProjectCreated into a BaseProjectTiago Botelho2018-02-061-2/+6
| | |
* | | Move new project on push logic to a serviceTiago Botelho2018-02-061-22/+7
| | |
* | | Add specsTiago Botelho2018-02-061-3/+14
| | |
* | | Adds remote messsage when project is created in a push over SSH or HTTPTiago Botelho2018-02-061-0/+16
| |/ |/|
* | use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-4/+2
|/ | | | including/extending it
* Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH ↵Jacob Vosmaer (GitLab)2018-01-221-7/+8
| | | | pull
* [API] Fix creating issue when assignee_id is empty42025-fix-issue-apiValery Sizov2018-01-151-2/+4
| | | | see https://gitlab.com/gitlab-org/gitlab-ce/issues/42025