- Galerien sind nun eine Entität - es kann mehrere geben

- Neues Sparkbooth-Upload-Feature: Endpoint /api/sparkbooth/upload (Token-basiert pro Galerie), Controller Api/SparkboothUploadController, Migration 2026_01_21_000001_add_upload_fields_to_galleries_table.php mit Upload-Flags/Token/Expiry;
    Galerie-Modell und Factory/Seeder entsprechend erweitert.
  - Filament: Neue Setup-Seite SparkboothSetup (mit View) zur schnellen Galerie- und Token-Erstellung inkl. QR/Endpoint/Snippet;
    Galerie-Link-Views nutzen jetzt simple-qrcode (Composer-Dependency hinzugefügt) und bieten PNG-Download.
  - Galerie-Tabelle: Slug/Pfad-Spalten entfernt, Action „Link-Details“ mit Modal; Created-at-Spalte hinzugefügt.
  - Zugriffshärtung: Galerie-IDs in API (ImageController, Download/Print) geprüft; GalleryAccess/Middleware + Gallery-Modell/Slug-UUID
    eingeführt; GalleryAccess-Inertia-Seite.
  - UI/UX: LoadingSpinner/StyledImageDisplay verbessert, Delete-Confirm, Übersetzungen ergänzt.
This commit is contained in:
2025-12-04 07:52:50 +01:00
parent 52dc61ca16
commit f5da8ed877
49 changed files with 2243 additions and 165 deletions

View File

@@ -129,6 +129,14 @@ return [
'image_refresh_interval' => 'Image Refresh Interval (seconds)',
'new_image_timespan_minutes' => 'New Image Timespan (minutes)',
'gallery_heading' => 'Gallery Heading',
'require_gallery_password' => 'Require gallery password',
'require_gallery_password_help' => 'Enable this to ask guests for a password before showing the gallery.',
'gallery_password' => 'New gallery password',
'gallery_password_help' => 'Leave empty to keep the current password. Disable password protection to clear it.',
'gallery_expires_at' => 'Gallery expires at',
'gallery_access_duration_minutes' => 'Keep access active for (minutes)',
'gallery_access_duration_help' => 'Optional rolling access window that starts when a guest unlocks the gallery.',
'gallery_password_missing' => 'Please provide a password or disable password protection.',
'max_number_of_copies' => 'Max Number of Copies',
'show_print_button' => "Show 'Print' button on image",
],