Julia Bichler
0a278c39d2
settings: Send email after deactivating user.
...
This adds a feature where an admin can choose to send an email
with custom content to an user after they deactivated them.
Fixes #18943 .
2022-08-06 21:41:53 -07:00
Anders Kaseorg
b0ce4f1bce
docs: Fix many spelling mistakes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-02-07 18:51:06 -08:00
Tim Abbott
af27675857
send_custom_email: Add support for emailing remote server contacts.
...
This isn't a fully reusable tool, since it has copy about terms of
service, but it's at least readily modified and has tests.
2021-12-14 18:11:23 -08:00
Tim Abbott
3da3db3f16
emails: Adjust list styling for multiline bullets.
2021-12-13 22:44:10 -08:00
Eeshan Garg
3bab91079f
external links: Migrate the rest of /developer-community links.
...
We recently changed /developer-community to /development-community.
Now that this change is in production, we can also migrate the
external links in our ReadTheDocs documentation.
2021-12-09 12:14:26 -08:00
Steve Howell
fb574431cb
check-templates: Rewrite pretty_print (again).
...
It now does everything based on the tokens, rather
than walking the lines and trying to match up tokens
to lines.
2021-12-03 14:35:34 -08:00
Steve Howell
2f0f27b841
templates: Fix minor whitespace errors.
...
(we also add validation)
2021-12-02 09:49:10 -08:00
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