presseportale/app/Models
Kevin Adametz 4419d9ff43 Phase 9 Block 1: Gelb-Routing Direkt-Live, Slot-Verbrauch bei Veroeffentlichung, Submit-Gate
9A — Gelb geht direkt live (Entscheidung 12.06.2026):
- routeByClassification(): Gelb durchlaeuft denselben Auto-Publish-Pfad
  wie Gruen (autoPublishApproved); nur Rot wird abgelehnt
- Scheduler publiziert faellige gelbe + gruene PMs; unklassifizierte
  bleiben als Fallback in der manuellen Queue

9B — Slot-Verbrauch bei Veroeffentlichung (Decision-Update 3.2):
- Increment aus submitForReview() entfernt; publish() und
  changeStatusFromAdmin() zaehlen idempotent beim ersten
  published-Uebergang (Pruefung ueber Status-Logs); Rot kostet nichts
- Submit-Guard: Einreichen erfordert freien Slot
  (QuotaExceededException, API 422)

9C — Submit-Gate vorbereitet (Decision-Update 5.1):
- User::hasActiveBooking()-Stub hinter config/billing.php
  (enforce_booking, Default aus); Tarif-Modul ersetzt nur den Rumpf
- Einreichungs-Modal zeigt ohne Buchung einen Buchungs-Hinweis;
  Server-Guard (BookingRequiredException), API antwortet 402
- Fix: Customer-Create legte PMs bei "Zur Pruefung senden" direkt mit
  Status review an (vorbei an Blacklist/Quota/KI/Status-Log) — laeuft
  jetzt immer ueber submitForReview()

Suite: 451 passed, 4 skipped (9 neue Tests). Pint clean.
Plan: docs/PHASE-9-FLOW-UND-TARIFE-PLAN.md (Block 2 nach Review-Stopp).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 09:47:06 +00:00
..
Concerns 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
AdminPreset.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
ApiUsageLog.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
BillingAddress.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
Category.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
CategoryTranslation.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
Company.php create PM v0.5 2026-05-20 19:14:39 +02:00
Contact.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
FooterCode.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
Invoice.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
InvoiceBillingAddress.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
KiAudit.php User Panel: Phase-8-Abschluss, Titelbild/Lizenzen/Zeitzonen und KI-Pruef-Pipeline 2026-06-12 08:30:13 +00:00
LegacyImportMap.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
LegacyInvoice.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
MagicLink.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
NewsletterSubscription.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
PaymentOption.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
PaymentOptionTranslation.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
PressRelease.php User Panel: Phase-8-Abschluss, Titelbild/Lizenzen/Zeitzonen und KI-Pruef-Pipeline 2026-06-12 08:30:13 +00:00
PressReleaseAttachment.php create PM v0.5 2026-05-20 19:14:39 +02:00
PressReleaseImage.php User Panel: Phase-8-Abschluss, Titelbild/Lizenzen/Zeitzonen und KI-Pruef-Pipeline 2026-06-12 08:30:13 +00:00
PressReleaseStatusLog.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
Profile.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
User.php Phase 9 Block 1: Gelb-Routing Direkt-Live, Slot-Verbrauch bei Veroeffentlichung, Submit-Gate 2026-06-12 09:47:06 +00:00
UserFilterPreset.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
UserPayment.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
UserPaymentOption.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00