zulip/zerver
Prakhar Pratyush 04347bb315 schedule_messages: Update do_schedule_messages to send event on commit.
Earlier, we were using 'send_event' in 'do_schedule_messages' which
can lead to a situation, if any db operation is added after the
'send_event' in future, where we enqueue events but the action
function fails at a later stage.

Events should not be sent until we know we're not rolling back.

Fixes part of #30489.
2024-07-31 22:33:52 -07:00
..
actions schedule_messages: Update do_schedule_messages to send event on commit. 2024-07-31 22:33:52 -07:00
data_import rocketchat: Remove unnecessary SHA-1 hashing of direct message groups. 2024-07-17 15:56:00 -07:00
integration_fixtures/nagios
lib alert_words: Update remove_alert_word codepath to send event on commit. 2024-07-31 22:33:52 -07:00
management thumbnail: Move get_image_thumbnail_path and split_thumbnail_path. 2024-07-18 13:50:28 -07:00
migrations settings: Add setting to control how animated images are played. 2024-07-22 14:53:31 -07:00
models settings: Add setting to control how animated images are played. 2024-07-22 14:53:31 -07:00
openapi api docs: Clarify event structure when moving channels. 2024-07-31 09:22:44 -07:00
tests user_status: Update do_update_user_status to send event on commit. 2024-07-31 22:33:52 -07:00
tornado events: Migrate to typed_endpoint. 2024-07-31 17:10:06 -07:00
transaction_tests ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
views video_calls: Migrate to typed_endpoint. 2024-07-31 17:10:06 -07:00
webhooks integrations: Prevent duplicate GitHub pull request review messages. 2024-07-31 10:42:41 -07:00
worker presence: Remove the queue worker. 2024-07-31 16:46:42 -07:00
__init__.py
apps.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00