summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Don't remove `ProjectSnippet#expires_at` from APIrs-snippet-expires-apiRobert Speicher2016-03-091-0/+3
| | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103 This partially reverts commit 836d5930332797192094ce4a3c8083e96f7e8c53.
* Merge branch 'rs-snippets-dont-expire' into 'master' Dmitriy Zaporozhets2016-03-091-1/+1
|\ | | | | | | | | | | | | | | | | Remove `Snippet#expires_at` This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years. See merge request !3103
| * Remove `Snippet#expires_at`rs-snippets-dont-expireRobert Speicher2016-03-051-1/+1
| | | | | | | | | | | | This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
* | Add fields to GET /users/* API endpoints for adminsevuez/gitlab-ce-add-info-user-apievuez2016-03-041-0/+2
|/ | | | | | | Added fields are last_sign_in_at and confirmed_at. They are available for GET /users/ and GET /users/:id for admins. Closes #840
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-032-6/+6
|
* Merge branch 'fix/commit-status-api-improvement' into 'master' Douwe Maan2016-03-011-4/+6
|\ | | | | | | | | | | | | | | | | | | Return empty array when commit has no statuses in API This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080 See merge request !3010
| * Check if commit exists first in commit status APIGrzegorz Bizon2016-03-011-1/+1
| |
| * Return empty array when commit has no statuses in APIGrzegorz Bizon2016-02-291-4/+6
| | | | | | | | | | | | | | This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080
* | updated internal.rb and spec based on MR feedbackJames Lopez2016-02-261-3/+3
| |
* | fix for projects ending in .wikiJames Lopez2016-02-241-1/+8
|/
* Fix API implementationKamil Trzcinski2016-02-192-4/+2
|
* Introduce API for serving the artifacts archiveKamil Trzcinski2016-02-192-0/+31
|
* Record user that erased a build through APIGrzegorz Bizon2016-02-191-1/+1
|
* Use POST method instead of DELETE when erasing a buildGrzegorz Bizon2016-02-191-3/+3
| | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3742042
* Fix build api specs after rebaseGrzegorz Bizon2016-02-191-1/+1
|
* Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-191-1/+1
|
* Move build eraseable API to proper API contextGrzegorz Bizon2016-02-191-1/+21
|
* Rename Entities::ForkedFromProject to Entities::BasicProjectDetailsTomasz Maczukin2016-02-191-3/+3
|
* Change `last_contact` to `contacted_at`Tomasz Maczukin2016-02-191-1/+1
|
* Replace Entities::RunnerProjectDetails with Entities::ForkedFromProjectTomasz Maczukin2016-02-191-7/+1
|
* iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` ↵Tomasz Maczukin2016-02-191-2/+2
| | | | in `RunnerProjectDetails`
* Move :runner_id param to POST body when enabling specific runner in projectTomasz Maczukin2016-02-191-1/+3
|
* Modify and fix output of delete and update of a runnerTomasz Maczukin2016-02-191-2/+2
|
* Modify runner projects selecting method in runners APITomasz Maczukin2016-02-192-8/+4
|
* Fix runners filteringTomasz Maczukin2016-02-191-2/+6
|
* Limit projects to user available projects if user is not an adminTomasz Maczukin2016-02-192-2/+12
|
* Modify authentication check methods in runners APITomasz Maczukin2016-02-191-24/+22
|
* Add token to runner details output in APITomasz Maczukin2016-02-192-1/+2
|
* Add associated project info to runner details outputTomasz Maczukin2016-02-191-0/+7
|
* Split `/runners` entrypoint to `/runners` and `/runners/all`Tomasz Maczukin2016-02-191-9/+12
|
* Add some fixes in runners API documentationTomasz Maczukin2016-02-191-2/+2
|
* Fix runners filtering in APITomasz Maczukin2016-02-191-3/+3
|
* Add missing methods documentation; fix rubocop reported violationTomasz Maczukin2016-02-191-1/+36
|
* Add feature to enable/disable runner in projectTomasz Maczukin2016-02-191-0/+26
|
* Add basic runners management APITomasz Maczukin2016-02-193-0/+114
| | | | | | | - add feature to list runners - add feature to show runners details - add feature to delete runner - add feature to update runner
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-1710-29/+96
|\ | | | | | | git-archive-refactor
| * Merge branch 'skakirill/gitlab-ce-api-merge-request-setup-milestone' into ↵Douwe Maan2016-02-121-2/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' API: Allow to set or update a merge-request's milestone _Originally opened at !2107 by @ skakirill._ - - - See merge request !2755
| | * API: Allow to set or update a merge-request's milestoneKirill Skachkov2016-02-081-2/+4
| | |
| * | Merge branch 'Schniz/gitlab-ce-feature/merge-request-closes-issues-in-api' ↵Rémy Coutable2016-02-111-0/+13
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Add merge_requests/:merge_request_id/closes_issues _Originally opened at !2660 by @Schniz._ - - - Added `/api/v3/projects/:id/merge_requests/:merge_request_id/closes_issues` route in the API for getting the issues that should be closed when a merge request merged successfully See merge request !2779
| | * | Pass current_user to merge_request.closes_issues in API ans streamline MR ↵Schniz/gitlab-ce-feature/merge-request-closes-issues-in-apiRémy Coutable2016-02-111-1/+1
| | | | | | | | | | | | | | | | API specs
| | * | Added '/api/v3/projects/:id/merge_requests/:merge_request_id/closes_issues' ↵Gal Schlezinger2016-02-111-0/+13
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | route in the API Added some documentation for it Added to changelog Added curl example and an attribute table Moved the api route definition from "lib/api/issues.rb" to "lib/api/merge_requests.rb" Fixed the attributes and changed the documentation to be at "merge_requests.md" too Changed generic titles to more specific titles added an underscore added tests. it depends on a newer version of gitlab-test project I'm doing a since I need to add a branch to the `gitlab-test` repo removed the before using 'iid' instead of 'id' in the description to reference the issues. that makes the tests pass Removed the 'closes-issues' key from test_env. so it should pass the tests Moved the two initializations to the describe block Changed the changelog
| * | Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-02-096-19/+37
| |\ \
| | * \ Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski2016-02-044-10/+43
| | |\ \ | | | |/ | | | | | | | | | | | | # Conflicts: # app/views/projects/builds/index.html.haml
| | * | Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski2016-02-042-8/+8
| | | |
| | * | Expose allow_guest_to_access_builds in GitLab APIKamil Trzcinski2016-02-042-3/+10
| | | |
| | * | Make the CI permission model simplerKamil Trzcinski2016-02-024-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions.
| * | | Expose MergeRequest::merge_status to APIAndrei Dziahel2016-02-081-0/+1
| | |/ | |/|
| * | Merge branch 'support-akismet' into 'master' Robert Speicher2016-02-031-1/+22
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support Akismet spam checking for creation of issues via API Currently any spam detected by Akismet for non-members via API will be logged in a separate table in the admin page. Closes #5612 See merge request !2266
| | * | Refactor spam filtering on issues APIDouglas Barbosa Alexandre2016-02-021-7/+8
| | | |
| | * | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-021-1/+21
| | |/ | | | | | | | | | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612