zulip/zerver/models
Mateusz Mandera 51cef01c29 message: Use .is_channel_message column instead of is_stream_message().
This avoids a potential unnecessary message.recipient fetch required by
is_stream_message(). is_stream_message() methods precedes the addition
of the denormalized is_channel_message column and is now unnecessary.

In practice, we usually fetch Message objects with `.recipient` already,
so I don't expect any notable performance impact here - but it's still a
useful change to make.
2025-08-19 23:37:07 -07: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 models: Extract zerver.models.constants. 2023-12-16 22:08:44 -08:00
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: Make two fields of GroupPermissionSetting optional. 2025-06-23 09:49:11 -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 message: Use .is_channel_message column instead of is_stream_message(). 2025-08-19 23:37:07 -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 realm_audit_logs: Add clarifying comment to REALM_IMPORTED event. 2025-07-14 15:11:43 -07: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 bots: Add a setting to customize the Welcome Bot message. 2025-08-08 18:59:37 -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 stream_settings: Add can_delete_own_message_group setting. 2025-07-17 15:44:52 -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 external_auth_id: Add new unique constraint. 2025-08-12 12:10:45 -07:00