gristlabs_grist-core/app
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
..
client (core) Adding onNewRecord event for custom widgets 2022-04-12 16:51:16 +02:00
common (core) Add authSubject and authProvider to sessions 2022-04-11 11:42:02 -07:00
gen-server (core) Add authSubject and authProvider to sessions 2022-04-11 11:42:02 -07:00
plugin (core) Adding onNewRecord event for custom widgets 2022-04-12 16:51:16 +02:00
server (core) Add /attachments/removeUnused DocApi endpoint to hard delete all unused attachments in document 2022-04-12 17:11:11 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00