zulip/zerver/actions
Lauryn Menard c797c481b3 demo-orgs: Delete expired demo orgs in archive_messages cron job.
Adds delete_expired_demo_organizations to the archive_messages
management command, which is run as a cron job.

Adds "demo_expired" as a `RealmDeactivationReasonType` to be
used for this specific case of calling do_deactivate_realm.

The function loops through non-deactivated realms that have a
demo organization scheduled deletion datetime set that is less
than the current datetime.
2025-06-07 22:53:01 -07:00
..
__init__.py actions: Add zerver/actions directory. 2022-04-14 13:48:35 -07:00
alert_words.py actions: Use 'durable=True' in outermost transaction.atomic block. 2024-09-03 09:17:38 -07:00
bots.py bots: Do not remove bot from inaccessible streams on owner change. 2025-02-26 09:30:24 -08:00
channel_folders.py channel_folders: Pass realm as argument to check_add_channel_folder. 2025-05-29 15:39:03 -07:00
create_realm.py realm: Use can_add_subscribers_group instead of invite_to_stream_policy. 2025-01-22 12:33:58 -08:00
create_user.py ldap: Fix the syncing of user role via AUTH_LDAP_USER_FLAGS_BY_GROUP. 2025-04-28 17:44:56 -07:00
custom_profile_fields.py custom_profile_fields: Make transaction no longer durable. 2024-10-14 16:30:46 -07:00
data_import.py registration: Enable import from slack using realm registration form. 2025-05-14 13:24:38 -07:00
default_streams.py streams: Include only IDs in default streams data. 2024-12-17 09:40:10 -08:00
invites.py send_email: Set the Date header according to local enqueue time. 2025-03-10 16:48:08 -07:00
message_delete.py delete_message: Fix recipients of "delete_message" event. 2024-10-07 11:35:06 -07:00
message_edit.py settings: Add setting for marking resolved-topic notices as read. 2025-05-13 16:23:21 -07:00
message_flags.py message: Add is_modifying_message argument to bulk_access_messages. 2025-02-28 10:10:33 -08:00
message_send.py topic_link_util: Use module to generate correct links. 2025-05-13 15:56:57 -07:00
message_summary.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
muted_users.py audit-log: Move user muted event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07: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 onboarding_steps: Send event on commit in mark onboarding_step as read. 2024-08-12 12:16:14 -07:00
presence.py presence: Record stats for invisible users. 2025-01-22 09:19:15 -08:00
reactions.py message: Allow accessing archived channel when not modifying message. 2025-02-26 16:39:41 -08:00
realm_domains.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_emoji.py mime_types: Move INLINE_MIME_TYPES to prevent future import loops. 2025-01-09 09:09:13 -08:00
realm_export.py realm_export: Add a RealmAuditLog entry for delete operation. 2024-10-04 14:17:20 -07:00
realm_icon.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_linkifiers.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_logo.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_playgrounds.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_settings.py demo-orgs: Delete expired demo orgs in archive_messages cron job. 2025-06-07 22:53:01 -07:00
reminders.py reminders: Add API endpoint to schedule reminders. 2025-05-02 16:48:00 -07:00
saved_snippets.py saved_snippets: Add support for editing saved snippets. 2025-03-13 10:58:36 -07:00
scheduled_messages.py reminders: Add API endpoint to schedule reminders. 2025-05-02 16:48:00 -07:00
streams.py streams: Add API support to update folder of a stream. 2025-05-20 13:25:06 -07:00
submessage.py submessage: Fix recipients of "submessage" event. 2024-10-07 11:35:06 -07:00
typing.py message_edit: Show typing indicator for message editing. 2025-02-12 15:08:56 -08:00
uploads.py upload: Explicitly return a bool and the Attachment object. 2024-09-09 12:40:17 -07:00
user_activity.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
user_groups.py user_groups: Add do_reactivate_user_group function. 2025-04-03 13:00:17 -07:00
user_settings.py settings: Add setting for marking resolved-topic notices as read. 2025-05-13 16:23:21 -07:00
user_status.py actions: Use 'durable=True' in outermost transaction.atomic block. 2024-09-03 09:17:38 -07:00
user_topics.py user_topic: Add support for empty topic name. 2025-01-07 17:24:00 -08:00
users.py password_reset: Do not place Realm objects into context. 2025-05-16 11:30:48 -07:00
video_calls.py mypy: Add types-requests-oauthlib, types-uwsgi. 2025-06-06 11:35:32 -07:00