summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Introduce an Events APIMark Fletcher2017-06-061-0/+1
| | | | | | | | | | | * Meld the following disparate endpoints: * `/projects/:id/events` * `/events` * `/users/:id/events` + Add result filtering to the above endpoints: * action * target_type * before and after dates
* Add feature toggles through FlipperAlejandro Rodríguez2017-05-311-0/+1
|
* Add API support for pipeline scheduleShinya Maeda2017-05-301-0/+1
|
* Bugfix: Always use the default language when generating emails.32748-emails-are-being-sent-with-the-wrong-languageRuben Davila2017-05-251-2/+2
| | | | | | There was a race condition issue when the application was generating an email and was using a language that was previously being used in other request.
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into mia_backort[ci ↵Valery Sizov2017-05-051-0/+3
|\ | | | | | | skip]
| * More updates for translations plus some refactoring.Ruben Davila2017-05-031-0/+3
| |
* | Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+2
|/
* API routes referencing a specific issue should use the issue `iid`Timothy Andrew2017-03-071-0/+2
| | | | | | - As opposed to the issue `id` that was previously being used. - This brings the API routes closer to the web interface's routes. - This is specific to API v4.
* Merge branch 'zj-builds-to-jobs-api' into 'master' Kamil Trzciński2017-03-061-1/+2
|\ | | | | | | | | | | | | Rename builds to jobs in the API Closes #28515 See merge request !9463
| * Rename Builds to Jobs in the APIZ.J. van de Weg2017-03-061-1/+2
| | | | | | | | | | | | Fixes gitlab-org/gitlab-ce#28515 [ci skip]
* | Cleanup common code in Unique Ips testsPawel Chojnacki2017-03-061-1/+1
| |
* | Test various login scenarios if the limit gets enforcedPawel Chojnacki2017-03-061-0/+4
|/
* Expose pipelines as PipelineBasic `projects/:id/pipelines`26847-api-pipelines-use-basicToon Claes2017-03-031-0/+1
| | | | | | | | The `projects/:id/pipelines` exposed a lot of extra details that are superfluous and it was taking extra resources to fetch them. To get more details about a pipeline, use `projects/:id/pipelines/:pipeline_id`.
* Merge branch '27532_api_changes' into 'master' Sean McGivern2017-03-031-0/+1
|\ | | | | | | | | | | | | Use iids as filter parameter Closes #27532 See merge request !9096
| * Use iids as filter parameterJarka Kadlecova2017-03-021-0/+1
| |
* | Expose ApplicationSetting visibility settings as StringToon Claes2017-03-021-0/+1
| | | | | | | | | | | | | | | | Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
* | Expose Snippet VisibilityLevel as StringToon Claes2017-03-021-0/+1
|/
* Backport API to V3Robert Schilling2017-02-281-1/+8
|
* Merge branch 'feature/runners-v4-api' into 'master' Kamil Trzciński2017-02-271-0/+1
|\ | | | | | | | | Add Runner registration/deletion API See merge request !9246
| * Rename API::Ci to API::Runnerfeature/runners-v4-apiTomasz Maczukin2017-02-161-1/+1
| |
| * Add Runner registration/deletion APITomasz Maczukin2017-02-161-0/+1
| |
* | Backport groups API to V3Robert Schilling2017-02-241-0/+1
| |
* | Remove deprecated `upvotes` and `downvotes` from the notes APIRobert Schilling2017-02-221-0/+1
| |
* | Merge branch '22132-rename-branch-name-params-to-branch' into 'master' Rémy Coutable2017-02-221-0/+2
|\ \ | | | | | | | | | | | | | | | | | | Standardize branch name params as `branch` on V4 API Closes #22132 See merge request !8936
| * | Change branch_name param to branch throughout V4 API22132-rename-branch-name-params-to-branchOswaldo Ferreira2017-02-211-0/+2
| | |
* | | API: Make subscription API more RESTfuLRobert Schilling2017-02-211-0/+1
|/ /
* | Backport Todos API to V3api-todos-restfulRobert Schilling2017-02-211-0/+1
| |
* | Backport API to v3paginate-all-the-thingsRobert Schilling2017-02-171-0/+9
|/
* Remove deprecated templates endpoints in V422818-licence-gitignore-and-yml-endpoints-removalOswaldo Ferreira2017-02-131-0/+1
|
* Add member: Always return 409 when a member existsJarka Kadlecova2017-02-101-0/+1
|
* Remove /projects/:id/keys/.. endpointsRobert Schilling2017-02-071-0/+1
|
* Remove deprecated 'expires_at' from project snippets APIRobert Schilling2017-02-071-0/+1
|
* Remove deprecated MR and Issue endpoints and preserve V3 namespace9-0-api-changesOswaldo Ferreira2017-02-061-0/+2
|
* Remain V3 endpoint unchangedOswaldo Ferreira2017-01-301-1/+6
|
* Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-1/+5
| | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Calls to the API are checked for scope.Timothy Andrew2016-12-161-0/+2
| | | | | | | | | | | | | | - Move the `Oauth2::AccessTokenValidationService` class to `AccessTokenValidationService`, since it is now being used for personal access token validation as well. - Each API endpoint declares the scopes it accepts (if any). Currently, the top level API module declares the `api` scope, and the `Users` API module declares the `read_user` scope (for GET requests). - Move the `find_user_by_private_token` from the API `Helpers` module to the `APIGuard` module, to avoid littering `Helpers` with more auth-related methods to support `find_user_by_private_token`
* API: Endpoint to expose personal snippets as /snippetsGuyzmo2016-12-011-0/+1
| | | | | | | | | | Adding the necessary API for the new /snippets Restful resource added with this commit. Added a new Grape class `Snippets`, as well as a `PersonalSnippet` entity. Issue: #20042 Merge-Request: !6373 Signed-off-by: Guyzmo <guyzmo+gitlab+pub@m0g.net>
* Merge branch 'api-order-mounts' into 'master' Rémy Coutable2016-10-131-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | Sort API mounts ## What does this MR do? Sort the API mounts. ## Why was this MR needed? The API mounts are unsorted. See merge request !6831