Commit Graph

18 Commits

Author SHA1 Message Date
8bf143735e feat: BullMQ Worker — Suppression-Check vor SMTP, ClickHouse-Event-Insert, RFC-8058-Header
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 12:09:04 +00:00
5340e76630 fix: Typ-Generic in checkSuppression, SMTP_PASS Fallback, Logging-Test prüft console.error, tenantId-Fehler-Test 2026-04-17 10:53:56 +00:00
a60b08876c feat: Suppression-Check (normalisiert, parametrisiert) und SMTP-Client mit RFC-8058-Header
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 10:51:26 +00:00
5b24c9f129 fix: DI statt Singleton, Queue-Name email-send (BullMQ v5 kein Doppelpunkt), err bei fehlender Job-ID 2026-04-17 10:36:04 +00:00
7baeb004c6 feat: BullMQ email:send Queue — enqueueEmailSend mit maxAttempts 3, exponentielles Backoff
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 10:32:40 +00:00
4a54d31bd0 fix: updateCampaignStatus überschreibt keine bestehenden Scheduling-Daten, fehlende Tests ergänzt 2026-04-17 09:55:45 +00:00
4245a1fbde feat: Campaign Repository — CRUD mit Tenant-Isolation und Result-Pattern
Implementiert createCampaign, getCampaign, listCampaigns, updateCampaign und
updateCampaignStatus mit withTenant-Context, snake_case→camelCase Mapping und
Result-Pattern. 10 Unit-Tests, alle grün.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 09:52:55 +00:00
c4d3c348c1 fix: CREATE OR REPLACE TRIGGER (idempotent), FK-Indizes für campaign_recipients und campaign_triggers 2026-04-17 08:59:38 +00:00
5a144e0ce4 feat: Migrationen für campaigns-Tabellen (PostgreSQL) und email_events (ClickHouse)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:57:37 +00:00
3c3088e66b fix: execute mit optionalen Params, release(error) bei reset-Fehler, Tests ergänzt 2026-04-17 08:35:31 +00:00
4f739f7b1e fix: release() absichern, DATABASE_URL Startup-Check, execute-Test hinzugefügt 2026-04-17 08:33:07 +00:00
c01befa477 fix: Einzelner shared Pool, finally-Block verschluckt nicht Original-Fehler, Pool-Error-Handler
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:30:57 +00:00
cdfdd025d2 fix: Pool-Connection-Isolation in withTenant, SQL-Injection-Schutz, ClickHouse env-var-Check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:28:21 +00:00
ad0febe2cf fix: QueryResultRow-Constraint für db.query<T> unter TypeScript strict 2026-04-17 08:24:15 +00:00
506197623a feat: PostgreSQL withTenant-Helper und ClickHouse-Client
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:20:25 +00:00
7c7fc23b8c chore: CLAUDE.md, PROMPT.md und Planungs-Docs hinzufügen 2026-04-17 08:17:18 +00:00
689fbac795 fix: TriggerType-Typisierung, z.infer-Exporte, fehlende Tests für Result und hashEmail
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:15:13 +00:00
b63ce058a0 feat: Projekt-Scaffold + Core Utilities — Result Pattern, hashEmail, Zod-Schemas, Campaign-Typen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:11:54 +00:00