zulip/zerver/actions
Prakhar Pratyush e763d065a3 django_api: Rename 'send_event' to 'send_event_rollback_unsafe'.
This commit renames the 'send_event' function to
'send_event_rollback_unsafe' to reflect the fact that it doesn't
wait for the db transaction (within which it gets called, if any)
to commit and sends event irrespective of commit or rollback.

In most of the cases we don't want to send event in the case of
rollbacks, so the caller should be aware that calling the function
directly is rollback unsafe.
2024-09-20 15:20:18 -07:00
..
__init__.py
alert_words.py actions: Use 'durable=True' in outermost transaction.atomic block. 2024-09-03 09:17:38 -07:00
bots.py audit-log: Move user event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
create_realm.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
create_user.py audit-log: Move user group event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
custom_profile_fields.py custom_profile_fields: Update transaction to be durable. 2024-08-21 10:51:23 -07:00
default_streams.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
invites.py invites: Use the realm on the PreregistrationUser, to save a join. 2024-08-01 16:44:18 -07:00
message_delete.py events: Send `delete_message` event to user who deleted the message. 2024-07-16 23:29:02 -07:00
message_edit.py attachments: Return a list of removed attachments while editing. 2024-09-06 11:40:51 -07:00
message_flags.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
message_send.py zerver: Rename some message_type variables to recipient_type. 2024-09-10 12:50:28 -07:00
muted_users.py audit-log: Move user muted event types to AuditLogEventType enum. 2024-09-09 11:50:13 -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 django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
reactions.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
realm_domains.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_emoji.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_export.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -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 realm_settings: Fix duplicate word typos in comments. 2024-09-10 15:55:14 -07:00
scheduled_messages.py attachments: Return a list of removed attachments while editing. 2024-09-06 11:40:51 -07:00
streams.py audit-log: Move stream/channel event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
submessage.py typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
typing.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
uploads.py upload: Explicitly return a bool and the Attachment object. 2024-09-09 12:40:17 -07:00
user_activity.py queue_processors: Process user_activity in one query. 2024-01-22 16:25:13 -08:00
user_groups.py user_groups: Do not allow deleting user groups. 2024-09-18 13:41:13 -07:00
user_settings.py audit-log: Move user event types to AuditLogEventType enum. 2024-09-09 11:50:13 -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 ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
users.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
video_calls.py video_calls: Update do_set_zoom_token to send event on commit. 2024-08-12 12:16:14 -07:00