zulip/zerver/actions
Sahil Batra 98b0fa8ae2 bots: Remove subscription from inaccessible streams on reactivating bot.
This commit removes the private stream suscriptions of the bot if the
original owner is deactivated and we change the owner to the user who
is reactivating the bot. We unsusbcribe the bot from private streams
that the new owner is not subscribed to.

Fixes part of #21700.
2023-08-16 15:37:37 -07:00
..
__init__.py
alert_words.py actions: Split out zerver.actions.alert_words. 2022-04-14 17:14:31 -07:00
bots.py bots: Remove private stream subscriptions on changing bot owner. 2023-08-16 15:37:37 -07:00
create_realm.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07:00
create_user.py bots: Remove subscription from inaccessible streams on reactivating bot. 2023-08-16 15:37:37 -07:00
custom_profile_fields.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07: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 emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
message_delete.py zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
message_edit.py message_edit: Fix wildcard_mentioned flag set for all user-messages. 2023-08-16 11:31:56 -07:00
message_flags.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
message_send.py message_send: Fix wildcard_mentioned flag unset for few participants. 2023-08-16 11:31:56 -07:00
muted_users.py muted users: Make file naming consistent. 2023-02-10 15:39:57 -08:00
presence.py presence: Support null values in UserPresence. 2023-04-26 14:26:47 -07:00
reactions.py reactions: Add error code for duplicate addition/removal. 2023-07-19 16:18:31 -07:00
realm_domains.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_emoji.py realm emoji: Use a single cache for all lookups. 2023-07-17 09:35:53 -07:00
realm_export.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_icon.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_linkifiers.py linkifier: Support reordering linkifiers. 2023-08-14 15:21:48 -07:00
realm_logo.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
realm_playgrounds.py realm_playgrounds: Refactor error handling for validation on creation. 2023-07-24 17:40:59 -07:00
realm_settings.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
scheduled_messages.py scheduled-messages: Split out edit scheduled message endpoint. 2023-05-26 18:05:55 -07:00
streams.py bots: Remove private stream subscriptions on changing bot owner. 2023-08-16 15:37:37 -07:00
submessage.py django_api: Extract send_event_on_commit helper. 2023-06-19 13:42:40 -07:00
typing.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07: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 ruff: Fix PERF401 Use a list comprehension to create a transformed list. 2023-08-07 17:23:55 -07:00
user_settings.py models: Remove select_related call in get_active_users. 2023-07-20 10:44:39 -07:00
user_status.py user-status: Stop updating the UserStatus model for `away` updates. 2022-09-23 12:27:54 -07: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 user_groups: Audit UserGroup memberships changes. 2023-07-11 08:56:55 -07:00
video_calls.py