zulip/zerver/models
The Dance a028a6b9fd custom_emails: Prevent duplicate emails from send_custom_email command.
This adds infrastructure to prevent duplicate custom emails from being
sent to users when the management command is run multiple times
with identical email template content.
The implementation uses RealmAuditLog tracking with a new
CUSTOM_EMAIL_SENT event type (810) that stores a hash of the email
template content.

Fixes: #19529.
2025-11-02 11:17:09 -08:00
..
__init__.py register-queue: Add push_devices in response. 2025-07-14 14:52:38 -07:00
alert_words.py models: Extract zerver.models.alert_words. 2023-12-16 22:08:44 -08:00
bots.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
channel_folders.py channel-folders: Add order field and backfill it alphabetically. 2025-08-06 16:34:40 -07:00
clients.py clients: Drop "desktop app" substring check. 2024-08-01 09:23:16 -07:00
constants.py
custom_profile_fields.py custom_profile_fields: Add "editable_by_user" setting. 2024-09-23 18:09:38 -07:00
drafts.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
groups.py groups: Use realm_for_sharding for limiting NamedUserGroup queries. 2025-09-23 12:15:53 -07:00
linkifiers.py mypy: Add google-re2-stubs. 2025-07-14 14:33:54 -04:00
lookups.py lookups: Adjust for django-stubs change. 2025-06-25 11:49:02 -07:00
messages.py push_notifications: Clear push notifications on message deletion. 2025-10-31 16:05:21 -07:00
muted_users.py models: Extract zerver.models.muted_users. 2023-12-16 22:08:44 -08:00
navigation_views.py navigation_views: Add backend for navigation views in left sidebar. 2025-05-23 16:25:08 -07:00
onboarding_steps.py compose: Show banner to explain non interleaved view messages fading. 2024-07-16 13:52:29 -07:00
prereg_users.py bots: Add a setting to customize the Welcome Bot message. 2025-08-08 18:59:37 -07:00
presence.py docs: Delete legacy presence subsystem page. 2025-06-19 15:20:15 -07:00
push_notifications.py push_notification: Add support to send E2EE test push notification. 2025-08-13 00:13:50 -07:00
realm_audit_logs.py custom_emails: Prevent duplicate emails from send_custom_email command. 2025-11-02 11:17:09 -08:00
realm_emoji.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
realm_playgrounds.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
realms.py zephyr: Remove Zephyr mirroring support. 2025-09-16 11:18:18 -07:00
recipients.py requirements: Upgrade django-cte from 1.3.3 to 2.0.0.dev. 2025-06-11 16:25:25 -07:00
saved_snippets.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
scheduled_jobs.py message: Use .is_channel_message column instead of is_stream_message(). 2025-08-19 23:37:07 -07:00
streams.py register: Rename stream_creator_or_nobody to channel_creator. 2025-09-23 12:12:23 -07:00
user_activity.py models: Migrate ids of all non-Message-related tables to bigint. 2024-06-05 11:48:27 -07:00
user_topics.py models: Extract zerver.models.user_topics. 2023-12-16 22:08:44 -08:00
users.py emoji: Remove setting for deprecated Google blobs emoji set. 2025-10-01 13:35:06 -07:00