zulip/zerver/actions
Prakhar Pratyush c798d192dc message_send: Update do_send_messages codepath to send event on commit.
Earlier, we were using 'send_event' & 'queue_json_publish' in
'do_send_messages' which can lead to a situation where we enqueue
events but the transaction fails at a later stage.

Events should not be sent until we know we're not rolling back.
2024-05-19 23:18:43 -07:00
..
__init__.py
alert_words.py actions: Split out zerver.actions.alert_words. 2022-04-14 17:14:31 -07:00
bots.py models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
create_realm.py do_deactivate_realm: Add deactivation_reason kwarg. 2024-05-19 23:07:28 -07:00
create_user.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
custom_profile_fields.py custom_profile_fields: Make required field optional during update. 2024-04-15 16:52:11 -07:00
default_streams.py i18n: Update translated errors for stream to channel rename. 2024-04-24 14:35:05 -07:00
invites.py invites: Add include_realm_default_subscriptions parameter. 2024-05-14 14:20:07 -07:00
message_delete.py message_delete: Update "first_message_id" on message deletion. 2024-04-30 14:15:22 -07:00
message_edit.py i18n: Update translated errors for stream to channel rename. 2024-04-24 14:35:05 -07:00
message_flags.py push_notifications: Shard mobile push notifications. 2024-05-02 14:25:10 -07:00
message_send.py message_send: Update do_send_messages codepath to send event on commit. 2024-05-19 23:18:43 -07:00
muted_users.py python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
onboarding_steps.py onboarding_steps: Rename 'hotspots' files to 'onboarding_steps'. 2024-05-10 12:30:22 -07:00
presence.py presence: Always run do_update_user_presence in a transaction. 2024-04-29 17:07:18 -07:00
reactions.py messages: Remove use of @overload in access_message. 2024-04-12 11:41:27 -07:00
realm_domains.py models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
realm_emoji.py models: Extract zerver.models.realm_emoji. 2023-12-16 22:08:44 -08: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 models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
realm_linkifiers.py models: Extract zerver.models.linkifiers. 2023-12-16 22:08:44 -08:00
realm_logo.py models: Extract zerver.models.users. 2023-12-16 22:08:44 -08:00
realm_playgrounds.py models: Extract zerver.models.realm_playgrounds. 2023-12-16 22:08:44 -08:00
realm_settings.py do_deactivate_realm: Add deactivation_reason kwarg. 2024-05-19 23:07:28 -07:00
scheduled_messages.py message: Move render_markdown into zerver.lib.markdown. 2024-02-14 12:27:03 -08:00
streams.py message_send: Update do_send_messages codepath to send event on commit. 2024-05-19 23:18:43 -07:00
submessage.py actions: Rename *topic local variables to *topic_name. 2024-01-15 09:40:43 -08:00
typing.py settings: Add option to disable seeing typing notifications. 2024-04-16 11:38:12 -07:00
uploads.py message_send: Update do_send_messages codepath to send event on commit. 2024-05-19 23:18:43 -07:00
user_activity.py queue_processors: Process user_activity in one query. 2024-01-22 16:25:13 -08:00
user_groups.py groups: Allow setting anonymous group to settings while editing. 2024-05-08 18:20:14 -07:00
user_settings.py bots: Avoid multiple active bots with the same name. 2024-04-10 13:14:25 -07:00
user_status.py users: Update presence and user status code to support restricted users. 2023-11-21 23:58:45 -08:00
user_topics.py message_send: Update do_send_messages codepath to send event on commit. 2024-05-19 23:18:43 -07:00
users.py invites: Split out some functions from zerver.actions.invites. 2024-05-02 14:23:04 -07:00
video_calls.py