An error occurred fetching the project authors.
- 01 Sep, 2020 1 commit
-
-
Lukas 'Eipi' Eipert authored
This moves the following things to Core: - Jira DVCS Connector - Jira Connect App - Usage ping for those two features and removes any license check related to them. Co-authored-by:
Craig Norris <cnorris@gitlab.com>
-
- 26 Aug, 2020 1 commit
-
-
Krasimir Angelov authored
This builds the foundation for the new Generic Packages API endpoionts. Authentication with personal access token and job token is supported. It's using mock `GET ping` endpoint that will be replaced with a real one in a following MR. This new API is behind `generic_packages` feature flag. Related to https://gitlab.com/gitlab-org/gitlab/-/issues/235490.
-
- 20 Aug, 2020 1 commit
-
-
Mario de la Ossa authored
We're moving related issues to core but keeping blocked issues in EE
-
- 10 Aug, 2020 1 commit
-
-
Heinrich Lee Yu authored
This adds Peek support for Grape API endpoints
-
- 07 Aug, 2020 1 commit
-
-
Craig Miskell authored
The endpoint is EE only, so must be mounted only in the EE API class (see https://gitlab.com/gitlab-com/gl-infra/production/-/issues/2495 for this breaking)
-
- 06 Aug, 2020 1 commit
-
-
Max Woolf authored
Adds /personal_access_tokens API for auditing PATs and allowing API access to list of PATs.
-
- 19 Jul, 2020 1 commit
-
-
Thong Kuah authored
- Return agent_id in response if present - Receive token via Authorization header Use standard way for Authorization which is the header. We currently not care about the Authorization type but may enforce this in future Adds /project_info endpoint. Only for public projects. We will sort out authorization for internal and private projects later Remove need to hack around InternalHelpers. InternalHelpers assumes an actor (we don't have it) and params (don't have that either). So get the required data directly instead.
-
- 16 Jul, 2020 2 commits
-
-
Robert May authored
Forces Grape to use `Gitlab::Json` for rendering JSON, rather than going through ActiveSupport or its own wrapper.
-
Serena Fang authored
Establish API endpoint for instance clusters Specs test correctly now Get, post, put, delete Add get, post, put, delete API support and specs Remove extra blank line Remove extra new line Add changelog entry Add API docs for instance cluster Add post, put, and delete Add specs for get and post More specs for get Add specs for put and delete Add specs for put and delete instance clusters, fix linting Add documentation for instance cluster API Add documentation for how to CRUD instance clusters via API, in the process of documenting also tested that curl requests work Git rebase with master Need to rebase because behind master by a lot of commits, this was failing doclint tests Accidentally pushed a merge conflict Address MR review comments Fix docs and changelog, add specs and params Address MR review comments Add clarity to docs and changelog, add some specs, more api parameters Address remaining MR comments Remove extra new lines Add a spec to ensure no project clusters Fix relative link Actually fix the relative link this time Put instance cluster API in admin module Move instance cluster code and specs to admin module Add a spec for multiple instance clusters Added a spec for multiple instance clusters, also moved some specs into the valid params context since they had valid params.
-
- 15 Jul, 2020 2 commits
-
-
Giorgenes Gelatti authored
- package finders and specs - package apis and specs - package services and specs - package presenters and specs - package graphql resolver
-
Patrick Derichs authored
Also add specs for resource events with issuable method defined.
-
- 10 Jul, 2020 1 commit
-
-
Igor Drozdov authored
They are required for implementing approvals in FOSS
-
- 09 Jul, 2020 1 commit
-
-
allison.browne authored
::API::Pipeline -> ::API::Ci::Pipeline ::API::PipelineSchedules -> ::API::Ci::PipelineSchedules
-
- 06 Jul, 2020 1 commit
-
-
Michael Leopard authored
Adding integration tests for the new endpoint Adding CHANGELOG Creating new Bitbucket server service to handle endpoint logic
-
- 29 Jun, 2020 1 commit
-
-
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.
-
- 25 Jun, 2020 1 commit
-
-
Allison Browne authored
API::Runners => API::Ci::Runners
-
- 27 May, 2020 1 commit
-
-
Igor Drozdov authored
We used them for the first code intelligence iteration Now we don't need them, so we can remove
-
- 26 May, 2020 1 commit
-
-
Patrick Derichs authored
Also add specs and documentation Edit intro to docs page Edit docs examples - Rearrange example requests and responses - Surround request URLs in quotation marks Apply suggestion to app/finders/resource_milestone_event_finder.rb Apply suggestion to doc/api/resource_milestone_events.md
-
- 15 May, 2020 2 commits
-
-
Bob Van Landuyt authored
This logs the context for Rails-controller and Grape-API reqeusts similar to what we do for Sidekiq. The information comes from Labkit::Context. This also avoids logging information for unpersisted groups and projects in controllers. This was needed since the `#new` actions of controllers would assign those ivars but the information is not relevant for logs.
-
Sean Carroll authored
Part of https://gitlab.com/gitlab-org/gitlab/-/issues/24295 See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29382
-
- 14 May, 2020 1 commit
-
-
James Fargher authored
Minimum required to add a new API
-
- 13 May, 2020 2 commits
-
-
Marius Bobin authored
Adds CRUD actions API for managing instance level CI/CD variables
-
Mikolaj Wawrzyniak authored
To make starring dashboard available we need to introduce new API endpoint which will recieve POST requests and add corresponding database entries.
-
- 30 Apr, 2020 1 commit
-
-
Oswaldo Ferreira authored
This handles a specific exception raised by `rack-timeout` Gem when Puma requests surpass the configured timeout. This exception wasn't being handled properly (and logged), given it inherits from `Exception`, which is not handled by Grape `rescue_from :all`.
-
- 27 Apr, 2020 2 commits
-
-
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.
-
- 14 Apr, 2020 1 commit
-
-
Kirstie Cook authored
Add annotations post endpoint specs Add changelog entry
-
- 07 Apr, 2020 1 commit
-
-
Andy Soiron authored
-
- 06 Apr, 2020 1 commit
-
-
Małgorzata Ksionek authored
Add changelog entry
-
- 31 Mar, 2020 1 commit
-
-
Magdalena Frankiewicz authored
- Use Grape API - Endpoints are dummies, but with authentication and authorization - Use basic auth to get the Personal Access Token - Add Maintainer ability specific to Terraform state
-
- 27 Mar, 2020 1 commit
-
-
David Fernandez authored
To track when: * a push is done to a container repository * a push is done to a container tag * a delete is done to a container tag
-
- 06 Mar, 2020 1 commit
-
-
Drew Blessing authored
The SCIM API needs to override the Application Context and set the user to nil since the SCIM API doesn't operate in the context of a user. Rather, the SCIM API uses a static token specific to the group enabling SCIM. Without overriding the context saving a user will hang when attempting to resolve the current_user set in the Application Context in the main API (lib/api/api.rb).
-
- 28 Feb, 2020 1 commit
-
-
Sean McGivern authored
This API endpoint uses job metadata to remove jobs from a queue. It can only be used by admins, and deletes as many jobs as it can in 30 seconds. If it exceeds 30 seconds, it returns a flag indicating that the user should try again to finish processing the queue. (Because of the way Sidekiq queues work, it can't resume where it left off, so you just have to start from scratch each time.) By default, it's implemented in GraphQL, but there's also a matching REST endpoint for convenience.
-
- 20 Feb, 2020 1 commit
-
-
Steve Abrams authored
deploy_tokens endpoint is added to the api
-
- 11 Feb, 2020 1 commit
-
-
George Koltsov authored
- Add POST '/groups/import' API endpoint - Triggers Group Import functionality similar to Project Import - Imports a group structure along with it's relations
-
- 10 Feb, 2020 2 commits
-
-
Igor Drozdov authored
This MR provides API for fetching code navigation info from the stored LSIF data
-
Andy Soiron authored
It updates User#last_activity_on, on every API request when user is logged in and last_activity_on is a date earlier than today
-
- 22 Jan, 2020 1 commit
-
-
Oswaldo Ferreira authored
It adds new attributes subscription_plan and caller_id. The subscription_plan can be "free", "bronze", "silver" or "gold", these are exclusively fetched from the given namespace (or the project if it's not given). The caller_id can be the controller action name if it's a regular Rails request, or the Grape route, when it's an API request. These new attributes will also be logged at Sidekiq logs, along the project, user and namespace.
-
- 11 Jan, 2020 1 commit
-
-
raju249 authored
-
- 07 Jan, 2020 1 commit
-
-
Fabio Huser authored
-