summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Fix Rubocop complain.fix_rubocopRubén Dávila2015-12-161-1/+1
|
* Merge branch 'add-open-issues-count-to-api' of ↵Dmitriy Zaporozhets2015-12-161-0/+1
|\ | | | | | | | | | | https://gitlab.com/stanhu/gitlab-ce Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add open_issues_count to project APIStan Hu2015-12-111-0/+1
| | | | | | | | This is needed to support Huboard and a generally useful value.
* | Fixed Rubocop offensesGabriel Mazetto2015-12-151-1/+1
| |
* | Fix triggers testsKamil Trzcinski2015-12-111-1/+1
| |
* | Reimplement Trigger APIKamil Trzcinski2015-12-113-0/+53
| |
* | Migrate CI::Project to ProjectKamil Trzcinski2015-12-114-7/+9
| |
* | Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-102-2/+5
|/
* Merge branch 'master' into merge-if-greenDouwe Maan2015-12-081-0/+12
|\ | | | | | | | | | | # Conflicts: # app/views/projects/merge_requests/widget/_heading.html.haml # app/views/projects/merge_requests/widget/open/_accept.html.haml
| * Merge branch 'master' into ui/dashboard-new-issueui/dashboard-new-issueDouwe Maan2015-12-081-2/+6
| |\
| * \ Merge branch 'master' into ui/dashboard-new-issueDouwe Maan2015-12-072-0/+19
| |\ \
| * | | Add API group projects endpoint.Douwe Maan2015-12-071-0/+12
| | | |
* | | | Merge branch 'master' into zj/gitlab-ce-merge-if-greenDouwe Maan2015-12-081-2/+6
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix API setting of 'public' attribute to false will make a project privateStan Hu2015-12-051-2/+6
| | |/ | |/| | | | | | | Closes #3864
* | | Merge branch 'master' into merge-if-greenZeger-Jan van de Weg2015-12-073-8/+56
|\ \ \ | |/ /
| * | Merge branch 'extend-events-api'Dmitriy Zaporozhets2015-12-041-0/+3
| |\ \
| | * | Extent Event and Note APIextend-events-apiDmitriy Zaporozhets2015-12-041-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | * add note to Events API * add author section to Events API * add noteable_id and noteable_type to Notes API Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Add API endpoint to fetch merge request commits listDmitriy Zaporozhets2015-12-041-0/+16
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'fix-award-emoji-api' into 'master' Robert Speicher2015-11-221-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add upvote/downvote fields to merge request and note API to preserve compatibility As discussed in !1825 we should not break the API compatibility. * This MR adds the fields `upvotes`/`downvotes` to the merge request API again, which always return `0`. * Add the fields `upvote`/`downvote` to the notes API, which always return `false` This behavior is documented in the API docs. See merge request !1867
| | * Add upvote/downvote fields to merge request and note API to preserve ↵fix-award-emoji-apiRobert Schilling2015-11-211-0/+5
| | | | | | | | | | | | compatibility
| * | Allow editing a release in API via PUT methodRobert Schilling2015-11-211-0/+21
| | |
| * | Only allow to create a release if it does not exist yetRobert Schilling2015-11-211-2/+2
| | |
| * | Use POST to create a new release instead of PUTRobert Schilling2015-11-211-1/+1
| | |
| * | API: Return 404 if the tag for a release does not existRobert Schilling2015-11-211-3/+7
| | |
| * | Make tag API consistent for release featureRobert Schilling2015-11-212-5/+6
| |/
| * award emojiValery Sizov2015-11-191-3/+1
| |
* | Specs for 'Merge When Build Succeeds'Zeger-Jan van de Weg2015-12-022-14/+9
| |
* | Refactor MergeWhenBuildSucceedsService and incorporate feedbackZeger-Jan van de Weg2015-11-231-23/+13
| |
* | Merge branch 'master' into merge-if-greenZeger-Jan van de Weg2015-11-187-57/+150
|\ \ | |/
| * Merge branch 'releases-feature'Dmitriy Zaporozhets2015-11-164-54/+91
| |\
| | * Add API docs and correctly expose release apiDmitriy Zaporozhets2015-11-122-26/+26
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * Expose release notes to tags apiDmitriy Zaporozhets2015-11-121-0/+6
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * Add releases apiDmitriy Zaporozhets2015-11-122-1/+22
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * Move git tags API to separate fileDmitriy Zaporozhets2015-11-123-35/+45
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Expose CI enable option in project featuresKamil Trzcinski2015-11-132-1/+7
| |/ | | | | | | - Enable CI by default for all new projects
| * Merge branch 'artifacts' into 'master' Kamil Trzciński2015-11-111-0/+48
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Build Artifacts This implements #3028 1. It stores artifacts in shared/artifacts, 1. It adds `artifacts` to `.gitlab-ci.yml`, 1. We use GitLab Workhorse to offload artifacts uploading, 1. To download artifacts it uses GitLab Workhorse X-Sendfile extension, 1. There's one "artifact" per-build. The new upload removes previous one and creates a new one, 1. Default max artifact size is set to 100MB - this can be changed in settings. Missing things: 1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files, 1. Artifacts passing between builds. GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5 GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46 Syntax: ``` artifacts: untracked: true # default: false paths: # default: empty - bin/files ``` See merge request !1584
| | * Use normal file upload mechanism to upload artifactsKamil Trzcinski2015-11-101-6/+10
| | |
| | * Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse nowKamil Trzcinski2015-11-101-1/+1
| | |
| | * Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+44
| | | | | | | | | | | | | | | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
| * | Add allow_failure field to commit status APIStan Hu2015-11-031-1/+1
| |/ | | | | | | Closes #3196
| * Add ability to fetch the commit ID of the last commit that actually touched ↵api_file_touched_atValery Sizov2015-11-021-1/+3
| | | | | | | | a file
* | API support, incorporated feedbackZeger-Jan van de Weg2015-11-181-22/+46
|/
* Merge pull request #9762 from ↵Stan Hu2015-10-222-2/+2
|\ | | | | | | | | huacnlee/fix/api-helpers-bad-autoload-name-for-master Fix API::APIHelpers -> API::Helpers again for master
| * Fix API::APIHelpers -> API::Helpers;Jason Lee2015-10-232-2/+2
| | | | | | | | Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
* | Merge branch 'master' into remove-forks-from-projects-settingsHan Loong Liauw2015-10-176-16/+113
|\ \
| * \ Merge branch 'stanhu/gitlab-ce-fix-api-mr-comment-notifications'Dmitriy Zaporozhets2015-10-151-2/+10
| |\ \
| | * | Fix bug where merge request comments created by API would not trigger ↵Stan Hu2015-10-101-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | notifications Closes https://github.com/gitlabhq/gitlabhq/issues/9715
| * | | Merge branch 'master' into git-archive-golanggit-archive-golangDouwe Maan2015-10-155-2/+102
| |\ \ \
| | * \ \ Merge branch 'feature/api_hide_service_password' of gitlab.com:cernvcs/gitlab-cecernvcs_hide_passwrdValery Sizov2015-10-142-1/+13
| | |\ \ \ | | | |_|/ | | |/| |
| | | * | Hide passwords to non-admin users in the services APIAlex Lossent2015-10-122-1/+13
| | | |/ | | | | | | | | | | | | In order to be consistent with !1490 doing it for the web interface