feat(printer): badge print queue, Pi worker, captive-portal setup, admin printing view

- migration 20261018170000: pgmq badge_print/badge_print_dlq, print_stations,
  token-gated printer RPCs (claim/complete/fail/heartbeat), admin RPCs,
  welcome_checkin enqueue; badge_print_tests.sql (101 assertions)
- apps/printer: Python worker (Playwright render -> brother_ql via pyusb),
  comitup captive-portal (Wi-Fi + HTTPS endpoint + anon key + token),
  arm64 image build + idempotent Pi setup/install scripts, 77 pytest
- apps/admin: Printing view, station management/DLQ, global printer status
  pill, Print button on Registrations, standalone print renderer entry
  (print.html -> dist-print) with bundled fonts
- docs: printing.md + architecture/schema/rpcs/tests/admin-app updates,
  apps/printer/AGENT.md operating manual
- e2e: printing.spec.ts
This commit is contained in:
Lago committed 2026-10-18 22:25:38 +02:00
1 parent 04f3f55b78
commit c980effddc
55 files changed
+7406 -29

No files matched your search

+9
View File
@@ -5,6 +5,7 @@ node_modules/
dist/
build/
*.tsbuildinfo
apps/admin/dist-print/
# Generated types (regenerate with `npm run db:types`)
packages/shared/src/database.types.ts
@@ -15,6 +16,10 @@ packages/shared/src/database.types.ts
!.env.example
SMTP.md
# Printer Pi: filled setup (station token) + exported worker image
apps/printer/pi/setup.local.sh
apps/printer/pi/*.tar.gz
# Supabase CLI local state (generated on `supabase start`)
supabase/.temp/
supabase/.branches/
@@ -37,3 +42,7 @@ e2e/node_modules/
e2e/reports/
e2e/test-results/
test-results/
# Python bytecode
__pycache__/
*.pyc