Commit graph

13 commits

Author SHA1 Message Date
Robert Schilling
74c8669b0a Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
Rémy Coutable
304163becb
API: Use #find_project in API::Triggers and API::Services
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-24 13:22:38 +01:00
Dmitry Poray
ff8194e0ec Add ref parameter for triggerring builds with gitlab webhook from other project. 2016-11-15 17:19:33 +03:00
Robert Schilling
2965883e60 Grapify token API 2016-11-10 12:48:44 +01:00
Kamil Trzcinski
055afab5c7 Make the CI permission model simpler
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.
2016-02-02 09:18:08 +01:00
Tomasz Maczukin
d44653da1f Add some fixes after review 2016-01-13 12:20:59 +01:00
Tomasz Maczukin
e0ec69d919 Change 'trigger_id' to 'token' as resource ID in triggers API 2016-01-07 18:48:33 +01:00
Tomasz Maczukin
8675664655 Get show details feature to triggers API 2016-01-05 12:25:16 +01:00
Tomasz Maczukin
49c8bf4e9b Add create feature to triggers API 2016-01-05 11:47:54 +01:00
Tomasz Maczukin
f00607431c Add delete feature to triggers API 2016-01-05 11:32:21 +01:00
Tomasz Maczukin
d9da81f736 Add triggers feature to API 2016-01-04 16:44:09 +01:00
Kamil Trzcinski
3578153d3e Fix triggers tests 2015-12-11 18:02:09 +01:00
Kamil Trzcinski
3d9ce37a48 Reimplement Trigger API 2015-12-11 18:02:09 +01:00