backend/src/router
localhost 1752e9b6c7 feat(admin): email cold storage requests with approval and Glacier restore
Classify inbound mail as archive / cold_storage / other. Cold storage
requests look up the video and its file size, and check whether it is
still live on YouTube. Live videos get a link plus a "why do you need
it" email; the reply queues the request for approval. Dead videos go
straight to a new admin queue. Approving starts the Glacier restore and
emails the requester that an automated email follows within 48 hours.

Ingested mail is moved to an "ingested" IMAP folder. A one-time
catch-up scan of the whole inbox picks up old cold storage mails as
pending requests, and reruns on next start if any classification failed.

Extract startRestore from the admin restore route and mark the restore
row failed when initiating Glacier restore throws.

Requires a new cold_requests table (no migrations in repo).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 21:06:44 +02:00
..
admin.ts feat(admin): email cold storage requests with approval and Glacier restore 2026-09-23 21:06:44 +02:00
html.ts fix tor not flagging on channel saves 2026-04-05 20:33:38 +02:00
latest.ts filter out disabled on latest and search 2026-04-25 20:11:24 +02:00
search.ts filter out disabled on latest and search 2026-04-25 20:11:24 +02:00
transparency.ts feat: support array target in transparency routes 2026-08-31 12:54:18 +02:00
video.ts feat: support array target in transparency routes 2026-08-31 12:54:18 +02:00
websocket.ts avoid channel fetching problem when uploading 2026-07-23 22:22:33 +02:00