summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* Standardize remote_ip and path keys for auth.log and api_json.logStan Hu2019-08-201-1/+1
| | | | | | | | Current `auth.log` uses `fullpath` and `ip`, while `api_json.log` uses `remote_ip` and `path` for the same fields. Let's standardize these namings to make it easier for people working with the data. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66167
* Add group level container repository endpointsSteve Abrams2019-08-051-1/+2
| | | | | | | API endpoints for requesting container repositories and container repositories with their tag information are enabled for users that want to specify the group containing the repository rather than the specific project.
* Filter Geo proxied data from api_json.logsh-filter-geo-outputStan Hu2019-07-141-1/+2
| | | | | | Currently the base64-encoded value of the push-to-secondary data is saved in `api_json.log`, and this can easily be hundreds of megabytes. We should filter this from the logs.
* Merge branch '55623-group-cluster-apis' into 'master'Grzegorz Bizon2019-07-121-0/+1
|\ | | | | | | | | | | | | Resolve "API support for group-level clusters" Closes #55623 See merge request gitlab-org/gitlab-ce!30213
| * Add API for CRUD group clusters55623-group-cluster-apisDylan Griffith2019-07-111-0/+1
| | | | | | | | This is basically a copy of the API for project clusters.
* | Updates on success of an MR the count on top and in other tabsTim Zallmann2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New API endpoint for merge request count Updates all open tabs at the same time with one call Restructured API response API response changed to 401 if no current_user Added API + JS specs Fix for Static Check Updated Count on Open/Close, Assign/Unassign of MR's Checking if MR Count is refreshed Added # frozen_string_literal: true to spec Added Changelog
* | Allow asynchronous rebase operations to be monitoredNick Thomas2019-07-041-1/+4
|/ | | | | | | | | This MR introduces tracking of the `rebase_jid` for merge requests. As with `merge_ongoing?`, `rebase_in_progress?` will now return true if a rebase is proceeding in sidekiq. After one release, we should remove the Gitaly-based lookup of rebases. It is much better to track this kind of thing via the database.
* Remove the circuit breaker APIchore/remove-circuit-breaker-apiMarkus Koller2019-05-241-1/+0
| | | | | The circuit breaker itself was removed in 11.5, this removes the corresponding API endpoints which returned empty data since then.
* Run rubocop -a on CE filessh-upgrade-rubocop-0.68.0-ceStan Hu2019-05-051-1/+1
|
* Add new api class for projects eventsMałgorzata Ksionek2019-04-241-0/+1
| | | | | | | | | | | | Refactor api events class to use external helper Move specs from old class Add changelog and magic string Refactor events class to be more explicit Remove blank line
* Add project http fetch statistics APIJacopo2019-02-271-0/+1
| | | | | | The API get projects/:id/traffic/fetches allows user with write access to the repository to get the number of clones for the last 30 days.
* Merge branch 'api-group-labels' into 'master'Sean McGivern2019-02-071-0/+1
|\ | | | | | | | | | | | | API group labels Closes #44901 See merge request gitlab-org/gitlab-ce!21368
| * Inital API implementation for group labelsRobert Schilling2019-01-311-0/+1
| |
* | Merge branch '51913-api-getting-projects-for-users-with-dot-gets-404' into ↵Rémy Coutable2019-02-011-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | 'master' API: Support username with dots Closes #51913 See merge request gitlab-org/gitlab-ce!24395
| * Unify user requirements for API slugsRobert Schilling2019-01-311-0/+1
| |
* | Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon2019-01-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
| * | Add Container Registry APIKamil Trzciński2019-01-251-0/+1
| |/ | | | | | | | | | | This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
* | API for importing external reposBen2019-01-171-0/+1
|/
* Add API for release asset linksShinya Maeda2019-01-071-0/+1
| | | | Authorize against release not project
* Include CRUD endpoints for Cluster API40473-api-support-for-kubernetes-integrationMayra Cabrera2019-01-041-0/+1
| | | | | | | | | | | | Adds the following initial CRUD endpoints for Clusters API: - GET list of clusters - GET specific cluster - POST add existing cluster (mimic of "Add cluster") - PUT update cluser - DELETE destroy cluster Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40473
* Add releases APIAlessio Caiazza2018-12-311-0/+1
| | | | | | | | | | | This commit introduces Releases API under /api/v4/projects/:id/releases * We are introducing release policies at project level. * We are deprecating releases changes from tags, both api and web interface. * Tags::CreateService no longer create a release This feature is controlled by :releases_page feature flag
* Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-131-0/+1
|
* Log and pass correlation-id between Unicorn, Sidekiq and GitalyKamil Trzciński2018-12-061-2/+2
| | | | | | | | The Correlation ID is taken or generated from received X-Request-ID. Then it is being passed to all executed services (sidekiq workers or gitaly calls). The Correlation ID is logged in all structured logs as `correlation_id`.
* Merge branch 'if-52811-fix_namespaces_api_routing' into 'master'Nick Thomas2018-11-301-2/+2
|\ | | | | | | | | Fix API::Namespaces routing to accept namepaces with dots See merge request gitlab-org/gitlab-ce!22912
| * Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-2/+2
| | | | | | | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* | Lock writes to trace streamKamil Trzciński2018-11-271-0/+4
|/
* Add submodule update API endpointFrancisco Javier López2018-11-071-0/+1
| | | | | | | | | | This new endpoint allow users to update a submodule's reference. The MR involves adding a new operation RPC operation in gitaly-proto (see gitlab-org/gitaly-proto!233) and change Gitaly to use this new version (see gitlab-org/gitaly!936). See gitlab-org/gitlab-ce!20949
* Backport project template API to CENick Thomas2018-10-051-0/+1
|
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | 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
* Use ResourceLabelEvent for tracking label changesJan Provaznik2018-09-071-0/+1
|
* Add route information to lograge structured loggingAndrew Newdigate2018-09-051-0/+1
|
* Add gitaly_calls to API structured logsAndrew Newdigate2018-09-041-1/+2
|
* API: Protected tagsRobert Schilling2018-08-251-4/+5
|
* Add Avatar APIImre2018-06-061-0/+1
|
* Removed API endpoint and specsfj-36819-remove-v3-apiFrancisco Javier López2018-05-301-39/+5
|
* Log queue duration for Grape API callssh-tag-queue-duration-api-callsStan Hu2018-05-281-1/+2
| | | | | | | This mimics the same thing the RailsQueueDuration does for Rails controller requests and will help diagnose issues with API delays. Closes #46601
* Resolve "Expand API: Render an arbitrary Markdown document"blackst0ne2018-05-181-0/+1
|
* Fix api_json.log not always reporting the right HTTP status codeStan Hu2018-05-171-8/+9
| | | | | | | | | | As described in https://github.com/aserafin/grape_logging/issues/45, if a Grape error is caught by the handlers and a different return code is returned, then the api_json.log would have a 500 error code instead of the right value. Inserting the GrapeLogging middleware after the Grape middleware fixes this problem. Seen in https://gitlab.com/gitlab-com/infrastructure/issues/4249
* Add an API endpoint to download git repository snapshotsNick Thomas2018-04-191-0/+1
|
* Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-0/+8
|
* Merge branch 'jprovazn-api' into 'master'Sean McGivern2018-03-071-0/+1
|\ | | | | | | | | Add discussion API See merge request gitlab-org/gitlab-ce!17510
| * Add discussion APIjprovazn-apiJan Provaznik2018-03-071-0/+1
| | | | | | | | | | * adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
* | Merge branch 'master' into 'issue_38337'Felipe Artur2018-03-061-0/+2
|\ \ | | | | | | | | | | | | # Conflicts: # app/models/group.rb # db/schema.rb
| * \ Merge branch '29130-api-project-export' into 'master'Sean McGivern2018-03-061-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "API endpoint for exporting project" Closes #29130 See merge request gitlab-org/gitlab-ce!15860
| | * | Add project export API implementationTravis Miller2018-02-281-0/+1
| | |/
| * | Projects and groups badges APIFrancisco Javier López2018-03-051-0/+1
| |/
* | Bring one group board to CEFelipe Artur2018-03-031-0/+1
|/
* add entity and update specJames Lopez2018-02-131-0/+1
|
* Support search in APIJarka Kadlecová2018-02-061-0/+1
|
* Add application create APINicolas MERELLI2018-01-241-0/+1
|