zulip/zerver
Prakhar Pratyush ccc82976dc unread_data: Ensure deterministic ordering of unread message rows.
Earlier, in `get_raw_unread_data` the ordering was applied inside
the CTE.

Once we leave the CTE scope and do a join, SQL makes no promise
about preserving the row order unless we re-specify ORDER BY in
the outer query.

Since, there was no ORDER BY clause in the outer query it was
resulting in a random ordering of the entries. This bug was caught
by `test_unreads_case_insensitive_topics` failing in a flaky way.

This commit fixes the bug.
2025-04-22 10:36:59 -07:00
..
actions message_edit: Check previous message content to prevent races. 2025-04-16 14:05:12 -07:00
data_import slack_import: Fix thread conversion condition. 2025-03-25 16:38:21 -07:00
integration_fixtures/nagios
lib unread_data: Ensure deterministic ordering of unread message rows. 2025-04-22 10:36:59 -07:00
management tusd: Use GCS upload backend when the endpoint matches. 2025-04-11 12:16:03 -07:00
migrations tests: Pass update_fields to all stream.save(). 2025-04-15 10:28:18 -07:00
models users: Fix comment for base_bulk_get_user_queryset. 2025-04-16 09:02:45 -07:00
openapi api-docs: Add note about realm being present in fetch_event_types. 2025-04-21 14:58:26 -07:00
tests test_push_notifications: Split HandlePushNotificationTest to a new file. 2025-04-17 10:55:05 -07:00
tornado streams: Fix events send when archiving and unarchiving streams. 2025-04-08 12:41:09 -07:00
transaction_tests
views message_edit: Check previous message content to prevent races. 2025-04-16 14:05:12 -07:00
webhooks integrations: Add OpenSearch incoming webhook integration. 2025-04-16 14:05:29 -07:00
worker send_email: Add a flag to force all emails through the queue. 2025-04-22 10:26:25 -07:00
__init__.py
apps.py
context_processors.py
decorator.py
filters.py
forms.py signup: Prevent unauthorized signup for realms without EmailAuthBackend. 2025-04-15 18:28:16 -07:00
logging_handlers.py
middleware.py middleware: Parse Accept header properly. 2025-03-26 22:29:09 -07:00
signals.py