feat(events): show every photo on the event page without folders
CI / build (push) Has been cancelled

Folders were an implementation detail leaking into the event workflow: every
upload needed a folder first and photos were split across pages. Uploads now
land in a single implicit "Photos" folder and the event page renders one
gallery with the uploader and an edited-only download.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
2026-11-21 14:37:57 +00:00
parent ebe0c77f7e
commit fac9b96cca
13 changed files with 416 additions and 459 deletions
+4 -4
View File
@@ -68,9 +68,9 @@ Built with Next.js 15, React 19, TypeScript, PostgreSQL 16, and Drizzle ORM. It
### Events and media
- One-off events with a shot brief, location, times, photographer/editor assignments, and per-event shared folders.
- RAW and JPEG uploads streamed to disk, SHA-256 dedupe per folder, authenticated downloads, and manager-only event deletion with file cleanup.
- Photo gallery with cached grid thumbnails (RAW included), preview, non-destructive adjustments/presets, export, per-folder or whole-event ZIP download, and filing a finished event into a dated delivery folder with a manifest. Every photo and video byte lives on the configured media storage share — never in container-local storage.
- One-off events with a shot brief, location, times, photographer/editor assignments, and a single shared photo gallery per event.
- RAW and JPEG uploads streamed to disk, SHA-256 dedupe per event, authenticated downloads, and manager-only event deletion with file cleanup.
- Photo gallery with cached grid thumbnails (RAW included), preview, non-destructive adjustments/presets, export, whole-event or edited-only ZIP download, and filing a finished event into a dated delivery folder with a manifest. Every photo and video byte lives on the configured media storage share — never in container-local storage.
- Video upload with FFmpeg probe/transcode to web H.264/AAC, generated poster, non-destructive trim re-render, and retry after a failed encode.
- Media visibility: team-only, unlisted link, or public. Ready public videos get `/watch/<id>`, a minimal `/embed/<id>` iframe, and an oEmbed endpoint.
- Announcements feed with draft/publish/delete for coordinators and admins.
@@ -837,7 +837,7 @@ that the gallery shows.
| `/schedule/print`, `/run-sheet/[instanceId]` | Printable roster and editable run sheet |
| `/availability` | Personal and team blackout management |
| `/coverage` | Swap/release requests and public intake |
| `/events`, `/events/[id]` | One-off events, briefs, photographers, folders |
| `/events`, `/events/[id]` | One-off events, briefs, photographers, photo gallery |
| `/media`, `/media/[id]` | Photo/video library and public video page |
| `/training`, `/training/guides/*` | Lessons, attachments, role guides |
| `/announcements` | Team feed |