- Rückmeldungen an den Hersteller (docs/specs/feedback.md): Fehlerbericht und
Funktionswunsch, nur freigeschaltete Wege, Idempotency-Key je Meldung,
Warteschlange mit höchstens fünf Versuchen, 422 am Feld, 429 mit Wartezeit,
404 blendet den Weg aus, Referenznummer und „Meine Rückmeldungen“,
sichtbare technische Angaben und Datenschutzhinweis über dem Absendeknopf
- Hintergrundaufgaben ohne Dauerprozess: Cron, Web-Cron (/cron/{token}) oder
Pseudo-Cron nach dem Seitenaufruf; Queue in kurzen Häppchen
- Seite „Systemzustand“ mit Voraussetzungen, Grenzen, Betrieb, Sicherheit und
Anleitung für den Cronjob
- Web-Installer (Systemprüfung → Datenbank → Administrator), legt .env und
Anwendungsschlüssel selbst an, arbeitet vor der Einrichtung ohne Datenbank
- Datenbank-Benachrichtigungen im Admin-Bereich
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
39 lines
1 KiB
PHP
39 lines
1 KiB
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use App\Support\BackgroundTasks;
|
|
use App\Support\SiteHealth;
|
|
use BackedEnum;
|
|
use Filament\Pages\Page;
|
|
use Filament\Support\Icons\Heroicon;
|
|
use UnitEnum;
|
|
|
|
class SystemHealth extends Page
|
|
{
|
|
protected string $view = 'filament.pages.system-health';
|
|
|
|
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedHeart;
|
|
|
|
protected static string|UnitEnum|null $navigationGroup = 'System';
|
|
|
|
protected static ?int $navigationSort = 20;
|
|
|
|
protected static ?string $navigationLabel = 'Systemzustand';
|
|
|
|
protected static ?string $title = 'Systemzustand';
|
|
|
|
protected static ?string $slug = 'systemzustand';
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
protected function getViewData(): array
|
|
{
|
|
return [
|
|
'groups' => app(SiteHealth::class)->all(),
|
|
'cronLine' => '* * * * * cd '.base_path().' && php artisan schedule:run >> /dev/null 2>&1',
|
|
'webCronUrl' => url('/cron/'.app(BackgroundTasks::class)->webCronToken()),
|
|
];
|
|
}
|
|
}
|