zulip/zerver
whilstsomebody 8356a9d9e4
narrow_filter: Add negation support for in:home narrow filter.
The in:home narrow filter is used to filter messages that appear
in the home view, i.e., messages that are not muted. Conversely,
`-in:home` should filter messages that are not in the home view,
i.e., muted messages. However, `-in:home` did not work as expected
because this filter lacked negation support, unlike similar code
paths.

This commit adds negation support for the in:home filter.

For more information, see:
<https://chat.zulip.org/#narrow/channel/378-api-design/topic/mark.20muted-topic.20messages.20as.20read/near/1980534>.
2024-11-14 15:10:01 -08:00
..
actions change_realm_subdomain: Revoke user sessions. 2024-11-10 19:13:14 -08:00
data_import data_import: Add migration status file to converted exports. 2024-11-08 15:52:45 -08:00
integration_fixtures/nagios
lib narrow_filter: Add negation support for in:home narrow filter. 2024-11-14 15:10:01 -08:00
management makemessages: Write with orjson. 2024-11-13 17:40:51 -08:00
migrations realm_export: Change tarball_size_bytes to PositiveBigIntegerField. 2024-11-14 10:09:03 -08:00
models realm_export: Change tarball_size_bytes to PositiveBigIntegerField. 2024-11-14 10:09:03 -08:00
openapi web: Set "type": "module" and convert various CJS files to ESM. 2024-11-13 09:18:56 -08:00
tests narrow_filter: Add negation support for in:home narrow filter. 2024-11-14 15:10:01 -08:00
tornado subscription: Include archived channels in streams list. 2024-10-25 16:06:40 -07:00
transaction_tests compose_views: Add `savepoint=False` to avoid creating savepoints. 2024-11-05 17:58:47 -08:00
views ruff: Enable B008 function-call-in-default-argument. 2024-11-10 22:43:55 -08:00
webhooks integrations: Update New Relic integration. 2024-11-08 15:49:56 -08:00
worker transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -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 upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07: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 ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00