zulip/zerver
Ujjawal Modi 535a088d0b bots: Refactor code for flushing bots cache.
Subsequent commits will add "on_delete=models.RESTRICT"
relationships, which will result in the UserProfile
objects being deleted after Realm has been deleted from
the database.

In order to handle this, we update bot_dicts_in_realm_cache_key
function to accept realm_id as parameter instead of realm
object, so that  the code for flushing the cache works even
after the realm is deleted. This change is fine because
eventually only realm_id is used by this function and there is
no need of the complete realm object.
2023-06-28 18:03:32 -07:00
..
actions zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
data_import slack: Handle the special case of permissions denied on team.info call. 2023-06-27 11:04:41 -07:00
integration_fixtures/nagios
lib bots: Refactor code for flushing bots cache. 2023-06-28 18:03:32 -07:00
management delete-user: Update management command help doc-string. 2023-06-23 11:24:13 -07:00
migrations settings: Add wildcard mention notifications for the followed topics. 2023-06-13 18:01:41 -07:00
openapi docs: Add documentation for delete emoji endpoint. 2023-06-28 10:23:47 -07:00
tests tests: Use check_add_user_group to create groups. 2023-06-28 18:03:32 -07:00
tornado zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
views types: Add default_group_name field to GroupPermissionSetting type. 2023-06-28 18:03:32 -07:00
webhooks stripe: Nicknames are optional on plans. 2023-06-27 18:02:50 -07:00
worker queue_processors: Avoid queue worker timeouts in tests. 2023-06-28 11:06:24 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py codespell: Correct “requestor” to “requester”. 2023-06-20 16:17:55 -07:00
filters.py
forms.py accounts: Allow user to change email visibility during first login. 2023-05-16 13:52:56 -07:00
logging_handlers.py
middleware.py codespell: Correct “requestor” to “requester”. 2023-06-20 16:17:55 -07:00
models.py bots: Refactor code for flushing bots cache. 2023-06-28 18:03:32 -07:00
signals.py