Commit graph

7 commits

Author SHA1 Message Date
Alex Sanford
3c2f40cd39 Add validation errors to Merge Request form
If source branch or target branch doesn't exist in the project, display
form validation errors. Previously, this caused a 500 error code.
2016-11-01 07:28:22 -03:00
Artem Sidorenko
6c1690fcc0 Allow empty merge requests 2016-10-11 10:50:49 +02:00
Luke Howell
0ee5efbd20 Prepend blank line to close message on merge request
- Added an extra new line to the prepend of the Close message

Fixes #21710
2016-09-01 14:06:45 -05:00
Paco Guzman
1d0c7b7492 Introduce Compare model in the codebase.
This object will manage Gitlab::Git::Compare instances
2016-08-03 07:00:20 +02:00
Sean McGivern
09209725ce Don't auto-set MR title for confidential issues 2016-05-06 12:24:37 +01:00
Sean McGivern
e76f339dcd Auto-set title for branches created from issues
If a branch starts with an issue's IID, followed by a hyphen, the
description will be updated to say that is closes the issue. This also
updates the title of the merge request to 'Resolves "$issue-title"', as
long as:
- There is more than one commit in the merge request (if there is only
  one commit, the commit's title will be used as before)
- The issue's IID is valid for the project
2016-05-06 12:24:37 +01:00
Sean McGivern
13d4d3c8b0 Add specs for MergeRequests::BuildService 2016-05-06 12:24:36 +01:00