Commit Graph
56 Commits
Author SHA1 Message Date
Dat VuandDat H. Pham d043c98431 Move inline web scripts to files and enforce the nginx page policy (#5115)
* Move inline web scripts to files and enforce the nginx page policy

* Render CSP_* through the nginx image entrypoint and allow blob: in connect-src

* Allow CSP_IMG_SRC and document nginx add_header inheritance and connect-src ports

* Keep a read-only logo mount from stopping nginx and add optional CSP_REPORT_URI

* fix: start nginx when the root or a logo mount is read-only

* docs: document the web CSP variables and upgrade steps

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-08 10:54:57 +07:00
dab246 5399267098 TF-4809 Part 3: Restore web Sentry after consent is re-enabled 2026-10-05 12:22:17 +07:00
Dat Dang 5f6b55867f 2509 Pin pica/dotlottie at build time, serve CanvasKit locally, add nginx baseline hardening (#4912) 2026-10-02 06:58:42 +07:00
Đặng Đạt 6987d5c7b5 2509 Return to the app base, not the host root, after logout 2026-09-30 13:57:07 +07:00
Dang Dat 7a6444f4f3 2509 Drop redirect_uri handling from the logout callback
The page always redirects to / after logout, so a caller-supplied
redirect_uri was never actually used by the app itself, and there was no
check on the value before handing it to window.location.replace.

Also clear the OIDC transient keys from sessionStorage, where they
actually live (only localStorage was cleared before).
2026-09-30 13:57:07 +07:00
Huy Quang Nguyen b4b73554ed TF-4744: Inherit typography from design system TwakeInter (#4749) 2026-08-14 14:33:17 +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 16376fccb4 TF-4343 Fix load Sentry from Sentry CDN (#4348) 2026-04-14 11:59:27 +07:00
dab246 c479d47da8 TF-4122 fix(web): replace deprecated apple-mobile-web-app-capable with mobile-web-app-capable 2025-11-03 13:38:22 +07:00
dab246 f3c4d9be29 TF-4122 Display CTA to download mobile application in main screen 2025-11-03 13:38:22 +07:00
dab246 801b08bc90 TF-3933 Avoid load font from google
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-11 10:05:35 +07:00
dab246 7038f623fb TF-3919 Change logo for application banner on mobile browser
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-31 16:39:37 +07:00
dab246 0873a2b54e Handle Auth redirect in MailboxDashboardController
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-17 10:57:43 +07:00
dab246 de596a76d6 Restore fontFallbackBaseUrl google by default set by Flutter
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-15 12:40:02 +07:00
dab246 626ef65cfa Custom font fallback base url avoid load font from fonts.gstatic.com
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-02 17:42:11 +07:00
DatDang b22d43b5b8 HOTFIX Open new window breaks lottie web 2025-06-20 17:06:06 +07:00
DatDang 6d7376aa4b TF-3772 Animated splash Web 2025-06-18 17:19:47 +07:00
DatDang 5cecdd2e6a TF-3450 Replace current pdf and html previewer 2025-03-18 21:51:57 -07:00
dab246 a258dec4ee TF-3410 Use TextTheme apply almost text style for text widget
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
dab246 352681b60e TF-3410 Update icon color & icon size of composer view
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
Dat Dang 6a6f42d179 Delegate cache control from Flutter to browser (#3289)
(cherry picked from commit 9c3954a738)
2025-02-05 03:00:08 -08:00
DatDang fe5cdc770c TF-3256 Update index.html cache config 2024-11-20 09:30:47 +07:00
DatDang b76e8bb725 TF-3157 Remove unnecessary background service worker 2024-11-06 21:32:34 +07:00
DatDang 7d59982cc9 TF-3157 Update web socket with background service worker
TF-3157 Stub BroadcastChannel for mobile build
2024-11-06 21:32:34 +07:00
chrismaster 79bd042aa5 Create de.json
Add german to web app startup
2024-10-25 21:20:32 +07:00
dab246 2739a284d8 TF-2602 Set charset for attachment with mimeType=text/plain when sent email on web 2024-09-17 15:50:49 +07:00
dab246 e782b72a00 TF-2857 Change splash screen for web 2024-08-08 09:46:09 +02:00
dab246 c1f90ff767 TF-2857 Change Icon for Web app 2024-08-08 09:46:09 +02:00
dab246 e3822734a6 TF-2475 Update source script for flutter_inappwebview_web in index.html 2024-07-02 13:06:10 +02:00
dab246 7524a97bc8 TF-2764 Add PDFViewer to preview PDF attachment 2024-05-30 17:26:32 +07:00
dab246 971b228107 TF-2460 Fix real time updates for web are broken 2024-03-26 18:58:03 +07:00
hieubt 086959e7ff Catch when getUserLanguage got exception 2024-02-21 09:17:43 +07:00
hieubt 9d6a567407 Await loadLanguageResources and add default banner text 2024-02-21 09:17:43 +07:00
hieubt 600e3c24b1 Hotfix: fix get user language wrong 2024-02-19 15:54:58 +07:00
HuyNguyen 34d7845358 TF-2565: Apply new design for smart banner 2024-02-19 15:54:58 +07:00
HuyNguyen e7eca92ada TF-2565: Support multiple language 2024-02-19 15:54:57 +07:00
HuyNguyen f0ac4ef80a TF-2565: Update iOS store link 2024-02-19 15:54:54 +07:00
HuyNguyen 8a2ccf0822 TF-2565: Create bottom sheet and handle choose options when open app on mobile browser 2024-02-19 15:54:54 +07:00
HuyNguyen b444a345c8 TF-2565: Create style for bottom sheet when open app on mobile browser 2024-02-19 15:54:54 +07:00
Dat PHAM HOANG cdc4d74e67 Change Splash screen for web
(cherry picked from commit 54e67bc67c)
2024-01-08 14:25:26 +01:00
Dat PHAM HOANG 90ee31c1dd Change Web icon
(cherry picked from commit 3c2eed43b2)
2024-01-08 14:25:26 +01:00
hieubt 6b0a24c8af TF-2346 Update image compression library
(cherry picked from commit 3a4917f86e)
2024-01-08 14:25:26 +01:00
dab246 fa589fc81c TF-2135 Add splash screen for web
(cherry picked from commit da3c6133d7)
2023-09-14 16:58:31 +07:00
dab246 e0244f38c2 TF-1802 Fix fcm broken on web
(cherry picked from commit a5c88da704)
2023-06-05 11:02:20 +07:00
Nguyen Thai 50fad3a228 Added workflow to create a deployment on PR
(cherry picked from commit e1535c06c4)
2023-04-24 17:03:39 +07:00
dab246 bbcaaa549d TF-1487 Upgrade latest dependencies version
(cherry picked from commit 2ba54a168494f772174b196e3a7b5e4173abcdd9)
2023-03-10 21:10:36 +07:00
dab246 42a1cfab0b TF-1508 Remove setBackgroundMessageHandler not used 2023-03-10 21:10:36 +07:00
dab246 1bee62b474 TF-1278 Hide notification on background web browser when support fcm 2023-02-10 10:19:02 +07:00
ManhNTX 045c7383e6 TF-1246: Enable FCM for Web browser 2022-12-02 16:13:47 +07:00
Dat PHAM HOANG de85ffce69 TF-1169 Update icon/splash screen for Web 2022-11-20 01:56:22 +07:00