gitlab-org--gitlab-foss/spec
Douwe Maan 0cdd4f310f Merge branch '14564-mr-automatic-title' into 'master'
Auto-set title for branches created from issues

This sets the title for a new MR to 'Resolves "$issue-title"' when:
- The source branch for the MR begins with a value iid.
- The MR has more than one commit in its diff (if there's one commit, keep using the commit's first line).
- The iid does not point to a confidential issue.

Single commit:

![A single commit uses the commit title](/uploads/cd34f59cd67f095c3034fae07950f8b5/image.png)

Multiple commits:

![Multiple commits use the issue title](/uploads/a322c406ddd56913c5aebd88d16e5a5e/image.png)

Confidential issue:

![A confidential issue uses the branch name](/uploads/7ae9b79de5f6101ced46802f3c3a6e71/image.png)

cc @DouweM @zj 

Closes #14564

See merge request !3966
2016-05-06 12:14:13 +00:00
..
config Don't load all of GitLab in mail_room 2016-02-26 18:48:13 -08:00
controllers Merge remote-tracking branch 'dev/master' into 'master' 2016-05-02 19:58:54 -04:00
factories Backported minimal safewebhook implementation to GitLab CE 2016-04-30 05:04:10 -03:00
features Use outer join for issues ordering by milestones due. 2016-05-06 19:57:26 +09:00
finders Return unique issues when using multiple labels 2016-04-13 16:10:49 -04:00
fixtures Improve and finish the fallback to the In-Reply-To and References header for the reply-by-email feature 2016-03-25 13:05:15 +01:00
helpers Sanitize repo paths in new project error message 2016-05-04 14:06:07 -07:00
initializers
javascripts Feedback from stanhu 2016-05-05 00:18:36 +02:00
lib Merge branch 'fix/import-url-issues' into 'master' 2016-05-05 22:27:40 +00:00
mailers Merge branch 'mr-formatting' into 'master' 2016-04-19 16:23:41 +00:00
models Merge branch 'use-rugged-to-create-tag' into 'master' 2016-05-04 16:07:13 +00:00
requests Merge branch 'use-rugged-to-create-tag' into 'master' 2016-05-04 16:07:13 +00:00
routing Remove Profile::KeysController#new action 2016-03-03 16:13:59 -05:00
services Merge branch '14564-mr-automatic-title' into 'master' 2016-05-06 12:14:13 +00:00
support Ensure URL in all Service subclasses are valid 2016-04-25 15:28:24 -04:00
tasks/gitlab Ensure uploads dir exists when running backup specs 2016-03-30 15:40:49 +02:00
views Move "I should see Crowd login form" feature to a view spec 2016-02-24 17:38:13 -05:00
workers Merge branch 'create-wikis-during-check' into 'master' 2016-05-04 14:10:49 +00:00
factories_spec.rb Add support for not Active Record based factories 2016-03-30 10:44:18 +02:00
rails_helper.rb
spec_helper.rb Update rspec-rails from 3.3.3 to 3.4.2. 2016-05-01 13:44:50 -06:00
teaspoon_env.rb