Commit Graph

28 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
Grzegorz Bizon 55cec2177c Refine inheritance model of extended CI/CD statuses 2017-05-05 15:21:06 +02:00
Grzegorz Bizon 2cc8f43e54 Introduce generic manual action extended status class 2017-05-05 15:13:58 +02:00
Grzegorz Bizon 9363675380 Use update build policy instead of new play policy 2017-05-05 12:25:24 +02:00
Grzegorz Bizon 4f2cc5951f Extend action tooltop to show info about abilities 2017-05-01 14:29:20 +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 5b6202cce1 Do not show play action if user not allowed to run it 2017-04-06 17:15:15 +02:00
Grzegorz Bizon bb2460c1ea Improve specs for detailed statuses with manual actions 2017-03-06 14:08:55 +01:00
Filipa Lacerda 7db05c4da1 Removed unused method 2017-01-26 19:56:07 +00:00
Filipa Lacerda 4983fbaaf4 Remove unneeded 'borderless' from icons name 2017-01-25 15:44:45 +00:00
dimitrieh 066155704d added icons and fixed mini pipeline action dropdown icons 2017-01-25 15:44:44 +00:00
Grzegorz Bizon 227cbdd8ba Use detailed status for failed but allowed builds 2017-01-12 13:23:18 +01:00
Grzegorz Bizon 9f1279184b Add extended status for build failed but allowed to 2017-01-11 13:53:17 +01:00
Grzegorz Bizon 1b313e8db8 Make CI/CD detailed status group concept explicit 2016-12-16 20:03:44 +01:00
Grzegorz Bizon 48d43608b8 Refine build stop/play extended status specs 2016-12-13 12:27:01 +01:00
Grzegorz Bizon 2011f8f1c2 Use manual build icon in play/stop build statuses 2016-12-13 11:53:36 +01:00
Grzegorz Bizon ab37be2dda Add specs for build stop extended detailed status 2016-12-12 14:59:46 +01:00
Grzegorz Bizon ffafd09731 Fix build stop extended status CSS class 2016-12-12 14:14:35 +01:00
Grzegorz Bizon d60820146f Fix path to build status details in common helpers 2016-12-12 13:28:20 +01:00
Kamil Trzcinski d9a979c84f Add action_class/action_title 2016-12-12 12:59:02 +01:00
Kamil Trzcinski 980009e6e8 Fix auto loading of constants for Ci Statuses 2016-12-12 12:59:01 +01:00
Grzegorz Bizon 5059d0b834 Incorporate permission checks into new CI statuses
[ci skip]
2016-12-12 12:59:01 +01:00
Grzegorz Bizon e0ce97fb7d Refactor ci status factories to DRY code a little 2016-12-12 12:59:01 +01:00
Kamil Trzcinski a83a80edb3 Check permission of details 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 1b6c2c3c0a Introduce `cancelable` and `returnable` [ci skip] 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 516dc7a5be Improve actions 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 633e64382d Added Ci::Status::Build 2016-12-12 12:59:01 +01:00