zulip/zerver
Prakhar Pratyush 891a35570b migrations: Update active status of Channels based on recent activity.
This commit adds a database migration to set is_recently_active=False
for channels based on the last time a message was sent.

The migration follows the same logic used in the
`update_channel_recently_active_status` management command.

This change is particularly useful for self-hosted servers, as it
avoids the need to wait a week for the
`update_channel_recently_active_status` management command to run
via cron.
2025-01-02 16:37:34 -08:00
..
actions ruff: Fix PLC0206 Extracting value from dictionary without calling .items(). 2024-12-21 21:06:53 -08:00
data_import ruff: Fix PLC0206 Extracting value from dictionary without calling .items(). 2024-12-21 21:06:53 -08:00
integration_fixtures/nagios
lib event checkers: Replace data_types.py with pydantic. 2025-01-02 12:23:35 -08:00
management send_email: Parse emails in a way mypy 1.14 understands. 2024-12-21 21:06:53 -08:00
migrations migrations: Update active status of Channels based on recent activity. 2025-01-02 16:37:34 -08:00
models realm: Add option to schedule data deletion while deactivating. 2024-12-18 23:06:12 -08:00
openapi openapi: Depluralize Subscription schema name. 2024-12-20 16:15:45 -08:00
tests event checkers: Replace data_types.py with pydantic. 2025-01-02 12:23:35 -08:00
tornado message_cache: Use the sender’s recipient_id for incoming 1:1 DMs. 2024-12-11 12:05:03 -08:00
transaction_tests test_user_groups: Add durable=True to the independent transaction. 2024-11-21 14:55:15 -08:00
views typos: Fix typos caught by typos and mwic. 2024-12-24 19:15:36 -08:00
webhooks integrations: Remove Desk.com integration. 2024-12-31 16:31:48 -08:00
worker send_email: Parse emails in a way mypy 1.14 understands. 2024-12-21 21:06:53 -08:00
__init__.py
apps.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
decorator.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
filters.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
forms.py auth: Tweak invalid credentials error message. 2024-10-24 14:35:31 -07:00
logging_handlers.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py test_classes: Refine assert_json_success output with exception chaining. 2024-12-04 11:38:45 -08:00
signals.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00