zulip/zerver
Alex Vandiver 3bf3f47b49 delete_old_unclaimed_attachments: Add flag to clean up storage.
Actions like deleting realms may leave unreferenced uploads in the
attachment storage backend.

Fix these by walking the complete contents of the attachment storage
backend, and removing files which are no longer present in the
database.  This may take quite some time, as it is necessarily O(n) in
the number of files uploaded to the system.
2023-03-02 16:36:19 -08:00
..
actions delete_realm: Optimize attachment cleanup by batching. 2023-03-02 16:36:19 -08:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios
lib delete_old_unclaimed_attachments: Add flag to clean up storage. 2023-03-02 16:36:19 -08:00
management delete_old_unclaimed_attachments: Add flag to clean up storage. 2023-03-02 16:36:19 -08:00
migrations models: Drop unique index on user/message/emoji_name. 2023-02-26 17:10:01 -08:00
openapi upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
tests delete_old_unclaimed_attachments: Add flag to clean up storage. 2023-03-02 16:36:19 -08:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views upload: Rename upload_message_image_from_request. 2023-03-02 16:36:19 -08:00
webhooks integrations: Update Asana integration doc to point to Zapier. 2023-03-02 13:51:34 -08:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -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
forms.py registration: Add code to set email_address_visibility during signup. 2023-02-24 09:23:34 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix PIE810 Call `startswith` once with a `tuple`. 2023-02-08 16:40:35 -08:00
models.py models: Drop unique index on user/message/emoji_name. 2023-02-26 17:10:01 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00