Commit History
-
chore: stabilization, audit fixes and project synchronization
CognxSafeTrack7b0c22b
-
fix: security hardening, log all silent catch blocks, remove prisma castβ
CognxSafeTrack +1: Claude Sonnet 4.6Security: - whatsapp.ts: remove WHATSAPP_VERIFY_TOKEN hardcoded fallback β return 500 if env var is missing instead of silently accepting a public default - rateLimit.ts: key by req.ip (not spoofable x-organization-id header) Code quality β 7 empty catch blocks now log with context: - NudgeHandler, AdminHandler (+ missing logger import), EnrollHandler (x2), MediaHandler (x2), organization.ts invalidateOrgCache - admin.ts: remove (prisma as any).normalizationRule β model is in schema, cast was unnecessary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>aa4f69f
-
chore: finalize Sprint P2 & P3 optimizations, baseline prisma migrations, and update technical audit docs
CognxSafeTrackcfbb685
-
fix: replace non-existent RateLimitReplyContext with inline type
CognxSafeTrack979cb50 -
fix: add explicit types to rateLimit errorResponseBuilder parameters
CognxSafeTrackbb62bf7 -
fix: add 'as any' casts to resolve TS2769 plugin registration errors (cors, rate-limit, bullboard)
CognxSafeTrack255a85a -
fix: restore logger compatibility and fix major TS errors in services
CognxSafeTrack38df3bf -
fix: rename rate-limit middleware to rateLimit to help IDE resolution
CognxSafeTrack303f611