summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Save user ID and username in Grape API log (api_json.log)sh-store-user-in-api-logsStan Hu2018-01-081-1/+2
| | | | | | This will enable admins to identify who actually made the API request. Relates to #36960
* EE-BACKPORT group boardsFelipe Artur2018-01-041-2/+2
|
* Merge branch '36099-api-responses-missing-x-content-type-options-header' ↵Douwe Maan2017-11-081-1/+4
| | | | | | | | | | | into '10-1-stable' Include X-Content-Type-Options (XCTO) header into API responses See merge request gitlab/gitlabhq!2211 (cherry picked from commit 6c818e77f2abeef2dd7b17a269611b018701fa79) e087e075 Include X-Content-Type-Options (XCTO) header into API responses
* Remove Session APIDouwe Maan2017-11-021-1/+0
|
* Add pages domains API implementationTravis Miller2017-10-221-0/+1
|
* Adds requirements that supports anything in sha paramsGuilherme Vieira2017-10-121-3/+4
|
* Exclude logging of API responses to prevent leakage of confidential datash-exclude-api-responsesStan Hu2017-09-131-1/+0
|
* Merge branch 'sh-add-grape-logging' into 'master'Sean McGivern2017-09-071-0/+11
|\ | | | | | | | | | | | | Add JSON logger in `log/api_json.log` for Grape API endpoints Closes #36189 See merge request !14102
| * Use a custom GrapeLogging formatter to get the timestampsh-add-grape-loggingStan Hu2017-09-071-2/+2
| |
| * Fix Rubocop failures in API loggerStan Hu2017-09-071-3/+5
| |
| * Add JSON logger in `log/api_json.log` for Grape API endpointsStan Hu2017-09-061-0/+9
| | | | | | | | Closes #36189
* | Merge branch 'wiki_api' into 'master'Grzegorz Bizon2017-09-071-0/+1
|\ \ | |/ |/| | | | | | | | | Add API support for wiki pages Closes #12747 See merge request !13372
| * Add API support for wiki pagesblackst0ne2017-09-071-0/+1
| |
* | Extract job artifacts API code to a separate fileGrzegorz Bizon2017-09-061-0/+1
|/
* Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-041-0/+1
|
* Merge branch 'dm-api-current-user' into 'master'Sean McGivern2017-08-031-1/+1
|\ | | | | | | | | | | | | Do not validate CSRF token in API unless needed Closes #35705 See merge request !13256
| * Do not validate CSRF token in API unless neededdm-api-current-userDouwe Maan2017-08-021-1/+1
| |
* | Extending API for protected branchesEric2017-08-021-0/+1
| |
* | Merge branch '34519-extend-api-group-secret-variable' into 'master'Kamil Trzciński2017-08-011-0/+1
|\ \ | |/ |/| | | | | | | | | Extend API: Group Secret Variable Closes #34519 See merge request !12936
| * IniShinya Maeda2017-07-191-0/+1
| |
* | DRY the branches API requirements definitionRémy Coutable2017-07-271-0/+3
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'issue_34622' into 'master'Sean McGivern2017-07-251-1/+2
|\ \ | | | | | | | | | | | | | | | | | | Group milestones API endpoint Closes #34622 See merge request !12819
| * | Add group milestones API endpointissue_34622Felipe Artur2017-07-211-1/+2
| |/
* | Resolve "More RESTful API: include resource URLs in responses"Oswaldo Ferreira2017-07-251-0/+1
|/
* Initial attempt at refactoring API scope declarations.Timothy Andrew2017-06-281-1/+2
| | | | | | | | | | - Declaring an endpoint's scopes in a `before` block has proved to be unreliable. For example, if we're accessing the `API::Users` endpoint - code in a `before` block in `API::API` wouldn't be able to see the scopes set in `API::Users` since the `API::API` `before` block runs first. - This commit moves these declarations to the class level, since they don't need to change once set.
* Merge branch 'dz-api-x-frame' into 'security-9-2'DJ Mountney2017-06-081-0/+1
| | | | | | Restrict API X-Frame-Options to same origin See merge request !2103