Commit graph

7 commits

Author SHA1 Message Date
gfyoung
d5bf57a6af Enable frozen string in presenters and policies
Enable frozen string in:

* app/presenters
* app/policies

Partially addresses #47424.
2018-07-24 13:18:25 -07:00
Kamil Trzciński
6776fac622 Respect permissions when showing Failed Jobs 2018-05-06 18:46:00 +02:00
Grzegorz Bizon
123da5fbe8 Improve specs for pipeline failure reason presenter
Conflicts:
	app/presenters/ci/pipeline_presenter.rb
2017-10-05 11:41:16 +02:00
Grzegorz Bizon
90fa4e7e54 Move part of pipeline presenter to main CE file 2017-10-05 11:35:27 +02:00
Lin Jen-Shin
057c0d7a5c Also track auto-cancelling in jobs, detail:
Not only tracking auto-cancelling in pipelines,
we'll also track this in jobs because pipelines
could be retried and the information would get lost
when this happened. Also erase auto-cancelling
relation for pipelines when they're retried.
2017-04-06 21:32:56 +08:00
Lin Jen-Shin
e258e6f147 Add test for presenters 2017-04-06 03:10:52 +08:00
Rydkin Maxim
14722b66a1 rename pipeline_presenter 2017-04-04 21:11:25 +03:00
Renamed from app/presenters/ci/pipeline_status_badge_presenter.rb (Browse further)