Admin Menü neu geordnet.
Introduced a two-tier media pipeline with dynamic disks, asset tracking, admin controls, and alerting around
upload/archival workflows.
- Added storage metadata + asset tables and models so every photo/variant knows where it lives
(database/migrations/2025_10_20_090000_create_media_storage_targets_table.php, database/ migrations/2025_10_20_090200_create_event_media_assets_table.php, app/Models/MediaStorageTarget.php:1, app/
Models/EventMediaAsset.php:1, app/Models/EventStorageAssignment.php:1, app/Models/Event.php:27).
- Rewired guest and tenant uploads to pick the event’s hot disk, persist EventMediaAsset records, compute
checksums, and clean up on delete (app/Http/Controllers/Api/EventPublicController.php:243, app/Http/
Controllers/Api/Tenant/PhotoController.php:25, app/Models/Photo.php:25).
- Implemented storage services, archival job scaffolding, monitoring config, and queue-failure notifications for upload issues (app/Services/Storage/EventStorageManager.php:16, app/Services/Storage/
StorageHealthService.php:9, app/Jobs/ArchiveEventMediaAssets.php:16, app/Providers/AppServiceProvider.php:39, app/Notifications/UploadPipelineFailed.php:8, config/storage-monitor.php:1).
- Seeded default hot/cold targets and exposed super-admin tooling via a Filament resource and capacity widget (database/seeders/MediaStorageTargetSeeder.php:13, database/seeders/DatabaseSeeder.php:17, app/Filament/Resources/MediaStorageTargetResource.php:1, app/Filament/Widgets/StorageCapacityWidget.php:12, app/Providers/Filament/SuperAdminPanelProvider.php:47).
- Dropped cron skeletons and artisan placeholders to schedule storage monitoring, archival dispatch, and upload queue health checks (cron/storage_monitor.sh, cron/archive_dispatcher.sh, cron/upload_queue_health.sh, routes/console.php:9).
This commit is contained in:
@@ -14,37 +14,7 @@ class PackageSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$packages = [
|
||||
[
|
||||
'slug' => 'free-package',
|
||||
'name' => 'Free / Test',
|
||||
'name_translations' => [
|
||||
'de' => 'Free / Test',
|
||||
'en' => 'Free / Test',
|
||||
],
|
||||
'type' => PackageType::ENDCUSTOMER,
|
||||
'price' => 0.00,
|
||||
'max_photos' => 120,
|
||||
'max_guests' => 25,
|
||||
'gallery_days' => 7,
|
||||
'max_tasks' => 8,
|
||||
'watermark_allowed' => true,
|
||||
'branding_allowed' => false,
|
||||
'features' => ['basic_uploads', 'limited_sharing'],
|
||||
'description' => <<<TEXT
|
||||
Perfekt zum Ausprobieren: Teile erste Eindrücke mit {{max_guests}} Gästen und sammle {{max_photos}} Bilder in einer Test-Galerie, die {{gallery_duration}} online bleibt. Ideal für kleine Runden oder interne Demos.
|
||||
TEXT,
|
||||
'description_translations' => [
|
||||
'de' => 'Perfekt zum Ausprobieren: Teile erste Eindrücke mit {{max_guests}} Gästen und sammle {{max_photos}} Bilder in einer Test-Galerie, die {{gallery_duration}} online bleibt. Ideal für kleine Runden oder interne Demos.',
|
||||
'en' => 'Perfect for trying it out: share first impressions with {{max_guests}} guests and collect {{max_photos}} photos in a test gallery that stays online for {{gallery_duration}}. Ideal for small groups or internal demos.',
|
||||
],
|
||||
'description_table' => [
|
||||
['title' => 'Fotos', 'value' => '{{max_photos}}'],
|
||||
['title' => 'Gäste', 'value' => '{{max_guests}}'],
|
||||
['title' => 'Aufgaben', 'value' => '{{max_tasks}} Fotoaufgaben'],
|
||||
['title' => 'Galerie', 'value' => '{{gallery_duration}}'],
|
||||
['title' => 'Branding', 'value' => 'Fotospiel Standard Branding'],
|
||||
],
|
||||
],
|
||||
|
||||
[
|
||||
'slug' => 'starter',
|
||||
'name' => 'Starter',
|
||||
@@ -53,7 +23,7 @@ TEXT,
|
||||
'en' => 'Starter',
|
||||
],
|
||||
'type' => PackageType::ENDCUSTOMER,
|
||||
'price' => 59.00,
|
||||
'price' => 29.00,
|
||||
'max_photos' => 300,
|
||||
'max_guests' => 50,
|
||||
'gallery_days' => 14,
|
||||
@@ -84,7 +54,7 @@ TEXT,
|
||||
'en' => 'Standard',
|
||||
],
|
||||
'type' => PackageType::ENDCUSTOMER,
|
||||
'price' => 129.00,
|
||||
'price' => 59.00,
|
||||
'max_photos' => 1000,
|
||||
'max_guests' => 150,
|
||||
'gallery_days' => 30,
|
||||
@@ -115,7 +85,7 @@ TEXT,
|
||||
'en' => 'Premium',
|
||||
],
|
||||
'type' => PackageType::ENDCUSTOMER,
|
||||
'price' => 249.00,
|
||||
'price' => 129.00,
|
||||
'max_photos' => 3000,
|
||||
'max_guests' => 500,
|
||||
'gallery_days' => 180,
|
||||
@@ -146,7 +116,7 @@ TEXT,
|
||||
'en' => 'Reseller S',
|
||||
],
|
||||
'type' => PackageType::RESELLER,
|
||||
'price' => 299.00,
|
||||
'price' => 149.00,
|
||||
'max_photos' => 1000,
|
||||
'max_guests' => null,
|
||||
'gallery_days' => 30,
|
||||
@@ -177,7 +147,7 @@ TEXT,
|
||||
'en' => 'Reseller M',
|
||||
],
|
||||
'type' => PackageType::RESELLER,
|
||||
'price' => 599.00,
|
||||
'price' => 349.00,
|
||||
'max_photos' => 1500,
|
||||
'max_guests' => null,
|
||||
'gallery_days' => 60,
|
||||
@@ -208,7 +178,7 @@ TEXT,
|
||||
'en' => 'Reseller L',
|
||||
],
|
||||
'type' => PackageType::RESELLER,
|
||||
'price' => 1199.00,
|
||||
'price' => 699.00,
|
||||
'max_photos' => 3000,
|
||||
'max_guests' => null,
|
||||
'gallery_days' => 90,
|
||||
@@ -239,7 +209,7 @@ TEXT,
|
||||
'en' => 'Enterprise / Unlimited',
|
||||
],
|
||||
'type' => PackageType::RESELLER,
|
||||
'price' => 0.00,
|
||||
'price' => 1999.00,
|
||||
'max_photos' => null,
|
||||
'max_guests' => null,
|
||||
'gallery_days' => null,
|
||||
|
||||
Reference in New Issue
Block a user