3fda5649c3
Build Docker images with Sentry / Build release image with Sentry (push) Failing after 1m59s
Release / Release (android, ubuntu-latest) (push) Failing after 38m31s
Release / Release (ios, macos-14) (push) Has been cancelled
Integration tests / Run integration tests for mobile apps (push) Failing after 15s
Build dev binaries / Build app (ios, macos-14) (push) Waiting to run
Build dev binaries / Build app (android, ubuntu-latest) (push) Failing after 34m13s
Tier 1+2 - web/UI user-facing:
- Replace all visible "Twake Mail" / "Linagora" with "Workavia Mail"
- Swap 3 logo SVGs (icon kept, wordmark replaced via SVG <text>)
- Splash: replace icon_twp.png with HTML <div>Workavia</div>
- Remove power_by_linagora.svg, replace with AGPL SourceLinkWidget
- Patch web/index.html, manifest.json, login/logout-callback HTMLs
- Patch all 16 ARB locales + scribe ARB + app_localizations.dart
- Patch 4 web/i18n/*.json (FR/EN/DE/VI smart banner titles)
- App grid reduced to "Mail" + "Calendar"
- User-Agent: Twake-Mail -> Workavia-Mail
Tier 3+4 - mobile native:
- Bundle ID: com.linagora.{android,ios}.teammail -> com.workavia.mail
- URL schemes consolidated: teammail.mobile/twakemail.mobile -> workaviamail.mobile
- Android: applicationId, namespace, AndroidManifest, strings.xml
- Android: move Kotlin sources com.linagora.android.tmail -> com.workavia.mail
- Android: empty branding.xml + android12branding.xml (vector text not patchable)
- iOS: Info.plist (CFBundleDisplayName/Name, schemes), Runner.entitlements
- iOS: TwakeMailNSE + TeamMailShareExtension entitlements + Info.plist
- iOS: Runner.xcodeproj (12x PRODUCT_BUNDLE_IDENTIFIER, 9x APP_GROUP_ID)
- iOS: TokenRefreshManager.swift redirect URLs
- iOS: fastlane Appfile + Matchfile
- Dart: oidc_constant, app_config keychain, notification MethodChannel
Known follow-ups (require user action):
- Apple Team ID KUT463DS29 (still Linagora) -> needs Workavia team for App Store
- Android branding.xml emptied: need PNG/path-converted wordmark for splash
- iOS sub-bundle paths (TwakeMailNSE/, TeamMailShareExtension/) on disk unchanged
- iOS App Store URL emptied; Play Store ID points to com.workavia.mail
125 lines
6.2 KiB
HTML
125 lines
6.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!--
|
|
If you are serving your web app in a path other than the root, change the
|
|
href value below to reflect the base path you are serving from.
|
|
|
|
The path provided below has to start and end with a slash "/" in order for
|
|
it to work correctly.
|
|
|
|
For more details:
|
|
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
|
|
This is a placeholder for base href that will be replaced by the value of
|
|
the `--base-href` argument provided to `flutter build`.
|
|
-->
|
|
<base href="$FLUTTER_BASE_HREF">
|
|
|
|
<meta charset="UTF-8">
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
<meta name="description" content="Workavia Mail">
|
|
|
|
<!-- iOS meta tags & icons -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="Workavia Mail">
|
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" type="image/svg" href="favicon.svg"/>
|
|
|
|
<title>Workavia Mail</title>
|
|
<link rel="manifest" href="manifest.json">
|
|
<link rel="stylesheet" type="text/css" href="splash/style.css">
|
|
<link rel="stylesheet" type="text/css" href="worker_service/style.css">
|
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
|
|
|
<script type="application/javascript" src="assets/packages/flutter_inappwebview_web/assets/web/web_support.js" defer></script>
|
|
<script type="application/javascript" src="assets/packages/flutter_charset_detector_web/assets/web/jschardet.min.js" defer></script>
|
|
<script src="worker_service/worker_service.js"></script>
|
|
<script src="i18n/translater.js"></script>
|
|
<script src="https://unpkg.com/@dotlottie/player-component@2.7.12/dist/dotlottie-player.mjs" type="module"></script>
|
|
<!-- Load Sentry SDK first (self-hosted bundle), then interceptor to block any subsequent CDN injection.
|
|
Order matters: the interceptor must activate after the SDK is ready so it can patch document.createElement. -->
|
|
<script src="js/sentry-tracing.min.js?v=1.0.0" integrity="sha384-SFODEb3T2QkMjTr3S1it5zIK0cIW7jsComFUkmJ9nU9uaWs3AzA6cubt8xn0zW7A" crossorigin="anonymous"></script>
|
|
<script src="js/sentry-interceptor.js?v=1.0.0" integrity="sha384-uThyomTT1K0+gzqsKuq4UoZXu3SABtbtP7Y3NXFyvabuIQPGYszSO41UBrcs5czI" crossorigin="anonymous"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<dotlottie-player class="center" src="/splash/lottie-tmail.json" background="transparent" speed="1" style="width: 176px; height: 176px" direction="1" playmode="forward" autoplay=""></dotlottie-player>
|
|
<div class="bottom-image" style="font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -0.5px; color: #000; text-align: center; width: auto;">Workavia</div>
|
|
|
|
<div class="smart-banner">
|
|
<button class="button close" onClick="closeSmartBanner()">
|
|
<picture class="close-icon">
|
|
<source srcset="worker_service/img/ic-close-1x.png 1x, worker_service/img/ic-close-2x.png 2x, worker_service/img/ic-close-3x.png 3x, worker_service/img/ic-close-4x.png 4x" media="(prefers-color-scheme: light)">
|
|
<source srcset="worker_service/img/ic-close-1x.png 1x, worker_service/img/ic-close-2x.png 2x, worker_service/img/ic-close-3x.png 3x, worker_service/img/ic-close-4x.png 4x" media="(prefers-color-scheme: dark)">
|
|
<img aria-hidden="true" src="worker_service/img/ic-close-1x.png" alt="">
|
|
</picture>
|
|
</button>
|
|
<div class="banner-content">
|
|
<picture class="workavia-mail-icon">
|
|
<source srcset="worker_service/img/tmail-1x.png 1x, worker_service/img/tmail-2x.png 2x, worker_service/img/tmail-3x.png 3x, worker_service/img/tmail-4x.png 4x" media="(prefers-color-scheme: light)">
|
|
<source srcset="worker_service/img/tmail-1x.png 1x, worker_service/img/tmail-2x.png 2x, worker_service/img/tmail-3x.png 3x, worker_service/img/tmail-4x.png 4x" media="(prefers-color-scheme: dark)">
|
|
<img aria-hidden="true" src="worker_service/img/tmail-1x.png" alt="">
|
|
</picture>
|
|
<span>
|
|
<div class="banner-title" id="banner-title-id"></div>
|
|
<div class="banner-description" id="banner-description-id"></div>
|
|
</span>
|
|
<span style="flex: 1"></span>
|
|
<span class="open-button" id="open-button-id" onClick="openWorkaviaMailApp()"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- This script installs service_worker.js to provide PWA functionality to
|
|
application. For more information, see:
|
|
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
|
<script>
|
|
{{flutter_js}}
|
|
{{flutter_build_config}}
|
|
|
|
loadLanguageResources().finally(initialTmailApp);
|
|
|
|
if ('serviceWorker' in navigator) {
|
|
navigator
|
|
.serviceWorker
|
|
.getRegistrations()
|
|
.then(async function(registrations) {
|
|
try {
|
|
await Promise.all(registrations.map(function(registration) {
|
|
return registration.unregister();
|
|
}));
|
|
} catch (error) {
|
|
console.log('[Workavia Mail] Error unregistering service worker: ', error);
|
|
}
|
|
_flutter.loader.load({
|
|
onEntrypointLoaded: async function(engineInitializer) {
|
|
const appRunner = await engineInitializer.initializeEngine({
|
|
fontFallbackBaseUrl: ''
|
|
});
|
|
await setTimeout( async function () {
|
|
await appRunner.runApp();
|
|
}, 2000);
|
|
}
|
|
});
|
|
});
|
|
} else {
|
|
_flutter.loader.load({
|
|
onEntrypointLoaded: async function(engineInitializer) {
|
|
const appRunner = await engineInitializer.initializeEngine({
|
|
fontFallbackBaseUrl: ''
|
|
});
|
|
await setTimeout( async function () {
|
|
await appRunner.runApp();
|
|
}, 2000);
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
<script src="https://unpkg.com/pica/dist/pica.min.js" ></script>
|
|
</body>
|
|
</html>
|