zulip/zerver/models
Mateusz Mandera 0dca8f2a38 models: New PresenceSequence model and UserPresence.last_update_id col.
Migration plan:
1. Add NULLable .last_update_id column to UserPresence with default 0
   for new objects.
2. Backfill the value to 0 for old UserPresences, can be done in the
   background while server is running.
3. Make the column non-NULL.
4. Add new model PresenceSequence and create its rows for old realms.
2024-06-02 22:08:28 -07:00
..
__init__.py user_groups: Create NamedUserGroup objects when creating new groups. 2024-04-26 17:03:09 -07:00
alert_words.py models: Extract zerver.models.alert_words. 2023-12-16 22:08:44 -08:00
bots.py models: Extract zerver.models.bots. 2023-12-16 22:08:44 -08:00
clients.py models: Extract zerver.models.clients. 2023-12-16 22:08:44 -08:00
constants.py
custom_profile_fields.py custom_profile_fields: Add "required" parameter to the profile fields. 2024-03-21 10:48:54 -07:00
drafts.py models: Extract zerver.models.drafts. 2023-12-16 22:08:44 -08:00
groups.py user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07:00
linkifiers.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
lookups.py models: Extract zerver.models.lookups. 2023-12-16 22:08:44 -08:00
messages.py narrow: Fix server error of operand of "id" operator at large values. 2024-06-01 22:38:18 -07:00
muted_users.py models: Extract zerver.models.muted_users. 2023-12-16 22:08:44 -08:00
onboarding_steps.py models: Extract zerver.models.onboarding_steps. 2023-12-16 22:08:44 -08:00
prereg_users.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
presence.py models: New PresenceSequence model and UserPresence.last_update_id col. 2024-06-02 22:08:28 -07:00
push_notifications.py models: Extract zerver.models.push_notifications. 2023-12-16 22:08:44 -08:00
realm_audit_logs.py audit_logs: Set modified_user_group field to NamedUserGroup. 2024-04-26 17:03:09 -07:00
realm_emoji.py models: Extract zerver.models.realm_emoji. 2023-12-16 22:08:44 -08:00
realm_playgrounds.py models: Extract zerver.models.realm_playgrounds. 2023-12-16 22:08:44 -08:00
realms.py requirements: Upgrade Python requirements. 2024-05-31 14:32:33 -07:00
recipients.py refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP. 2024-03-21 16:39:33 -07:00
scheduled_jobs.py mention: Use NamedUserGroup objects in mention code. 2024-04-26 17:03:09 -07:00
streams.py stream-policy: Update everyone policy for stream to channel rename. 2024-04-24 14:35:05 -07:00
user_activity.py models: Extract zerver.models.user_activity. 2023-12-16 22:08:44 -08:00
user_topics.py models: Extract zerver.models.user_topics. 2023-12-16 22:08:44 -08:00
users.py user_profile: Remove 'onboarding_steps' field. 2024-05-29 16:12:35 -07:00