zulip/zerver
Prakhar Pratyush ae72777c77 user_settings: Automate 'Include realm name in message email subject'.
Currently, there is a checkbox setting for whether to
"Include realm name in subject of message notification emails".

This commit replaces the checkbox setting with a dropdown
having values: Automatic [default], Always, Never.

The Automatic option includes the realm name if, and only if,
there are multiple Zulip realms associated with the user's email.

Tests are added and(or) modified.

Fixes: #19905.
2023-03-14 17:48:57 -07:00
..
actions create-user: Remove notifications sent to admin realm. 2023-03-13 12:28:26 -07:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios
lib user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
management python: Import F, Q, QuerySet from their canonical module. 2023-03-05 14:46:28 -08:00
migrations user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
openapi user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
tests user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
webhooks integrations: Update Asana integration doc to point to Zapier. 2023-03-02 13:51:34 -08:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py sentry: Enable reporting on portico and other unauth pages. 2023-03-07 15:01:27 -08:00
decorator.py request-notes: Add `is_webhook_view` boolean to fields. 2023-03-06 10:33:13 -08:00
filters.py
forms.py registration: Add code to set email_address_visibility during signup. 2023-02-24 09:23:34 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix PIE810 Call `startswith` once with a `tuple`. 2023-02-08 16:40:35 -08:00
models.py user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00