Commit graph

13 commits

Author SHA1 Message Date
Sean McGivern
a3607aa439 Merge branch 'issue_27168_2' into 'master'
Preloads head pipeline for each merge request

Closes #27168

See merge request !10064
2017-05-09 15:16:31 +00:00
Fatih Acet
0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Felipe Artur
d9bebd89df Fix specs 2 2017-05-08 11:29:10 -03:00
Felipe Artur
24824cbb4c Fix Specs 2017-05-08 11:26:04 -03:00
Jacopo
ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Douglas Barbosa Alexandre
d8d448c285 Port of fix/29125-ee to CE 2017-04-19 17:14:50 -03:00
Jose Ivan Vargas Lopez
c380d7669c Fixed button capitalisation for Projects in views 2017-04-06 14:58:57 -05:00
Grzegorz Bizon
64ae4689fc Add feature specs for new MR widget blocked state 2017-03-07 12:24:11 +01:00
Eric Eastwood
605fff9123 Default to subtle MR mege button until CI status is available
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9245
2017-03-02 02:49:03 -06:00
Sean McGivern
7a9d3a3c90 Show merge errors in merge request widget
There were two problems here:

1. On the JS side, the reference to $widgetBody didn't refer to the
   right DOM element any more. This might be because it was replaced by
   the `getMergeStatus` method. Even if it wasn't, ensuring we have the
   right element means that the content gets updated.

2. On the Ruby side, the `log_merge_error` method didn't update the
   `merge_error` column of the merge request. Change that to update if
   requested, and update in the most common cases by default.

   Additionally, this would sometimes return an error hash, but it
   doesn't look like this was ever used (the return value of
   `MergeService#execute` appears to be unused everywhere).
2017-02-16 09:14:22 +00:00
Phil Hughes
211b35c2d0 Fixed random merge request widget failure 2017-02-08 17:23:59 +00:00
Phil Hughes
bfd9bbba2b Added specs for merge request environment list
Ported from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1154
2017-02-03 11:49:34 +00:00
Phil Hughes
4af91ea5cf Added test for initial merge request widget state 2017-01-26 16:04:34 +00:00