lernschiff/app
Boban Blaskovic 5704d0fb58 fix: quick-login 500 + Vite asset https scheme (TDD)
BUG B — navigation.blade.php crashed on null auth()->user() for
unauthenticated visitors of /dev/quick-login. Two-layer fix:
- DevQuickLogin: add #[Layout('components.layouts.auth')] so page
  renders without the authenticated navigation bar
- navigation.blade.php: null-safe ?-> on all auth()->user() calls
  (three occurrences: name, name again, email) as defense-in-depth

BUG A — @vite() generated http:// asset URLs causing Mixed Content
on HTTPS domain. Root cause: ASSET_URL removed but APP_URL changed to
http://localhost by previous agent. Fixed: APP_URL restored to
https://app.dev.lernschiff.com so URL::forceScheme('https') activates
and assets render as https://app.dev.lernschiff.com/build/assets/*.

TDD: test written → RED (500) → fix → GREEN. 46/46 pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>
2026-05-22 14:46:26 +02:00
..
Auth feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
Http feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
Livewire fix: quick-login 500 + Vite asset https scheme (TDD) 2026-05-22 14:46:26 +02:00
Models feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00
Policies feat(auth): UserPolicy + LicensePolicy + TenantPolicy + ParentChildPolicy + EnsureActiveLicense placeholder 2026-05-22 01:42:00 +02:00
Providers fix: quick-login 500 + Vite asset https scheme (TDD) 2026-05-22 14:46:26 +02:00
Scopes feat(tenant): HasUuid + TenantScope (null-user default-deny) + BelongsToTenant 2026-05-22 00:53:10 +02:00
Traits feat(tenant): HasUuid + TenantScope (null-user default-deny) + BelongsToTenant 2026-05-22 00:53:10 +02:00
View/Components feat(auth): Breeze Livewire stack + dashboard/lizenz-abgelaufen views + layout shells 2026-05-22 05:55:59 +02:00