- 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:
@@ -23,6 +23,8 @@ return [
|
||||
'title' => 'Newly Styled Image',
|
||||
'keep_button' => 'Keep',
|
||||
'delete_button' => 'Delete',
|
||||
'delete_confirm' => 'Are you sure?',
|
||||
'keep_hint' => 'Save it or discard it – you can always restyle the original later.',
|
||||
],
|
||||
'print_command_sent_successfully' => 'Print command sent successfully.',
|
||||
'failed_to_send_print_command' => 'Failed to send print command.',
|
||||
@@ -39,5 +41,17 @@ return [
|
||||
'tap_to_open' => 'Tap to open',
|
||||
'empty' => 'No images available yet.',
|
||||
'new_badge' => 'New',
|
||||
'access_title' => 'Access the gallery',
|
||||
'password_label' => 'Gallery password',
|
||||
'submit_password' => 'Enter gallery',
|
||||
'expired' => 'This gallery link has expired.',
|
||||
'password_required' => 'This gallery is protected. Please enter the password to continue.',
|
||||
'invalid_password' => 'The password was incorrect.',
|
||||
'duration_hint' => 'After the first unlock, access stays active for :minutes minutes.',
|
||||
'expires_at_hint' => 'Link is valid until :datetime.',
|
||||
],
|
||||
'loading_spinner' => [
|
||||
'processing_image' => 'Your style is being applied',
|
||||
'processing_wait' => 'This may take a moment. Thanks for your patience!',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
|
||||
'saved_successfully' => 'Settings saved successfully.',
|
||||
'save_button' => 'Save',
|
||||
'cancel_button' => 'Cancel',
|
||||
'new' => 'New',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user