zulip/zerver
Sahil Batra bb15b2d708 users: Send "update" events when deactivating or reactivating users.
We now send "realm_user/update" (and "realm_bot/update" for bots)
events with "is_active" field when deactivating and reactivating
users, including bots.

We would want to use "remove" event for a user losing access
to another user for #10970, so it is better to use "update"
event for deactivation as we only update "is_active" field
in the user objects and the clients still have the data for
deactivated users.

Previously, we used to send "add" event for reactivation along
with complete user objects, but clients should have the data
for deactivated users as well, so an "update" event is enough
like we do when deactivating users.
2023-11-02 08:31:12 -07:00
..
actions users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
data_import import_util: Remove uuid and uuid_owner_secret from realm dict. 2023-10-18 11:00:49 -07:00
integration_fixtures/nagios
lib users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
management compilemessages: Normalize language names to NFC. 2023-10-26 16:27:35 -07:00
migrations registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
openapi users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
tests users: Send "update" events when deactivating or reactivating users. 2023-11-02 08:31:12 -07:00
tornado mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
transaction_tests mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
views sentry: Circuit-break on 429s and 500s from Sentry. 2023-11-01 16:16:37 -07:00
webhooks mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
worker mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py portico: Skip footer and adjust header on invalid realm. 2023-11-01 11:24:12 -07:00
decorator.py decorator: Drop the stack_info on most WebhookErrors. 2023-10-12 10:06:31 -07:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
models.py user_groups: Move constants for system group names to a new class. 2023-11-01 10:42:56 -07:00
signals.py demo-orgs: Create dev environment demo organization without email. 2023-08-31 15:02:16 -07:00