SnapOtter
fc8b549d78
fix: gate captureException on user consent and fix HEIC PII scrubbing
...
captureException now checks isRequestOptedIn before forwarding errors
to Sentry, closing a gap where server errors leaked to an external
service even when no user had consented. The PII scrubbing regex is
also fixed: he[ic]f? failed to match .heic due to word-boundary
behavior and is replaced with hei[cf]? which correctly covers .heic,
.heif, and .hei.
Adds 88 new analytics tests across unit, integration, and e2e layers
proving PostHog/Sentry are never invoked when analytics is disabled or
users have not consented, plus full 7-day reminder lifecycle coverage.
2026-04-29 23:47:19 +08:00
..
2026-04-26 12:03:08 +08:00
2026-04-29 01:39:25 +08:00
2026-04-24 23:50:47 +08:00
2026-04-29 23:47:19 +08:00
2026-04-22 18:10:04 +08:00
2026-04-22 18:10:04 +08:00
2026-04-24 18:06:29 +08:00
2026-04-22 18:10:04 +08:00
2026-04-22 18:10:04 +08:00
2026-04-22 18:10:04 +08:00
2026-04-29 01:39:25 +08:00
2026-04-24 22:43:14 +08:00
2026-04-25 21:53:13 +08:00
2026-04-29 01:39:25 +08:00
2026-03-26 01:10:51 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-23 17:12:02 +08:00
2026-04-26 12:03:08 +08:00
2026-04-29 01:39:25 +08:00
2026-04-20 15:17:08 +08:00
2026-04-25 21:53:13 +08:00
2026-04-22 18:10:04 +08:00
2026-04-22 18:10:04 +08:00
2026-04-24 18:06:29 +08:00
2026-04-26 12:03:08 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-25 21:53:13 +08:00
2026-04-22 18:10:04 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-26 12:03:08 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-25 21:53:13 +08:00
2026-04-29 01:39:25 +08:00
2026-04-22 18:10:04 +08:00
2026-04-25 21:53:13 +08:00
2026-04-26 12:03:08 +08:00
2026-04-22 18:10:04 +08:00
2026-04-24 22:43:14 +08:00
2026-04-26 12:03:08 +08:00
2026-04-29 01:39:25 +08:00
2026-04-22 18:10:04 +08:00
2026-04-22 18:10:04 +08:00
2026-04-25 21:53:13 +08:00
2026-04-25 21:53:13 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-25 21:53:13 +08:00
2026-04-25 21:53:13 +08:00
2026-03-26 01:10:51 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-03-26 01:10:51 +08:00
2026-04-29 23:47:19 +08:00
2026-04-29 01:39:25 +08:00
2026-04-25 21:53:13 +08:00
2026-04-24 22:43:14 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00
2026-04-29 01:39:25 +08:00