zulip/zerver
Prakhar Pratyush e7f2a0958a custom_profile_fields: Send event on commit in notify_realm...fields.
Earlier, we were using 'send_event' in
'notify_realm_custom_profile_fields' which can lead to a situation,
if any db operation is added after the 'send_event' in the action
functions using it, where we enqueue event 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-08-12 12:16:14 -07:00
..
actions custom_profile_fields: Send event on commit in notify_realm...fields. 2024-08-12 12:16:14 -07:00
data_import refactor: Rename `huddle` to `direct_message_group` in non api files. 2024-07-31 23:25:56 -07:00
integration_fixtures/nagios
lib drafts: Update do_delete_draft to send event on commit. 2024-08-12 12:16:14 -07:00
management thumbnail: Move get_image_thumbnail_path and split_thumbnail_path. 2024-07-18 13:50:28 -07:00
migrations migrations: Purge database of old nagios messages. 2024-08-12 12:02:04 -07:00
models settings: Remove create_web_public_stream_policy setting. 2024-08-01 22:49:33 -07:00
openapi help: Rename and redirect allow-image-link-previews article. 2024-08-12 11:22:37 -07:00
tests custom_profile_fields: Send event on commit in notify_realm...fields. 2024-08-12 12:16:14 -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 user_groups: Add transaction.atomic decorator to add_user_group view. 2024-08-12 12:16:14 -07:00
webhooks integrations: Update comment related notifications in Jira integration. 2024-08-12 11:45:09 -07:00
worker thumbnail: Resolve a race condition when rendering messages. 2024-08-01 16:48:16 -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