Commit Graph

9 Commits

Author SHA1 Message Date
bhursey 0cb315ea88 feat(editor): bridge the advanced photo editor into the event workflow
CI / build (push) Has been cancelled
Event photos can now be opened in Lumenroom, a WebGL2 develop module, from the
photo editor's Advanced button. The dashboard signs a short-lived token scoped
to one user and event; Lumenroom exchanges it, imports the event's photo list
and proxies bytes on demand, so nothing is copied and the temporary catalog
expires with the bridge session. Saving in Lumenroom renders the photo and
writes it back as the event's edited JPEG, with the advanced recipe kept in
event_photos.advanced_edit_json.

Lumenroom is vendored under lumenroom/ and built as a second compose service,
so one clone and `docker compose up -d --build` deploys both apps.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 01:34:20 +00:00
bhursey 982f9048e1 fix(media): refuse local disk when a NAS share is configured
CI / build (push) Has been cancelled
A bind-mounted host directory made the app report storage as ready while
media landed on the container host's local filesystem, so the NFS export was
never actually used. mediaStorage() now reads the mount table: a share written
as host:/export is only accepted when the media root is on a network
filesystem, otherwise uploads, edits and filing are blocked with the real
device and the fix. Settings and the Media page show the detected filesystem
and host-mount steps, README section 9 documents the OS-level mount (including
Docker-in-LXC) with docker-compose.nfs.yml as the alternative, and the E2E
suites use path-style shares for local test directories.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 00:45:36 +00:00
bhursey f7a0c8618f feat(media): primary media storage, growth goals, retention and delivery tools
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>
2026-11-20 23:21:34 +00:00
bhursey cb5976edb2 feat(training): rich-text lessons with inline images and 25 MB manuals
CI / build (push) Has been cancelled
Admins were authoring plain-text lessons, which made illustrated tutorials
and reordering images impossible. Lesson bodies are now sanitized HTML from a
Tiptap editor with alignment, sizing, drag-reorder and alt text, and inline
images reuse the training_resources table so no migration is needed.
Attachments grow to 25 MB, PDFs stream inline, and SVG is rejected because it
can execute as a document. Legacy plain-text bodies are normalized on read.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-20 12:18:24 +00:00
bhursey e8759cdee8 docs: rebuild the migrate image before running it
CI / build (push) Has been cancelled
docker compose run reuses the previously built tools image, so an upgrade could execute stale seed code against a newer schema. Include the explicit build step in quick start, production deployment, and update commands.
2026-11-20 05:39:46 +00:00
bhursey 8018718487 deploy: harden Docker stack and add Ubuntu production guide
CI / build (push) Has been cancelled
Make the Compose stack safe and reproducible on a fresh host: parameterize database credentials, bind Postgres to loopback by default, add an app healthcheck and log rotation, and pass Postmark/archive settings through. Document the complete Ubuntu deployment path, including bootstrap, TLS, firewall, cron, NFS, backups, updates, and troubleshooting.
2026-11-20 05:32:28 +00:00
bhursey 872d1cb29e docs: rewrite README for the shipped application
The old README still described the planning phase and a Cloudflare/Postmark/Twilio stack. Replace it with current setup, features, configuration, cron, backup, roles, testing, and known gaps so the repository is usable as-is.
2026-11-20 05:14:57 +00:00
Tiel Coder 5adf1cef1f push to maple-street 2026-11-20 04:07:02 +00:00
Tiel Coder c595865496 A1: foundation scaffold (Next.js 15, shadcn/Radix, Drizzle+Postgres, Vitest, Docker)
- Next.js 15 + TS strict + Tailwind 4 + ESLint 9
- shadcn/ui initialized (Radix, CSS variables); cn() util
- Drizzle + postgres driver + Zod; db client + schema placeholder (A2)
- Vitest with passing cn() test; GitHub Actions CI
- Portable container stack: multi-stage non-root Dockerfile, docker-compose (app + Postgres on host 5433)
- Verified: typecheck, lint, test (3), build, docker build, HTTP 200 on :3000
- Records the 5 pre-build decisions (email-only launch, SMS deferred)
2026-11-17 18:09:24 +00:00