zulip/zerver
Alex Vandiver e3c976fed9 missed_messages: Include messages from topic which differ by case.
In Zulip, message topics are case-insensitive but case-preserving.
The `get_context_for_message` function erroneously did a
case-sensitive search, and thus only messages whose topic matched
exactly were pulled in as context.

Make the missed-message pipeline aware that message topics are not
case-sensitive.  This means that, when collapsing adjacent messages,
we merge messages with topic headers which are "different"; create a
separate explicit "grouping" to know which to collapse.
2023-02-07 11:04:21 -08:00
..
actions message_edit: Fix resolve topic notifications. 2023-02-03 18:20:39 -08:00
data_import black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
integration_fixtures/nagios
lib missed_messages: Include messages from topic which differ by case. 2023-02-07 11:04:21 -08:00
management ruff: Fix G201 Logging `.error(..., exc_info=True)` → `.exception(...)`. 2023-02-04 16:36:20 -08:00
migrations ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
openapi streams: Allow setting can_remove_subscribers_group_id while creating streams. 2023-02-05 14:46:36 -08:00
tests missed_messages: Include messages from topic which differ by case. 2023-02-07 11:04:21 -08:00
tornado black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
views uploads: Set Content-Type and -Disposition from Django for local files. 2023-02-07 17:12:02 +00:00
webhooks ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
worker ruff: Fix S108 Probable insecure usage of temporary file. 2023-01-26 10:14:56 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
decorator.py ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py ruff: Fix SIM105 Use `contextlib.suppress` instead of try-except-pass. 2023-01-23 11:18:36 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
models.py missed_messages: Include messages from topic which differ by case. 2023-02-07 11:04:21 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00