- 29 Jun, 2020 40 commits
-
-
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.
-
Martin Wortschack authored
Remove append-right-2 CSS class See merge request gitlab-org/gitlab!35452
-
Martin Wortschack authored
Remove prepend-top-16 CSS class See merge request gitlab-org/gitlab!35451
-
Michael Kozono authored
Auto close related alert issue on recovery See merge request gitlab-org/gitlab!35208
-
Sean Arnold authored
- Limited to prometheus alerts right now
-
Oswaldo Ferreira authored
Support quick actions when editing descriptions See merge request gitlab-org/gitlab!31186
-
Michael Kozono authored
Break out some Geo registry basics into a concern Closes #221029 See merge request gitlab-org/gitlab!35245
-
Sean McGivern authored
Remove read_cluster_health permission See merge request gitlab-org/gitlab!35333
-
Michael Kozono authored
Geo - Schedule the repositories deletion after project removal Closes #223272 See merge request gitlab-org/gitlab!34963
-
Marcia Ramos authored
Typo fix for docs repo links See merge request gitlab-org/gitlab!35481
-
Toon Claes authored
There was quite a bit of functionality `Geo::PackageFileRegistry` which can be reused by all the Geo registries that will use the self-service framework. To make this easier I've moved everything into a concern. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/221029
-
Sean McGivern authored
Log name of class that failed to obtain exclusive lease See merge request gitlab-org/gitlab!35228
-
Grzegorz Bizon authored
Upgrade Pages to 1.20.0 See merge request gitlab-org/gitlab!35177
-
Andreas Brandl authored
Drop partitions_dynamic schema if it exists See merge request gitlab-org/gitlab!35426
-
Jarka Košanová authored
Revert "Remove GitlabIssueTrackerService class" See merge request gitlab-org/gitlab!35510
-
Kushal Pandya authored
Update UI links to docs See merge request gitlab-org/gitlab!35488
-
Kushal Pandya authored
Improve alert list spacing See merge request gitlab-org/gitlab!35400
-
Tristan Read authored
-
Shinya Maeda authored
Improve Feature Flag Issue Specs See merge request gitlab-org/gitlab!35377
-
Jason Goodman authored
Improve permissions checks
-
Martin Wortschack authored
Keep NaN values in data series Closes #223790 See merge request gitlab-org/gitlab!35086
-
Andreas Brandl authored
The original MR got reverted and deployed to GitLab.com. We ship another migration here to clean this up.
-
Henryk Paluch authored
-
Markus Koller authored
Expose snippets_size in ProjectStatistics Entity See merge request gitlab-org/gitlab!35316
-
Andy Soiron authored
This reverts merge request !34852
-
Shinya Maeda authored
Enable code_navigation for feature specs See merge request gitlab-org/gitlab!35309
-
Marcin Sedlak-Jakubowski authored
Update confidential epics documentation See merge request gitlab-org/gitlab!35299
-
Evan Read authored
-
Shinya Maeda authored
Do Not Allow a User List to be Deleted if Associated with a Strategy See merge request gitlab-org/gitlab!35275
-
Jason Goodman authored
Return an error message in the api
-
Bob Van Landuyt authored
Move issuable resolver logic to finders See merge request gitlab-org/gitlab!31542
-
Alex Kalderimis authored
This moves the core logic of the merge request resolver and the issues resolver into a finder (technically a composition of finders), so that we can re-use it in other resolvers/mutations without needing to instantiate an entire resolver and run the full resolver life-cycle each time.
-
Tim Zallmann authored
Change replication status button to indicator with tooltip Closes #223905 See merge request gitlab-org/gitlab!34571
-
Nick Thomas authored
Bump rouge to 3.20 See merge request gitlab-org/gitlab!34987
-
Bob Van Landuyt authored
Namespace storage purchase api See merge request gitlab-org/gitlab!35257
-
Grzegorz Bizon authored
Support warnings in pipeline creation See merge request gitlab-org/gitlab!33762
-
Fabio Pitino authored
Store errors or warnings occurring during pipeline creation in Ci::PipelineMetadata.
-
Sean McGivern authored
Update unit to seconds in GraphQL logs See merge request gitlab-org/gitlab!35446
-
Miguel Rincon authored
While it is important to maintain average, max, min values, this should be done at the chart level and not at the data level, as these values cannot be removed from the dataset arbitrarily.
-
Nick Thomas authored
Refer to FOSS user callout enum from EE version See merge request gitlab-org/gitlab!35420
-