zulip/zerver/models
Alex Vandiver 2e38f426f4 upload: Generate thumbnails when images are uploaded.
A new table is created to track which path_id attachments are images,
and for those their metadata, and which thumbnails have been created.
Using path_id as the effective primary key lets us ignore if the
attachment is archived or not, saving some foreign key messes.

A new worker is added to observe events when rows are added to this
table, and to generate and store thumbnails for those images in
differing sizes and formats.
2024-07-16 13:22:15 -07:00
..
__init__.py upload: Generate thumbnails when images are uploaded. 2024-07-16 13:22:15 -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
clients.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
constants.py models: Extract zerver.models.constants. 2023-12-16 22:08:44 -08:00
custom_profile_fields.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -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 user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07: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 upload: Generate thumbnails when images are uploaded. 2024-07-16 13:22:15 -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 option to receive notification on accepted invitations. 2024-07-05 17:14:45 -07:00
presence.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
push_notifications.py push_notifs: Rename PushDeviceToken.GCM to FCM. 2024-06-17 18:22:59 -07:00
realm_audit_logs.py models: Enforce an ordering to on audit logs to solve a flaky test. 2024-06-26 16:38:00 -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 ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
recipients.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
scheduled_jobs.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
streams.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -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 ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00