zulip/zerver
Sahil Batra 04693b6ac1 message_edit: Send only changed settings in event data and api response.
Previously, we included all three message edit related settings
("allow_message_editing", "message_content_edit_limit_seconds" and
"edit_topic_policy") in the event data and api response irrespective
of which of these settings were changed. Now, we only include changed
settings and separate events are sent for each setting if more than
one of them is changed.

Note that the previous typed in event_schema.py for
`message_content_edit_limit_seconds` incorrectly did not allow `None`
as a value, which is used to encode no limit.
2022-09-28 11:47:40 -07:00
..
actions message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
data_import import_util: Make build_message only take kwargs. 2022-09-27 15:04:48 -07:00
integration_fixtures/nagios
lib message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
management scim: Downgrade SCIMClient from a model to an ephemeral dataclass. 2022-09-26 11:36:48 -07:00
migrations scim: Downgrade SCIMClient from a model to an ephemeral dataclass. 2022-09-26 11:36:48 -07:00
openapi message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
tests message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
tornado tornado: Raise the same error for nonexistent and unauthorized queues. 2022-09-20 15:20:36 -07:00
views message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
webhooks integrations: Add incoming webhook macro to relevant docs. 2022-09-09 16:31:33 -07:00
worker message_flags: Fix deadlocks when updating message flags. 2022-09-06 16:06:58 -07:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py templates: Rename `OPEN_GRAPH` variables to `PAGE` or `PAGE_METADATA`. 2022-09-06 14:57:06 -07:00
decorator.py decorator: Rename profile to user_profile. 2022-08-17 12:05:38 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py forms: Fix another 500 error on realm creation with invalid email. 2022-09-19 14:12:32 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py scim: Use setattr to set request.user as scim_client. 2022-09-27 10:19:32 -07:00
models.py message_edit: Send only changed settings in event data and api response. 2022-09-28 11:47:40 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00