Commit graph

15 commits

Author SHA1 Message Date
Alexis Reigel
9e14f437b6
create favicon overlay on the client
the initial reason for this change was that graphicsmagick does not
support writing to ico files. this fact lead to a chain of changes:

1. use png instead of ico (browser support is good enough)
2. render the overlays on the client using the canvas API. this way we
   only need to store the original favion and generate the overlay versions
   dynamically.
   this change also enables (next step) to simplify the handling of the
   stock favicons as well, as we don't need to generate all the versions
   upfront.
2018-06-05 16:20:21 +02:00
Alexis Reigel
67fe0a17d8
call Gitlab::Favicon.status in serializer
this ways we can keep the `lib/gitlab/ci/status/*` classes to return the
bare favicon name as it was before.

also the favicon uploader versions are now have the same names as the
stock favicons (+ `favicon_` prefix), which makes working with the
status names easier.
2018-06-05 16:20:21 +02:00
Alexis Reigel
44d7b15833
use custom favicon for ci build status favicons 2018-06-05 16:20:19 +02:00
Mayra Cabrera
d54cf868f8 Resolve "Show failure_reason and upgrade tooltips of jobs" 2018-04-05 21:04:42 +00:00
Eric Eastwood
fca02e2476 Update styling and use Gitlab::Utils.to_boolean 2018-03-27 13:13:48 -05:00
Luke "Jared" Bennett
8887c2457f
Added canary conditional to status_entity.rb 2017-06-27 12:57:05 +01:00
Zeger-Jan van de Weg
c17e6a6c68 Real time pipeline show action 2017-05-06 16:45:46 +00:00
Luke "Jared" Bennett
f5e8d6bded
updated to new favicons 2017-04-25 17:15:52 +01:00
Luke "Jared" Bennett
fb20dcf8e6
Remove unneeded format block 2017-04-14 11:34:50 +01:00
Luke "Jared" Bennett
c0af1fc4be
Remove helper 2017-04-13 12:14:31 +01:00
Luke "Jared" Bennett
deb56f21cb
[ci skip] Use favicon full path 2017-04-13 11:09:20 +01:00
Shinya Maeda
0e06cfc059 Add api points for ci cd status. Add favicon. 2017-03-23 17:11:48 +09:00
Grzegorz Bizon
d549a96558 Add missing specs for new pipeline related entities
[ci skip]
2016-12-21 14:47:43 +01:00
Grzegorz Bizon
ccea4727a6 Fix pipeline detailed status serializer and entities 2016-12-15 15:57:35 +01:00
Grzegorz Bizon
e4efb135e8 Add status entity prototype and expose in pipeline 2016-12-07 16:46:37 +01:00