43ce4514c4
location-first scan: geolocation prompt decides the scan (8s fallback to plain scan, never blocks); server 'location upgrade' rule re-alerts with map link when coords arrive after a no-loc alert
main
Sam Rolfe2026-08-10 19:17:58 +10:00
f2d1acac35
scan flow: fire scan immediately on tag-page load (location is an upgrade, not a gate) so a tag view always records+alerts; add request logging middleware (method/path/status/duration) to stdout for diagnostics
Sam Rolfe2026-08-10 18:51:35 +10:00
1fae314eb4
tag claim flow: scanned code auto-fills Add Tag field (?code=), unclaimed tag page shows 'Add this tag to my account' when logged in, login honors next= so code survives the login step
Sam Rolfe2026-08-10 17:04:21 +10:00
04fd5ac63a
fix: legacy QR URLs without '?' (productid in path) redirect to /t/CODE (new tag 97 now scans); preview page photo portrait aspect; Preview button on user tags list; admin photo form = preview + standalone Upload button (removed URL TextInput — no duplicate, no stale placeholder)
Sam Rolfe2026-08-10 16:54:10 +10:00
ae0290b343
admin: photo preview fixed size (inline styles); preview mode ?preview=1 (banner, no scan functionality) with Preview buttons in admin row action + owner edit link
Sam Rolfe2026-08-10 16:36:22 +10:00
eb3e4f45ad
admin: Tags-list photo thumbnail (null when no photo — fixes empty src), edit-form photo preview (blade view), 'View live page' row action; owner: 'View the live tag page' link on edit
Sam Rolfe2026-08-10 16:27:40 +10:00
fd91d3c53e
fix: admin upload action fillForm()->refreshFormData(['photo_url']) (fillForm threw in action closure); photo cache-busting (?v=updated_at) so overwritten photos don't show stale browser cache (user 'reverting to old images')
Sam Rolfe2026-08-10 16:18:08 +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.
Sam Rolfe2026-08-10 16:00:02 +10:00
d3e51b0fd1
admin upload: Livewire temp max 50MB + php.ini conf.d mount (research-backed)
Sam Rolfe2026-08-10 15:48:04 +10:00
8c2d65eabb
docs+ini: upload limits via conf.d mount; AGENTS.md corrected
Sam Rolfe2026-08-10 15:34:13 +10:00
aaad9f2db6
fix (research-backed): admin upload limits via mounted php.ini conf.d (artisan serve child ignores -d flags — Filament docs: set php.ini); user photo preview always rendered (was conditional -> FileReader target missing); PNG upload+save+display verified
Sam Rolfe2026-08-10 15:34:13 +10:00
ab3aa5aee9
fix: remove photo_url text input from user form (photo only via file upload; handler keeps existing photo when no file); livewire config published (disk=local, 12MB, 2min upload — was 5s default breaking admin temp uploads)
Sam Rolfe2026-08-10 15:07:15 +10:00
f5e5989c64
docs: known-good state + gotchas (photo flows, admin upload, curl -F pitfall, logins)
Sam Rolfe2026-08-10 14:57:12 +10:00
ef20af0d92
fix: user photo upload now INSIDE the main edit form (one Save = file+fields, no JS); admin resource FQNs corrected (relative Filament\Forms refs = panel-wide 500)
Sam Rolfe2026-08-10 14:47:07 +10:00
fc7f3bf675
fix: user photo_url input type=text (type=url rejected relative /photos/ paths = form block); admin inline upload action leading-backslash namespace (was panel-wide 500)
Sam Rolfe2026-08-10 14:41:04 +10:00
704cc4606f
fix: user photo form explicit method=post+enctype (405 when htmx missed it); admin upload action moved inline as suffix on the photo field; verified real PNG upload+serve
Sam Rolfe2026-08-10 14:31:24 +10:00
3001e816cd
fix: admin 'Upload photo' action (modal FileUpload, stores to MinIO, sets photo_url — no foreach 500); user upload limit 5MB->10MB; photo_url input shows full value (visual truncation only)
Sam Rolfe2026-08-10 14:20:35 +10:00
b14341e344
fix: admin photo fields -> TextInput + ImageColumn (FileUpload foreach 500 gone); user upload syncs photo_url input so Save keeps the photo; ProductResource photo added
Sam Rolfe2026-08-10 14:13:18 +10:00
bcf6f3115d
fix: admin FileUpload single-path columns (array state + dehydrate — was foreach error = admin edit 500); user photo upload targets thumb div only so the form/button survives re-uploads
Sam Rolfe2026-08-10 14:01:55 +10:00
f38beb4cfe
fix: user tag edit photo upload — standalone form (was nested inside main form, invalid HTML), thumbnail on success; restore sms_enabled on tag 6; admin upload accepts HEIC (no image() rule)
Sam Rolfe2026-08-10 13:51:49 +10:00
23508fc468
fix: Edit link navigates to the full tag edit page (was intercepted by hx-get inline); admin upload limits raised (12M via php -d) + FileUpload maxSize 10MB — fixes 'failed to upload' on phone photos
Sam Rolfe2026-08-10 13:14:47 +10:00
e38128c33f
fix per feedback: remove home recent-scans; admin dashboard recent-scans -> tag edit links + item column; inline tag edit gets photo upload; explicit deploy sync (no dir-rsync flakiness)
Sam Rolfe2026-08-10 13:04:43 +10:00
83d75cb29f
home: recent-scans list (links + tag ids); admin tags: item_type column, searchable tag code/description/owner; admin photo upload: drop imageEditor (unbundled JS); owner edit photo upload confirmed
Sam Rolfe2026-08-10 12:52:52 +10:00
9158681001
fix batch: admin login rehash->password_hash mapping (500); geolocation timeout 20s + hide button on approval + 'location shared' notice; sms: link includes typed number (Alpine); location page = found-dog + map + finder number + tag details; nicer closed page; password visibility toggles; product photos; templates use x-text (no {{}} in Alpine)
Sam Rolfe2026-08-10 12:27:20 +10:00
b5db858ef8
fix: seed-admin emits $2y$ bcrypt prefix so Laravel admin login works (was $2a$ -> 500 'does not use the Bcrypt algorithm')
Sam Rolfe2026-08-10 12:00:03 +10:00
ae231c97f6
compat: /index.php?productid= legacy URL form redirects to /t/{code} (covers old printed QR URLs)
Sam Rolfe2026-08-10 11:51:58 +10:00
97cf0974a3
tag-lifecycle: owner close (status closed, gating + page) + move (copy details to new tag, close source) + legacy ?productid= redirect — verified with real tags 6 & 17
Sam Rolfe2026-08-10 11:36:11 +10:00
77a9f803f2
openspec: tag-lifecycle change (close/move/legacy redirect)
Sam Rolfe2026-08-10 11:33:25 +10:00
daf758d336
docs: product model — metering+renewal+unlock marked done
Sam Rolfe2026-08-10 10:11:31 +10:00
9d43403f6f
renewal-unlock: orders.renews_at lazy expiry + owner unlock notices (ntfy/sms channels, exempt from metering) — verified
Sam Rolfe2026-08-10 10:10:50 +10:00
8b5db410a3
openspec: renewal-unlock change
Sam Rolfe2026-08-10 10:08:06 +10:00
17150c405d
ops: live SMS creds on .13; seed-admin cmd in make db-up (admin survives DB resets)
Sam Rolfe2026-08-10 10:07:29 +10:00