zulip/zerver
Gaurav Pandey 1c5007461a topic: Add resolve topic undo grace period.
Currently we send a notification to the topic if it has been resolved
or unresolved even if there is an immediate event of resolving and
then unresolving or vice-versa. This adds a setting of
RESOLVE_TOPIC_UNDO_GRACE_PERIOD_SECONDS under which if a topic has
been unresolved after being resolved immediately and the last message
was the notification of resolving, then delete the last message and
don't send a new notification and vice-versa.

We use the new message.type field to precisely identify relevant
messages.

Fixes #19181.

Co-authored-by: Mateusz Mandera <mateusz.mandera@zulip.com>
2024-06-10 13:34:23 -07:00
..
actions topic: Add resolve topic undo grace period. 2024-06-10 13:34:23 -07:00
data_import typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
integration_fixtures/nagios
lib settings: Remove create_public_stream_policy. 2024-06-10 12:24:45 -07:00
management emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
migrations models: Add message type field. 2024-06-10 13:34:23 -07:00
models models: Add message type field. 2024-06-10 13:34:23 -07:00
openapi settings: Remove create_public_stream_policy. 2024-06-10 12:24:45 -07:00
tests topic: Add resolve topic undo grace period. 2024-06-10 13:34:23 -07:00
tornado requirements: Upgrade Python requirements. 2024-05-06 12:56:30 -07:00
transaction_tests user_groups: Create NamedUserGroup objects when creating new groups. 2024-04-26 17:03:09 -07:00
views settings: Remove create_public_stream_policy. 2024-06-10 12:24:45 -07:00
webhooks typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
worker missedmessage_emails: Backoff the background worker retries. 2024-05-06 12:50:27 -07:00
__init__.py
apps.py
context_processors.py zerver: Replace occurrences of uri with url in other templates. 2024-05-24 11:18:35 -07:00
decorator.py test_decorators: Replace some deleted tests. 2024-03-29 09:39:34 -07:00
filters.py
forms.py emails: Replace occurrences of uri with url in email templates. 2024-05-24 11:18:35 -07:00
logging_handlers.py
middleware.py portico: Improve message for deactivated, invalid and moved orgs. 2024-05-13 12:44:20 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00