- Reworked the tenant admin login page

- Updated the User model to implement Filament’s tenancy contracts
- Seeded a ready-to-use demo tenant (user, tenant, active package, purchase)
- Introduced a branded, translated 403 error page to replace the generic forbidden message for unauthorised admin hits
- Removed the public “Register” links from the marketing header
- hardened join event logic and improved error handling in the guest pwa.
This commit is contained in:
Codex Agent
2025-10-13 12:50:46 +02:00
parent 9394c3171e
commit 64a5411fb9
69 changed files with 5447 additions and 588 deletions

View File

@@ -26,7 +26,7 @@ return new class extends Migration
$table->boolean('photo_upload_enabled')->default(true);
$table->boolean('task_checklist_enabled')->default(true);
$table->string('default_locale', 5)->default('de');
$table->enum('status', ['draft', 'active', 'archived'])->default('draft'); // From add_status_to_events
$table->enum('status', ['draft', 'published', 'archived'])->default('draft'); // From add_status_to_events
$table->timestamps();
$table->index(['tenant_id', 'date', 'is_active']);
$table->foreign('event_type_id')->references('id')->on('event_types')->onDelete('restrict');
@@ -34,7 +34,7 @@ return new class extends Migration
} else {
if (!Schema::hasColumn('events', 'status')) {
Schema::table('events', function (Blueprint $table) {
$table->enum('status', ['draft', 'active', 'archived'])->default('draft')->after('is_active');
$table->enum('status', ['draft', 'published', 'archived'])->default('draft')->after('is_active');
});
}
}
@@ -165,4 +165,4 @@ return new class extends Migration
Schema::dropIfExists('events');
}
}
};
};