Commit Graph

17 Commits

Author SHA1 Message Date
GitLab Bot be59dd1d43 Add latest changes from gitlab-org/gitlab@master 2019-12-20 21:08:00 +00:00
GitLab Bot 9865665cb1 Add latest changes from gitlab-org/gitlab@master 2019-10-08 12:06:01 +00:00
GitLab Bot bdbded586b Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:18:51 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Ash McKenzie 5d5b9d57de Merge branch '60476-actionview-missingtemplate-missing-template-projects-issues-_merge_requests-with-locale-en-formats-html-varian' into 'master'
Delete leftover code for referenced_merge_requests endpoint

Closes #60476

See merge request gitlab-org/gitlab-ce!27335
2019-04-30 00:34:49 +00:00
Fatih Acet cf02657234
Delete leftover code for referenced_merge_requests
We rewrote Related MRs widget using Vue.
The previous implementation was using Haml templates
and calling referenced_merge_requests endpoint which is
now deprecated. This MR deletes leftover stuff them.
2019-04-15 09:02:50 +02:00
Felipe Artur ff06452e05 Prevent leaking information when issue is moved
Prevent leaking namespace and project names on moved issue links
2019-04-09 15:53:56 -03:00
Robert Speicher a05aba61c7
Freeze date in merge request status view spec
Previously, when this spec ran on the 28th of February, "one month ago"
isn't actually a month ago, it's "28 days ago".

Now we freeze the date to one that works as intended, since the point of
the test is only that it shows a relative date in the tooltip, not
necessarily that it's an exact, specific date.
2019-02-28 17:21:01 -08:00
Andrew Fontaine 37b9173bd5 Make "moved" Link to Moved Issue
The text "moved" now links to the issue the closed issue was moved to.
2019-02-21 09:34:00 -05:00
Constance Okoghenun 20ce370f4b Improved readability of issues related MR status spec 2019-02-08 19:10:58 +01:00
Jan Provaznik 81b875f0d0 Added tests for merge_request_status partial 2019-02-08 16:27:56 +01:00
Kamil Trzciński d4c7214799
[master] Pipelines section is available to unauthorized users 2019-01-31 16:52:50 +01:00
Andrew Fontaine 01a713d64c Indicate on Status if Issue was Moved
Add the text `(moved)` to the `Closed` status indicator on a closed
issue if the reason the issue was closed was due to moving it.

This only applies to closed issues. Issues that were closed and moved
then later re-opened only show `Open`. This makes it more immidately
clear why the issue was closed.
2019-01-25 14:59:41 -05:00
Robert Speicher 985a0c39ef Use Project `:repository` trait where necessary in view specs 2017-03-27 18:45:37 -04:00
Alejandro Rodríguez fa3bbd449e Fix lightweight tags not processed correctly by GitTagPushService
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing
to the sha of the tag to the sha of the commit the tag points to. The
problem is that only annotated tags have `object_sha`s, lightweight tags
don't (it's nil), so (only) in their case we still need to use
`tag.target`.
2016-10-28 13:53:18 -03:00
Connor Shea 8062380f60 Upgrade Devise from 4.1.1 to 4.2.0.
This fixes an issue with Rails 5 and brings us up-to-date with the latest Devise release.

This also replaces the deprecated Devise::TestHelpers with Devise::Test::ControllerHelpers.

Changelog: https://github.com/plataformatec/devise/blob/v4.2.0/CHANGELOG.md#420---2016-07-01
2016-09-27 20:08:49 -06:00
Alejandro Rodríguez d00679d54f Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00