Anders Kaseorg
52ad928d3e
styles: Fix shorthand-property-no-redundant-values.
...
Generated by stylelint --fix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-11-05 17:34:13 -07:00
Tim Abbott
1dfc62f9a0
emails: Remove username from email change confirmation.
...
Generally when we send confirmation emails to addresses the user has
not already proven that they control, we want to avoid including in
the email any user-controlled data. Doing so makes it hard for
malicious actors to use the feature to send spam, since they won't
have a way to include the URL for their malicious website in our
emails.
2021-11-04 17:51:37 -07:00
Eeshan Garg
763b3c27d6
corporate: Add contact support page.
2021-10-01 17:30:01 -07:00
Eeshan Garg
b43852953b
find_accounts: Thank the user for their request in the email.
...
A recent commit removed the "Thanks for you request!" at the start
of the find accounts email. As Alya Abbott pointed out, this line
actually helps us point out to the user that they are the ones who
requested the email in the first place, lowering the chances that
they'll misinterpret it as spam.
This is a follow-up to issue #19659 .
2021-09-24 12:23:01 -07:00
Eeshan Garg
4118c4a56b
find_team: Send one email per email address, not per organization.
...
With changes to the copy for these emails by tabbott.
Fixes #19659 .
2021-09-21 15:56:50 -07:00
Tim Abbott
26b885a6ec
emails: Fix weird left padding for bullets in Gmail.
2021-09-17 14:54:31 -07:00
Tim Abbott
cb5b33ed07
emails: Fix missing ul tag in day1 email template.
2021-09-17 14:51:52 -07:00
Eeshan Garg
85b1f1bed9
email: Update follow-up day 1 emails to mention demo orgs.
...
This is a part of #19523 .
2021-09-10 16:31:54 -07:00
Aman Agrawal
dff5e8ff6e
emails: Add CSS to support images placed on the side of a paragraph.
...
The `float-right-image` CSS class will result in a normal centered
image at mobile widths, but appear to the right when adjacent to
paragraphs.
2021-08-03 12:17:01 -07:00
Tim Abbott
d439a2a53e
emails: Create wider marketing email base template.
...
For our marketing emails, we want a width that's more appropriate for
newsletter context, vs. the narrow emails we use for transactional
content.
I haven't figured out a cleaner way to do this than duplicating most
of email_base_default.source.html. But it's not a big deal to
duplicate, since we've been changing that base template only about
once a year.
2021-08-03 11:57:31 -07:00
Tim Abbott
f452e176da
emails: Improve styling for headings.
...
We don't currently use headings in our emails, which is why the
previous CSS was able to be super weird.
2021-08-01 21:27:42 -07:00
Aman Agrawal
c1c6674809
emails: Retheme to purple colors to match present logo.
2021-08-01 21:27:42 -07:00
Tim Abbott
ba3bb38bc2
templates: Avoid direct links to chat.zulip.org.
...
We instead generally want to link to the landing page explaining the
community.
2021-07-25 22:18:04 -07:00
Hashir Sarwar
87d90f47ee
email_notifications: Show mentioned user group in email notifications.
...
Fixes #13080 .
Cherry-picked from #15011 with edits.
Co-authored-by: Abhijeet Bodas <abhijeetbodas2001@gmail.com>
2021-07-05 14:23:59 -07:00
Vishnu KS
e0f5fadb79
billing: Downgrade small realms that are behind on payments.
...
An organization with at most 5 users that is behind on payments isn't
worth spending time on investigating the situation.
For larger organizations, we likely want somewhat different logic that
at least does not void invoices.
2021-07-02 13:19:12 -07:00
Gilbert Bishop-White
e4d9e58c7d
emails: Make it obvious when registering creates new realm.
...
Checked the email looked OK in `/emails` for both creating realm and
registering within an existing one.
Not sure zerver/tests/test_i18n.py test has been suppressed correctly.
Fixes #17786 .
2021-06-02 15:18:03 -07:00
Tim Abbott
55f30458e1
emails: Use 'has invited you' phrasing for invitations.
2021-05-26 11:41:13 -07:00
Tim Abbott
3ea01406f2
send_custom_email: Include unsubscribe options in emails.
2021-04-27 21:36:09 -07:00
Mateusz Mandera
cc11575b21
emails: Rename "New missed messages" email subjects to "New messages".
2021-04-21 10:10:54 -07:00
Anders Kaseorg
dd3fa4ac52
templates: Mark all void tags as self-closing.
...
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-21 09:49:34 -07:00
Anders Kaseorg
7177529107
templates: Use HTML5 doctype for emails.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-21 09:49:34 -07:00
Vishnu KS
f6b97f20e3
sponsorships: Don't translate the subject of support emails.
...
The email subject used to be translated to the language of
the user who requested the sponsorship. This was a bug since
the recipient of the emails are Zulip's support staff and
not the user who requested the sponsorship.
2021-03-12 13:30:46 -08:00
Vishnu KS
ff754ee528
emails: Pass help link as variable in password reset email.
2020-10-30 11:50:30 -07:00
Vishnu KS
0eec12ad8b
emails: Pass reset link as variable in notify new login email.
2020-10-30 11:50:30 -07:00
Vishnu KS
0853c866a9
emails: Use link tag macro for realm uri in password reset email.
2020-10-30 11:50:30 -07:00
Vishnu KS
e53008410a
emails: Use email tag macro for email in password reset email.
2020-10-30 11:50:30 -07:00
Vishnu KS
1c08ea8134
emails: Use trans tag for ladap username in followup day 1 email.
2020-10-30 11:50:30 -07:00
Vishnu KS
abc5fb6cea
emails: Use email tag macro for email in followup day1 email.
2020-10-30 11:50:30 -07:00
Vishnu KS
df882d1563
emails: Use link tag macro for realm_uri in followup day1 email.
2020-10-30 11:50:30 -07:00
Vishnu KS
cb6ab43ba2
emails: Use link tag macro for realm_uri in realm reactivation email.
2020-10-30 11:50:30 -07:00
Vishnu KS
36b00b6b96
emails: Use email tag macro for old and new emails in confirm new email.
2020-10-30 11:50:30 -07:00
Vishnu KS
c06d8f9e45
emails: Use link tag macro for realm_uri in confirm new email.
2020-10-30 11:50:30 -07:00
Vishnu KS
4b784f8869
emails: Use macros for link tags in new login email.
2020-10-30 11:50:30 -07:00
Vishnu KS
8abf6897cb
emails: Use macros for email tags in realm reactivation email.
2020-10-30 11:50:30 -07:00
Vishnu KS
01a92abf12
emails: Use macros for email tags in notify new login email.
2020-10-30 11:50:30 -07:00
Vishnu KS
3bac784590
emails: Use macros for email tags in notify change in email.
2020-10-30 11:50:30 -07:00
Vishnu KS
689c636e29
emails: Use macros for email tags in confirm registration email.
2020-10-30 11:50:30 -07:00
Vishnu KS
0d56f3d73e
emails: Use macros for email tags in verify new email.
2020-10-30 11:50:30 -07:00
Vishnu KS
2caee3d68c
emails: Use macros for email tags in invitation reminder email.
2020-10-30 11:50:30 -07:00
Vishnu KS
eb008fc864
emails: Use macros for email tags in invitation email.
2020-10-30 11:50:30 -07:00
Anders Kaseorg
6dea085187
docs: Correct “login” as a verb to “log in”.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-11 10:25:53 -07:00
Anders Kaseorg
e789a8bb20
stylelint: Enable no-vendor-prefix rules.
...
Our vendor prefixes are generated by autoprefixer.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-07 15:17:20 -07:00
Anders Kaseorg
483445e3d3
styles: Remove unit from 0 lengths.
...
Generated by stylelint --fix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
ca2dc639c4
styles: Enable most stylelint-config-standard rules.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
c6ed5c81de
styles: Format CSS with Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Vishnu KS
d3834f8b9a
emails: Simplify requested by line in sponsorship email.
2020-07-24 17:39:46 -07:00
Vishnu KS
4c6350fa4b
billing: Add option to request a sponsorship in /upgrade.
2020-07-01 16:45:38 -07:00
Tim Abbott
827a6800e7
emails: Remove useless target=_blank in new login emails.
...
Email providers will add this attribute before showing HTML emails to
users in any case.
2020-06-25 12:12:46 -07:00
Vishnu KS
bc57d9b611
i18n: Don't hardcode zulip.com URLs in translation tags.
2020-06-11 11:09:42 -07:00
Tim Abbott
71078adc50
docs: Update URLs to use https://zulip.com .
...
We're migrating to using the cleaner zulip.com domain, which involves
changing all of our links from ReadTheDocs and other places to point
to the cleaner URL.
2020-06-08 18:10:45 -07:00