Commit Graph

16 Commits

Author SHA1 Message Date
Annabel Dunstone d49e6f3550 Add pipeline icon to admin builds; position warning icon after sha 2016-07-28 12:45:35 -05:00
Annabel Dunstone 6b5cb2455e Update duration representation on builds pages 2016-07-12 14:52:59 -05:00
Annabel Dunstone 8ed105bf42 Fix label alignment bug; re-add build-link 2016-07-12 14:52:59 -05:00
Annabel Dunstone c57471ddb4 Add new stopwatch and commit icons; rename custom icon helper; fix commit pipeline layout 2016-07-12 14:52:59 -05:00
Annabel Dunstone 694ab941ea Rearrange and update admin builds 2016-07-12 14:50:57 -05:00
Annabel Dunstone 3a3f0bf436 Change build icons into buttons; update tests 2016-05-04 16:45:37 -05:00
Annabel Dunstone fc20639c8d Builds page redesign 2016-05-04 16:45:37 -05:00
Annabel Dunstone 7878eb9fa6 Start builds redesign 2016-05-04 16:45:37 -05:00
Dmitriy Zaporozhets 3e6d27ee59
Dont use monospace font for names
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-04-04 19:36:21 +02:00
Kamil Trzcinski 0672258915 Cleanup CiCommit and CiBuild
- Remove all view related methods from Ci::Build and CommitStatus
- Remove unused Ci::Commit and Ci::Build methods
- Use polymorphism to render different types of CommitStatus
2016-03-14 13:20:35 +01:00
Kamil Trzcinski 0806476761 Remove current_user && when can? is used 2016-02-05 20:17:58 +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
Grzegorz Bizon 487b0a026f Improvements, readability for artifacts browser 2016-01-14 12:48:16 +01:00
Grzegorz Bizon 8eeed761a9 Update specs for CI Build, add `artifacts?` method
`artifacts?` method checks if artifacts archive is available.
2016-01-14 12:48:14 +01:00
Grzegorz Bizon 9e0e9342a4 Rename method that returns url to CI build artifacts download 2016-01-14 12:48:14 +01:00
Kamil Trzcinski e80e3f5372 Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00