feat(media): primary media storage, growth goals, retention and delivery tools
CI / build (push) Has been cancelled
CI / build (push) Has been cancelled
Event photos and videos are now stored only on the NFS/local share named in Settings -> Media storage. Uploads, photo editing, video processing and the per-event filing step refuse to run until that share is configured and writable, so nothing is silently written inside the container. Video originals, renditions, posters and sidecars share one folder on the share. Also adds volunteer growth goals with a mentor queue, an admin retention and storage sweep with a cron entry point, cached gallery thumbnails with per-folder ZIP downloads, a server-rendered booth-sheet PDF, and in-app confirm/release for every upcoming assignment. Service reminders now ignore the one-off event reminder rule, which had been queueing an extra bogus reminder for each published service. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
+4
-4
@@ -1016,8 +1016,8 @@ export const eventFolders = pgTable(
|
||||
);
|
||||
|
||||
/**
|
||||
* Photo metadata. Bytes live under `UPLOAD_DIR/events/<eventId>/`; only this
|
||||
* row is in Postgres. `checksum` is the SHA-256 of the bytes and is unique per
|
||||
* Photo metadata. Bytes live under `<archive root>/events/<eventId>/` on the
|
||||
* configured NFS/local share; only this row is in Postgres. `checksum` is the SHA-256 of the bytes and is unique per
|
||||
* folder, so re-uploading the same frame is a no-op instead of a duplicate.
|
||||
* `storedName` is a generated relative path, never user input.
|
||||
*/
|
||||
@@ -1079,8 +1079,8 @@ export type EventVideoVisibility =
|
||||
(typeof EVENT_VIDEO_VISIBILITIES)[number];
|
||||
|
||||
/**
|
||||
* Event video metadata. The camera original is written to the configured NFS
|
||||
* archive; the browser derivative and poster live under `UPLOAD_DIR/videos`.
|
||||
* Event video metadata. The camera original, browser derivatives and poster
|
||||
* all live in one folder on the configured NFS/local media storage share.
|
||||
* `trim_start_ms` / `trim_end_ms` are a non-destructive recipe applied when
|
||||
* the web MP4 is rendered, so the original is never changed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user