Dat Vu
54fee9ffb5
Chore: upgrade Flutter to 3.47.9 ( #5083 )
2026-11-11 17:21:45 +07:00
dab246
704ecd84b2
TF-4809 Part 3: Align Sentry startup and reporting consent
2026-10-05 12:22:17 +07:00
dab246
e6e9ed633c
TF-4809 Part 3: Add web Sentry fallback and denied consent
2026-10-05 12:22:17 +07:00
dab246
eec2fbab39
TF-4809 Part 3: Harden Sentry ecosystem consent handling
2026-10-05 12:22:17 +07:00
dab246
6f3b757ef6
TF-4809 Part 3: Share Sentry ecosystem opt-in default with web
2026-10-05 12:16:55 +07:00
Dat Vu and Dat H. Pham
c0eb30d2d6
TF-4809 Part 1-C: Apply consent in iOS notification extension ( #4836 )
...
* TF-4809 Part C: Apply consent in iOS notification extension
* TF-4809 Part C: Apply consent in iOS notification extension
* TF-4809 Part C: Harden NSE consent persistence
* TF-4809 Part C: Fix duplicate Mockito mock generation
* TF-4809 Part C: Use rethrow for Sentry errors
* TF-4809 Part C: Fix analyzer warnings
* TF-4809 Move Sentry cleanup to session teardown
* TF-4809 Fix BaseController test isolation
* TF-4809 Add tests for consent reset on session cleanup
* TF-4809 Reset Sentry consent on session cleanup
---------
Co-authored-by: Dat H. Pham <dphamhoang@linagora.com >
2026-10-05 12:15:05 +07:00
dab246
fdda202292
TF-4809 Part B: Persist consent for FCM background
2026-10-05 12:15:05 +07:00
dab246
9f3665eb47
TF-4809 Part A: Gate Sentry SDK lifecycle by consent
2026-10-05 12:15:04 +07:00
e300fea934
TF-4728 Drive picker data layer ( #4764 )
...
* TF-4728 Drive picker data layer
* fixup! TF-4728 Drive picker data layer
* fixup! TF-4728 Drive picker data layer
review-comment: 3818227574
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227574
* fixup! TF-4728 Drive picker data layer
review-comment: 3818227592
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227592
* fixup! TF-4728 Drive picker data layer
review-comment: 3818227604
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227604
* fixup! TF-4728 Drive picker data layer
review-comment: 3818227608
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3818227608
* fixup! TF-4728 Drive picker data layer
review-comment: 3820850595
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3820850595
* fixup! TF-4728 Drive picker data layer
review-comment: r3826862549
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826862549
* fixup! TF-4728 Drive picker data layer
review-comment: r3826914510
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826914510
* fixup! TF-4728 Drive picker data layer
review-comment: r3826922420
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826922420
* fixup! TF-4728 Drive picker data layer
review-comment: r3827010446, r3826926449, r3826947008
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3827010446
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826926449
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3826947008
* fixup! TF-4728 Drive picker data layer
review-comment: r3827015957
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3827015957
* fixup! TF-4728 Drive picker data layer
review-comment: 5365193125
https://github.com/linagora/tmail-flutter/pull/4764#issuecomment-5365193125
* test: pin upload-from-url URI gate, hive persist, and empty-body POST
Co-authored-by: Cursor <cursoragent@cursor.com >
* fixup! TF-4728 Drive picker data layer
review-comment: 3829217029
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829217029
* fixup! TF-4728 Drive picker data layer
review-comment: 3829254358
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829254358
* fixup! TF-4728 Drive picker data layer
review-comment: 3829298409
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3829298409
* fixup! TF-4728 Drive picker data layer
review-comment: 3840752770, 3840801835
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3840752770
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3840801835
* fixup! TF-4728 Drive picker data layer
review-comment: 3841010607
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010607
* fixup! TF-4728 Drive picker data layer
review-comment: 3841010610
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010610
* fixup! TF-4728 Drive picker data layer
review-comment: 3841010614
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010614
* fixup! test: pin upload-from-url URI gate, hive persist, and empty-body POST
review-comment: 3841010619
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010619
* fixup! test: pin upload-from-url URI gate, hive persist, and empty-body POST
review-comment: 3841010623
https://github.com/linagora/tmail-flutter/pull/4764#discussion_r3841010623
---------
Co-authored-by: Dat H. Pham <dphamhoang@linagora.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-25 10:15:13 +07:00
Dang Dat
845161cb62
HOTFIX Sentry disable default replay
2026-05-07 15:33:14 +07:00
Dat H. Pham
5e1348f261
Fix sentry minified ( #4481 )
2026-05-05 14:19:28 +07:00
Dat Vu
ba1ac18314
fix(logger): Reduce Sentry noise with targeted error logging (ADR-0076) ( #4467 )
2026-05-05 11:01:45 +07:00
Dat H. Pham
b0e349029f
fix(logging): minor issue for logging and docs
2026-04-28 11:31:12 +07:00
dab246
86a3097f19
fix(sentry): wrap addBreadcrumb with unawaited to avoid blocking callers
2026-04-28 11:31:12 +07:00
dab246
6a6a9c2509
refactor(sentry): simplify _captureExceptionInternal by unifying withScope setup
2026-04-28 11:31:12 +07:00
dab246
e84b621981
fix(logging): guard handles() in dispatch and replace stale handlers on re-register
...
- Wrap both handles() and handle() in a single try/catch so a throwing
handles() cannot abort the pipeline or crash callers
- Replace existing handler by runtimeType instead of silently keeping
the stale instance, so re-registering with a new config takes effect
- Add recursion-safety comment in SentryManager.addBreadcrumb catch
block to lock in the invariant for future handler additions
2026-04-28 11:31:12 +07:00
dab246
28000d4636
fix(logging): propagate level/category on breadcrumbs, align captureMessage signature
...
- addBreadcrumb gains level (default SentryLevel.debug) and category
params in SentryReporter interface and SentryManager implementation;
SentryBreadcrumbHandler passes level: SentryLevel.debug, category: 'log'
so breadcrumbs on error events are clearly labelled in Sentry UI
- captureMessage param order aligned to {extras, level} in SentryManager
to match the SentryReporter interface declaration
- Test: _FakeSentryReporter updated; new test case asserts level/category
2026-04-28 11:31:12 +07:00
dab246
29c89c34b2
fix(logging): pass SentryLevel through reporter interface
...
SentryReporter.captureException and captureMessage now accept a
SentryLevel parameter so handlers can forward the mapped severity.
SentryEventHandler maps Level.critical → fatal, Level.error → error.
SentryManager forwards the level via scope.level.
2026-04-28 11:31:12 +07:00
dab246
2633c774c5
refactor(sentry): extract SentryReporter interface for handler testability (ADR-0078)
2026-04-28 11:31:12 +07:00
dab246
8ff856b490
feat(sentry): add addBreadcrumb method to SentryManager (ADR-0078)
...
feat(logger): add SentryEventHandler and SentryBreadcrumbHandler (ADR-0078)
2026-04-28 11:31:12 +07:00
dab246
0295334d8a
TF-4269 Fix Sentry release version sync across platforms
...
Use --dart-define=SENTRY_RELEASE=<full-tag> in Fastlane so the app
reports the same version string to Sentry as CI uses when uploading
symbols, bypassing iOS CFBundleShortVersionString stripping.
- Android Fastfile: add --dart-define=SENTRY_RELEASE (build-name unchanged)
- iOS Fastfile: pass DART_DEFINES via xcargs (increment_version_number unchanged)
- Dart: read SENTRY_RELEASE dart-define first, fall back to PackageInfo.version
- NSE/Web unaffected: NSE reads from Keychain, Web falls back to PackageInfo
2026-04-22 15:41:28 +07:00
dab246
230cbf647f
TF-4269 Integrate Sentry into iOS NSE and automate dSYM upload in CI
2026-04-22 15:41:28 +07:00
dab246
eeaab49e93
TF-4268 Cache Sentry config and user for FCM background re-initialization
...
Signed-off-by: dab246 <tdvu@linagora.com >
2026-04-10 16:05:02 +07:00
dab246
c9ec1c2820
TF-4268 Improve SentryConfig and SentryManager: sampling, frames tracking, non-blocking capture
2026-04-09 14:16:41 +07:00
Dat H. Pham
3e39f59f20
Fixup Constant some token exception
2026-03-10 11:06:16 +07:00
dab246
437c46f5ff
fix(sentry): resolve minified exception types on web release
2026-03-10 11:06:16 +07:00
dab246
296548a781
fix(sentry): sync dist parameter to resolve minified stack traces
2026-03-10 11:06:16 +07:00
dab246
b3e5ab0df4
fix(cnb): skip local email cache and add safe email/state cache clearing
...
(cherry picked from commit 0e7f589df5 )
2026-01-29 18:00:36 +07:00
dab246
f1a86091e1
TF-4136 Fix cannot load app when init sentry is failed
2026-01-15 09:46:51 +07:00
dab246
abe42d6e22
TF-4136 Fix event reconstruction drops fields from the original event.
2026-01-15 09:46:51 +07:00
dab246
6601a48984
TF-4136 Fix DeviceInfoPlugin is instantiated on every access.
2026-01-15 09:46:51 +07:00
dab246
72e4343398
TF-4136 Remove check sentry dio interceptors duplicated
2026-01-15 09:46:51 +07:00
dab246
b6f7f7d846
TF-4136 Fix duplicate Executor instance creation.
2026-01-15 09:46:51 +07:00
dab246
944029d16c
TF-4136 Move Sentry duplication guard, but keep interceptor ordering last (not first)
2026-01-15 09:46:51 +07:00
dab246
fedb8fed93
TF-4136 Apply early exit to prevent string operation in log
2026-01-15 09:46:51 +07:00
dab246
95534e28e0
TF-4136 security(sentry): scrub sensitive headers without mutating HTTP payloads
2026-01-15 09:46:51 +07:00
dab246
ec75bb3cab
TF-4136 Add config Sentry
2026-01-15 09:46:51 +07:00