- May 24, 2022
-
-
- May 18, 2022
-
-
Ahmed Hemdan authored
Changelog: changed
-
- May 11, 2022
-
-
Ahmed Hemdan authored
Changelog: fixed
-
- May 02, 2022
-
-
Alessio Caiazza authored
Changelog: added
-
- Apr 29, 2022
-
-
Sam Goldstein authored
-
- Apr 13, 2022
-
-
Bala Kumar Subramani authored
Changelog: changed
-
- Aug 26, 2021
-
-
When environment gets updated, slug and tier aren't properly updated. And we actually can't update slug as it's used by deployment jobs(e.g. AutoDevOps) and should stay the same for the environment. https://gitlab.com/gitlab-org/gitlab/-/issues/31268 Changelog: fixed
-
- Jul 29, 2021
-
-
Shinya Maeda authored
Currently, the paylod contains many unnecessary information. These are removed for freeing up the network bandwidth. Changelog: fixed
-
- Apr 22, 2021
-
-
- Apr 13, 2021
-
-
Dmitriy Zaporozhets authored
To follow the same naming other finders have Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Signed-off-by:
Dmytro Zaporozhets <dzaporozhets@gitlab.com>
-
- Mar 11, 2021
-
-
Robert May authored
Adds an API endpoint which allows for deletion of old, stopped, review app environments.
-
- Oct 29, 2020
-
-
Bob Van Landuyt authored
This adds a feature category to API classes from B -> G
-
- Oct 14, 2020
-
-
Sean McGivern authored
This is the result of auto-correcting API/Base.
-
- Jun 29, 2020
-
-
Stan Hu authored
This brings back many of the changes in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27276. This was reverted due to some failures in the QA tests with nil parameters. Grape v1.3.3 brings in Ruby 2.7 support and a number of fixes: https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md 1. Move all inherited `Grape::API` -> `Grape::API::Instance` 2. Remove use of Virtus since this has been removed from Grape. 3. Extract `Rack::Response` from API error 4. Grape v1.2.3 pulled in a fix used in `SafeFile`: https://github.com/ruby-grape/grape/pull/1844, so we no longer need to maintain our custom type. 5. Adapt `WorkhorseFile` with the latest changes to make custom types work with Grape and dry-types. 6. Ensure `Array[String]` is coerced properly. The change from Virtus to dry-types now requires all strings to be coerced to arrays. Before this was done within Virtus. 7. Coerce `Array[Integer]` types to arrays of integers 8. Use a new helper, `coerce_nil_params_to_array!`, that coerces nil Array inputs to empty arrays to preserve previous behavior. If you have a parameter of type `Array[String]`, for example, Grape used to coerce a provided `nil` value to `[]`. Grape no longer does this for us, so we need a helper method that will automatically do this if the parameter is present. This merge request also introduces two Rubocop rules for Grape v1.3: 1. `Grape::API::Instance` instead of `Grape::API` is required, unless we solve https://gitlab.com/gitlab-org/gitlab/-/issues/215230. 2. Grape parameters defined with `Array` types (e.g. `Array[String]`, `Array[Integer]`) must have a `coerce_with` block or they will fail to parse properly. See https://github.com/ruby-grape/grape/blob/master/UPGRADING.md for more details.
-
- Apr 27, 2020
-
-
Stan Hu authored
This reverts merge request !27276
-
Stan Hu authored
This brings in Ruby 2.7 suport and a number of fixes: https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md 1. Move all inherited Grape::API -> Grape::API::Instance 2. Remove use of Virtus since this has been removed from Grape. 3. Extract Rack::Response from API error 4. Grape v1.2.3 pulled in a fix used in SafeFile: https://github.com/ruby-grape/grape/pull/1844, so we no longer need to maintain our custom type. 5. Adapt WorkhorseFile with the latest changes to make custom types work with Grape and dry-types. 6. Ensure Array[String] is coerced properly. The change from Virtus to dry-types now requires all strings to be coerced to arrays. Before this was done within Virtus. 7. Coerce Array[Integer] types to arrays of integers The change from Virtus to dry-types now requires all strings to be coerced to arrays of integers. Before this was done within Virtus.
-
- Apr 02, 2020
-
-
- Mar 25, 2020
-
-
Adds delete functionality Adds a property the 'api' library to enable access for buildUrl Passes the project ID as a prop to the environments component Imports the Delete component for use within the environment items Adds canDeleteEnvironment as a computed method for environment items Defines project ID as a required prop for the environments component Imports the delete modal for the environments folder view Sets up the delete modal within the environments modal Creates a deleteAction helper method within the environments mixin Creates an update method for the delete modal Adds a method to facilitate API access to delete an environment Adds events for reactivity with the delete environment feature Adds an axios helper for DELETE calls in the environments service Exposes a data attribute with the project ID on the environments list Adds a test for the delete environment component Adds a project ID to the mock data for the environments app Adds translations and formatting Fixes commas, semicolons, and whitespace using prettier Adds generated environments-related translations Implements delete button for detail view Removes front-end buildable delete endpoint Updates deletion method to ensure endpoint access Removes previously-added project id property Accesses exposed deletion endpoint Adds helper function for model-based access to API endpoint Exposes update rule for front-end access Exposes helper-based delete endpoint Removes previously added project id property Adds modal and button for detail view Removes project ID from mock data Using const instead of let Removes now unused import Adds entry to changelog Adds reload on delete modal success Adds reload on delete for etag expiration Modifies method name Modifies delete path helper on entity Modifies delete action helper Adds request_url param Adding docs for delete feature Adds translations and lint fixes
-
- Jun 24, 2019
-
-
Lee Tickett authored
-
- Apr 09, 2019
-
-
Krasimir Angelov authored
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.
-
- Feb 17, 2019
-
-
Luke Duncalfe authored
default_branch, statistics and config_ci_path are now only exposed if the user has permissions to the repository.
-
- Jan 24, 2019
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Nov 30, 2018
-
-
Imre (Admin) authored
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
-
- Nov 28, 2018
-
-
Imre (Admin) authored
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
-
- Sep 30, 2018
-
-
gfyoung authored
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
-
- Jul 10, 2018
-
-
Winnie Hellmann authored
-
Winnie Hellmann authored
-
- Aug 31, 2017
-
-
Robert Schilling authored
-
- Aug 29, 2017
-
-
Robert Schilling authored
-
Robert Schilling authored
-
- Aug 28, 2017
-
-
Robert Schilling authored
-
Robert Schilling authored
-
- Jul 20, 2017
-
-
Dmitriy Zaporozhets authored
New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Mar 16, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Feb 28, 2017
-
-
Toon Claes authored
Add endpoint to stop an environment through the API.
-
Robert Schilling authored
-
- Dec 15, 2016
-
-
Nick Thomas authored
-
- Nov 22, 2016
-
-
Semyon Pupkov authored
-
- Nov 14, 2016
-
-
Robert Schilling authored
-