zulip/templates/zerver
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
..
app app: Sink z-index of loading overlay below alert popups. 2024-06-22 19:18:10 -07:00
config_error config_error: Support passing arguments specifying the "go back" link. 2024-03-05 11:53:51 -08:00
development 5xx: Fix development server preview of 500 error page. 2024-05-30 10:49:03 -07:00
emails realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
include
integrations webhooks: Rename append-stream-name.md->append-channel-name.md. 2024-05-06 09:07:57 -07:00
policies_absent
policies_minimal documentation: Support having no sidebar for policies docs. 2024-01-07 19:11:16 -08:00
portico_error_pages portico_error_pages: Collect zerver error pages into a folder. 2024-06-05 09:06:44 -07:00
tests/markdown
accounts_accept_terms.html accounts: Allow user to change email visibility during first login. 2023-05-16 13:52:56 -07:00
accounts_home.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
accounts_send_confirm.html registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
base.html sentry: Untangle from page_params. 2024-06-22 18:53:56 -07:00
change_email_address_visibility_modal.html dialog_widget: Rename "dialog_cancel_button" to "dialog_exit_button". 2023-07-25 10:25:12 -07:00
close_window.html
compare-education.html
confirm_continue_registration.html
create_realm.html data_import: Remove gitter data import tool. 2024-05-02 13:25:25 -07:00
deactivated.html zerver: Use correct flags to check if this is a self hosted server. 2024-05-16 08:55:51 -07:00
desktop_login.html
desktop_redirect.html
dev_env_email_access_details.html
digest_base.html emails: Inline CSS in emails in build_email. 2023-04-05 12:22:29 -07:00
documentation_main.html skip_navigation: Add skip navigation link to /help and /api sites. 2024-02-14 15:08:45 -06:00
email.html
find_account.html find-account: Send email when no Zulip accounts found. 2024-04-02 10:39:47 -07:00
footer.html footer: Add social links with icons. 2023-11-29 10:37:16 -08:00
gradients.html
invalid_email.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
invalid_realm.html zerver: Use correct flags to check if this is a self hosted server. 2024-05-16 08:55:51 -07:00
landing_nav.html landing_navbar: Add `Semsee` case study link in mobile navbar. 2024-03-26 09:04:33 -07:00
log_into_subdomain_token_invalid.html
login.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
meta_tags.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
new_user_email_address_visibility.html register: Add description below name field. 2024-03-14 10:53:36 -07:00
no_spare_licenses.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
portico-header-dropdown.html header: Avoid using `.dropdown` for class name. 2024-01-12 08:40:51 -08:00
portico-header.html skip_navigation: Add skip navigation link to /help and /api sites. 2024-02-14 15:08:45 -06:00
portico-help.html
portico.html portico: Skip footer and adjust header on invalid realm. 2023-11-01 11:24:12 -07:00
portico_signup.html
realm_creation_form.html registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
realm_reactivation.html
realm_reactivation_link_error.html
realm_redirect.html
register.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
reset.html reset: Tag "forgot password" text for translation. 2023-02-21 09:16:22 -08:00
reset_confirm.html passwords: Add keyboard accessibility for show/hide password icons. 2024-03-30 16:16:27 -07:00
reset_done.html templates: Update `reset_done.html` page text and title. 2023-02-28 11:45:01 -08:00
reset_emailed.html
social_auth_select_email.html social_auth_select_email: Remove form-horizontal class. 2023-01-19 17:24:14 -08:00
unsubscribe_link_error.html templates: Add CSS formatting to unsubscribe link error page. 2023-04-26 15:41:20 -07:00
unsubscribe_success.html zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00