Commit graph

18 commits

Author SHA1 Message Date
Grzegorz Bizon
ec7a12da81 Revert moving authorization hook in jobs API 2017-09-06 14:45:28 +02:00
Grzegorz Bizon
80b3dcc777 Extract job artifacts API code to a separate file 2017-09-06 11:20:12 +02:00
Grzegorz Bizon
d4154ef30f Do not require API authentication if artifacts are public 2017-09-05 13:22:15 +02:00
Grzegorz Bizon
3b874414c0 Do not use artifacts metadata to access single artifact 2017-09-05 12:34:49 +02:00
Grzegorz Bizon
dfb8fcbb65 Use API helper to send artifact file through Workhorse 2017-09-05 11:16:49 +02:00
Grzegorz Bizon
f3f1ad3992 Add API endpoint for downloading single job artifact 2017-09-04 14:09:03 +02:00
Robert Schilling
6a2ee0968e API: Use defined project requirements 2017-08-31 14:57:47 +02:00
Zeger-Jan van de Weg
dc8e1676cd
Upgrade grape to 1.0
Main feature was the deprication of the Hashie stuff, so the access by
calling keys as method is gone now.
2017-08-16 22:06:31 +02:00
Kamil Trzcinski
6185d12c18 Add missing specs 2017-06-01 16:34:48 +02:00
Kamil Trzcinski
e61f38d79e Fix data inconsistency issue for old artifacts by moving them to a currently used path 2017-06-01 14:39:48 +02:00
Grzegorz Bizon
53219857dd Check ability to update build on the API resource 2017-05-05 14:04:58 +02:00
Kamil Trzciński
828d81ee1f Optimise trace handling code to use streaming instead of full read 2017-04-06 16:20:27 +00:00
Rémy Coutable
63360adeae
Add requirements: { id: %r{[^/]+} } for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Toon Claes
ae9218a7fd Remove user_can_download_artifacts
It was actually not used anywhere.
2017-03-07 23:45:32 +01:00
Toon Claes
901fbda67c Make it possible to query scope as scope[]=
Since issues also accepts the query parameter iids[]=, also make it
possible query scope like that.
2017-03-07 23:45:32 +01:00
Toon Claes
f372400673 Add GET /projects/:id/pipelines/:pipeline_id/jobs endpoint
Add endpoint to get the jobs scoped to a pipeline.
2017-03-07 23:45:32 +01:00
Z.J. van de Weg
75123fa9f7 Incorporate review, drop old endpoint
The endpoint dropped, get ':id/repository/commits/:sha/jobs', should be
replace by a new endpoint.
2017-03-06 14:34:47 +01:00
Z.J. van de Weg
111748ea89 Rename Builds to Jobs in the API
Fixes gitlab-org/gitlab-ce#28515

[ci skip]
2017-03-06 14:34:07 +01:00
Renamed from lib/api/builds.rb (Browse further)