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
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* Event video queries and access checks.
|
||||
*
|
||||
* Video bytes are never stored in Postgres: `originalStoredName` points into the
|
||||
* configured NFS archive and `webStoredName` / `posterStoredName` point into
|
||||
* `UPLOAD_DIR`. Every access check reuses the event access model, so a video is
|
||||
* private unless its visibility says otherwise.
|
||||
* Video bytes are never stored in Postgres: `originalStoredName`,
|
||||
* `webStoredName` and `posterStoredName` all point into the video's folder on
|
||||
* the configured media storage share. Every access check reuses the event access
|
||||
* model, so a video is private unless its visibility says otherwise.
|
||||
*/
|
||||
|
||||
import { and, asc, desc, eq, inArray } from "drizzle-orm";
|
||||
|
||||
Reference in New Issue
Block a user