fix: corriger les 8 issues du code review notifications

🔴 EmailService: implémentation SMTP réelle (System.Net.Mail)
🔴 GetNotificationConfigHandler: CQS — retourne DTO par défaut sans écrire en DB
🟠 NotificationRateLimiter: increment atomique (Interlocked)
🟠 DailyDigestJob/WeeklyDigestJob: comptes événements user-specific
🟠 docker-compose.prod: auth ntfy via NTFY_AUTH_FILE
🟠 Namespace: Heimdall.Web.Controllers (consistant)
🟠 Commentaire 'gotify' → 'ntfy'
🟠 Tests: NotificationsControllerTests (7 tests)
This commit is contained in:
Arnaud Dartois committed 2026-07-27 05:33:53 +00:00
1 parent f800103239
commit c1eac5431b
15 files changed
+451 -30

No files matched your search

@@ -12,7 +12,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using System.Security.Claims;
namespace Heimdall.Api.Controllers;
namespace Heimdall.Web.Controllers;
/// <summary>
/// In-app notifications for users — list, mark read, configure notification preferences.