AppUtils.launchLink was the one shared entry point for opening links
externally, but it launched any URL/scheme unguarded, including its own
Safari<17 branch which called window.open directly and skipped
url_launcher_web's own scheme block and noopener/noreferrer. Route both
paths through ExternalLinkPolicy (now also allowing mailto, since
launchLink already had legitimate mailto callers) and restore
noopener/noreferrer on the Safari branch.
The calendar invite's video-conference extension fields
(X-OPENPAAS-VIDEOCONFERENCE / X-GOOGLE-CONFERENCE) are attacker-controlled
and only checked for non-empty values before reaching the same launch
path via the "join" button; filter them through the same allow-list at
the source.
UnsignedInt.value is typed num, which broke compilation of quota
extensions. Accept num and normalize to an integer byte count.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Quota sizes in storage settings were formatted with the filesize package,
which always uses English units and a decimal point. Format them with the
current locale's decimal separator and French byte units (o, Ko, Mo, Go...),
and pluralize 'utilisés' in the French translation.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Dashboard onClose closed the singleton EmailReceiveManager's BehaviorSubject.
After a close/reopen cycle (logout/login, route recreation) the next dashboard
subscribed to the dead subject; a later live share then landed on a freshly
recreated subject the listener never subscribed to, so the composer never
opened. Clear pending data by emitting an empty list instead of closing, so
the subject lives for the singleton's lifetime and keeps delivering shares.
Subscribe to the live media stream before resolving getInitialMedia, and
apply the cold-start result only when non-empty. A share can land on the
live EventChannel before getInitialMedia resolves; on a normal (non-share)
launch getInitialMedia returns empty, so applying it unconditionally
overwrote the just-arrived share — silently dropping warm-app shares that
land while startup is still settling.
Also add onError/catchError logging to both media sources and a
deterministic regression test that gates getInitialMedia behind a Completer
to reproduce the race.
release version: keep full version including -rc suffix
Use full pubspec version (e.g. 0.28.3-rc08) as SENTRY_RELEASE for both
Android and iOS, matching the version the app reports at runtime.
Validation still compares base versions only (strips -rc suffix) to
allow rc tags to match the base version in pubspec.
AI_ENABLED allows to test AI features only in some wanted environment.
AI_API_KEY and AI_API_URL allows to call the LLM while we wait for tmail backend endpoints.
It will be removed when tmail backend endpoints are ready.