zulip/zerver/models
bedo 1847086044 subscription: Remove unnecessary select_related fields and clean up.
Removes the unnecessary fields from bulk_access_users_by_email and
bulk_access_users_id, while also removing duplication of these lists
of fields.

"base_bulk_get_user_queryset", used when fetching a user
other than the acting user.

"base_get_user_queryset", used when fetching the acting user,
prefetching more fields.

There remains some inconsistency in the models.py functions that may
merit further investigation.
2024-12-05 17:02:07 -08:00
..
__init__.py streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08: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
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: Remove id_field_name field from GroupPermissionSetting. 2024-12-04 11:15:17 -08:00
linkifiers.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
lookups.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
messages.py lint: Fix several duplicate word typos. 2024-09-10 15:59:00 -07:00
muted_users.py models: Extract zerver.models.muted_users. 2023-12-16 22:08:44 -08: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 preregistration: Add field to track import progress. 2024-12-02 10:21:03 -08:00
presence.py mypy: Reenable explicit-override for models. 2024-08-01 17:39:04 -07:00
push_notifications.py mypy: Reenable explicit-override for models. 2024-08-01 17:39:04 -07:00
realm_audit_logs.py realm_export: Add a RealmAuditLog entry for delete operation. 2024-10-04 14:17:20 -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 realm: Allow various settings to be set to "Nobody" group. 2024-12-04 11:15:18 -08:00
recipients.py recipients: Add savepoint=False to avoid creating savepoints. 2024-11-05 17:58:47 -08:00
saved_snippets.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
scheduled_jobs.py mypy: Reenable explicit-override for models. 2024-08-01 17:39:04 -07:00
streams.py stream-settings: Allow nobody group for can_remove_subscribers_group. 2024-12-04 11:15:18 -08: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 subscription: Remove unnecessary select_related fields and clean up. 2024-12-05 17:02:07 -08:00