Add Fortify auth, Flux dark mode, demo seed, and Docker hot reload.

Protect recordings per user, seed a demo login on container start, and bind-mount the app with Vite HMR for local Compose development.
This commit is contained in:
ben
2026-08-12 18:38:53 +02:00
parent accb721811
commit bfcfc12f58
78 changed files with 3942 additions and 186 deletions
+7 -12
View File
@@ -1,17 +1,12 @@
<?php
use App\Models\Recording;
use App\Models\User;
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Transcription updates use the public "recordings" channel (no auth).
| Private channel stubs can be added here when the app gains users.
|
*/
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
Broadcast::channel('recording.{recordingId}', function (User $user, int $recordingId): bool {
return Recording::query()
->whereKey($recordingId)
->where('user_id', $user->id)
->exists();
});