summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
| | * | [ci skip] Fix wrong commentsue4452015-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | According to `attributes_for_keys` and API doc, `POST /projects/:id/merge_requests` is received `target_project_id` (NOT `target_project`)
| | * | Fix broken testsKamil Trzcinski2015-10-121-1/+1
| | | |
| | * | Fix some changesKamil Trzcinski2015-10-121-1/+1
| | | |
| | * | Update renderingKamil Trzcinski2015-10-121-1/+1
| | | |
| | * | Small bug fixesKamil Trzcinski2015-10-121-2/+3
| | | |
| | * | Add Commit Status documentationKamil Trzcinski2015-10-121-10/+10
| | | |
| | * | Add author to statusesKamil Trzcinski2015-10-122-1/+2
| | | |
| | * | Fix commit status POST URLKamil Trzcinski2015-10-121-1/+1
| | | |
| | * | Implement Commit Status APIKamil Trzcinski2015-10-123-1/+87
| | |/
| * | Let gitlab-git-http-server handle archive downloadsJacob Vosmaer2015-10-081-12/+1
| |/ | | | | | | This change relies on changes in gitlab_git and gitlab-git-http-server.
* | Made suggested content changes based on MR ReviewHan Loong Liauw2015-10-141-1/+1
| | | | | | | | | | Changed the authentication method for removing fork through API Reflected changes to new auth method in API specs
* | Adds ability to remove the forked relationshipHan Loong Liauw2015-10-131-1/+1
|/ | | | | | | This was previously possible through the API but can now be done through the project#edit settings screen if the current user is the owner of the project. Update changelog
* Fix rubocop warnings in libGuilherme Garnier2015-10-031-3/+2
|
* api: add enable_ssl_verification to PUT/POST hooksBen Boeckel2015-09-241-2/+4
|
* api: expose note_events and enable_ssl_verification for hooksBen Boeckel2015-09-241-1/+1
|
* Added ability to update or set the identity of an existing user, like the ↵fix-user-identities-apiPatricio Cano2015-09-221-0/+11
| | | | documentation said it was possible, but actually wasn't.
* Merge branch 'restrict-user-api-integers' into 'master'Dmitriy Zaporozhets2015-09-171-1/+1
|\ | | | | | | | | | | | | | | Restrict users API endpoints to use integer IDs Closes #2267 See merge request !1156
| * Restrict users API endpoints to use integer IDsStan Hu2015-08-231-1/+1
| | | | | | | | Closes #2267
* | Merge remote-tracking branch 'origin/master' into ↵ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gKamil Trzcinski2015-09-161-1/+1
|\ \ | | | | | | | | | ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g
| * | Fix broken sort in merge request APIStan Hu2015-09-151-1/+1
| | | | | | | | | | | | Closes #2266
* | | fix specs. Stage 3Valery Sizov2015-09-152-36/+38
| | |
* | | fix specs. Stage 2Valery Sizov2015-09-141-3/+2
| | |
* | | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets2015-09-111-0/+10
|\ \ \ | |/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Added service API endpoint to retrieve service parametersPetheo Bence2015-09-101-0/+10
| | |
* | | Remove network from CIDmitriy Zaporozhets2015-09-111-2/+2
| | |
* | | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets2015-09-095-55/+82
|\ \ \ | |/ /
| * | Add API method for get user by ID of an SSH keyArtem V. Navrotskiy2015-09-033-0/+25
| | |
| * | Drone CI serviceKirilll Zaitsev2015-09-022-55/+57
| |/
* | Groundwork for merging CI into CEDouwe Maan2015-08-251-2/+2
|/
* Merge branch 'remove-satellites'Dmitriy Zaporozhets2015-08-192-25/+31
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'master' into remove-satellitesDmitriy Zaporozhets2015-08-171-0/+3
| |\ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-112-25/+31
| | | | | | | | | | | | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* | | Merge pull request #9567 from bigsurge/bigsurge-patch-1Stan Hu2015-08-191-0/+1
|\ \ \ | |_|/ |/| | add CommitNote field expose :created_at
| * | add CommitNote field expose :created_atbigsurge2015-08-191-0/+1
| | | | | | | | | add CommitNote field expose :created_at
* | | api: add 'system', 'upvote', and 'downvote' fields to note queriesBen Boeckel2015-08-121-0/+3
| |/ |/| | | | | This reverts commit 4c586dc7c217b3e43956919fa752a8fa4e16acb9.
* | Merge branch 'revert-satellites' into 'master' Dmitriy Zaporozhets2015-08-112-31/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Revert satellites Return satellites to master for 7.14 We remove satellites in next release (8.0) See merge request !1136