zulip/zerver/actions
Sahil Batra a6fa875c23 models: Refactor get_fake_email_domain to take realm.host as arg.
This commit updates get_fake_email_domain to accept realm.host as
argument instead of the Realm object since we only use realm.host
to get the fake email domain.

This is a preparatory commit for the limited guest feature as we
would be sending the fake email of the message sender in message
event object to a guest user who cannot access the sender and
there we would need to compute the fake email.
2023-11-29 12:01:37 -08:00
..
__init__.py
alert_words.py actions: Split out zerver.actions.alert_words. 2022-04-14 17:14:31 -07:00
bots.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
create_realm.py create_realm: Fix copy/paste error in assertion message. 2023-11-28 18:15:30 -08:00
create_user.py streams: Send user creation events on adding subscribers. 2023-11-21 23:58:45 -08:00
custom_profile_fields.py users: Send events only to users who can access the modified user. 2023-11-21 23:58:45 -08:00
default_streams.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
hotspots.py actions: Split out zerver.actions.hotspots. 2022-04-14 17:14:31 -07:00
invites.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_delete.py models: Always search Messages with a realm_id or id limit. 2023-09-11 15:00:37 -07:00
message_edit.py topic_mentions: Fix restriction rule for @-topic mentions. 2023-11-23 12:52:25 -08:00
message_flags.py python: Elide unnecessary list wrappers. 2023-09-13 12:41:23 -07:00
message_send.py topic_mentions: Fix restriction rule for @-topic mentions. 2023-11-23 12:52:25 -08:00
muted_users.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
presence.py users: Update presence and user status code to support restricted users. 2023-11-21 23:58:45 -08:00
reactions.py settings: Add automatically follow and unmute topics policy settings. 2023-10-04 13:04:29 -07:00
realm_domains.py django: Use .exists() instead of .count() when possible. 2023-09-11 15:00:37 -07:00
realm_emoji.py docs: Fix grammar errors found by mwic. 2023-10-09 13:24:09 -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 migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_linkifiers.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_logo.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_playgrounds.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_settings.py stripe: Add 'do_update_plan' method to the 'BillingSession' class. 2023-11-23 09:01:45 -08:00
scheduled_messages.py send_message: Add an optional parameter in the success response. 2023-10-17 15:38:16 -07:00
streams.py streams: Send user remove events when deactivating streams. 2023-11-21 23:58:45 -08:00
submessage.py settings: Add automatically follow and unmute topics policy settings. 2023-10-04 13:04:29 -07:00
typing.py typing: Limit typing notifications in large streams. 2023-11-15 09:42:25 -08:00
uploads.py uploads: Rewrite comment in do_claim_attachments to improve clarity. 2023-08-15 10:08:11 -07:00
user_activity.py Remove statsd support. 2023-04-25 19:58:16 -07:00
user_groups.py user_groups: Move constants for system group names to a new class. 2023-11-01 10:42:56 -07:00
user_settings.py user_settings: Revoke previous email changes on new one. 2023-11-28 22:11:41 -08: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 user_topics: Update 'set visibility policy' codepath for bulk db operations. 2023-03-29 09:50:06 -07:00
users.py models: Refactor get_fake_email_domain to take realm.host as arg. 2023-11-29 12:01:37 -08:00
video_calls.py