summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Remove authentication for readonly endpoints in issues APIhaseeb2018-05-151-1/+2
|
* Block access to API & git when terms are enforcedBob Van Landuyt2018-05-101-1/+11
| | | | | | When terms are enforced, but the user has not accepted the terms access to the API & git is rejected with a message directing the user to the web app to accept the terms.
* Support 'active' setting on Runner Registration API endpointTomasz Maczukin2018-05-091-1/+2
|
* Expose runner ip address to runners APILars Greiss2018-05-081-0/+1
| | | | Signed-off-by: Lars Greiss <l.greiss@mediacologne.de>
* Enforce proper 416 support for runner trace patch endpointKamil Trzciński2018-05-071-3/+14
|
* Backports every CE related change from ee-44542 to CETiago Botelho2018-05-041-0/+1
|
* Merge branch 'feature/runner-per-group' into 'master'Kamil Trzciński2018-05-042-6/+21
|\ | | | | | | | | Shared CI runners for groups See merge request gitlab-org/gitlab-ce!9646
| * Merge branch 'master' into feature/runner-per-groupDylan Griffith2018-05-038-58/+159
| |\
| * | Remove API changes for assigning group runner to projectDylan Griffith2018-04-301-1/+0
| | | | | | | | | | | | Since we are going to handle the API stuff later we can just leave this as error case since the model validations will stop this
| * | Start persisting runner_type when creating runnersDylan Griffith2018-04-301-3/+3
| | |
| * | Rename Runner#group? -> #assigned_to_group? and Runner#project? -> ↵Dylan Griffith2018-04-301-1/+1
| | | | | | | | | | | | #assigned_to_project?
| * | Merge branch 'master' into siemens-runner-per-groupDylan Griffith2018-04-243-4/+12
| |\ \
| * | | runner can't be assigned to more than 1 groupAlexis Reigel2018-04-231-1/+0
| | | | | | | | | | | | | | | | therefore we don't need the api check.
| * | | disallow group runners to become project runnersAlexis Reigel2018-04-231-0/+1
| | | |
| * | | revert support for v3 apiAlexis Reigel2018-04-231-1/+0
| | | |
| * | | support group runners in existing API endpointsAlexis Reigel2018-04-234-4/+21
| | | |
* | | | Fix lambda arguments in Grape entitiesRémy Coutable2018-05-031-2/+2
| |_|/ |/| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge request and commit discussions APIJan Provaznik2018-05-015-49/+148
| | |
* | | show only groups an admin is a member of in dashboards/gropsRoger Rüttimann2018-05-012-9/+10
| | |
* | | Add sha filter to list pipelinesJames Ramsay2018-04-271-0/+1
| |/ |/| | | | | | | | | | | To find the pipeline for a specific sha requires scanning the list of all pipelines for a ref that contains the sha. This makes it hard to find the pipeline id needed to access a trace for a specific job run in the pipeline using the API.
* | Resolve "Namespace factory is problematic"Lin Jen-Shin2018-04-231-1/+3
| |
* | Merge branch '45576-fix-create-project-for-user-endpoint' into 'master'Rémy Coutable2018-04-231-2/+8
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Upgrading to API V4 Project Creation for user Fails" Closes #45576 See merge request gitlab-org/gitlab-ce!18518
| * | Fix project creation for user endpoint bugMark Fletcher2018-04-231-2/+8
| |/ | | | | | | | | | | In this endpoint the `jobs_enabled` parameter must be translated to `builds_enabled` before being passed to the `Projects::CreateService`.
* | Add 2FA filter to users API for admins onlyDmitriy Zaporozhets2018-04-231-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add an API endpoint to download git repository snapshotsNick Thomas2018-04-193-0/+45
|
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-1816-41/+41
|
* Merge branch ↵Nick Thomas2018-04-171-2/+2
|\ | | | | | | | | | | | | | | | | '45363-optional-params-on-api-endpoint-produce-invalid-pagination-header-links' into 'master' Fix URLs in the `Link` header for `GET /projects/:id/repository/contributors` when no value is passed for `order_by` or `sort` Closes #45363 See merge request gitlab-org/gitlab-ce!18393
| * [API] Fix URLs in the 'Link' header for 'GET ↵Rémy Coutable2018-04-171-2/+2
| | | | | | | | | | | | /projects/:id/repository/contributors' when no value is passed for 'order_by' or 'sort' Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Validate project path prior to hitting the database.Andreas Brandl2018-04-131-2/+2
|/ | | | Closes #45247.
* Feature/add language in repository to apiRoger Rüttimann2018-04-131-0/+5
|
* Correct permissions for creating merge requests from issuesBob Van Landuyt2018-04-112-2/+2
| | | | | | | This could only be possible for users that can create merge requests within a project. So they need to be a allowed to create a branch and create a merge request.
* Expose the target commit ID through the tag APIAndrew Beresford2018-04-081-1/+1
| | | | | | This is useful for annotated tags, where the deferenced target is not the same as the tag object. At the moment there is no way to differentiate the two through the tag API. This change adds a "target" property and leaves the existing "commit" property alone so that existing behaviour is not altered.
* Projects and groups badges settings UIFrancisco Javier López2018-04-081-0/+1
|
* Extend API for importing a project export with overwrite supportFrancisco Javier López2018-04-061-1/+3
|
* Merge branch 'jramsay-38830-tarball' into 'master'Douwe Maan2018-04-063-4/+4
|\ | | | | | | | | | | | | Add alternative archive route Closes #38830 See merge request gitlab-org/gitlab-ce!17225
| * Add option to suppress archive commit shaJames Ramsay2018-04-043-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
* | Merge branch 'issue_42443' into 'master'Sean McGivern2018-04-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Include subgroup issues when searching for group issues using the API Closes #42443 See merge request gitlab-org/gitlab-ce!18068
| * | Include subgroup issues when searching for group issues using the APIissue_42443Felipe Artur2018-04-051-1/+1
| | |
* | | Merge branch 'direct-upload-of-artifacts' into 'master'Grzegorz Bizon2018-04-053-33/+33
|\ \ \ | | | | | | | | | | | | | | | | Direct upload of artifacts See merge request gitlab-org/gitlab-ce!18160
| * | | Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-053-33/+33
| | |/ | |/|
* | | Merge branch 'bvl-override-import-params' into 'master'Douwe Maan2018-04-053-31/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow passing params to import API to override project attributes Closes gitlab-ee#4788 See merge request gitlab-org/gitlab-ce!18086
| * | | Store override params as import data on projectsBob Van Landuyt2018-04-041-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means import data doesn't necessarily have to have an import_url anymore. The `ProjectImportData` could just contain the override data in it's serialized data attribute. The import data is automatically cleaned up after it is finished by the state machine.
| * | | Make the API project params reusableBob Van Landuyt2018-04-042-30/+42
| | | |
* | | | Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-052-2/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* | | Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-6/+7
| | |
* | | Merge branch 'zj-feature-gate-remove-http-api' into 'master'Douwe Maan2018-04-041-0/+7
|\ \ \ | |/ / |/| | | | | | | | Allow feature gate removal through the API See merge request gitlab-org/gitlab-ce!18146
| * | Allow feature gate removal through the APIzj-feature-gate-remove-http-apiZeger-Jan van de Weg2018-04-031-0/+7
| | | | | | | | | | | | | | | | | | Features could be listed and added through the api, now also removed. This was needed in the case of gitlab.com as the number of gates that were ever used just grows and cleaning up is hard.
* | | Resolve "Allow the configuration of a project's merge method via the API"Jan2018-04-042-0/+3
| | |
* | | Store metadata checksum for artifacts43745-store-metadata-checksum-for-artifactsShinya Maeda2018-04-031-1/+2
|/ /
* | Extend API for exporting a project with direct upload URLFrancisco Javier López2018-03-301-1/+18
| |