Commit graph

9 commits

Author SHA1 Message Date
Barely Removable
9d5c68b093 Track grading spend per user
Attribution comes from the proxy's basic-auth username, which nginx already
forwards. Recorded as a ledger of billed calls rather than a column on the
grade: a regrade overwrites the grade row, so a per-row cost would forget
what earlier runs cost, and deleting a card would erase that it was ever
paid for. Splits server-key spend (money the host actually owes) from
own-key spend (billed to the visitor) — the two must never be summed.
Attribution only, never authorization: the app is reachable directly on the
LAN, so these headers are not trustworthy for access control.
2026-08-22 17:17:14 -07:00
Barely Removable
f8db3df605 Full PSA palette: light silver ground, brand red accent, dark text 2026-08-22 12:41:53 -07:00
Barely Removable
3c98373ad6 Refine slab mark proportions; stack header+banner instead of magic top offset 2026-08-22 12:26:11 -07:00
Barely Removable
527558bef2 UI: slab brand mark replacing checkmark, header aligned to page column, flatter controls 2026-08-22 12:20:56 -07:00
Barely Removable
bb5d50502c Docker hardening (non-root, healthcheck, .dockerignore, log caps) + UI table/typography polish 2026-08-22 11:25:52 -07:00
Barely Removable
e586bc92e7 Add Regrade: instant re-run when photos are stored, fallback re-pick otherwise
Stores the original photo(s) for every card graded from now on, so an
existing history row can be re-graded in place without re-uploading -- most
useful right after a grading-logic fix like the last few commits. Cards
graded before this feature (or saved without images) fall back to the same
photo picker as a fresh grade, then start getting instant regrades from then
on. list_grades/get_grade now select an explicit column list rather than
SELECT * so the stored images are never pulled into memory just to be
discarded for the browser-facing response.
2026-08-22 11:17:06 -07:00
Barely Removable
7f62e4ad7c Redesign: collector-grade dark theme, slab promoted to hero element 2026-08-22 09:48:26 -07:00
Barely Removable
6b247794db Add a dedicated Take Photo button alongside the library picker 2026-08-22 09:32:10 -07:00
Barely Removable
c7bd71a3e1 Initial commit: Card Grader deployed to hippofam.com/cards
PWA card-grading app, deployed behind Nginx Proxy Manager on Unraid with
basic auth. Includes CARD_GRADER_BASE_PATH support for running under a
sub-path, and Docker/compose config for the Unraid deployment.
2026-08-22 09:22:41 -07:00