- press_release_images: Kundenangabe/Portalkennzeichnung getrennt, Herkunftsbefund, Beweisoriginal, Snapshot-Pfade, published_ever_at, rules_version, Fokus/Letterbox; Bestand unangetastet - legal_texts (insert-only) mit img-confirm-v1 (alter Wortlaut), v2 (AGB 0.6), v3 (AGB 0.7, noch ohne Datum); image-rights:backfill-confirmations - image_rights_confirmations polymorph, insert-only, IP als versionierter HMAC; Löschung nur für nie veröffentlichte Uploads - ImageProvenanceInspector (Imagick/exif): IPTC, XMP, EXIF; algorithmicallyEnhanced nur Vermerk; unlesbare Datei = error - PressReleaseImageUploader: Original vor Derivaten, Hash-Bindung, Titelbild-Regel unter Sperre, Dateien bei Fehlern zurückgerollt; Admin-Upload ohne Bestätigung - ImageService: kein Rückfall auf die Quelldatei, og-Variante, Fokuspunkt und no_crop Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
17 lines
434 B
PHP
17 lines
434 B
PHP
<?php
|
|
|
|
namespace App\Services\PressRelease\Images;
|
|
|
|
use RuntimeException;
|
|
|
|
/**
|
|
* Fachlicher Fehler beim Bild-Upload (Grenzen, Titelbild-Regel, fehlende
|
|
* Bestätigung, Hash-Abweichung). Die Meldung ist für den Einreicher gedacht.
|
|
*/
|
|
class ImageUploadException extends RuntimeException
|
|
{
|
|
public function __construct(string $message, public readonly string $field = 'image')
|
|
{
|
|
parent::__construct($message);
|
|
}
|
|
}
|