zulip/templates/zerver/emails
Lauryn Menard 673a01ea0c realm-deactivation: Send email to owners as part of deactivation.
Creates a new "realm_deactivated" email that can be sent to realm
owners as part of `do_deactivate_realm`, via a boolean flag,
`email_owners`.

This flag is set to `False` when `do_deactivate_realm` is used for
realm exports or changing a realm's subdomain, so that the active
organization owners are not emailed in those cases.

This flag is optional for the `deactivate_realm` management command,
but as there is no active user passed in that case, then the email
is sent without referencing who deactivated the realm.

It is passed as `True` for the support analytics view, but the email
that is generated does not include information about the support
admin user who completed the request for organization deactivation.

When an active organization owner deactivates the organization, then
the flag is `True` and an email is sent to them as well as any other
active organization owners, with a slight variation in the email text
for those two cases.

Adds specific tests for when `email_owners` is passed as `True`. All
existing tests for other functionality of `do_deactivate_user` pass
the flag as `False`.

Adds `localize` from django.util.formats as a jinja env filter so
that the dates in these emails are internationlized for the owner's
default language setting in the "realm_deactivated" email templates.

Fixes #24685.
2024-06-26 16:48:18 -07:00
..
.gitignore
account_registered.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
account_registered.subject.txt email-templates: Add account_registered email templates. 2023-08-18 16:25:48 -07:00
account_registered.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
confirm_demo_organization_email.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
confirm_demo_organization_email.subject.txt demo-orgs: Add email and password process for demo organization owners. 2023-08-31 15:02:16 -07:00
confirm_demo_organization_email.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
confirm_new_email.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
confirm_new_email.subject.txt emails: Update subject for confirm_new_email to have realm host. 2023-09-17 15:12:21 -07:00
confirm_new_email.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
confirm_registration.html emails: Add organization details to confirm registration for new org. 2023-11-28 09:52:31 -08:00
confirm_registration.subject.txt
confirm_registration.txt emails: Add organization details to confirm registration for new org. 2023-11-28 09:52:31 -08:00
custom_email_base.pre.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
deactivate.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
deactivate.subject.txt
deactivate.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
demo_request.html demo_request: Add form for user to request a demo. 2024-04-25 13:09:05 -07:00
demo_request.subject.txt demo_request: Add form for user to request a demo. 2024-04-25 13:09:05 -07:00
demo_request.txt demo_request: Add form for user to request a demo. 2024-04-25 13:09:05 -07:00
digest.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
digest.subject.txt
digest.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
email.css emails: Delete unused CSS selectors. 2023-09-26 11:42:12 -07:00
email_base_default.html
email_base_marketing.html
email_base_messages.html
error_processing_invoice.html stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
error_processing_invoice.subject.txt stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
error_processing_invoice.txt stripe: Fix $0 invoices being generated on upgrade. 2024-02-12 15:15:56 -08:00
find_team.html models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
find_team.subject.txt find-account: Send email when no Zulip accounts found. 2024-04-02 10:39:47 -07:00
find_team.txt models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
internal_billing_notice.html remote-support: Include billing entity name in internal billing notice. 2024-03-20 11:58:15 -07:00
internal_billing_notice.subject.txt remote-support: Include billing entity name in internal billing notice. 2024-03-20 11:58:15 -07:00
internal_billing_notice.txt remote-support: Include billing entity name in internal billing notice. 2024-03-20 11:58:15 -07:00
invitation.html
invitation.subject.txt
invitation.txt
invitation_reminder.html
invitation_reminder.subject.txt
invitation_reminder.txt
macros.html emails: Fix contact_us macros for "mailto" scheme in email links. 2023-09-20 09:58:12 -07:00
missed_message.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
missed_message.subject.txt emails: Update context/content for stream to channel rename. 2024-04-24 14:35:05 -07:00
missed_message.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
notify_change_in_email.html
notify_change_in_email.subject.txt
notify_change_in_email.txt
notify_new_login.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
notify_new_login.subject.txt
notify_new_login.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
onboarding_team_to_zulip.html onboarding-emails: Add new onboarding email for organization creator. 2023-10-25 13:51:03 -07:00
onboarding_team_to_zulip.subject.txt onboarding-emails: Add new onboarding email for organization creator. 2023-10-25 13:51:03 -07:00
onboarding_team_to_zulip.txt onboarding-emails: Add new onboarding email for organization creator. 2023-10-25 13:51:03 -07:00
onboarding_zulip_guide.html
onboarding_zulip_guide.subject.txt
onboarding_zulip_guide.txt
onboarding_zulip_topics.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
onboarding_zulip_topics.subject.txt email-templates: Add zulip_onboarding_topics email templates. 2023-08-18 16:25:48 -07:00
onboarding_zulip_topics.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
password_reset.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
password_reset.subject.txt
password_reset.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
realm_auto_downgraded.html models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
realm_auto_downgraded.subject.txt
realm_auto_downgraded.txt models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
realm_deactivated.html realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
realm_deactivated.subject.txt realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
realm_deactivated.txt realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
realm_reactivation.html emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
realm_reactivation.subject.txt
realm_reactivation.txt emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
remote_billing_legacy_server_confirm_login.html emails: Extend expiration for login confirmation links. 2023-12-11 10:16:40 -08:00
remote_billing_legacy_server_confirm_login.subject.txt emails: Adjust wording in legacy server login link email. 2023-12-11 10:16:40 -08:00
remote_billing_legacy_server_confirm_login.txt emails: Extend expiration for login confirmation links. 2023-12-11 10:16:40 -08:00
remote_realm_billing_confirm_login.html email: Update strings in remote_realm log in confirmation email. 2023-12-12 14:51:00 -08:00
remote_realm_billing_confirm_login.subject.txt email: Update strings in remote_realm log in confirmation email. 2023-12-12 14:51:00 -08:00
remote_realm_billing_confirm_login.txt email: Update strings in remote_realm log in confirmation email. 2023-12-12 14:51:00 -08:00
sponsorship_approved_community_plan.html corporate: Send email community plan sponsorship approved. 2023-12-07 13:17:14 -08:00
sponsorship_approved_community_plan.subject.txt corporate: Send email community plan sponsorship approved. 2023-12-07 13:17:14 -08:00
sponsorship_approved_community_plan.txt sponsorship_approval: Fix punctuation. 2023-12-15 09:08:48 -08:00
sponsorship_request.html billing: Improve display of sponsorship requests. 2024-01-04 12:25:30 -08:00
sponsorship_request.subject.txt emails: Remove organization type from sponsorship request emails. 2024-01-17 16:44:06 -08:00
sponsorship_request.txt emails: Add new context data to sponsorship requested templates. 2023-12-06 11:04:54 -08:00
stylelint.config.js
support_request.html
support_request.subject.txt
support_request.txt