zulip/zerver
Sahil Batra f197d881ca streams: Fix handling empty groups when computing setting values.
Since "Nobody" and other user-defined empty groups has no
members or subgroups, we need a UserGroup query.

Since we are doing UserGroup query, updated the code to
check whether the setting is set to anonymous group or
not just after doing UserGroup query and not in membership
queries.

Also, added tests to check query count when setting is set
to anonymous group.
2024-11-22 10:48:41 -08:00
..
actions add_new_user_history: Remove the RECENT_MESSAGES_TIMEDELTA limit. 2024-11-22 10:41:27 -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 streams: Fix handling empty groups when computing setting values. 2024-11-22 10:48:41 -08:00
management makemessages: Write with orjson. 2024-11-13 17:40:51 -08:00
migrations streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
models streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
openapi streams: Allow admins to unsubscribe others irrespective of setting. 2024-11-21 11:28:54 -08:00
tests streams: Fix handling empty groups when computing setting values. 2024-11-22 10:48:41 -08:00
tornado subscription: Include archived channels in streams list. 2024-10-25 16:06:40 -07:00
transaction_tests test_user_groups: Add durable=True to the independent transaction. 2024-11-21 14:55:15 -08:00
views settings: Remove invite_to_realm_policy setting. 2024-11-20 13:35:05 -08:00
webhooks integrations: Refine Mention example screenshot. 2024-11-21 11:09:40 -08:00
worker embed_links: Add savepoint=False to avoid creating savepoints. 2024-11-21 14:55:15 -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