zulip/zerver
Mateusz Mandera 940830055b delete_in_topic: Split up the deletion into batches.
Fixes #22821.

As explained in the comment in the code:

Topics can be large enough that this request will inevitably time out.
In such a case, it's good for some progress to be accomplished, so that
full deletion can be achieved by repeating the request. For that purpose,
we delete messages in atomic batches, committing after each batch.

The additional perk is that the ordering of messages should prevent some
hypothetical deadlocks - ref #19054
2022-09-22 15:01:43 -07:00
..
actions custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
data_import Slack import: Translate to emoji name to codepoint using iamcal data. 2022-09-17 12:04:07 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
management logout_all_users: Add --rotate-api-keys option to the command. 2022-08-15 17:58:05 -07:00
migrations custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
openapi delete_in_topic: Split up the deletion into batches. 2022-09-22 15:01:43 -07:00
tests custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
tornado tornado: Raise the same error for nonexistent and unauthorized queues. 2022-09-20 15:20:36 -07:00
views delete_in_topic: Split up the deletion into batches. 2022-09-22 15:01:43 -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 django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -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 middleware: Log 5xx json_errors in JsonErrorHandler. 2022-08-31 14:43:15 -07:00
models.py custom_profile_fields: Add "display_in_profile_summary" field in model. 2022-09-20 17:03:57 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00