gitlab-org--gitlab-foss/spec
Lin Jen-Shin 6cfd028278 Implement #3243 New Issue by email
So we extend Gitlab::Email::Receiver for this new behaviour,
however we might want to split it into another class for better
testing it.

Another issue is that, currently it's using this to parse project
identifier:

    Gitlab::IncomingEmail.key_from_address

Which is using:

    Gitlab.config.incoming_email.address

for the receiver name. This is probably `reply` because it's used
for replying to a specific issue. We might want to introduce another
config for this, or just use `reply` instead of `incoming`.

I'll prefer to introduce a new config for this, or just change
`reply` to `incoming` because it would make sense for replying to
there, too.

The email template used in tests were copied and modified from:
`emails/valid_reply.eml` which I hope is ok.
2016-05-16 21:27:16 +00:00
..
config Enable the Rubocop DeprecatedClassMethods cop 2016-05-08 15:33:34 -06:00
controllers Merge branch 'issue_14684' into 'master' 2016-05-16 21:05:05 +00:00
factories Update specs 2016-05-13 17:31:58 -05:00
features Merge branch 'issue_14684' into 'master' 2016-05-16 21:05:05 +00:00
finders Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
fixtures Implement #3243 New Issue by email 2016-05-16 21:27:16 +00:00
helpers Merge branch 'rs-cleanup-events_helper_spec' into 'master' 2016-05-12 22:41:19 +00:00
initializers Add tests for setting trusted_proxies 2016-05-04 15:49:39 -07:00
javascripts Fix build notification on merge request page change even if the build status didn't change 2016-05-08 21:41:09 +02:00
lib Implement #3243 New Issue by email 2016-05-16 21:27:16 +00:00
mailers Only generate repository push email once 2016-05-11 09:16:01 +01:00
models Merge branch 'issue_14684' into 'master' 2016-05-16 21:05:05 +00:00
requests Update JwtController specs 2016-05-15 00:33:06 -05:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Fix http status codes for container registry authentication service 2016-05-15 10:47:04 -05:00
support Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03: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 Only generate repository push email once 2016-05-11 09:16:01 +01: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