gitlab-org--gitlab-foss/spec/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
..
backend Create (if necessary) and link the gitlab-shell secret file on the rake install task 2016-06-29 22:30:33 -04:00
badge Use value of yaml_variables and when from config_processor if undefined 2016-07-19 14:53:35 +02:00
bitbucket_import Fix spec to set import_url before attempting to create import_data 2016-07-17 20:57:11 -07:00
ci Merge branch 'refactor/ci-config-move-global-entries' into 'master' 2016-07-05 08:37:16 +00:00
database Fix spec Don't attempt to disable statement timeout on a MySQL DB 2016-07-14 20:55:33 -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-26 14:51:52 +08:00
fogbugz_import Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
gfm
git Improve the error message displayed when branch creation fails. 2016-07-05 11:05:16 +05:30
github_import Remove unnecessary context from GitHub client spec 2016-07-12 12:14:17 -03:00
gitlab_import Stub omniauth provider for GitLab 2016-07-13 11:35:38 -03:00
gitorious_import
google_code_import Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
graphs
import_export fix spec 2016-07-19 14:31:22 +02:00
ldap Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
metrics Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
middleware
o_auth Merge branch 'master' into dev-master 2016-07-02 22:58:21 +02:00
saml Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
sanitizers Improved SVG sanitizer specs to include smoke tests for clean. 2016-06-12 21:05:58 -04:00
sherlock
sql
template Refactor Gitlab::Gitignores 2016-06-20 14:48:28 -05:00
akismet_helper_spec.rb Submit all issues on public projects to Akismet if enabled. 2016-07-26 15:17:52 -05:00
asciidoc_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
auth_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
award_emoji_spec.rb Fix emoji paths in relative root configurations 2016-07-01 09:10:12 -07:00
blame_spec.rb
build_data_builder_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
closing_issue_extractor_spec.rb
color_schemes_spec.rb
current_settings_spec.rb Handle case when Redis cache returns an empty setting 2016-06-29 14:28:41 -07:00
database_spec.rb
downtime_check_spec.rb Added checks for migration downtime 2016-07-20 12:41:56 +02:00
exclusive_lease_spec.rb
git_access_spec.rb Allow to pull code with deploy key from public projects 2016-07-19 12:23:41 +02:00
git_access_wiki_spec.rb Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell expects and make the protocol param in GitAccess mandatory. 2016-07-05 16:54:22 -05:00
highlight_spec.rb support cgi style options, such as erb?parent=json 2016-06-27 14:17:49 -07:00
incoming_email_spec.rb
key_fingerprint_spec.rb
lazy_spec.rb
markup_helper_spec.rb
metrics_spec.rb Reduce instrumentation overhead 2016-07-28 16:56:17 +02:00
note_data_builder_spec.rb Add DiffNote model 2016-07-06 18:50:59 -04:00
popen_spec.rb Enable Style/UnneededCapitalW Rubocop cop 2016-06-30 13:31:52 +02:00
project_search_results_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
push_data_builder_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
reference_extractor_spec.rb Remove JiraIssue model and replace references with ExternalIssue 2016-06-16 01:25:18 +03:00
regex_spec.rb
search_results_spec.rb Revert "squashed merge and fixed conflicts" 2016-06-16 12:59:07 +02:00
snippet_search_results_spec.rb
themes_spec.rb
upgrader_spec.rb
uploads_transfer_spec.rb
url_builder_spec.rb Add DiffNote model 2016-07-06 18:50:59 -04:00
url_sanitizer_spec.rb spec and fix for sanitize method 2016-07-11 09:01:09 +02:00
user_access_spec.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
version_info_spec.rb
workhorse_spec.rb