zulip/zerver/migrations
Alex Vandiver 994806c505 migrations: Fix ownership, and re-attach, mis-owned email attachments.
608c787c52 fixed a bug where messages sent by the email gateway "as"
a user failed to properly attribute ownership of their attachments,
leaving the attachments orphaned and thus with nobody with permissions
to view them.

These orphaned attachments only remain longer than a few weeks if the
`delete_unclaimed_attachments` script has not been run reliably.
Since there is currently no shipped cron job for this, that is most
likely all deployments.

Add a migration to find such orphaned attachments, and re-attach them
to their original message.  While theoretically the attachments
could have been later referenced in other messages -- which would be
very difficult to find and determine if they had access to the
attachment -- we only fix the original message.

In order to make this somewhat performant, we assume that the Message
rows associated with an Attachment made by the email gateway happened
within 5 minutes, since they must have been made during one HTTP
request.

This is complicated by the message potentially having been deleted; in
this case, the Attachment is moved into ArchivedAttachment, so it can
relate to the ArchivedMessage.  The many-to-many
`zerver_archivedattachment_messages` relationship table cannot use its
own `id` sequence for the value, since the `id` is re-used when the
row is inserted into the `zerver_attachment_messages` table -- we
instead consume a value from the `id` sequence of the
`zerver_attachment_messages` table.
2023-01-24 10:49:46 -08:00
..
0001_initial.py ruff: Fix SIM102 nested `if` statements. 2023-01-23 11:18:36 -08:00
0029_realm_subdomain.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0030_realm_org_type.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0031_remove_system_avatar_source.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0032_verify_all_medium_avatar_images.py uploads: Split out S3 and local file backends into separate files. 2023-01-09 18:23:58 -05:00
0033_migrate_domain_to_realmalias.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0034_userprofile_enable_online_push_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0035_realm_message_retention_period_days.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0036_rename_subdomain_to_string_id.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0037_disallow_null_string_id.py migrations: Fix ‘continue’ logic error in 0037. 2023-01-18 13:34:52 -08:00
0038_realm_change_to_community_defaults.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0039_realmalias_drop_uniqueness.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0040_realm_authentication_methods.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0041_create_attachments_for_old_messages.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0042_attachment_file_name_length.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0043_realm_filter_validators.py migrations: Remove noop migration operations. 2022-08-12 16:53:54 -07:00
0044_reaction.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0045_realm_waiting_period_threshold.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0046_realmemoji_author.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0047_realm_add_emoji_by_admins_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0048_enter_sends_default_to_false.py migrations: Replace NullBooleanField. 2022-07-05 17:52:08 -07:00
0049_userprofile_pm_content_in_desktop_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0050_userprofile_avatar_version.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0051_realmalias_add_allow_subdomains.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0052_auto_fix_realmalias_realm_nullable.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0053_emailchangestatus.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0054_realm_icon.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0055_attachment_size.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0056_userprofile_emoji_alt_code.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0057_realmauditlog.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0058_realm_email_changes_disabled.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0059_userprofile_quota.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0060_move_avatars_to_be_uid_based.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0061_userprofile_timezone.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0062_default_timezone.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0063_realm_description.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0064_sync_uploads_filesize_with_db.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0065_realm_inline_image_preview.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0066_realm_inline_url_embed_preview.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0067_archived_models.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0068_remove_realm_domain.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0069_realmauditlog_extra_data.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0070_userhotspot.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0071_rename_realmalias_to_realmdomain.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0072_realmauditlog_add_index_event_time.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0073_custom_profile_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0074_fix_duplicate_attachments.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0075_attachment_path_id_unique.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0076_userprofile_emojiset.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0077_add_file_name_field_to_realm_emoji.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0078_service.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0079_remove_old_scheduled_jobs.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0080_realm_description_length.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0081_make_emoji_lowercase.py migrations: Define emoji_to_lowercase outside. 2022-07-26 18:00:24 -07:00
0082_index_starred_user_messages.py models: Manage index from migration 0082 with Django. 2022-02-23 11:59:45 -08:00
0083_index_mentioned_user_messages.py models: Manage index from migration 0083 with Django. 2022-02-23 11:59:45 -08:00
0084_realmemoji_deactivated.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0085_fix_bots_with_none_bot_type.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0086_realm_alter_default_org_type.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0087_remove_old_scheduled_jobs.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0088_remove_referral_and_invites.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0089_auto_20170710_1353.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0090_userprofile_high_contrast_mode.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0091_realm_allow_edit_history.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0092_create_scheduledemail.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0093_subscription_event_log_backfill.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0094_realm_filter_url_validator.py migrations: Remove noop realm filters operations. 2022-10-14 17:52:28 -07:00
0095_index_unread_user_messages.py models: Manage index from migration 0095 with Django. 2022-02-23 11:59:45 -08:00
0096_add_password_required.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0097_reactions_emoji_code.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0098_index_has_alert_word_user_messages.py models: Manage index from migration 0098 with Django. 2022-02-23 11:59:45 -08:00
0099_index_wildcard_mentioned_user_messages.py models: Manage index from migration 0099 with Django. 2022-02-23 11:59:45 -08:00
0100_usermessage_remove_is_me_message.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0101_muted_topic.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0102_convert_muted_topic.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0103_remove_userprofile_muted_topics.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0104_fix_unreads.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0105_userprofile_enable_stream_push_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0106_subscription_push_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0107_multiuseinvite.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0108_fix_default_string_id.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0109_mark_tutorial_status_finished.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0110_stream_is_in_zephyr_realm.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0111_botuserstatedata.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0112_index_muted_topics.py models: Manage index from migration 0112 with Django. 2022-02-23 11:59:45 -08:00
0113_default_stream_group.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0114_preregistrationuser_invited_as_admin.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0115_user_groups.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0116_realm_allow_message_deleting.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0117_add_desc_to_user_group.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0118_defaultstreamgroup_description.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0119_userprofile_night_mode.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0120_botuserconfigdata.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0121_realm_signup_notifications_stream.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0122_rename_botuserstatedata_botstoragedata.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0123_userprofile_make_realm_email_pair_unique.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0124_stream_enable_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0125_realm_max_invites.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0126_prereg_remove_users_without_realm.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0127_disallow_chars_in_stream_and_user_name.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0128_scheduledemail_realm.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0129_remove_userprofile_autoscroll_forever.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0130_text_choice_in_emojiset.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0131_realm_create_generic_bot_by_admins_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0132_realm_message_visibility_limit.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0133_rename_botuserconfigdata_botconfigdata.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0134_scheduledmessage.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0135_scheduledmessage_delivery_type.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0136_remove_userprofile_quota.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0137_realm_upload_quota_gb.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0138_userprofile_realm_name_in_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0139_fill_last_message_id_in_subscription_logs.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0140_realm_send_welcome_emails.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0141_change_usergroup_description_to_textfield.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0142_userprofile_translate_emoticons.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0143_realm_bot_creation_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0144_remove_realm_create_generic_bot_by_admins_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0145_reactions_realm_emoji_name_to_id.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0146_userprofile_message_content_in_email_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0147_realm_disallow_disposable_email_addresses.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0148_max_invites_forget_default.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0149_realm_emoji_drop_unique_constraint.py uploads: Add LOCAL_AVATARS_DIR / LOCAL_FILES_DIR computed settings. 2023-01-09 18:23:58 -05:00
0150_realm_allow_community_topic_editing.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0151_last_reminder_default_none.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0152_realm_default_twenty_four_hour_time.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0153_remove_int_float_custom_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0154_fix_invalid_bot_owner.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0155_change_default_realm_description.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0156_add_hint_to_profile_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0157_userprofile_is_guest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0158_realm_video_chat_provider.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0159_realm_google_hangouts_domain.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0160_add_choice_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0161_realm_message_content_delete_limit_seconds.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0162_change_default_community_topic_editing.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0163_remove_userprofile_default_desktop_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0164_stream_history_public_to_subscribers.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0165_add_date_to_profile_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0166_add_url_to_profile_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0167_custom_profile_fields_sort_order.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0168_stream_is_web_public.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0169_stream_is_announcement_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0170_submessage.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0171_userprofile_dense_mode.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0172_add_user_type_of_custom_profile_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0173_support_seat_based_plans.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0174_userprofile_delivery_email.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0175_change_realm_audit_log_event_type_tense.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0176_remove_subscription_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0177_user_message_add_and_index_is_private_flag.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0178_rename_to_emails_restricted_to_domains.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0179_rename_to_digest_emails_enabled.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0180_usermessage_add_active_mobile_push_notification.py models: Manage index from migration 0180 with Django. 2022-02-23 11:59:45 -08:00
0181_userprofile_change_emojiset.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0182_set_initial_value_is_private_flag.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0183_change_custom_field_name_max_length.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0184_rename_custom_field_types.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0185_realm_plan_type.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0186_userprofile_starred_message_counts.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0187_userprofile_is_billing_admin.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0188_userprofile_enable_login_emails.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0189_userprofile_add_some_emojisets.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0190_cleanup_pushdevicetoken.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0191_realm_seat_limit.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0192_customprofilefieldvalue_rendered_value.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0193_realm_email_address_visibility.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0194_userprofile_notification_sound.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0195_realm_first_visible_message_id.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0196_add_realm_logo_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0197_azure_active_directory_auth.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0198_preregistrationuser_invited_as.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0199_userstatus.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0200_remove_preregistrationuser_invited_as_admin.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0201_zoom_video_chat.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0202_add_user_status_info.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0203_realm_message_content_allowed_in_email_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0204_remove_realm_billing_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0205_remove_realmauditlog_requires_billing_update.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0206_stream_rendered_description.py markdown: Pass realm down into render_stream_description. 2022-11-01 08:20:47 -07:00
0207_multiuseinvite_invited_as.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0208_add_realm_night_logo_fields.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0209_stream_first_message_id.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0209_user_profile_no_empty_password.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0210_stream_first_message_id.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0211_add_users_field_to_scheduled_email.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0212_make_stream_email_token_unique.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0213_realm_digest_weekday.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0214_realm_invite_to_stream_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0215_realm_avatar_changes_disabled.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0216_add_create_stream_policy.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0217_migrate_create_stream_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0218_remove_create_stream_by_admins_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0219_toggle_realm_digest_emails_enabled_default.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0220_subscription_notification_settings.py migrations: Replace NullBooleanField. 2022-07-05 17:52:08 -07:00
0221_subscription_notifications_data_migration.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0222_userprofile_fluid_layout_width.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0223_rename_to_is_muted.py migrations: Replace NullBooleanField. 2022-07-05 17:52:08 -07:00
0224_alter_field_realm_video_chat_provider.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0225_archived_reaction_model.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0226_archived_submessage_model.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0227_inline_url_embed_preview_default_off.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0228_userprofile_demote_inactive_streams.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0229_stream_message_retention_days.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0230_rename_to_enable_stream_audible_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0231_add_archive_transaction_model.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0232_make_archive_transaction_field_not_nullable.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0233_userprofile_avatar_hash.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0234_add_external_account_custom_profile_field.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0235_userprofile_desktop_icon_count_display.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0236_remove_illegal_characters_email_full.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0237_rename_zulip_realm_to_zulipinternal.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0238_usermessage_bigint_id.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0239_usermessage_copy_id_to_bigint_id.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0240_usermessage_migrate_bigint_id_into_id.py requirements: Upgrade Django to 4.1. 2022-10-06 15:59:07 -07:00
0241_usermessage_bigint_id_migration_finalize.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0242_fix_bot_email_property.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0243_message_add_date_sent_column.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0244_message_copy_pub_date_to_date_sent.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0245_message_date_sent_finalize_part1.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0246_message_date_sent_finalize_part2.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0247_realmauditlog_event_type_to_int.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0248_userprofile_role_start.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0249_userprofile_role_finish.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0250_saml_auth.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0251_prereg_user_add_full_name.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0252_realm_user_group_edit_policy.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0253_userprofile_wildcard_mentions_notify.py migrations: Replace NullBooleanField. 2022-07-05 17:52:08 -07:00
0254_merge_0209_0253.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0255_userprofile_stream_add_recipient_column.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0256_userprofile_stream_set_recipient_column_values.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0257_fix_has_link_attribute.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0258_enable_online_push_notifications_default.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0259_missedmessageemailaddress.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0260_missed_message_addresses_from_redis_to_db.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0261_pregistrationuser_clear_invited_as_admin.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0261_realm_private_message_policy.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0262_mutedtopic_date_muted.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0263_stream_stream_post_policy.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0264_migrate_is_announcement_only.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0265_remove_stream_is_announcement_only.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0266_userpresence_realm.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0267_backfill_userpresence_realm_id.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0268_add_userpresence_realm_timestamp_index.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0269_gitlab_auth.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0270_huddle_recipient.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0271_huddle_set_recipient_column_values.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0272_realm_default_code_block_language.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0273_migrate_old_bot_messages.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0274_nullbooleanfield_to_booleanfield.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0275_remove_userprofile_last_pointer_updater.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0276_alertword.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0277_migrate_alert_word.py Fix typos caught by typos. 2023-01-03 11:09:50 -08:00
0278_remove_userprofile_alert_words.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0279_message_recipient_subject_indexes.py models: Manage indexes from migration 0279 with Django. 2022-02-23 11:59:45 -08:00
0280_userprofile_presence_enabled.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0281_zoom_oauth.py migrations: Swap out deprecated JSONField import in-place. 2021-03-03 21:46:05 -08:00
0282_remove_zoom_video_chat.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0283_apple_auth.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0284_convert_realm_admins_to_realm_owners.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0285_remove_realm_google_hangouts_domain.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0286_merge_0260_0285.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0287_clear_duplicate_reactions.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0288_reaction_unique_on_emoji_code.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0289_tighten_attachment_size.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0290_remove_night_mode_add_color_scheme.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0291_realm_retention_days_not_null.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0292_update_default_value_of_invited_as.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0293_update_invite_as_dict_values.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0294_remove_userprofile_pointer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0295_case_insensitive_email_indexes.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
0296_remove_userprofile_short_name.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0297_draft.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0298_fix_realmauditlog_format.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0299_subscription_role.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0300_add_attachment_is_web_public.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0301_fix_unread_messages_in_deactivated_streams.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0302_case_insensitive_stream_name_index.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0303_realm_wildcard_mention_policy.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0304_remove_default_status_of_default_private_streams.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0305_realm_deactivated_redirect.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0306_custom_profile_field_date_format.py migrations: Enforce evaluation order in 0306 WHERE clause. 2021-01-29 09:35:52 -08:00
0307_rename_api_super_user_to_can_forge_sender.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0308_remove_reduntant_realm_meta_permissions.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0309_userprofile_can_create_users.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
0310_jsonfield.py migrations: Swap out deprecated JSONField import in-place. 2021-03-03 21:46:05 -08:00
0311_userprofile_default_view.py display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
0312_subscription_is_user_active.py migrations: Subscription.is_user_active denormalization - step one. 2021-03-30 09:19:03 -07:00
0313_finish_is_user_active_migration.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0314_muted_user.py mute user: Add backend infrastructure code. 2021-04-06 18:44:08 -07:00
0315_realmplayground.py models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
0316_realm_invite_to_realm_policy.py settings: Replace invite_by_admins_policy with invite_to_realm_policy. 2021-04-07 09:02:33 -07:00
0317_migrate_to_invite_to_realm_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0318_remove_realm_invite_by_admins_only.py settings: Replace invite_by_admins_policy with invite_to_realm_policy. 2021-04-07 09:02:33 -07:00
0319_realm_giphy_rating.py realm: Add setting to configure GIPHY rating. 2021-04-14 10:29:39 -07:00
0320_realm_move_messages_between_streams_policy.py settings: Add new setting for controlling who can move msgs to stream. 2021-04-16 15:10:39 -07:00
0321_userprofile_enable_marketing_emails.py emails: Add unsubscribe link infrastructure for marketing emails. 2021-04-27 21:36:09 -07:00
0322_realm_create_audit_log_backfill.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0323_show_starred_message_counts.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0324_fix_deletion_cascade_behavior.py models: Fix incorrect on_delete=CASCADE values for deleted streams. 2021-05-06 20:41:49 -07:00
0325_alter_realmplayground_unique_together.py models: Fix bug in unique_together condition on RealmPlayground. 2021-05-24 23:11:41 -07:00
0326_alter_realm_authentication_methods.py auth: Implement a generic OpenID Connect backend. 2021-05-28 09:43:06 -07:00
0327_realm_edit_topic_policy.py models: Replace allow_community_topic_editing with edit_topic_policy. 2021-06-16 14:59:36 -07:00
0328_migrate_to_edit_topic_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0329_remove_realm_allow_community_topic_editing.py models: Replace allow_community_topic_editing with edit_topic_policy. 2021-06-16 14:59:36 -07:00
0330_linkifier_pattern_validator.py linkifiers: Add joint validation for linkifier urls and patterns. 2021-06-16 17:51:33 -07:00
0331_scheduledmessagenotificationemail.py models: Create MissedMessageEmailEntry table. 2021-07-13 17:21:37 -07:00
0332_realmuserdefault.py models: Add RealmUserDefault table for realm-level default of settings. 2021-07-14 14:35:04 -07:00
0333_alter_realm_org_type.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0334_email_notifications_batching_period.py models: Add UserProfile field for custom email notifs batching periods. 2021-07-23 12:13:46 -07:00
0335_add_draft_sync_field.py models: Add a new field controlling drafts synchronization. 2021-07-23 12:31:00 -07:00
0336_userstatus_status_emoji.py models: Add models for emoji in user statuses. 2021-07-23 13:11:21 -07:00
0337_realm_add_custom_emoji_policy.py models: Replace add_emoji_by_admins_only with add_custom_emoji_policy. 2021-07-27 16:41:22 -07:00
0338_migrate_to_add_custom_emoji_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0339_remove_realm_add_emoji_by_admins_only.py models: Replace add_emoji_by_admins_only with add_custom_emoji_policy. 2021-07-27 16:41:22 -07:00
0340_rename_mutedtopic_to_usertopic.py models: Rename MutedTopic to UserTopic. 2021-07-28 10:25:53 -07:00
0341_usergroup_is_system_group.py models: Add is_system_group field to UserGroup model. 2021-08-19 02:54:29 -07:00
0342_realm_demo_organization_scheduled_deletion_date.py realm: Add datetime field for scheduled deletion of demo orgs. 2021-08-19 03:09:36 -07:00
0343_alter_useractivityinterval_index_together.py migrations: Add a (profile,end) index on useractivityinterval. 2021-08-31 16:33:40 -07:00
0344_alter_emojiset_default_value.py settings: Explain that Google blob emojis are deprecated. 2022-10-04 12:29:35 -07:00
0345_alter_realm_name.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0346_create_realm_user_default_table.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0347_realm_emoji_animated.py emoji: Add backend changes to support still image for animated emojis. 2021-09-12 07:13:04 +00:00
0348_rename_date_muted_usertopic_last_updated.py models: Rename UserTopic.date_muted to last_updated. 2021-09-17 12:14:28 -07:00
0349_alter_usertopic_table.py models: Use default db table name for UserTopic. 2021-09-17 12:14:28 -07:00
0350_usertopic_visibility_policy.py models: Add field UserTopic.visibility_policy. 2021-09-17 12:14:28 -07:00
0351_user_topic_visibility_indexes.py models: Add visibility policy indexes on UserTopic. 2021-09-17 12:14:28 -07:00
0352_migrate_twenty_four_hour_time_to_realmuserdefault.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0353_remove_realm_default_twenty_four_hour_time.py settings: Migrate twenty_four_hour_time setting to RealmUserDefault. 2021-09-23 10:44:42 -07:00
0354_alter_realm_message_content_delete_limit_seconds.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0355_realm_delete_own_message_policy.py realm: Replace allow_message_deleting with delete_own_message_policy. 2021-09-30 14:59:31 -07:00
0356_migrate_to_delete_own_message_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0357_remove_realm_allow_message_deleting.py realm: Replace allow_message_deleting with delete_own_message_policy. 2021-09-30 14:59:31 -07:00
0358_split_create_stream_policy.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0359_re2_linkifiers.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0360_merge_0358_0359.py CVE-2021-41115: Use re2 for user-supplied linkifier patterns. 2021-10-04 21:26:24 +00:00
0361_realm_create_web_public_stream_policy.py models: Add create_web_public_stream_policy setting. 2021-10-05 09:28:28 -07:00
0362_send_typing_notifications_user_setting.py user_settings: Add settings to configure sending typing notifications. 2021-10-07 17:39:21 -07:00
0363_send_read_receipts_user_setting.py user_settings: Add send_read_receipts setting. 2021-10-07 17:46:05 -07:00
0364_rename_members_usergroup_direct_members.py migrations: Add missing noop migration. 2021-10-12 14:12:53 -07:00
0365_alter_user_group_related_fields.py models: Add related_name to UserGroup and UserGroupMembership fields. 2021-10-13 10:08:06 -07:00
0366_group_group_membership.py user_groups: Add a recursive group membership model. 2021-10-13 10:08:06 -07:00
0367_scimclient.py auth: Add support for using SCIM for account management. 2021-10-14 12:29:10 -07:00
0368_alter_realmfilter_url_format_string.py migrations: Remove noop realm filters operations. 2022-10-14 17:52:28 -07:00
0369_add_escnav_default_display_user_setting.py user_settings: Add option to disable escape key navigation to default view. 2021-10-29 18:15:30 -07:00
0370_realm_enable_spectator_access.py realm: Add option to enable/disable spectator login. 2021-11-18 12:55:12 -08:00
0371_invalid_characters_in_topics.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0372_realmemoji_unique_realm_emoji_when_false_deactivated.py emoji: Add database-level uniqueness constraint for RealmEmoji. 2021-12-09 17:48:53 -08:00
0373_fix_deleteduser_dummies.py python: Use a real parser for email addresses. 2022-07-29 15:47:33 -07:00
0374_backfill_user_delete_realmauditlog.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0375_invalid_characters_in_stream_names.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0376_set_realmemoji_author_and_reupload_realmemoji.py migrations: Fix Python-looped SQL in 0376; don’t crash if no user found. 2022-11-28 20:23:30 -08:00
0377_message_edit_history_format.py migrations: Switch message_model type to Any. 2023-01-04 11:08:56 -08:00
0378_alter_realmuserdefault_realm.py models: Add unique constraint on RealmUserDefault.realm. 2022-03-07 21:43:07 -08:00
0379_userprofile_uuid.py models: Add UserProfile.uuid field and backfill migrations. 2022-03-14 17:47:30 -07:00
0380_userprofile_uuid_backfill.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0381_alter_userprofile_uuid.py models: Make UserProfile.uuid not nullable. 2022-03-14 17:47:30 -07:00
0382_create_role_based_system_groups.py ruff: Fix SIM118 Use `key in dict` instead of `key in dict.keys()`. 2023-01-04 16:25:07 -08:00
0383_revoke_invitations_from_deactivated_users.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0384_alter_realm_not_null.py migrations: Change realm field to be not null in Attachment. 2022-03-18 12:01:15 -07:00
0385_attachment_flags_cache.py models: Rework Attachment.is_*_public to be a cache. 2022-03-24 10:49:59 -07:00
0386_fix_attachment_caches.py typing: Fix typical typing typos. 2022-06-23 19:25:48 -07:00
0387_reupload_realmemoji_again.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0388_preregistrationuser_created_user.py invite: Bookkeep UserProfile with PreregistrationUser. 2022-04-14 12:47:51 -07:00
0389_userprofile_display_emoji_reaction_users.py user_settings: Add a setting to display names of users who reacted. 2022-04-19 17:30:16 -07:00
0390_fix_stream_history_public_to_subscribers.py typing: Use BaseDatabaseSchemaEditor in place of DatabaseSchemaEditor. 2022-05-30 14:18:53 -07:00
0391_alter_stream_history_public_to_subscribers.py models: Change Stream.history_public_to_subscribers value to True. 2022-04-27 12:08:01 -07:00
0392_non_nullable_fields.py models: Excise NULL from pointlessly nullable fields. 2022-04-27 12:40:14 -07:00
0393_realm_want_advertise_in_communities_directory.py settings: Add realm setting for Zulip communities directory. 2022-05-04 11:13:28 -07:00
0394_alter_realm_want_advertise_in_communities_directory.py models: Add missing database index for open communities directory. 2022-05-26 11:47:24 -07:00
0395_alter_realm_wildcard_mention_policy.py realm: Removed WILDCARD_MENTION_POLICY_STREAM_ADMINS option. 2022-07-13 17:07:44 -07:00
0396_remove_subscription_role.py models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
0397_remove_custom_field_values_for_deleted_options.py migration: Add migration to remove user values for deleted options. 2022-07-15 16:51:22 -07:00
0398_tsvector_statistics.py migrations: Adjust stats size for tsvector to 10k, from 100. 2022-07-19 09:24:06 -07:00
0399_preregistrationuser_multiuse_invite.py registration: Tie PreregistrationUser to the original MultiUseInvite. 2022-07-22 17:08:44 -07:00
0400_realmreactivationstatus.py realm_reactivation: Prevent realm reactivation link reuse. 2022-07-26 17:14:26 -07:00
0401_migrate_old_realm_reactivation_links.py migrations: Create realm reactivation ContentType if required. 2022-08-07 22:15:47 -07:00
0402_alter_usertopic_visibility_policy.py user_topic: Add user_topic event. 2022-08-04 17:44:00 -07:00
0403_create_role_based_groups_for_internal_realms.py ruff: Fix SIM118 Use `key in dict` instead of `key in dict.keys()`. 2023-01-04 16:25:07 -08:00
0404_realm_enable_read_receipts.py models: Add enable_read_receipts organization setting field. 2022-08-12 17:01:52 +05:30
0405_set_default_for_enable_read_receipts.py migrations: Add migration to set default value of enable_read_receipts. 2022-08-12 22:26:14 +05:30
0406_alter_realm_message_content_edit_limit_seconds.py message_edit: Make zero invalid value for message_content_edit_time_limit_seconds. 2022-08-12 18:09:53 -07:00
0407_userprofile_user_list_style.py user_settings: Add user setting to control the user list style. 2022-09-09 16:30:54 -07:00
0408_stream_can_remove_subscribers_group.py models: Add can_remove_subscribers_group field to Stream. 2022-09-14 16:03:11 -07:00
0409_set_default_for_can_remove_subscribers_group.py migrations: Add migration to set default of can_remove_subscribers_group. 2022-09-14 16:03:11 -07:00
0410_alter_stream_can_remove_subscribers_group.py models: Update can_remove_subscribers_group field to not be null. 2022-09-14 16:03:11 -07:00
0411_alter_muteduser_muted_user_and_more.py models: Add backward relation to MutedUser foreign keys. 2022-09-16 16:19:54 -07:00
0412_customprofilefield_display_in_profile_summary.py custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
0413_set_presence_enabled_false_for_user_status_away.py user-settings: Migrate users with away status to `!presence_enabled`. 2022-09-23 12:27:54 -07:00
0414_remove_userstatus_status.py user-status: Delete status field from UserStatus model. 2022-09-23 12:27:54 -07:00
0415_delete_scimclient.py scim: Downgrade SCIMClient from a model to an ephemeral dataclass. 2022-09-26 11:36:48 -07:00
0416_set_default_emoji_style.py emoji: Switch users with blob emoji to use Google style. 2022-10-04 12:29:35 -07:00
0417_alter_customprofilefield_field_type.py custom_profile_field: Add "Pronouns" custom field type. 2022-10-06 17:56:26 -07:00
0418_archivedmessage_realm_message_realm.py models: Add denormalized .realm column to Message. 2022-10-07 10:09:38 -07:00
0419_backfill_message_realm.py migrations: Remove bugged Recipients in 0419. 2022-10-18 20:50:10 -07:00
0420_alter_archivedmessage_realm_alter_message_realm.py models: Make Message.realm and ArchivedMessage.realm non-null. 2022-10-07 10:10:01 -07:00
0421_migrate_pronouns_custom_profile_fields.py migrations: Add migration to migrate pronouns custom profile fields. 2022-11-04 14:31:18 -07:00
0422_multiuseinvite_status.py signup: Implement use of MultiUseInvite.status attribute. 2022-11-14 17:13:16 -08:00
0423_fix_email_gateway_attachment_owner.py migrations: Fix ownership, and re-attach, mis-owned email attachments. 2023-01-24 10:49:46 -08:00
__init__.py