Commit Graph

46 Commits

Author SHA1 Message Date
GitLab Bot 886f0a286c Add latest changes from gitlab-org/gitlab@master 2022-12-13 00:07:17 +00:00
GitLab Bot 5fe2d74e00 Add latest changes from gitlab-org/gitlab@master 2022-12-09 09:08:55 +00:00
GitLab Bot d81f7fc0b3 Add latest changes from gitlab-org/gitlab@master 2022-06-28 09:09:38 +00:00
GitLab Bot 3fbfc0075a Add latest changes from gitlab-org/gitlab@master 2022-05-19 09:09:08 +00:00
GitLab Bot 90726a8ccc Add latest changes from gitlab-org/gitlab@master 2022-05-12 06:07:53 +00:00
GitLab Bot bb3ea5f45e Add latest changes from gitlab-org/gitlab@master 2022-05-03 03:10:17 +00:00
GitLab Bot cddf2db96b Add latest changes from gitlab-org/gitlab@master 2021-09-27 12:13:56 +00:00
GitLab Bot e4df6a7c53 Add latest changes from gitlab-org/gitlab@master 2021-07-29 21:10:10 +00:00
GitLab Bot d6533c4486 Add latest changes from gitlab-org/gitlab@master 2021-05-03 12:09:49 +00:00
GitLab Bot 6d19e491d1 Add latest changes from gitlab-org/gitlab@master 2021-04-30 12:12:30 +00:00
GitLab Bot ecf1ffc198 Add latest changes from gitlab-org/gitlab@master 2021-04-23 12:09:52 +00:00
GitLab Bot 6d18e2830d Add latest changes from gitlab-org/gitlab@master 2021-04-05 18:09:15 +00:00
GitLab Bot f5703a054c Add latest changes from gitlab-org/gitlab@master 2021-03-12 03:08:56 +00:00
GitLab Bot fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot 1219a9dce9 Add latest changes from gitlab-org/gitlab@master 2020-04-01 15:07:45 +00:00
GitLab Bot 5064bf8c56 Add latest changes from gitlab-org/gitlab@master 2020-03-25 09:08:11 +00:00
GitLab Bot 2a040e2655 Add latest changes from gitlab-org/gitlab@master 2020-02-21 12:09:07 +00:00
GitLab Bot bc3e57199e Add latest changes from gitlab-org/gitlab@master 2019-12-21 03:07:37 +00:00
GitLab Bot abfafe3c57 Add latest changes from gitlab-org/gitlab@master 2019-10-29 00:06:10 +00:00
Lee Tickett ec66f1b5ca Add name & search parameters to project environments API 2019-06-24 12:18:40 +00:00
Krasimir Angelov 724f19ba0a Add new API endpoint to expose single environment
This is resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/30157.

Implement new API endpoint `/projects/:id/environments/:environment_id`
to expose single environment. Include information for environment's last
deployment if there is one.
2019-04-09 09:16:57 +00:00
blackst0ne b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Francisco Javier López c52ab9141c Fix gitlab import project load 2018-07-23 07:52:15 +00:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Imre Farkas 10237d458d Expose readme url in Project API 2018-05-22 10:53:37 +00:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Jacopo 2f40dac352 Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
Douwe Maan a019369409 Expose avatar_url when requesting list of projects from API with simple=true 2017-09-26 12:47:48 +02:00
Robert Schilling 915dd57fe2 Add tests for the unmodified header 2017-08-28 17:10:34 +02:00
Tony 3c8b2ae168 Expose more attributes to unauthenticated GET /projects/:id 2017-08-03 16:42:11 +03:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Jacopo ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Oswaldo Ferreira fa0c0bb006 Narrow environment payload by using basic project details resource 2017-03-06 14:00:38 -03:00
Toon Claes ed8f13c745 Ensure v3 environments endpoints remain unchanged
Because environments also expose the project, ensure the projects are
exposed as they were before in API v3.
2017-03-02 12:15:24 +01:00
Toon Claes 8c569e21d5 Add environment `/stop` action
Add endpoint to stop an environment through the API.
2017-02-28 15:34:38 +01:00
Robert Schilling 86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Robert Schilling 993c3d14d5 Remove shared example for pagination 2017-02-20 15:39:16 +01:00
Robert Schilling c70dfbc686 Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
Rémy Coutable 9c560b5cdf
Replace many :project with :empty_projects in API specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-17 11:41:27 -05:00
Nick Thomas 93a03cd92f Add an environment slug 2016-12-15 13:57:03 +00:00
Livier eb4f15571d Changed API spec files to describe the correct class
Restore changes for api spec files

Fix error in rspec Users

Delete extra space Repositories-spec
2016-11-28 10:55:27 -07:00
Z.J. van de Weg 39c71a19c4 Expose project for environments 2016-08-18 21:10:52 +02:00
Z.J. van de Weg 34c1c8a3b1 Minor fixes in the Env API endpoints 2016-08-01 08:42:09 +02:00
Z.J. van de Weg 1b72256fa1 Use Grape DSL for environment endpoints
Also a couple of minor edits for this branch are included
2016-07-29 20:35:38 +02:00
Z.J. van de Weg 76e9b68439 Incorporate feedback 2016-07-29 13:54:45 +02:00
Z.J. van de Weg 84cd212095 Add API support for environments 2016-07-29 13:54:45 +02:00