Commit graph

10 commits

Author SHA1 Message Date
Douwe Maan
fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Lin Jen-Shin
71777a4a18 Rename BuildsController to JobsController
Rename other URL generators

admin_builds_path -> admin_jobs_path

Fix tests and more renaming

Fix more tests

Also change build_id to job_id in the controller
2017-05-17 20:17:30 +08:00
Fatih Acet
0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Grzegorz Bizon
9363675380 Use update build policy instead of new play policy 2017-05-05 12:25:24 +02:00
Grzegorz Bizon
72307940bb Improve code style related to protected actions 2017-05-03 12:32:39 +02:00
Grzegorz Bizon
2aa211fa69 Use build policy to determine if user can play build 2017-04-12 13:48:43 +02:00
Grzegorz Bizon
7bcca2284b Check branch permission in manual action entity 2017-04-06 17:16:19 +02:00
Toon Claes
16cca3a0ea Expose if action is playable in JSON
To avoid a manual build action being played (resulting in a 404),
expose `playable?` in the JSON so the frontend can disable/hide the
play button if it's not playable.
2017-03-20 14:39:37 +01:00
Sam Rose
3f2eaaa26b Retain original casing for build name in manual pipeline dropdown 2017-01-16 07:55:20 -05:00
Grzegorz Bizon
02c7dcf6b2 Rename some pipeline and build related entities
[ci skip]
2016-12-21 14:52:25 +01:00
Renamed from app/serializers/pipeline_action_entity.rb (Browse further)