Trek_CN/server/src/services
jubnl c0e9a771d6
feat: add in-app notification system with real-time delivery
Introduces a full in-app notification system with three types (simple,
boolean with server-side callbacks, navigate), three scopes (user, trip,
admin), fan-out persistence per recipient, and real-time push via
WebSocket. Includes a notification bell in the navbar, dropdown, dedicated
/notifications page, and a dev-only admin tab for testing all notification
variants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 18:57:52 +02:00
..
adminService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
apiKeyCrypto.ts fix: decouple at-rest encryption from JWT_SECRET, add JWT rotation 2026-04-01 07:57:55 +02:00
assignmentService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
atlasService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
auditLog.ts fix: add SSRF protection for link preview and Immich URL 2026-04-01 07:59:03 +02:00
authService.ts feat: add in-app notification system with real-time delivery 2026-04-02 18:57:52 +02:00
backupService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
budgetService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
categoryService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
collabService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
cookie.ts docs: document COOKIE_SECURE and OIDC_DISCOVERY_URL across all config files 2026-04-01 21:44:02 +02:00
dayNoteService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
dayService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
ephemeralTokens.ts fix: replace JWT tokens in URL query params with short-lived ephemeral tokens 2026-04-01 07:57:14 +02:00
fileService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
immichService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
inAppNotificationActions.ts feat: add in-app notification system with real-time delivery 2026-04-02 18:57:52 +02:00
inAppNotifications.ts feat: add in-app notification system with real-time delivery 2026-04-02 18:57:52 +02:00
mapsService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
mfaCrypto.ts fix: decouple at-rest encryption from JWT_SECRET, add JWT rotation 2026-04-01 07:57:55 +02:00
notificationPreferencesService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
notifications.ts fix: encrypt SMTP password at rest using AES-256-GCM 2026-04-01 07:56:43 +02:00
oidcService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
packingService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
passwordPolicy.ts fix: unify password validation error to show all requirements at once 2026-04-01 10:14:35 +02:00
permissions.ts fix: tighten trip_edit and member_manage defaults to trip_owner 2026-03-31 23:52:29 +02:00
placeService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
queryHelpers.ts refactoring: TypeScript migration, security fixes, 2026-03-27 18:40:18 +01:00
reservationService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
settingsService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
shareService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
tagService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
tripService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
vacayService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00
weatherService.ts refactor: extract business logic from routes into reusable service modules 2026-04-02 17:14:53 +02:00