zulip/zerver
Siddharth Asthana a81c4b5e4c send_custom_email: Add dry-run flag to verify recipients and email.
Add a `--dry-run` flag to send_custom_email management command
in order to provide a mechanism to verify the emails of the recipients
and the text of the email being sent before actually sending them.

Add tests to:
- Check that no emails are actually sent when we are in the dry-run mode.
- Check if the emails are printed correctly when we are in the dry-run mode.

Fixes #17767
2021-04-26 17:31:34 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
lib send_custom_email: Add dry-run flag to verify recipients and email. 2021-04-26 17:31:34 -07:00
management send_custom_email: Add dry-run flag to verify recipients and email. 2021-04-26 17:31:34 -07:00
migrations models: Replace __id syntax with _id where possible. 2021-04-22 14:53:00 -07:00
openapi docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests send_custom_email: Add dry-run flag to verify recipients and email. 2021-04-26 17:31:34 -07:00
tornado docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
views dev_login: Show 'shiva' in a separate Moderators section. 2021-04-26 17:14:06 -07:00
webhooks docs: Fix spelling errors caught by codespell. 2021-04-26 09:31:08 -07:00
worker email: Open a single SMTP connection to send email batches. 2021-04-26 17:27:22 -07:00
__init__.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py i18n: Pass language name with every response. 2021-04-24 13:00:27 -07:00
decorator.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
models.py management: Include moderator option in change_user_role command. 2021-04-26 17:14:06 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00