Robert Speicher
ee1de011d1
Premailer shouldn't remove script tags from our emails
...
Closes #14943 .
2016-04-05 17:03:34 -04:00
Rémy Coutable
9f218fc184
Improve and finish the fallback to the In-Reply-To and References header for the reply-by-email feature
...
A few things to note:
- The IncomingEmail feature is now enabled even without a
correctly-formatted sub-address
- Message-ID for new thread mail are kept the same so that subsequent
notifications to this thread are grouped in the thread by the email
service that receives the notification
(i.e. In-Reply-To of the answer == Message-ID of the first thread message)
- To maximize our chance to be able to retrieve the reply key, we look
for it in the In-Reply-To header and the References header
- The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]"
- Improve docs thanks to Axil
2016-03-25 13:05:15 +01:00
David Padilla and Rémy Coutable
31e76baf61
Fix #2364 . Fall back to In-Reply-To header when reply key not available
2016-03-25 13:05:15 +01:00
Grzegorz Bizon
15d32b6a11
Add new notifications for issue move action
...
[ci skip]
2016-03-17 07:39:16 +01:00
Rémy Coutable
54ec7e9599
Improving the original label-subscribing implementation
...
1. Make the "subscribed" text in Issuable sidebar reflect the labels
subscription status
2. Current user mut be logged-in to toggle issue/MR/label subscription
2016-03-15 18:22:02 +01:00
Rémy Coutable
76350e2ede
Ensure "new SSH key" email do not ends up as dead Sidekiq jobs
...
Related to #2235 .
This is done by:
1. Delaying the notification sending after the SSH key is commited in DB
2. Gracefully exit the mailer method if the record cannot be found
2016-03-15 11:23:57 +01:00
Grzegorz Bizon
c0033e96ba
Move profile notifications specs to separate file
2016-02-12 14:01:28 +01:00
Grzegorz Bizon
055ec4dc0a
Move build emails specs to separate file
...
This also extracts shared examples for notification emails to separate
file.
2016-02-12 14:01:28 +01:00
Grzegorz Bizon
c9f202b2ef
Fix broken link in CI build notification emails
...
Closes #13199
2016-02-12 14:01:27 +01:00
Jason Lee and Rémy Coutable
9474e36f46
Add option to include the sender name in body of Notify email. fix #7824
2016-02-09 12:58:13 +01:00
Anton Baklanov
84124380e8
Added X-GitLab-... headers to emails from CI and Email On Push services
...
Fixes #2098
2016-01-19 20:18:39 +02:00
Zeger-Jan van de Weg
26cedc7e0b
Minor improvements, unsubscribe from email footer
2016-01-09 19:32:03 +01:00
Zeger-Jan van de Weg
58867eff46
Unsubscribe from thread through link in email footer
2016-01-09 12:41:22 +01:00
Robert Speicher
01248d2051
Make AbuseReportMailer responsible for knowing if it should deliver
2016-01-04 18:59:25 -05:00
Kamil Trzcinski
2988e1fbf5
Migrate CI::Services and CI::WebHooks to Services and WebHooks
2015-12-10 16:04:08 +01:00
Valery Sizov
162cd0099c
fix deprecation messages in tests
2015-12-03 10:33:43 +02:00
Marin Jankovski
5c0be319cc
Remove some repetition in notify spec.
2015-11-25 13:59:03 +01:00
Marin Jankovski
7da750cc30
Specs for links in email notifications for Gmail Actions.
2015-11-25 13:27:31 +01:00
Dmitriy Zaporozhets
d23ffc832c
Fix code that depends on incorrect inflector behavior
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-03 12:00:27 +01:00
Dmitriy Zaporozhets
63bbe42c9c
Merge branch 'stanhu/gitlab-ce-fix-message-id-notify'
2015-10-01 16:28:10 +02:00
Stan Hu
2e92600b30
Fix Message-ID field to be RFC 2111-compliant to prevent e-mails from being dropped
...
Closes #2867
2015-10-01 01:46:08 -07:00
Valery Sizov
5b57313051
Note the original location of a moved project when notifying users of the move
2015-10-01 09:54:56 +03:00
Kamil Trzcinski
30c78e70cb
WIP
2015-09-29 10:47:03 +02:00
Robert Speicher
69723d2002
Devise 3.5.x deprecates confirm! in favor of confirm
2015-09-19 21:15:13 -04:00
Valery Sizov
88b3195ecf
fix specs. Stage 6
2015-09-15 16:29:36 +03:00
Dmitriy Zaporozhets
cc4ef4da11
Refactor CI tests
2015-09-09 14:17:16 +02:00
Dmitriy Zaporozhets
f40b99d02e
Merge branch 'master' into rubocop-for-tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
spec/features/issues_spec.rb
spec/models/forked_project_link_spec.rb
spec/models/hooks/service_hook_spec.rb
spec/models/hooks/web_hook_spec.rb
spec/models/project_services/hipchat_service_spec.rb
spec/requests/api/project_members_spec.rb
spec/requests/api/projects_spec.rb
spec/requests/api/system_hooks_spec.rb
spec/services/archive_repository_service_spec.rb
spec/support/matchers.rb
spec/tasks/gitlab/backup_rake_spec.rb
2015-06-23 10:44:03 +02:00
Robert Speicher
15a05be70d
Fix Style/Blocks cop violations
2015-06-22 16:00:54 -04:00
Robert Speicher and Dmitriy Zaporozhets
20a871cc21
Update email_spec gem
...
This fixes spec/mailers/notify_spec
Also only require email_spec in the one place it's used
2015-06-22 12:13:46 +02:00
Robert Speicher
9789b56a31
Update ffaker gem
...
Adds a version requirement which it didn't have before, at 2.0.0. This
version has breaking API changes in that the namespace is now `FFaker`
instead of `Faker`.
2015-05-20 19:22:00 -04:00
Vinnie Okada
56e06b03bf
Add tests for password reset token changes
2015-05-16 14:11:33 -06:00
Vinnie Okada
0bfab084a8
Explain reset token expiration in emails
...
Tell new users when their password reset token expires and provide a
link to get a new one.
2015-05-16 14:03:07 -06:00
Dmitriy Zaporozhets
317ed1fa90
Revert "Allow to configure smtp and sendmail in gitlab.yml"
2015-05-06 17:39:18 +03:00
Jakub Jirutka
b4be7aed77
Allow to configure smtp and sendmail in gitlab.yml
2015-05-06 13:15:33 +02:00
Stan Hu
4dda17a5bf
Make Reply-To config apply to change e-mail confirmation and other notifications
...
sent through Devise
Fix test case that was passing due to a broken `around` statement.
Closes #1556
2015-05-01 22:57:10 -07:00
Douwe Maan
8ed7ac9d44
Use project.commit convenience method.
2015-04-24 12:29:36 +02:00
Douwe Maan
84a1590252
Let commit model know about its project.
2015-04-24 12:29:36 +02:00
Douwe Maan
c26b001ebc
Set EmailsOnPush reply-to address to committer email when enabled.
2015-04-14 12:52:33 +02:00
Hannes Rosenögger
8e9fbd847d
Revert "Merge branch 'fix_email_images' into 'master'"
...
This reverts commit d66148ef39 , reversing
changes made to cdb64a81a8 .
This change needed to be reverted,
because not enough email clients support inline images.
2015-04-13 12:34:47 +02:00
Stan Hu
81a5a9713d
Add ability to configure Reply-To address in gitlab.yml
...
Closes #1305
2015-04-03 06:47:54 -07:00
Douwe Maan
b13bed62ea
Clean up code by using keyword arguments.
2015-03-23 15:08:19 +01:00
Douwe Maan
bf235053ad
Send EmailsOnPush email when branch or tag is created or deleted.
2015-03-18 14:07:28 +01:00
Hannes Rosenögger
3c7e0f45c2
replace images in emails with inline images
...
This adds the functionality of replacing all images that were uploaded
to gitlab with inline images(base64) in emails.
This change fixes the broken images in emails that 7.8 introduced
2015-03-12 09:26:06 +01:00
Vyacheslav Slinko
61ed518781
Make email display name configurable
2015-03-11 11:04:23 +07:00
Douwe Maan
4658e554b7
Fix EmailsOnPush comparison link to include first commit.
2015-02-25 18:14:29 +01:00
Douwe Maan
969de4c15a
Fix EmailsOnPush to allow sending from @company.com for GitLab at gitlab.corp.company.com.
2015-02-25 15:51:13 +01:00
Douwe Maan
5d86332153
Send EmailsOnPush when deleting commits using force push.
...
See #1924 .
2015-02-25 15:12:19 +01:00
Douwe Maan
e0c186c357
Add option to send EmailsOnPush from committer email if domain matches.
...
See #1809 .
2015-02-25 14:20:35 +01:00
Douwe Maan
6afb03ee96
Remove incorrect footer from EmailsOnPush body.
...
See #1754 .
2015-02-25 13:13:46 +01:00
Douwe Maan
607f0c05fe
Change EmailsOnPush subject to include namespace, repo and branch.
...
See #1827 .
2015-02-25 13:13:27 +01:00