Commit Graph
189 Commits
Author SHA1 Message Date
Dang Dat d2cdb5376a TF-4827 Add a recovery seam to the size-rejection path
Ref: #4848

TF-4827 Route inline files to the upload recovery

Addresses: 4182803889
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4182803889

TF-4827 Skip the upload recovery when a rejection carries no files

Addresses: 4191301057
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191301057

TF-4827 Document the upload recovery contract

Addresses: 4191300814, 4191300935, 4191301151
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191300814
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191300935
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191301151

TF-4827 Align ADR-0109 with inline files reaching the recovery

Addresses: 4191308467
https://github.com/linagora/tmail-flutter/pull/4910#discussion_r4191308467
2026-10-07 09:09:20 +07:00
Dat Dang 2cf6226e1e TF-4838 Resolve Workplace FQDN from the Linagora ecosystem fallback (#4841) 2026-09-22 13:35:54 +07:00
Dat Dang 061827469e TF-4827 docs(adr): migrate to file_picker 13 for streamed picks (#4842) 2026-09-22 08:47:08 +07:00
Dang Dat a1e45e1976 State the gate logs a recovery throw and blocks send while a transfer runs
Addresses: 4059306032, 4059306036
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4059306032
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4059306036
2026-09-22 08:46:44 +07:00
Dang Dat 577125ed98 Pin when the recovery contract completes and what a throw means
Addresses: 4046173362, 4046173371
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4046173362
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4046173371
2026-09-22 08:46:44 +07:00
Dang Dat ec78f3ab0c State the Drive preference gates the oversize upload
Addresses: 4044699615
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699615
2026-09-22 08:46:44 +07:00
Dang Dat 62d39d2ddd State the recovery contract is awaited
Addresses: 4044699600
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699600
2026-09-22 08:46:44 +07:00
Dang Dat 08ad04aa8d State which files an oversize recovery takes
Addresses: 4044699575, 4044699584, 4044699607
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699575
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699584
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4044699607
2026-09-22 08:46:44 +07:00
Dang Dat ce8e683bf3 Drop the magic-folder open question from ADR 0109
Addresses: 4043489296
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043489296
2026-09-22 08:46:44 +07:00
Dang Dat b4d902c709 State the web heap ceiling on the shared file body reader
Addresses: 4043475832
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043475832
2026-09-22 08:46:44 +07:00
Dang Dat c856ee07fc Scope the recovery seam to size rejections on picked files
Addresses: 4034661133, 4043492871, 4043481991
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4034661133
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043492871
https://github.com/linagora/tmail-flutter/pull/4839#discussion_r4043481991
2026-09-22 08:46:44 +07:00
Dang Dat 34577c7e22 docs(adr): add ADR 0109 for the oversize attachment recovery seam 2026-09-22 08:46:44 +07:00
Dat Dang cc849294eb ADR Preparation for upload heavy attachments (#4830)
* ADR Preparation for upload heavy attachments

* State how an upload recovery is registered in ADR 0108

Addresses: 4023574066
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4023574066

* Drop the reusability inventory from ADR 0108

Addresses: 4023601065
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4023601065

* State runner ownership and per-action token exchange in ADR 0108

Addresses: 4024992364, 5221483896
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992364
https://github.com/linagora/tmail-flutter/pull/4830#pullrequestreview-5221483896

* Add the file body reader decision to ADR 0108

Addresses: 4024992369
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992369

* docs(adr): narrow ADR 0108 to the Workplace call transport

* Declare bridge support per Workplace action in ADR 0108

Addresses: 4033218043, 4024992351
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4033218043
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992351

* Fail a bridge-supported action instead of replaying it over the bearer token

Addresses: 4034521006, 4024992351
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4034521006
https://github.com/linagora/tmail-flutter/pull/4830#discussion_r4024992351
2026-09-18 09:34:54 +07:00
Dat Dang e6f9463c61 Allow workplace to refresh jmap token (#4810) 2026-09-15 15:58:43 +07:00
dab246 3ca2b6dd69 TF-4817 Improve premium CTA ecosystem handling 2026-09-15 10:35:21 +07:00
Dang Dat 1c503a2b6c TF-4805 Add ADR for web selection coordinator 2026-09-11 09:27:57 +07:00
dab246 d953645eeb TF-4790 Guard the mobile replay body in _retryUploadRequest and assert probed charset samples 2026-09-05 16:10:10 +07:00
dab246 b9697075af TF-4790 Add ADR 0106 for root-isolate attachment upload authentication 2026-09-05 16:10:10 +07:00
Dat Dang 8527bb237c ADR Drive attachment by jmap (#4760) 2026-08-18 16:48:44 +07:00
Dat DangandDat H. Pham 20cf265069 TF-4726 Composable validator (#4729)
* TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! TF-4726 Composable validator

* fixup! fixup! TF-4726 Composable validator

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-08-12 16:43:49 +07:00
dab246 e67a86493f TF-4644 Update ADR-0093/0094 to single-notifier SSOT design 2026-08-10 16:22:45 +07:00
Dat H. Pham 285e926a0d fix: InvalidStateError in IndexDatabase prevent state be updated (#4717) 2026-07-27 14:06:54 +07:00
Dat Dang 0b1401d9cb TF-4410 Propose ADR attach drive as attachment (#4688) 2026-07-16 14:42:23 +07:00
Dat Dang 38c1c22759 TF-4661 Improve drive link UI (#4676) 2026-07-14 19:39:53 +07:00
Dat Vu 551a428bb0 TF-4546 Fix Android selection handles overlapping composer menu (#4689) 2026-07-10 16:17:12 +07:00
dab246 5ed3d70292 Add UrgentExceptionHandlerService for urgent exceptions in Riverpod flows 2026-07-08 12:21:24 +07:00
dab246 d52d5e84ed TF-4667 Add ADR-0102 no basic-auth fallback on SSO detected 2026-07-06 10:14:57 +07:00
dab246 d51c2635f3 TF-4643 Update ADR-0093/0094 for search executor refinements 2026-07-06 09:33:02 +07:00
dab246 cc8c5d938d TF-4643 Fold lastEmailId onto LoadMoreIntent, drop lastEmail param from execute 2026-07-06 09:33:02 +07:00
Dat Dang bd502c1a25 TF-4484 Propose ADR for TWP message (#4663) 2026-07-02 16:43:42 +07:00
dab246 54b7d5d7f0 TF-4642 Clarify ADR-0093 that position field deletion is sequenced to Step 11 2026-07-01 17:02:32 +07:00
Dat Vu 6cc4e880d7 TF-4421 Update ADR-0093/0094 for #4651 cursor model + notifier mixin (#4654) 2026-07-01 10:18:36 +07:00
Dat Dang 223a6e3a09 TF-4449 ADR External drive attachments (#4569) 2026-07-01 09:50:15 +07:00
Dat Vu 097796e094 TF-4421 Add ADR-0093 Search filter single source of truth (#4618) 2026-06-30 11:39:54 +07:00
dab246 03e1905f7d fixup! docs: ADR-0092 upgrade flutter_riverpod to 3.x 2026-06-01 16:49:04 +07:00
dab246 e8d6873136 fixup! docs: ADR-0092 upgrade flutter_riverpod to 3.x
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-01 16:49:04 +07:00
dab246 d5820241c5 docs: ADR-0092 upgrade flutter_riverpod to 3.x
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-01 16:49:04 +07:00
dab246 3f9275d550 Remove: docs: ADR-0092 upgrade flutter_riverpod to 3.0
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-28 13:10:31 +07:00
dab246 25c4800117 docs: ADR-0092 upgrade flutter_riverpod to 3.0 2026-05-28 12:11:52 +07:00
dab246 e9cc8c0f74 Update ADR-0091 with accurate solution details 2026-05-27 16:10:47 +07:00
dab246 d2255029ac Add ADR-0091 for auto-load-more infinite loop fix 2026-05-27 16:10:47 +07:00
Dat Dang bdf59ce9e3 TF-4081 Prevent network error log user out on mobile (#4531) 2026-05-22 14:12:33 +07:00
dab246 c551c0ce41 Add ADR-0090 for Dart pub workspace migration 2026-05-21 13:25:43 +07:00
Dat Vu 6cfdef0fcf TF-4524 Fix blank plain-text email caused by backslash-hex false-positive in HTML sanitizer (#4527) 2026-05-18 16:35:54 +07:00
Dat H. Pham 86c4b4ca2f fix: show orphaned inline attachments in email attachment panel
When a received email contains an inline attachment with a CID but no
matching img[src="cid:..."] in the HTML body, tmail previously hid it
completely — not shown in the body (no img tag) and not in the attachment
panel (isOutsideAttachment returned false due to hasCid+isDispositionInlined).

In GetEmailContentInteractor, extract referenced CIDs from the raw HTML
before transformation, then split allInlineImages into referenced (rendered
in body) and orphaned (no body reference). Orphaned attachments are promoted
to the attachment panel so users can see and download them.
2026-05-15 13:13:29 +07:00
Dat Vu d2309cee16 [Part 4] TF-4473 Update ADR-0086 for auto save composer on Android (#4500) 2026-05-13 17:46:56 +07:00
Dat Dang ee55564d6d HOTFIX Android notification (#4518) 2026-05-13 17:44:44 +07:00
Dat Vu c09f266a24 Hotfix: Prevent sentry_flutter from loading Sentry bundle from CDN (#4509)
* fix(web): patch HTMLScriptElement.prototype.src to block Sentry CDN
2026-05-13 14:55:04 +07:00
Dat Vu 52dddfb027 Hotfix: Double-slash path normalization for JMAP session endpoints (#4511)
* Fix double-slash path normalization for JMAP session endpoints

Some server instances return session URLs with double slashes in the
path (e.g. http://host//upload/{accountId}), causing 404 errors.
Normalize path slashes for upload, download, WebSocket ticket, and
download-all capability endpoints.

* Add ADR-0087 for double-slash path normalization on JMAP session endpoints
2026-05-13 11:57:37 +07:00
Dat Vu 53d0c25ce4 docs(adr): add ADR-0086 for Android composer draft loss on background (#4477) 2026-04-29 18:52:37 +07:00