George Andrinopoulos
de518e1247
Allow dot in branch name in trigger/builds endpoint in API
2017-03-20 12:49:31 +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
Kamil Trzcinski
d5f7060400
Rename /take
to /take_ownership
, expose owner
in v3
.
2017-03-06 12:00:15 +01:00
Kamil Trzcinski
140b51ce98
Introduce tests for pipeline triggers
2017-03-05 20:58:08 +01:00
Kamil Trzcinski
c33f09d254
Update triggers API
2017-03-05 18:49:30 +01:00
Robert Schilling
86c58687b2
Return 204 for delete endpoints
2017-02-28 08:32:38 +01:00
Robert Schilling
bff14cedf3
Simplyfy variables validation in triggers API
2017-02-24 11:24:40 +01:00
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