deploy: d24c967e09f990bd1a7d6f81ef1ceb61221ae632

This commit is contained in:
tddang-linagora committed 2025-09-25 10:18:07 +00:00
1 parent 4f839d9918
commit 32ed7475ff
3 files changed
+85 -75

No files matched your search

+1 -1
View File
@@ -11,6 +11,6 @@ _flutter.buildConfig = {"engineRevision":"82bd5b7209295a5b7ff8cae0df96e7870171e3
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: "2690891553"
serviceWorkerVersion: "393044960"
}
});
+2 -2
View File
@@ -371,10 +371,10 @@ const RESOURCES = {"main.dart.js_3.part.js": "1eee1ac21814e3b81f8c86c1b3368266",
"i18n/fr.json": "7617ec5651456d93357805d0b56aa429",
"i18n/de.json": "51dbc51266ea792eac5f1c8abd8d7b9e",
"i18n/vi.json": "05652be4397bcaa1ccbf0d0fd5fa9caf",
"flutter_bootstrap.js": "5dc156c5508391f5ad324c70715386ca",
"flutter_bootstrap.js": "db6dd8b6b2c15a4074bd4fa15875994a",
"main.dart.js_9.part.js": "a55ce3871c2ee55ed05bf04047c468f9",
"version.json": "7fc2d41c97f25f7c2550047cdcb014c9",
"main.dart.js": "3c290d022815d0b0640cf43d80608887",
"main.dart.js": "8cc621c2fc828c75fd9a1f0903fef06c",
"main.dart.js_6.part.js": "1fdd82f04dc0e916195a1708e5e3de23"};
// The application shell files that are downloaded before a service worker can
// start.
+82 -72
View File
@@ -77346,11 +77346,6 @@
SettingsCapability___deserialize_tearOff(json) {
return A._$SettingsCapabilityFromJson(json);
},
SettingsCapabilityExtension_get_isLanguageReadOnly(_this) {
var t1 = _this.readOnlyProperties;
t1 = t1 == null ? null : B.JSArray_methods.contains$1(t1, "language");
return t1 === true;
},
_$SettingsCapabilityFromJson(json) {
var t1 = type$.nullable_List_dynamic._as(J.$index$asx(json, "readOnlyProperties"));
if (t1 == null)
@@ -97596,10 +97591,12 @@
this.$this = t0;
this.accountId = t1;
},
RemoteServerSettingsDataSourceImpl_updateServerSettings_closure: function RemoteServerSettingsDataSourceImpl_updateServerSettings_closure(t0, t1, t2) {
this.$this = t0;
this.accountId = t1;
this.serverSettings = t2;
RemoteServerSettingsDataSourceImpl_updateServerSettings_closure: function RemoteServerSettingsDataSourceImpl_updateServerSettings_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.session = t1;
_.accountId = t2;
_.serverSettings = t3;
},
ServerSettingsAPI: function ServerSettingsAPI(t0) {
this.httpClient = t0;
@@ -110431,8 +110428,14 @@
return A.SessionExtension_getCapabilityProperties(_this, accountId, $.$get$SessionExtensions_linagoraDownloadAllCapability(), type$.DownloadAllCapability);
},
SessionExtensions_isLanguageReadOnly(_this, accountId) {
var t1 = A.SessionExtension_getCapabilityProperties(_this, accountId, $.$get$capabilityServerSettings(), type$.SettingsCapability);
t1 = t1 == null ? null : A.SettingsCapabilityExtension_get_isLanguageReadOnly(t1);
var t1,
settingsCapability = A.SessionExtension_getCapabilityProperties(_this, accountId, $.$get$capabilityServerSettings(), type$.SettingsCapability);
if (settingsCapability == null)
t1 = null;
else {
t1 = settingsCapability.readOnlyProperties;
t1 = t1 == null ? null : B.JSArray_methods.contains$1(t1, "language");
}
return t1 === true;
},
SessionExtensions_getSaaSAccountCapability(_this, accountId) {
@@ -331405,24 +331408,19 @@
toJson$0() {
return A._$TMailServerSettingOptionsToJson(this);
},
copyWith$4$alwaysReadReceipts$displaySenderPriority$language$settingsCapability(alwaysReadReceipts, displaySenderPriority, language, settingsCapability) {
var t3,
t1 = alwaysReadReceipts == null ? this.alwaysReadReceipts : alwaysReadReceipts,
copyWith$3$alwaysReadReceipts$displaySenderPriority$language(alwaysReadReceipts, displaySenderPriority, language) {
var t1 = alwaysReadReceipts == null ? this.alwaysReadReceipts : alwaysReadReceipts,
t2 = displaySenderPriority == null ? this.displaySenderPriority : displaySenderPriority;
if ((settingsCapability == null ? null : A.SettingsCapabilityExtension_get_isLanguageReadOnly(settingsCapability)) === true)
t3 = null;
else
t3 = language == null ? this.language : language;
return new A.TMailServerSettingOptions(t1, t2, t3);
return new A.TMailServerSettingOptions(t1, t2, language == null ? this.language : language);
},
copyWith$2$alwaysReadReceipts$settingsCapability(alwaysReadReceipts, settingsCapability) {
return this.copyWith$4$alwaysReadReceipts$displaySenderPriority$language$settingsCapability(alwaysReadReceipts, null, null, settingsCapability);
copyWith$1$alwaysReadReceipts(alwaysReadReceipts) {
return this.copyWith$3$alwaysReadReceipts$displaySenderPriority$language(alwaysReadReceipts, null, null);
},
copyWith$2$displaySenderPriority$settingsCapability(displaySenderPriority, settingsCapability) {
return this.copyWith$4$alwaysReadReceipts$displaySenderPriority$language$settingsCapability(null, displaySenderPriority, null, settingsCapability);
copyWith$1$displaySenderPriority(displaySenderPriority) {
return this.copyWith$3$alwaysReadReceipts$displaySenderPriority$language(null, displaySenderPriority, null);
},
copyWith$2$language$settingsCapability(language, settingsCapability) {
return this.copyWith$4$alwaysReadReceipts$displaySenderPriority$language$settingsCapability(null, null, language, settingsCapability);
copyWith$1$language(language) {
return this.copyWith$3$alwaysReadReceipts$displaySenderPriority$language(null, null, language);
},
get$props() {
return [this.alwaysReadReceipts, this.displaySenderPriority, this.language];
@@ -407829,11 +407827,11 @@
}
};
A.SaveLanguageToServerSettingsInteractor.prototype = {
execute$3$settingsCapability(accountId, locale, settingsCapability) {
return this.execute$body$SaveLanguageToServerSettingsInteractor(accountId, locale, settingsCapability);
execute$3(session, accountId, locale) {
return this.execute$body$SaveLanguageToServerSettingsInteractor(session, accountId, locale);
},
execute$body$SaveLanguageToServerSettingsInteractor(accountId, locale, settingsCapability) {
var $async$execute$3$settingsCapability = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
execute$body$SaveLanguageToServerSettingsInteractor(session, accountId, locale) {
var $async$execute$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
switch ($async$errorCode) {
case 2:
$async$next = $async$nextWhenCanceled;
@@ -407851,26 +407849,26 @@
t1 = type$.Right_Failure_Success;
$async$goto = 7;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.SavingLanguageToServerSettings(), t1)), $async$execute$3$settingsCapability, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.SavingLanguageToServerSettings(), t1)), $async$execute$3, $async$controller);
case 7:
// after yield
t2 = $async$self._save_language_to_server_settings_interactor$_serverSettingsRepository._serverSettingsDataSource;
$async$goto = 8;
return A._asyncStarHelper(t2.getServerSettings$1(accountId), $async$execute$3$settingsCapability, $async$controller);
return A._asyncStarHelper(t2.getServerSettings$1(accountId), $async$execute$3, $async$controller);
case 8:
// returning from await.
currentSettings = $async$result;
t3 = currentSettings.id;
t4 = currentSettings.settings;
t4 = t4 == null ? null : t4.copyWith$2$language$settingsCapability(locale.get$languageCode(0), settingsCapability);
t4 = t4 == null ? null : t4.copyWith$1$language(locale.get$languageCode(0));
newSettings = new A.TMailServerSettings(t3, t4 == null ? new A.TMailServerSettingOptions(null, null, locale.get$languageCode(0)) : t4);
$async$goto = 9;
return A._asyncStarHelper(t2.updateServerSettings$2(accountId, new A.TMailServerSettings(null, newSettings.settings)), $async$execute$3$settingsCapability, $async$controller);
return A._asyncStarHelper(t2.updateServerSettings$3(session, accountId, new A.TMailServerSettings(null, newSettings.settings)), $async$execute$3, $async$controller);
case 9:
// returning from await.
$async$goto = 10;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.SaveLanguageToServerSettingsSuccess(locale), t1)), $async$execute$3$settingsCapability, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.SaveLanguageToServerSettingsSuccess(locale), t1)), $async$execute$3, $async$controller);
case 10:
// after yield
$async$handler = 2;
@@ -407885,7 +407883,7 @@
A.log("SaveLanguageToServerSettingsInteractor::execute(): " + A.S(e), B.Level_1);
$async$goto = 11;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.SaveLanguageToServerSettingsFailure(e, null), type$.Left_Failure_Success)), $async$execute$3$settingsCapability, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.SaveLanguageToServerSettingsFailure(e, null), type$.Left_Failure_Success)), $async$execute$3, $async$controller);
case 11:
// after yield
// goto after finally
@@ -407907,7 +407905,7 @@
}
});
var $async$goto = 0,
$async$controller = A._makeAsyncStarStreamController($async$execute$3$settingsCapability, type$.Either_Failure_Success),
$async$controller = A._makeAsyncStarStreamController($async$execute$3, type$.Either_Failure_Success),
$async$nextWhenCanceled, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, currentSettings, newSettings, e, t1, t2, t3, t4, exception, $async$exception;
return A._streamOfController($async$controller);
}
@@ -410593,7 +410591,7 @@
accountId = t1.accountId.get$value(0);
if (accountId == null || session == null || !A.CapabilityIdentifierExtension_isSupported($.$get$capabilityServerSettings(), session, accountId) || A.SessionExtensions_isLanguageReadOnly(session, accountId))
return;
_this.consumeState$1(_this.saveLanguageToServerSettingsInteractor.execute$3$settingsCapability(accountId, localeCurrent, A.SessionExtension_getCapabilityProperties(session, accountId, $.$get$capabilityServerSettings(), type$.SettingsCapability)));
_this.consumeState$1(_this.saveLanguageToServerSettingsInteractor.execute$3(session, accountId, localeCurrent));
},
openLanguageContextMenu$1(context) {
var _this = this,
@@ -412686,30 +412684,25 @@
this.consumeState$1(this._updateLocalSettingsInteractor.execute$1(config));
},
_updateServerPreferencesSetting$2(optionType, isEnabled) {
var settingsCapability, t2, newSettingOption, _this = this, _null = null,
t1 = _this._manageAccountDashBoardController,
session = t1.OwnEmailAddressMixin_sessionCurrent,
accountId = t1.accountId.get$value(0);
t1 = accountId == null;
if (t1)
settingsCapability = _null;
else
settingsCapability = session == null ? _null : A.SessionExtension_getCapabilityProperties(session, accountId, $.$get$capabilityServerSettings(), type$.SettingsCapability);
var t1, newSettingOption, session, accountId, _this = this, _null = null;
switch (optionType.index) {
case 0:
t2 = _this.settingOption.get$value(0);
newSettingOption = t2 == null ? _null : t2.copyWith$2$alwaysReadReceipts$settingsCapability(!isEnabled, settingsCapability);
t1 = _this.settingOption.get$value(0);
newSettingOption = t1 == null ? _null : t1.copyWith$1$alwaysReadReceipts(!isEnabled);
break;
case 1:
t2 = _this.settingOption.get$value(0);
newSettingOption = t2 == null ? _null : t2.copyWith$2$displaySenderPriority$settingsCapability(!isEnabled, settingsCapability);
t1 = _this.settingOption.get$value(0);
newSettingOption = t1 == null ? _null : t1.copyWith$1$displaySenderPriority(!isEnabled);
break;
default:
newSettingOption = _null;
break;
}
if (!t1 && newSettingOption != null)
_this.consumeState$1(_this._updateServerSettingInteractor.execute$2(accountId, newSettingOption));
t1 = _this._manageAccountDashBoardController;
session = t1.OwnEmailAddressMixin_sessionCurrent;
accountId = t1.accountId.get$value(0);
if (session != null && accountId != null && newSettingOption != null)
_this.consumeState$1(_this._updateServerSettingInteractor.execute$3(session, accountId, newSettingOption));
else
_this.consumeState$1(A.Stream_Stream$value(new A.Left(new A.UpdateServerSettingFailure(new A.NotFoundAccountIdException(), _null), type$.Left_Failure_Success), type$.Either_Failure_Success));
},
@@ -422111,8 +422104,8 @@
getServerSettings$1(accountId) {
return A.Future_Future$sync(new A.RemoteServerSettingsDataSourceImpl_getServerSettings_closure(this, accountId), type$.TMailServerSettings).catchError$1(this._remote_server_settings_data_source_impl$_exceptionThrower.get$throwException());
},
updateServerSettings$2(accountId, serverSettings) {
return A.Future_Future$sync(new A.RemoteServerSettingsDataSourceImpl_updateServerSettings_closure(this, accountId, serverSettings), type$.TMailServerSettings).catchError$1(this._remote_server_settings_data_source_impl$_exceptionThrower.get$throwException());
updateServerSettings$3(session, accountId, serverSettings) {
return A.Future_Future$sync(new A.RemoteServerSettingsDataSourceImpl_updateServerSettings_closure(this, session, accountId, serverSettings), type$.TMailServerSettings).catchError$1(this._remote_server_settings_data_source_impl$_exceptionThrower.get$throwException());
},
$isServerSettingsDataSource: 1
};
@@ -422158,7 +422151,7 @@
case 0:
// Function start
$async$goto = 3;
return A._asyncAwait($async$self.$this._serverSettingsAPI.updateServerSettings$2($async$self.accountId, $async$self.serverSettings), $async$call$0);
return A._asyncAwait($async$self.$this._serverSettingsAPI.updateServerSettings$3($async$self.session, $async$self.accountId, $async$self.serverSettings), $async$call$0);
case 3:
// returning from await.
$async$returnValue = $async$result;
@@ -422214,14 +422207,14 @@
});
return A._asyncStartSync($async$getServerSettings$1, $async$completer);
},
updateServerSettings$2(accountId, serverSettings) {
return this.updateServerSettings$body$ServerSettingsAPI(accountId, serverSettings);
updateServerSettings$3(session, accountId, serverSettings) {
return this.updateServerSettings$body$ServerSettingsAPI(session, accountId, serverSettings);
},
updateServerSettings$body$ServerSettingsAPI(accountId, serverSettings) {
updateServerSettings$body$ServerSettingsAPI(session, accountId, serverSettings) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.TMailServerSettings),
$async$returnValue, $async$self = this, setServerSettigsInvocation, getServerSettingsInvocation, result, updateServerSettingsResult, updatedServerSettings, t2, t3, jmapRequestBuilder, getServerSettingsMethod, updateServerSettingsResult0, exception, updatedServerSettings0, processingInvocation, setServerSettingsMethod, t1;
var $async$updateServerSettings$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
$async$returnValue, $async$self = this, setServerSettigsInvocation, getServerSettingsInvocation, result, updateServerSettingsResult, updatedServerSettings, t1, t2, t3, setServerSettingsMethod, jmapRequestBuilder, getServerSettingsMethod, updateServerSettingsResult0, exception, updatedServerSettings0, processingInvocation;
var $async$updateServerSettings$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
@@ -422229,6 +422222,23 @@
case 0:
// Function start
processingInvocation = A.ProcessingInvocation$();
if (A.SessionExtensions_isLanguageReadOnly(session, accountId)) {
t1 = serverSettings.settings;
t2 = t1 == null;
if (t2)
t3 = null;
else {
t3 = t1.alwaysReadReceipts;
t3 = t3 === true;
}
if (t2)
t1 = null;
else {
t1 = t1.displaySenderPriority;
t1 = t1 !== false;
}
serverSettings = new A.TMailServerSettings(serverSettings.id, new A.TMailServerSettingOptions(t3, t1, null));
}
setServerSettingsMethod = new A.SetServerSettingsMethod(null, null, null, null, null, null, accountId);
t1 = type$.Id;
setServerSettingsMethod.addUpdatesSingleton$1(A.LinkedHashMap_LinkedHashMap$_literal([A.Id$("singleton"), serverSettings], t1, type$.TMailServerSettings));
@@ -422241,7 +422251,7 @@
getServerSettingsInvocation = jmapRequestBuilder.invocation$1(getServerSettingsMethod);
t3.addAll$1(0, A.LinkedHashSet_LinkedHashSet$_literal([$.$get$CapabilityIdentifier_jmapCore(), $.$get$capabilityServerSettings()], t2));
$async$goto = 3;
return A._asyncAwait(jmapRequestBuilder.build$0().execute$0(), $async$updateServerSettings$2);
return A._asyncAwait(jmapRequestBuilder.build$0().execute$0(), $async$updateServerSettings$3);
case 3:
// returning from await.
result = $async$result;
@@ -422276,7 +422286,7 @@
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$updateServerSettings$2, $async$completer);
return A._asyncStartSync($async$updateServerSettings$3, $async$completer);
}
};
A._ServerSettingsAPI_Object_HandleSetErrorMixin.prototype = {};
@@ -422390,11 +422400,11 @@
}
};
A.UpdateServerSettingInteractor.prototype = {
execute$2(accountId, newSettingOption) {
return this.execute$body$UpdateServerSettingInteractor(accountId, newSettingOption);
execute$3(session, accountId, newSettingOption) {
return this.execute$body$UpdateServerSettingInteractor(session, accountId, newSettingOption);
},
execute$body$UpdateServerSettingInteractor(accountId, newSettingOption) {
var $async$execute$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
execute$body$UpdateServerSettingInteractor(session, accountId, newSettingOption) {
var $async$execute$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
switch ($async$errorCode) {
case 2:
$async$next = $async$nextWhenCanceled;
@@ -422411,12 +422421,12 @@
t1 = type$.Right_Failure_Success;
$async$goto = 3;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.UpdatingServerSetting(), t1)), $async$execute$2, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.UpdatingServerSetting(), t1)), $async$execute$3, $async$controller);
case 3:
// after yield
$async$handler = 5;
$async$goto = 8;
return A._asyncStarHelper($async$self._update_server_setting_interactor$_serverSettingsRepository._serverSettingsDataSource.updateServerSettings$2(accountId, new A.TMailServerSettings(null, newSettingOption)), $async$execute$2, $async$controller);
return A._asyncStarHelper($async$self._update_server_setting_interactor$_serverSettingsRepository._serverSettingsDataSource.updateServerSettings$3(session, accountId, new A.TMailServerSettings(null, newSettingOption)), $async$execute$3, $async$controller);
case 8:
// returning from await.
serverSetting = $async$result;
@@ -422427,7 +422437,7 @@
// then
$async$goto = 12;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.UpdateServerSettingFailure(new A.NotFoundServerSettingsException(), null), type$.Left_Failure_Success)), $async$execute$2, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.UpdateServerSettingFailure(new A.NotFoundServerSettingsException(), null), type$.Left_Failure_Success)), $async$execute$3, $async$controller);
case 12:
// after yield
// goto join
@@ -422437,7 +422447,7 @@
// else
$async$goto = 13;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.UpdateServerSettingSuccess(settingOption), t1)), $async$execute$2, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Right(new A.UpdateServerSettingSuccess(settingOption), t1)), $async$execute$3, $async$controller);
case 13:
// after yield
case 10:
@@ -422453,7 +422463,7 @@
e = A.unwrapException($async$exception);
$async$goto = 14;
$async$nextWhenCanceled = [1];
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.UpdateServerSettingFailure(e, null), type$.Left_Failure_Success)), $async$execute$2, $async$controller);
return A._asyncStarHelper(A._IterationMarker_yieldSingle(new A.Left(new A.UpdateServerSettingFailure(e, null), type$.Left_Failure_Success)), $async$execute$3, $async$controller);
case 14:
// after yield
// goto after finally
@@ -422475,7 +422485,7 @@
}
});
var $async$goto = 0,
$async$controller = A._makeAsyncStarStreamController($async$execute$2, type$.Either_Failure_Success),
$async$controller = A._makeAsyncStarStreamController($async$execute$3, type$.Either_Failure_Success),
$async$nextWhenCanceled, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, serverSetting, settingOption, e, exception, t1, $async$exception;
return A._streamOfController($async$controller);
}