Stan Hu
631a30276e
Fix API setting of 'public' attribute to false will make a project private
...
Closes #3864
2015-12-05 17:39:36 -08:00
Dmitriy Zaporozhets
4de7f32c60
Merge branch 'extend-events-api'
2015-12-04 13:51:30 +01:00
Dmitriy Zaporozhets
3227a5ead2
Extent Event and Note API
...
* 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 >
2015-12-04 12:22:50 +01:00
Dmitriy Zaporozhets
0b68a0e79e
Add API endpoint to fetch merge request commits list
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-12-04 11:08:10 +01:00
Robert Schilling
04a3d27eab
Allow editing a release in API via PUT method
2015-11-21 22:34:53 +01:00
Robert Schilling
3ea05c5b5b
Only allow to create a release if it does not exist yet
2015-11-21 22:24:34 +01:00
Robert Schilling
6f7e90f6db
Use POST to create a new release instead of PUT
2015-11-21 18:51:41 +01:00
Robert Schilling
faef95af1a
API: Return 404 if the tag for a release does not exist
2015-11-21 18:08:45 +01:00
Robert Schilling
2cba93a0d2
Make tag API consistent for release feature
2015-11-21 17:29:26 +01:00
Dmitriy Zaporozhets
a43a218c98
Merge branch 'releases-feature'
2015-11-16 10:18:32 +01:00
Kamil Trzcinski
6384c757b7
Expose CI enable option in project features
...
- Enable CI by default for all new projects
2015-11-13 10:52:50 +01:00
Dmitriy Zaporozhets
d6db451732
Add api test for creating tag with release info
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 23:54:22 +01:00
Dmitriy Zaporozhets
ba34045f31
Expose release notes to tags api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 17:04:18 +01:00
Dmitriy Zaporozhets
c119a73793
Add releases api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 16:26:39 +01:00
Dmitriy Zaporozhets
a5ab56fd91
Move git tags API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-12 15:41:13 +01:00
Kamil Trzciński
fb5c3c7021
Merge branch 'artifacts' into 'master'
...
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
2015-11-11 12:44:37 +00:00
Stan Hu
83ec84946c
Merge branch 'add-allow-failure-status' into 'master'
...
Add allow_failure field to commit status API
Closes #3196
See merge request !1685
2015-11-10 21:28:12 +00:00
Kamil Trzcinski
d0e3e823a2
Implement Build Artifacts
...
- Offloads uploading to GitLab Workhorse
- Use /authorize request for fast uploading
- Added backup recipes for artifacts
- Support download acceleration using X-Sendfile
2015-11-10 12:51:50 +01:00
Stan Hu
91cbf9db0c
Add allow_failure field to commit status API
...
Closes #3196
2015-11-03 20:41:19 -08:00
Robert Speicher
d09d62b6b8
Replace all usages of git command with configurable binary path
...
Closes #3311
2015-11-03 17:11:09 -05:00
Valery Sizov and Valery Sizov
1b8d324762
Add ability to fetch the commit ID of the last commit that actually touched a file
2015-11-02 17:07:06 +02:00
Stan Hu
0e73d7b6af
Merge pull request #9762 from huacnlee/fix/api-helpers-bad-autoload-name-for-master
...
Fix API::APIHelpers -> API::Helpers again for master
2015-10-22 21:12:35 -07:00
Jason Lee
3d613fe1e8
Fix API::APIHelpers -> API::Helpers;
...
Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
2015-10-23 11:42:57 +08:00
Han Loong Liauw
02e8beaa0b
Merge branch 'master' into remove-forks-from-projects-settings
2015-10-17 09:32:31 +11:00
Dmitriy Zaporozhets
353ddbc795
Merge branch 'stanhu/gitlab-ce-fix-api-mr-comment-notifications'
2015-10-15 15:56:43 +02:00
Douwe Maan
c993481d99
Merge branch 'master' into git-archive-golang
2015-10-15 11:47:36 +02:00
Valery Sizov
4117d9b310
Merge branch 'feature/api_hide_service_password' of gitlab.com:cernvcs/gitlab-ce
2015-10-14 14:15:34 +03:00
Jacob Vosmaer
fc94b3b036
Fix API archive specs
2015-10-14 12:13:17 +02:00
Han Loong Liauw
0bea5ced8b
Made suggested content changes based on MR Review
...
Changed the authentication method for removing fork through API
Reflected changes to new auth method in API specs
2015-10-14 20:19:41 +11:00
Alex Lossent
024e34e94d
Hide passwords to non-admin users in the services API
...
In order to be consistent with !1490 doing it for the web interface
2015-10-12 15:24:00 +02:00
Kamil Trzcinski
887494761e
Fix commit status POST URL
2015-10-12 12:15:35 +02:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Stan Hu
2df573dac3
Fix bug where merge request comments created by API would not trigger notifications
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9715
2015-10-10 10:59:02 -07:00
Stan Hu
d5e73ae634
Merge branch 'hook-api-updates' into 'master'
...
Hook api updates
See merge request !1429
2015-09-24 23:28:59 +00:00
Ben Boeckel
869bab9d68
hooks: improve tests for hook API
2015-09-24 16:59:16 -04:00
Kamil Trzcinski
297f969bab
Fix specs
2015-09-24 16:25:40 +02:00
Patricio Cano
f60eb60473
Added ability to update or set the identity of an existing user, like the documentation said it was possible, but actually wasn't.
2015-09-22 16:26:59 -05:00
Valery Sizov and Kamil Trzcinski
a0c1a12dee
remove API calls from CE to CI
2015-09-18 18:02:11 +02:00
Dmitriy Zaporozhets
da3d35952d
Merge branch 'restrict-user-api-integers' into 'master'
...
Restrict users API endpoints to use integer IDs
Closes #2267
See merge request !1156
2015-09-17 07:29:57 +00:00
Stan Hu
1c289ac0c3
Fix broken sort in merge request API
...
Closes #2266
2015-09-15 22:55:22 -07:00
Petheo Bence
9bda4b8d88
Added service API endpoint to retrieve service parameters
2015-09-10 18:22:57 +02:00
Artem V. Navrotskiy and Artem V. Navrotskiy
8ec59bd18b
Add API method for get user by ID of an SSH key
2015-09-03 15:47:22 +03:00
Kirilll Zaitsev
263abda3fd
Drone CI service
2015-09-02 05:52:16 +03:00
Stan Hu
19f478e00d
Fix Error 500 in API when accessing a group that has an avatar
...
Closes #2340
2015-08-24 07:46:06 -07:00
Stan Hu
d241c6d057
Restrict users API endpoints to use integer IDs
...
Closes #2267
2015-08-23 06:13:16 -07:00
Dmitriy Zaporozhets
3e259ea8bc
Revert "Merge branch 'revert-satellites' into 'master'
"
...
This reverts commit 5daf44b7c8 , reversing
changes made to 2f706fbd23 .
2015-08-11 14:33:31 +02:00
Dmitriy Zaporozhets
5daf44b7c8
Merge branch 'revert-satellites' into 'master'
...
Revert satellites
Return satellites to master for 7.14
We remove satellites in next release (8.0)
See merge request !1136
2015-08-11 12:27:38 +00:00
Dmitriy Zaporozhets
3a63c00505
Fix file api tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 13:47:37 +02:00
Dmitriy Zaporozhets
9d029a05f1
Revert "Merge branch 'web-editor-rugged' into 'master'"
...
This reverts commit 5a1aa49b55 , reversing
changes made to a675bea2c1 .
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 13:04:38 +02:00
Dmitriy Zaporozhets
9f10943c1a
Revert "Merge branch 'drop-satellites'"
...
This reverts commit 957e849f41 , reversing
changes made to 6b9dbe9f5a .
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 10:28:42 +02:00