Commit Graph

10 Commits

Author SHA1 Message Date
2a101e9a62 Promo: order page + red banner + contact form; fix admin login rehash
- /order page: single tag $5.50 / 10-pack $22.00 (GST-incl), qty via
  Stripe Payment Links (single 1-25, pack 1-2), thanks state
- Red 'Protect & recover your valuables — ORDER NOW' banner in base layout
  (every page incl. found-dog tag page) + footer promo links
- Contact page: form -> Gmail SMTP (env SMTP_*), hello@where-woof.com
- Fix admin login 500: User.getAuthPasswordName() = password_hash so
  Laravel 13 rehash-on-login writes the correct column (was trying
  UPDATE users SET password = ...)
2026-09-01 12:53:53 +10:00
aabaa750f4 Phase 5 billing: account-based annual sub + tag SKUs + SMS pool + tag lifecycle
- Schema: plans, orders subscription cols + plan_id + period_started_at,
  billing_events log, users.stripe_id + sms_credits, products.price_aud
  (db/schema.sql + Laravel migration, idempotent)
- Laravel/Cashier: Billable User, checkout (annual sub + one-off SKUs with
  Managed Payments tax_code), webhook controller (signature-verified,
  idempotent, BILLING_ENABLED kill-switch), account tag transitions,
  nightly reconcile, Stripe portal link, PlanResource + billing dashboard
- Go frontend: account-level gating (paid sub required), SMS pool
  (included 50/yr + credits, drawn after included), plan caps replace
  constants, 60s plan cache (credits fresh), 25-tag cap (plan max_tags)
- BillingSeeder: personal plan + 3 SKUs + dev paid orders
- Verified test-mode e2e: subscribe/paid/active/alerts, pool exhaust +
  credits resume, lapsed/suspended, cancelled/closed, recover/active,
  webhook idempotency, 25-cap, one-off SKUs, replacement, kill-switch,
  invalid signature 400
2026-08-28 13:19:32 +10:00
0a66d92d31 FIX (root cause): trust Caddy proxies in bootstrap/app.php — Laravel saw http behind Caddy, so signed upload URLs never validated -> every Livewire upload 401 -> 'failed to upload' regardless of file size. Verified: upload returns 200 with temp path. 2026-08-10 16:00:02 +10:00
d3e51b0fd1 admin upload: Livewire temp max 50MB + php.ini conf.d mount (research-backed) 2026-08-10 15:48:04 +10:00
8c2d65eabb docs+ini: upload limits via conf.d mount; AGENTS.md corrected 2026-08-10 15:34:13 +10:00
b63374d23e admin: sync MinIO disk config + Filament photo upload + flysystem dep back to repo 2026-08-08 10:01:24 +10:00
e98b166382 admin: User implements FilamentUser (canAccessPanel=isAdmin) — fixes 403 in production 2026-08-08 08:52:24 +10:00
3e571f75bf admin: force https scheme/root URL behind Caddy (fixes mixed-content broken CSS/JS) 2026-08-08 08:39:54 +10:00
aa465cae2e admin: redirect / to /admin (root was showing default Laravel welcome page) 2026-08-08 08:24:40 +10:00
b53c28c1b1 laravel-admin: Docker Laravel + Filament panel — users/tags/products/orders resources, dashboard stats, is_admin gate, shared Postgres (verified data layer) 2026-08-07 20:31:29 +10:00