James Rowan
21b5536353
emails: Update subject lines of emails.
2017-07-14 15:20:04 -07:00
James Rowan
59b5a2f862
emails: Rewrite the day 1 followup email.
2017-07-13 20:51:54 -07:00
Rishi Gupta
f0ed556730
emails: Remove comments from tops of email templates.
...
The comments are not very helpful, in some cases incorrect, and make
skimming the template harder.
2017-07-13 19:17:53 -07:00
Rishi Gupta
d8eaae278d
emails: Update text of emails.
...
Partial update; likely more to be done.
2017-07-13 19:17:53 -07:00
James Rowan
71bc40d829
emails: Update subject for invitation emails.
2017-07-13 18:47:21 -07:00
James Rowan
88b8d98d34
emails: Update subject for missed message emails.
2017-07-13 18:47:17 -07:00
James Rowan
9bd1b0ba58
emails: Update subject for digest emails.
2017-07-13 18:47:02 -07:00
James Rowan
dc9a41c543
emails: Add preheader content to missed message emails.
2017-07-06 15:46:03 -07:00
Rishi Gupta
c827c7840d
lint: Re-indent digest.html and missed_message.html.
2017-07-06 15:46:03 -07:00
James Rowan
0d76da27b4
emails: Add base template for missed message and digest emails.
...
Also removes the files from lint, so that the new indentation doesn't
obscure the change. The files are reindented in the next commit.
2017-07-06 15:46:03 -07:00
Rishi Gupta
e04bf3273c
emails: Rename email_base.html to email_base_default.html.
...
About to add another template for digest and missed message emails. Another
natural name would be email_base_transactional, but the followup_day{1,2}
emails aren't really transactional.
2017-07-06 15:46:03 -07:00
Vaida Plankyte
0d8720fe0c
missed_message.txt: Use the singular 'they' pronoun.
2017-07-05 09:27:43 -07:00
Vaida Plankyte
b68ba0a13e
missed_message.html: Use the singular 'they' pronoun.
2017-07-05 11:34:45 +02:00
James Rowan
1ea9a23f95
emails: Fix two grammar nits.
2017-07-04 13:57:54 -07:00
James Rowan
19ffb84ac2
Make notification email for new login give browser and os.
...
notify_new_login.subject: include browser and os in subject line.
test_new_users: test for subject line to include browser/os.
2017-06-21 14:36:41 -04:00
Aditya Bansal
9cc3e8cf62
followup_day2.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
39a88019f8
followup_day1.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
9a0edad604
find_team.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
d4e827c618
email_base.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
9fc16888ca
digest.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
fa28dcd008
invitation_reminder.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
07e7482228
confirm_registration.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
1b82e90331
invitation.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Bansal
e12bb65c0b
confirm_new_email.html: Cleanup to use 4 space indentation.
2017-06-14 04:48:07 +05:30
Aditya Ramesh
a77aa79da9
emails: Add html versions of emails that do not have them.
...
Fixes #4691 .
2017-06-12 23:02:28 -07:00
Rishi Gupta
9a02739008
emails: Remove invitation_mit.
2017-06-12 23:02:28 -07:00
Rishi Gupta
3332ebaf22
emails: Remove confirmation_registration_mit.
...
Not enough new Zephyr signups to justify the carrying cost :(.
2017-06-12 23:02:28 -07:00
Rishi Gupta
1d702d13a4
emails: Replace context variable zulip_support with support_email.
2017-06-10 01:35:03 -07:00
Rishi Gupta
c3aa799192
emails: Remove verbose_support_offers conditional where unneccesary.
...
For almost all of these, the verbose support offer clause is almost the same
as the non-verbose version. The distinction carries extra carrying cost when
coming up with new copy, testing new email designs, etc.
2017-06-10 01:04:00 -07:00
Vaida Plankyte
114b080d01
emails: Add base template for html emails.
2017-06-09 23:34:24 -07:00
Rishi Gupta
9cba5573e6
emails: Remove Zulip logo and tagline from the top of emails.
...
We're about to add a new base html template that will provide formatting and
other embellishments, so this touch is no longer needed.
2017-06-09 23:34:24 -07:00
Rishi Gupta
7aa735294f
emails: Remove unneeded safe tags from non-HTML email templates.
...
Reverts 7527ac9
, and removes an additional |safe tag in
missed_messages.txt. These files are now rendered by a template engine
with autoescape=False.
2017-06-06 23:22:22 -07:00
Rishi Gupta
7527ac9a8c
emails: Mark variables in non-HTML emails as HTML-safe.
...
Make sure 's, &s, and other characters are not HTML-escaped in subject
lines and plain-text emails.
Hack so that this isn't blocking the release of Zulip 1.6. A more robust way
to do this would be to have two different template Engines, one that renders
HTML, and one that doesn't.
Fixes #5088 .
2017-06-03 16:04:06 -07:00
Umair Khan
ad5780c03e
lint: Mark alt argument for translation.
2017-05-26 15:28:46 -07:00
James Rowan
0facaa0797
Changes sender and subject lines for missed message emails.
...
Now, in the event of messages between two other members of a huddle,
the missed message emails are threaded in "Group PMs with name1 and
name2" and not in separate threads by sender.
Also, now the order of recipients in get_display_recipient consistent
with the order of names that appears in the list of personal messages
on the left sidebar.
Fixes most of #4553 .
2017-05-12 13:29:43 -07:00
Rishi Gupta
0ce04556bf
CSS: Change color of PMs from yellow to blue-grey.
2017-05-11 16:18:39 -07:00
Rishi Gupta
8321bd3f92
notifications: Refactor missed message queue to use send_email.
...
This commit also changes the sender from "Zulip <NOREPLY_EMAIL_ADDRESS>" to
NOREPLY_EMAIL_ADDRESS when it is not set explicitly.
2017-05-05 14:38:25 -07:00
Rishi Gupta
72ee5e5159
email: Make context for invitation_reminder template jsonable.
...
We are about to change send_future_email in a way that will require all
callers to use jsonable context.
2017-05-05 14:38:25 -07:00
Rishi Gupta
92dd76822f
email: Move and rename password reset templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
c10d3114eb
email: Move and rename followup_day* templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
21a6377204
email: Move and rename find_team_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
ebfae36494
email: Move and rename digest_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
a1f0c1d6ac
email: Move and rename new_login_alert templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
26ac344b19
email: Move and rename invitation_reminder_email templates.
2017-05-03 23:26:14 -07:00
Rishi Gupta
21a2c7b9d9
email: Remove translation tags from email templates.
...
The only thing being translated in any email was the title of the Zulip
header image in the html file, probably because not doing so breaks a linter
rule.
he name "Zulip" doesn't make sense to translate anyway.
2017-05-03 23:25:33 -07:00
Rishi Gupta
975d5bd8c0
email: Move and rename notify_change_in_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
4e779c3e6f
email: Move and rename mituser_invite_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
713303deff
email: Move and rename invite_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
ed0c310aa3
email: Move and rename preregistrationuser_confirmation_email templates.
2017-05-03 20:54:40 -07:00
Rishi Gupta
aa21012783
email: Move and rename mituser_confirmation_email templates.
2017-05-03 20:54:40 -07:00