Commit Graph

77 Commits

Author SHA1 Message Date
Tim Zallmann a97cd2906e Fixed Status Warning Icon 2017-11-06 15:59:07 +01:00
Tim Zallmann 4731eba4c3 Update Action Icons 2017-10-30 10:27:46 +01:00
Tim Zallmann e3c7d26425 Updated also Badge + Dropdown Icons 2017-10-30 10:27:46 +01:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Kamil Trzcinski 25b99a5b3b Update tests and application 2017-06-13 16:05:38 +02:00
Kamil Trzcinski a4a3da764a Allow to access pipelines even if they are disabled, but only present jobs and commit statuses without giving ability to access them 2017-06-13 09:52:48 +02:00
Bob Van Landuyt bdebe849b8 Translate project & repository pages 2017-06-07 20:13:44 +00: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
Kamil Trzciński 6ad3814e1b Merge branch 'feature/gb/manual-actions-protected-branches-permissions' into 'master'
Check access to a branch when user triggers manual action

Closes #20261

See merge request !10494
2017-05-06 17:17:02 +00:00
Zeger-Jan van de Weg c17e6a6c68 Real time pipeline show action 2017-05-06 16:45:46 +00: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
Shinya Maeda 448c695c2a Revert adding favicon to extended statuses. Change extended statues specs to use core status 2017-03-23 17:11:49 +09:00
Shinya Maeda 74f13e0ddf Fix unchanged structure. Add favicon for 'failed_allowed' and 'success_warning' because it'll be used. 2017-03-23 17:11:49 +09:00
Shinya Maeda 49f9ab9064 Add spec for spec/lib/gitlab/ci/status 2017-03-23 17:11:49 +09:00
Shinya Maeda 21e62c9ef9 Roolback unneccesary changes 2017-03-23 17:11:49 +09:00
Shinya Maeda 04b1741cd1 Remove def favicon from extended status 2017-03-23 17:11:48 +09:00
Shinya Maeda 6d6127f665 change favicon name 2017-03-23 17:11:48 +09:00
Shinya Maeda ba27f1b954 Expose only status. ci_cd_status to status. Support abstract class. 2017-03-23 17:11:48 +09:00
Shinya Maeda 0e06cfc059 Add api points for ci cd status. Add favicon. 2017-03-23 17:11:48 +09:00
Grzegorz Bizon 7319460c18 Verbosify blocked pipeline status description 2017-03-08 09:10:20 +01:00
Grzegorz Bizon bb2460c1ea Improve specs for detailed statuses with manual actions 2017-03-06 14:08:55 +01:00
Grzegorz Bizon ac5bd3b73c Reinstitute a core `manual` status for manual actions 2017-03-06 10:04:04 +01:00
Grzegorz Bizon 14351f9767 Introduce core status for blocked manual actions 2017-03-06 10:04:04 +01:00
Kamil Trzcinski be039d22d7 Make manual actions blocking 2017-03-06 10:04:04 +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
Kamil Trzciński 7446c2f5cf Merge branch 'feature/success-warning-icons-in-stages-builds' into 'master'
Use a warning icon for a stage with allowed to fail builds

Closes #21948

See merge request !8503
2017-01-23 14:32:06 +00:00
Grzegorz Bizon 73fcfb296c Add a default status const to common status concern 2017-01-18 11:34:55 +01:00
Grzegorz Bizon 3bc0525ad9 Extract compound statuses method in status factory 2017-01-18 11:30:28 +01:00
Grzegorz Bizon 9f1beed7a7 Link external commit status badge to a target URL
Using new detailed statuses factory for external commit statuses.
2017-01-17 14:30:33 +01:00
Grzegorz Bizon 8faf0c7abe Add detailed statuses for external commit statuses 2017-01-17 14:16:36 +01:00
Grzegorz Bizon 227cbdd8ba Use detailed status for failed but allowed builds 2017-01-12 13:23:18 +01:00
Grzegorz Bizon 48c19e7395 Expose methods that match statuses in status factories 2017-01-12 13:04:51 +01:00
Grzegorz Bizon 1d01ffb782 Make it possible to combine extended CI/CD statuses
This commit also makes it possible to configure exclusive groups.
There can be only one detailed status matched within an exclusive group,
which is important from the performance perspective.
2017-01-12 12:45:00 +01:00
Grzegorz Bizon 9f1279184b Add extended status for build failed but allowed to 2017-01-11 13:53:17 +01:00
Grzegorz Bizon 8dbd1e7d00 Add concrete success warning status to stage factory 2017-01-11 13:53:17 +01:00
Grzegorz Bizon 8b30dd9834 Extract abstract success with warnings CI/CD status 2017-01-11 13:53:17 +01:00
Grzegorz Bizon 1476bb2c54 Improve how we calculate detailed status group name 2016-12-16 20:03:44 +01:00
Grzegorz Bizon b18897ac40 Update status group name for success with warnings 2016-12-16 20:03:44 +01:00
Grzegorz Bizon 1b313e8db8 Make CI/CD detailed status group concept explicit 2016-12-16 20:03:44 +01:00
Grzegorz Bizon 84290a452d Make it possible to mix `Gitlab::Routing` in 2016-12-13 14:51:23 +01:00
Grzegorz Bizon 00970606d7 Extract abilities checking module from ability model 2016-12-13 14:44:43 +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