gitlab-org--gitlab-foss/lib/gitlab
Douwe Maan 4a2320a7b0 Merge branch 'new-issue-by-email' into 'master'
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.

/cc @DouweM #3243

See merge request !3363
2016-07-28 16:46:23 +00:00
..
auth Fix tests 2016-06-06 17:40:26 +02:00
backend Fix a bug where forking a project from a repository storage to another would fail 2016-07-26 17:22:13 -04:00
badge Extend build status badge, add html/markdown methods 2016-04-06 19:56:34 +02:00
bitbucket_import Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
checks Limit git rev-list output count to one in forced push check 2016-07-19 21:22:58 +02:00
ci Add minor improvements in readability in CI config 2016-07-04 18:36:06 +02:00
database Disable statement timeout outside of transaction and during adding concurrent index 2016-07-14 18:50:46 -07:00
diff Add Discussion model to represent MR/diff discussion 2016-07-20 16:18:18 -06:00
downtime_check Added checks for migration downtime 2016-07-20 12:41:56 +02:00
email Merge remote-tracking branch 'upstream/master' into new-issue-by-email 2016-07-15 15:30:26 +08:00
fogbugz_import Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
gfm Remove reduntant move_to_store override 2016-03-30 12:50:19 +02:00
git Merge branch '18627-wildcard-branch-protection' into 'master' 2016-07-07 22:37:30 +00:00
github_import Memoize response from has_rate_limit? to avoid extra API call 2016-07-12 12:14:17 -03:00
gitlab_import fixed similar issue with gitlab.com importer because why not! 2016-07-14 17:06:48 +02:00
gitorious_import
google_code_import Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
graphs Infinity Bug in Commit Statistics 2016-05-20 22:23:08 +02:00
import_export squashed - added avatar saver/restorer and specs 2016-07-19 13:06:06 +02:00
ldap Enable Style/EmptyLinesAroundAccessModifier rubocop cop 2016-06-03 10:34:20 +02:00
lfs Fix LFS specs 2016-07-15 15:06:19 +02:00
markdown
metrics Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
middleware Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
o_auth Merge branch 'master' into dev-master 2016-07-02 22:58:21 +02:00
request_profiler Profile requests when a header is passed 2016-07-26 20:06:09 +02:00
saml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
sanitizers Refactored SVG sanitizer 2016-06-12 21:05:58 -04:00
sherlock
sidekiq_middleware Add support for using RequestStore within Sidekiq tasks via SIDEKIQ_REQUEST_STORE env variable 2016-07-25 17:59:09 -07:00
sql
template fixup! override content method 2016-06-20 14:48:28 -05:00
access.rb Optimize maximum user access level lookup in loading of notes 2016-07-26 15:33:05 -07:00
akismet_helper.rb Refactor spam validation to a concern that can be easily reused and improve legibility in SpamCheckService 2016-07-26 19:29:16 -05:00
app_logger.rb
asciidoc.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
auth.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
award_emoji.rb Upgrade Gemojione from 2.6.1 to 3.0.1. 2016-07-18 10:40:16 -06:00
bitbucket_import.rb
blame.rb add custom highlighting via .gitattributes 2016-06-27 14:17:49 -07:00
build_data_builder.rb Try to use pipeline where applicable 2016-06-03 13:09:49 +02:00
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
contributor.rb
current_settings.rb Refactor and rename restricted_signup_domains to domain_whitelist to better conform to its behavior and newly introduced behavior. 2016-07-18 17:53:43 -05:00
database.rb Fix RangeError exceptions when referring to issues or merge requests outside of max database values 2016-06-18 13:07:38 -07:00
devise_failure.rb
downtime_check.rb Added checks for migration downtime 2016-07-20 12:41:56 +02:00
emoji.rb Add emoji.rb in lib/gitlab instead of using the gitlab_emoji gem. 2016-06-29 14:53:09 -06:00
exclusive_lease.rb clean up ExclusiveLease 2016-04-13 13:12:05 +03:00
git.rb
git_access.rb Allow to pull code with deploy key from public projects 2016-07-19 12:23:41 +02:00
git_access_status.rb Ensure to_json methods take optional argument 2016-07-20 11:14:06 +01:00
git_access_wiki.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitorious_import.rb
gl_id.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
gon_helper.rb Fix help page paths to make sure shortcuts and the UI help page work. 2016-07-19 11:17:14 -06:00
highlight.rb use the proper variable names o_O 2016-07-14 12:21:22 -07:00
identifier.rb
import_export.rb Squashed - fix encoding issue 2016-07-19 09:59:54 +02:00
import_formatter.rb
import_sources.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
incoming_email.rb It's for Message-ID so it should be message_id 2016-05-20 18:23:04 -05:00
issues_labels.rb
key_fingerprint.rb Enable Style/UnneededCapitalW Rubocop cop 2016-06-30 13:31:52 +02:00
lazy.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
logger.rb
markup_helper.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
metrics.rb Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
note_data_builder.rb Refactor and expose only Gitlab::UrlBuilder.build(record) 2016-04-13 16:07:04 +02:00
other_markup.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
popen.rb
production_logger.rb
project_search_results.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
protocol_access.rb Default Git access protocol to web 2016-07-05 16:54:22 -05:00
push_data_builder.rb API support for the 'since' and 'until' operators on commit requests 2016-04-29 09:26:52 +02:00
recaptcha.rb
redis.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
reference_extractor.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
regex.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
repository_check_logger.rb Rename almost all the things 2016-04-06 13:47:05 +02:00
request_profiler.rb Profile requests when a header is passed 2016-07-26 20:06:09 +02:00
routing.rb Added & use Gitlab::Routing for URL helpers 2016-04-01 11:13:48 +02:00
search_results.rb
seeder.rb Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
sherlock.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb
timeless.rb Add Timeless helper module to prevent updated_at from being updated 2016-07-06 18:50:58 -04:00
upgrader.rb
uploads_transfer.rb
url_builder.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
url_sanitizer.rb spec and fix for sanitize method 2016-07-11 09:01:09 +02:00
user_access.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
utils.rb
version_info.rb
visibility_level.rb Revert "Fix merge conflicts - squashed commit" 2016-06-03 11:10:17 +02:00
workhorse.rb If version file is unavailable unknown status 2016-07-23 06:56:32 +02:00