summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| * | Merge branch 'git-raw-workhorse' into 'master' Jacob Vosmaer2016-02-021-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Send raw Git blobs via gitlab-workhorse See merge request !2451
| * \ \ Merge branch 'Michi302/gitlab-ce-fix/pagination-links' into 'master' Dmitriy Zaporozhets2016-02-021-5/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix add_pagination_headers to keep request parameters in Link header Originally opened at !2321. Closes #5904. /cc @Michi302 See merge request !2674
| | * | | Fix add_pagination_headers to keep request parameters in Link headerMichi3022016-02-021-5/+15
| | | |/ | | |/|
| * | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into lazy-blobsJacob Vosmaer2016-02-013-174/+186
| |\ \ \ | | |/ /
| * | | WIP lazy blobsJacob Vosmaer2016-02-011-2/+4
| | | |
* | | | Fix APIJacob Vosmaer2016-02-111-1/+1
| | | |
* | | | First version of "git archive" headersJacob Vosmaer2016-02-021-5/+2
| |_|/ |/| |
* | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-013-174/+190
|\ \ \ | | |/ | |/| | | | git-raw-workhorse
| * | First pass at deleting projects in the background.Josh Frye2016-01-291-2/+2
| | |
| * | Improve consistency and duplication for Merge Request APIimprove-mr-apiDmitriy Zaporozhets2016-01-281-170/+181
| | | | | | | | | | | | | | | | | | | | | * Follow REST for merge request API route * Remove repeating comments API for MR Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Fix CI runner version not being properly updated when asking for a buildfix-ci-runners-version-updateKamil Trzcinski2016-01-271-2/+3
| |/ | | | | | | | | | | Due to broken implementation of attribute_for_keys the runner information was not updated correctly. This MR adds test to check that such scenario will never happen again.
| * Change 'public' flag to more robust 'visibility' query.Josh Frye2016-01-191-2/+2
| |
| * Add public params to GET /projects api. Closes #3788Josh Frye2016-01-191-0/+4
| |
* | Use only one header to send git blobsJacob Vosmaer2016-02-011-4/+2
| |
* | Send more raw blob data with workhorseJacob Vosmaer2016-01-281-2/+4
|/
* Merge branch 'master' into ci/api-triggersTomasz Maczukin2016-01-144-12/+199
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (150 commits) fixes margin and padding Update mailroom/postfix documentation [ci skip] Fix css mess around git clone panel. Align it properly Fix missing padding for user/group pages Fix parse_gollum_tags matcher Update documentation on Banzai::Filter::GollumTagsFilter Add tests for the wiki pipeline Refactoring Banzai::Filter::GollumTagsFilter Make sure the .git is at the end on Gitlab::GithubImport::WikiFormatter Remove GollumTagsPipeline Refactoring Gitlab::GithubImport::Importer Remove unnecessary brackets on WIKI_SLUG_ID route constraints Move js function to removing accents to vendor/assets/javascripts Update CHANGELOG Use the WikiPipeline when rendering the wiki markdown content Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML Relax constraints for wiki slug Import GitHub wiki into GitLab Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatus Revert changes to how the notes are paginated in the API ... Conflicts: doc/api/README.md lib/api/entities.rb
| * Merge branch 'ci/api-builds' into 'master' Douwe Maan2016-01-143-0/+177
| |\ | | | | | | | | | | | | | | | | | | Add builds API References #4264 See merge request !2207
| | * Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatusci/api-buildsTomasz Maczukin2016-01-141-1/+1
| | |
| | * Merge branch 'master' into ci/api-buildsTomasz Maczukin2016-01-145-7/+128
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (51 commits) Fix version Fix specs and rubocop warnings Improve the consistency of commit titles, branch names, tag names, issue/MR titles, on their respective project pages fixed LDAP activation on login to use new ldap_blocked state Fix Admin/Users view to position buttons without spacing magic Update to Go 1.5.3 Fix the undefinded variable error in Project's safe_import_url method Update CHANGELOG [ci skip] Add some cosmetic changes to variables API documentation [ci skip] Fix misaligned edit button in milestone collection partial Update button styles for Milestones#show Modify builds API documentation style [ci skip] Modify :ci_variable factory Ensure the API doesn't return notes that the current user shouldn't see Add 'Build' prefix to Variables entry name in API docs index Fix some typos Add spec for Note#cross_reference_not_visible_for? Remove (invalid) timestamp formatting Move `BroadcastMessage#status` to a helper since it's presentational Update CHANGELOG ... Conflicts: doc/api/README.md lib/api/api.rb lib/api/entities.rb