Files
gristlabs_grist-core/app/server/lib
Alex Hall 09da815c0c (core) Add /attachments/removeUnused DocApi endpoint to hard delete all unused attachments in document
Summary: Adds methods to delete metadata rows based on timeDeleted. The flag expiredOnly determines if it only deletes attachments that were soft-deleted 7 days ago, or just all soft-deleted rows. Then any actual file data that doesn't have matching metadata is deleted.

Test Plan: DocApi test

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3364
2022-04-12 17:11:11 +02:00
..
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-04-08 16:40:34 -07:00
2022-03-14 17:51:10 +01:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2021-12-07 17:09:58 +02:00
2021-12-07 17:09:58 +02:00
2022-02-19 09:46:49 +00:00
2022-04-01 15:24:19 -07:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-04-01 15:24:19 -07:00
2022-02-19 09:46:49 +00:00
2022-03-12 14:34:46 -08:00
2022-04-08 16:40:34 -07:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-04-01 15:24:19 -07:00
2020-07-21 20:39:10 -04:00
2021-12-07 17:09:58 +02:00
2022-04-08 16:40:34 -07:00
2022-01-13 11:10:17 +01:00