presseportale/config
Kevin Adametz c7bd940f28 Optimierung Phase 0: Korrektheit & Security
Konsolidierter Entwicklungsplan aus den zwei Analyse-Dokumenten plus
Umsetzung der Phase-0-Massnahmen (Korrektheit/Security, je mit Tests):

0.1 BasicAuth: timing-sicherer Vergleich (hash_equals, beide Felder ohne
    Short-Circuit); Enabled-Check zur Laufzeit via config('auth.basic.*')
    statt env() im Bootstrap-Closure (greift jetzt unter config:cache);
    Config-Block + .env.example. Fund: auth.basic.* war nie als Config
    definiert, Gate war faktisch unkonfigurierbar.
0.2 Legacy-Invoice-"latest"-Abfrage zentralisiert (LegacyInvoice::
    scopeLatestFirst + User::latestLegacyInvoice); beide Consumer N+1-frei
    umgestellt; unterschiedliches null-Verhalten bewusst erhalten.
0.3 Payment-Option-Eligibility vereinheitlicht (period-aware, strikt):
    UserPaymentOption::scopeActiveNow/grandfatheredNow + User::
    hasActivePaymentOption; hasActiveBooking/hasUnlimitedPressReleaseQuota
    und ApiAccessEligibilityService darauf umgestellt; $hasGrandfathered-
    Mislabel behoben.
0.4 Theme->Portal-Vokabular: totes, projektfremdes ThemeMiddleware
    geloescht; Mapping in Portal::fromTheme() zentralisiert; fremden
    b2in-Default im ThemeServiceProvider auf Portal-Default korrigiert.
0.5 InvoiceNumberGenerator: Erst-Insert race-sicher via insertOrIgnore
    (Unique-Index auf circle existiert bereits). CreditWalletService war
    bereits abgesichert (Unique-Index + createOrFirst).

Tests: 4 neue Dateien, 5 bestehende auf gueltiges grandfathered_until
angepasst. Volle Suite gruen (793 passed, 1 skipped).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 08:09:02 +00:00
..
admin_performance.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
app.php Zeitzone Europe/Berlin: unnoetige UTC-Konvertierung entfernt 2026-06-18 12:40:19 +00:00
auth.php Optimierung Phase 0: Korrektheit & Security 2026-06-19 08:09:02 +00:00
billing.php User-Panel-Restarbeiten: PM-Guard, Profil-Rework, USt-ID-Prüfung, Buchungspflicht-Adresse 2026-06-12 14:36:18 +00:00
blacklist.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
blade-icons.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
cache.php first commit 2025-10-20 17:53:02 +02:00
cashier.php USt-Behandlung: Netto-Preise, VatResolver und Steuer-Ausweis im MAN-Kreis 2026-06-12 10:58:43 +00:00
countries.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
credits.php Wallet-Topup ueber Stripe (Credit-Pakete mit Bonus-Staffel) 2026-06-17 14:56:23 +00:00
database.php first commit 2025-10-20 17:53:02 +02:00
domains.php Multi-Domain-Asset-Infrastruktur: geteilte Vite-Konfiguration und DomainAssetContext 2026-06-12 08:16:09 +00:00
filesystems.php first commit 2025-10-20 17:53:02 +02:00
fortify.php first commit 2025-10-20 17:53:02 +02:00
livewire.php first commit 2025-10-20 17:53:02 +02:00
logging.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
mail.php first commit 2025-10-20 17:53:02 +02:00
models.php 29-05-2026 Optimierungen Fixes am Code 2026-05-29 12:42:05 +00:00
newsletter.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
permission.php 29-05-2026 Optimierungen Fixes am Code 2026-05-29 12:42:05 +00:00
pressekonto.code-workspace 19-05-2026 Rebrand Pressekonto, Hub-Flux UI und Legacy-Media-Migration 2026-05-19 16:36:13 +00:00
purifier.php create PM v0.5 2026-05-20 19:14:39 +02:00
queue.php first commit 2025-10-20 17:53:02 +02:00
salutations.php 12-05-2026 Frontend dev 2026-05-12 18:32:33 +02:00
sanctum.php 29-05-2026 Optimierungen Fixes am Code 2026-05-29 12:42:05 +00:00
scoring.php User Panel: Phase-8-Abschluss, Titelbild/Lizenzen/Zeitzonen und KI-Pruef-Pipeline 2026-06-12 08:30:13 +00:00
services.php WS-6: Google-Login via Laravel Socialite 2026-06-16 10:39:19 +00:00
session.php first commit 2025-10-20 17:53:02 +02:00
vite.php 19-05-2026 Rebrand Pressekonto, Hub-Flux UI und Legacy-Media-Migration 2026-05-19 16:36:13 +00:00