diff --git a/dev/Models/FolderModel.js b/dev/Models/FolderModel.js index 3350372ee..f6932a237 100644 --- a/dev/Models/FolderModel.js +++ b/dev/Models/FolderModel.js @@ -313,7 +313,7 @@ FolderModel.prototype.initByJson = function (oJsonFolder) this.fullNameHash = oJsonFolder.FullNameHash; this.deep = oJsonFolder.FullNameRaw.split(this.delimiter).length - 1; this.selectable = !!oJsonFolder.IsSelectable; - this.existen = !!oJsonFolder.IsExisten; + this.existen = !!oJsonFolder.IsExists; this.subScribed(!!oJsonFolder.IsSubscribed); this.type('INBOX' === this.fullNameRaw ? Enums.FolderType.Inbox : Enums.FolderType.User); diff --git a/dev/Storages/WebMailAjaxRemote.js b/dev/Storages/WebMailAjaxRemote.js index 5c4ad7205..6eb1446a7 100644 --- a/dev/Storages/WebMailAjaxRemote.js +++ b/dev/Storages/WebMailAjaxRemote.js @@ -304,7 +304,8 @@ WebMailAjaxRemoteStorage.prototype.composeUploadExternals = function (fCallback, /** * @param {?Function} fCallback - * @param {Array} aExternals + * @param {string} sUrl + * @param {string} sAccessToken */ WebMailAjaxRemoteStorage.prototype.composeUploadDrive = function (fCallback, sUrl, sAccessToken) { diff --git a/dev/ViewModels/PopupsComposeViewModel.js b/dev/ViewModels/PopupsComposeViewModel.js index 367655783..bccb715d6 100644 --- a/dev/ViewModels/PopupsComposeViewModel.js +++ b/dev/ViewModels/PopupsComposeViewModel.js @@ -1001,7 +1001,7 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData) oData[window.google.picker.Response.DOCUMENTS] && oData[window.google.picker.Response.DOCUMENTS][0] && oData[window.google.picker.Response.DOCUMENTS][0]['id']) { - var + var self = this, oRequest = new window.XMLHttpRequest() ; @@ -1050,14 +1050,14 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData) break; } } - + if (oItem && oItem['downloadUrl']) { self.addDriveAttachment(oItem, sAccessToken); } } }); - + oRequest.send(); } }; @@ -1396,6 +1396,7 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile) { var self = this, + oAttachment = null, fCancelFunc = function (sId) { return function () { self.attachments.remove(function (oItem) { @@ -1404,7 +1405,6 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile) }; }, iAttachmentSizeLimit = Utils.pInt(RL.settingsGet('AttachmentLimit')), - oAttachment = null, mSize = oDropboxFile['bytes'] ; diff --git a/rainloop/v/0.0.0/app/libraries/MailSo/Base/Http.php b/rainloop/v/0.0.0/app/libraries/MailSo/Base/Http.php index cc108eea0..4c1c78f80 100644 --- a/rainloop/v/0.0.0/app/libraries/MailSo/Base/Http.php +++ b/rainloop/v/0.0.0/app/libraries/MailSo/Base/Http.php @@ -564,7 +564,7 @@ class Http } } - if (0 < \count($aHttpHeaders)) + if (\is_array($aHttpHeaders) && 0 < \count($aHttpHeaders)) { $aOptions[CURLOPT_HTTPHEADER] = $aHttpHeaders; } @@ -572,6 +572,10 @@ class Http if ($oLogger) { $oLogger->Write('cUrl: URL: '.$sUrl); + if (isset($aOptions[CURLOPT_HTTPHEADER]) && \is_array($aOptions[CURLOPT_HTTPHEADER]) && 0 < \count($aOptions[CURLOPT_HTTPHEADER])) + { + $oLogger->Write('cUrl: Headers: '.\print_r($aOptions[CURLOPT_HTTPHEADER], true)); + } } \MailSo\Base\Http::DetectAndHackFollowLocationUrl($sUrl, $aOptions, $oLogger); diff --git a/rainloop/v/0.0.0/app/libraries/MailSo/Mail/Folder.php b/rainloop/v/0.0.0/app/libraries/MailSo/Mail/Folder.php index 070716b34..78617b3fb 100644 --- a/rainloop/v/0.0.0/app/libraries/MailSo/Mail/Folder.php +++ b/rainloop/v/0.0.0/app/libraries/MailSo/Mail/Folder.php @@ -229,7 +229,7 @@ class Folder /** * @return bool */ - public function IsExisten() + public function IsExists() { return $this->bExisten; } @@ -239,7 +239,7 @@ class Folder */ public function IsSelectable() { - return $this->IsExisten() && $this->oImapFolder->IsSelectable(); + return $this->IsExists() && $this->oImapFolder->IsSelectable(); } /** diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php index 4041052cd..3c3ee4dde 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -7513,7 +7513,7 @@ class Actions 'Delimiter' => (string) $mResponse->Delimiter(), 'HasVisibleSubFolders' => $mResponse->HasVisibleSubFolders(), 'IsSubscribed' => $mResponse->IsSubscribed(), - 'IsExisten' => $mResponse->IsExisten(), + 'IsExists' => $mResponse->IsExists(), 'IsSelectable' => $mResponse->IsSelectable(), 'Flags' => $mResponse->FlagsLowerCase(), 'Extended' => $aExtended, diff --git a/rainloop/v/0.0.0/langs/de.ini b/rainloop/v/0.0.0/langs/de.ini index c7ff49007..d5afb6cbc 100644 --- a/rainloop/v/0.0.0/langs/de.ini +++ b/rainloop/v/0.0.0/langs/de.ini @@ -530,9 +530,9 @@ LABEL_CLOSE_COMPOSE = "Popup schließen" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Keine öffentlichen Schlüssel gefunden" -NO_PUBLIC_KEYS_FOUND_FOR = "Keine öffentlichen Schlüssel für E-Mail "%EMAIL%" gefunden" +NO_PUBLIC_KEYS_FOUND_FOR = "Keine öffentlichen Schlüssel für E-Mail \"%EMAIL%\" gefunden" NO_PRIVATE_KEY_FOUND = "Keine privaten Schlüssel gefunden" -NO_PRIVATE_KEY_FOUND_FOR = "Keine privaten Schlüssel für E-Mail "%EMAIL%" gefunden" +NO_PRIVATE_KEY_FOUND_FOR = "Keine privaten Schlüssel für E-Mail \"%EMAIL%\" gefunden" UNVERIFIRED_SIGNATURE = "Unverifizierte Unterschrift" DECRYPTION_ERROR = "OpenPGP Entschlüsselungsfehler" GOOD_SIGNATURE = "Gültige Unterschrift von %USER%" diff --git a/rainloop/v/0.0.0/langs/en.ini b/rainloop/v/0.0.0/langs/en.ini index 1d783309b..2f5f14673 100644 --- a/rainloop/v/0.0.0/langs/en.ini +++ b/rainloop/v/0.0.0/langs/en.ini @@ -538,9 +538,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/fr.ini b/rainloop/v/0.0.0/langs/fr.ini index 006683739..04af28039 100644 --- a/rainloop/v/0.0.0/langs/fr.ini +++ b/rainloop/v/0.0.0/langs/fr.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Fermer la fenêtre d'écriture" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Aucune clef publique n'a pu être trouvée" -NO_PUBLIC_KEYS_FOUND_FOR = "Aucune clef publique n'a pu être trouvée pour "%EMAIL%"" +NO_PUBLIC_KEYS_FOUND_FOR = "Aucune clef publique n'a pu être trouvée pour \"%EMAIL%\"" NO_PRIVATE_KEY_FOUND = "Aucune clef privée n'a pu être trouvée" -NO_PRIVATE_KEY_FOUND_FOR = "Aucune clef privée n'a pu être trouvée pour "%EMAIL%"" +NO_PRIVATE_KEY_FOUND_FOR = "Aucune clef privée n'a pu être trouvée pour \"%EMAIL%\"" UNVERIFIRED_SIGNATURE = "Signature non-vérifiée" DECRYPTION_ERROR = "Erreur lors du déchiffrement OpenPGP" GOOD_SIGNATURE = "Signature valide pour %USER%" diff --git a/rainloop/v/0.0.0/langs/hu.ini b/rainloop/v/0.0.0/langs/hu.ini index 093663682..08f17d895 100644 --- a/rainloop/v/0.0.0/langs/hu.ini +++ b/rainloop/v/0.0.0/langs/hu.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/is.ini b/rainloop/v/0.0.0/langs/is.ini index e39cdf04d..e47b242c6 100644 --- a/rainloop/v/0.0.0/langs/is.ini +++ b/rainloop/v/0.0.0/langs/is.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/it.ini b/rainloop/v/0.0.0/langs/it.ini index 4a9842ea4..a89136ff2 100644 --- a/rainloop/v/0.0.0/langs/it.ini +++ b/rainloop/v/0.0.0/langs/it.ini @@ -530,9 +530,9 @@ LABEL_CLOSE_COMPOSE = "Chiudi finestra di scrittura" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Nessuna chiave pubblica trovata" -NO_PUBLIC_KEYS_FOUND_FOR = "Nessuna chiave pubblica trovata per l'indirizzo email "%EMAIL%"" +NO_PUBLIC_KEYS_FOUND_FOR = "Nessuna chiave pubblica trovata per l'indirizzo email \"%EMAIL%\"" NO_PRIVATE_KEY_FOUND = "Nessuna chiave privata trovata" -NO_PRIVATE_KEY_FOUND_FOR = "Nessuna chiave privata trovata per l'indirizzo email "%EMAIL%"" +NO_PRIVATE_KEY_FOUND_FOR = "Nessuna chiave privata trovata per l'indirizzo email \"%EMAIL%\"" UNVERIFIRED_SIGNATURE = "Firma non verificata" DECRYPTION_ERROR = "Decriptazione con OpenPGP fallita" GOOD_SIGNATURE = "Firma valida da %USER%" diff --git a/rainloop/v/0.0.0/langs/ja-jp.ini b/rainloop/v/0.0.0/langs/ja-jp.ini index 3dc2676e4..27eaefaf3 100644 --- a/rainloop/v/0.0.0/langs/ja-jp.ini +++ b/rainloop/v/0.0.0/langs/ja-jp.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/ko-kr.ini b/rainloop/v/0.0.0/langs/ko-kr.ini index a4307a41e..2889758e8 100644 --- a/rainloop/v/0.0.0/langs/ko-kr.ini +++ b/rainloop/v/0.0.0/langs/ko-kr.ini @@ -526,9 +526,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/lv.ini b/rainloop/v/0.0.0/langs/lv.ini index 8ac456444..ced230467 100644 --- a/rainloop/v/0.0.0/langs/lv.ini +++ b/rainloop/v/0.0.0/langs/lv.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/nl.ini b/rainloop/v/0.0.0/langs/nl.ini index ed5cbe582..365f33a23 100644 --- a/rainloop/v/0.0.0/langs/nl.ini +++ b/rainloop/v/0.0.0/langs/nl.ini @@ -236,7 +236,7 @@ BUTTON_ADD_ACCOUNT = "Toevoegen" [POPUPS_IDENTITIES] TITLE_ADD_IDENTITY = "Identiteit toevoegen?" -TITLE_UPDATE_IDENTITY = ""Identiteit bijwerken?" +TITLE_UPDATE_IDENTITY = "Identiteit bijwerken?" BUTTON_ADD_IDENTITY = "Toevoegen" BUTTON_UPDATE_IDENTITY = "Bijwerken" LABEL_EMAIL = "E-mail adres" @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/no.ini b/rainloop/v/0.0.0/langs/no.ini index f5dc05a9d..b9d3e6fa4 100644 --- a/rainloop/v/0.0.0/langs/no.ini +++ b/rainloop/v/0.0.0/langs/no.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/pl.ini b/rainloop/v/0.0.0/langs/pl.ini index 91eec25ef..2e8d12a1d 100644 --- a/rainloop/v/0.0.0/langs/pl.ini +++ b/rainloop/v/0.0.0/langs/pl.ini @@ -537,9 +537,9 @@ LABEL_CLOSE_COMPOSE = "Zamknij okno tworzenia wiadomości" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Nie znaleziono kluczy publicznych" -NO_PUBLIC_KEYS_FOUND_FOR = "Nie znaleziono kluczy publicznych dla adresu: "%EMAIL%"" +NO_PUBLIC_KEYS_FOUND_FOR = "Nie znaleziono kluczy publicznych dla adresu: \"%EMAIL%\"" NO_PRIVATE_KEY_FOUND = "Nie znaleziono kluczy prywatnych" -NO_PRIVATE_KEY_FOUND_FOR = "Nie znaleziono kluczy prywatnych dla adresu: "%EMAIL%"" +NO_PRIVATE_KEY_FOUND_FOR = "Nie znaleziono kluczy prywatnych dla adresu: \"%EMAIL%\"" UNVERIFIRED_SIGNATURE = "Niezweryfikowana sygnatura" DECRYPTION_ERROR = "Błąd deszyfrowania OpenPGP" GOOD_SIGNATURE = "Wiadomość podpisana przez: %USER%" diff --git a/rainloop/v/0.0.0/langs/pt-br.ini b/rainloop/v/0.0.0/langs/pt-br.ini index b6ef08639..d41c10c63 100644 --- a/rainloop/v/0.0.0/langs/pt-br.ini +++ b/rainloop/v/0.0.0/langs/pt-br.ini @@ -532,9 +532,9 @@ LABEL_CLOSE_COMPOSE = "Fechar composição" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Nenhuma chave pública encontrada" -NO_PUBLIC_KEYS_FOUND_FOR = "Nenhuma chave pública encontrada para o e-mail "%EMAIL%"" +NO_PUBLIC_KEYS_FOUND_FOR = "Nenhuma chave pública encontrada para o e-mail \"%EMAIL%\"" NO_PRIVATE_KEY_FOUND = "Nenhuma chave privada encontrada" -NO_PRIVATE_KEY_FOUND_FOR = "Nenhuma chave privada encontrada para o e-mail "%EMAIL%"" +NO_PRIVATE_KEY_FOUND_FOR = "Nenhuma chave privada encontrada para o e-mail \"%EMAIL%\"" UNVERIFIRED_SIGNATURE = "Assinatura não verificada" DECRYPTION_ERROR = "Erro de decripitação de OpenPGP" GOOD_SIGNATURE = "Boa assinatura de %USER%" diff --git a/rainloop/v/0.0.0/langs/pt-pt.ini b/rainloop/v/0.0.0/langs/pt-pt.ini index 433c0ca87..0586ef7f7 100644 --- a/rainloop/v/0.0.0/langs/pt-pt.ini +++ b/rainloop/v/0.0.0/langs/pt-pt.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/ro.ini b/rainloop/v/0.0.0/langs/ro.ini index b647a7d82..7bab69f7a 100644 --- a/rainloop/v/0.0.0/langs/ro.ini +++ b/rainloop/v/0.0.0/langs/ro.ini @@ -528,9 +528,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/ru.ini b/rainloop/v/0.0.0/langs/ru.ini index 0e5b8a356..6f362ccae 100644 --- a/rainloop/v/0.0.0/langs/ru.ini +++ b/rainloop/v/0.0.0/langs/ru.ini @@ -530,9 +530,9 @@ LABEL_CLOSE_COMPOSE = "Закрыть сообщение" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Публичные ключи не найдены" -NO_PUBLIC_KEYS_FOUND_FOR = "Публичные ключи для "%EMAIL%" не найдены" +NO_PUBLIC_KEYS_FOUND_FOR = "Публичные ключи для \"%EMAIL%\" не найдены" NO_PRIVATE_KEY_FOUND = "Приватный ключ не найден" -NO_PRIVATE_KEY_FOUND_FOR = "Приватный ключ для "%EMAIL%" не найден" +NO_PRIVATE_KEY_FOUND_FOR = "Приватный ключ для \"%EMAIL%\" не найден" UNVERIFIRED_SIGNATURE = "Неподтвержденная сигнатура" DECRYPTION_ERROR = "OpenPGP ошибка расшифровки" GOOD_SIGNATURE = "Подтвержденная сигнатура для %USER%" diff --git a/rainloop/v/0.0.0/langs/sk.ini b/rainloop/v/0.0.0/langs/sk.ini index 60e56bf5a..4d570827d 100644 --- a/rainloop/v/0.0.0/langs/sk.ini +++ b/rainloop/v/0.0.0/langs/sk.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/langs/ua.ini b/rainloop/v/0.0.0/langs/ua.ini index e26f18aa4..890a20cf1 100644 --- a/rainloop/v/0.0.0/langs/ua.ini +++ b/rainloop/v/0.0.0/langs/ua.ini @@ -530,9 +530,9 @@ LABEL_CLOSE_COMPOSE = "Закрити повідомлення" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "Публічні ключі не знайдено" -NO_PUBLIC_KEYS_FOUND_FOR = "Публічні ключі для "%EMAIL%" не знайдено" +NO_PUBLIC_KEYS_FOUND_FOR = "Публічні ключі для \"%EMAIL%\" не знайдено" NO_PRIVATE_KEY_FOUND = "Приватний ключ не знайдено" -NO_PRIVATE_KEY_FOUND_FOR = "Приватний ключ для "%EMAIL%" не знайдено" +NO_PRIVATE_KEY_FOUND_FOR = "Приватний ключ для \"%EMAIL%\" не знайдено" UNVERIFIRED_SIGNATURE = "Непідтверджена сигнатура" DECRYPTION_ERROR = "OpenPGP помилка розшифрування" GOOD_SIGNATURE = "Підтверджена сигнатура для %USER%" diff --git a/rainloop/v/0.0.0/langs/zh-cn.ini b/rainloop/v/0.0.0/langs/zh-cn.ini index d32252f14..653e41e4b 100644 --- a/rainloop/v/0.0.0/langs/zh-cn.ini +++ b/rainloop/v/0.0.0/langs/zh-cn.ini @@ -529,9 +529,9 @@ LABEL_CLOSE_COMPOSE = "Close compose" [PGP_NOTIFICATIONS] NO_PUBLIC_KEYS_FOUND = "No public keys found" -NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for "%EMAIL%" email" +NO_PUBLIC_KEYS_FOUND_FOR = "No public keys found for \"%EMAIL%\" email" NO_PRIVATE_KEY_FOUND = "No private key found" -NO_PRIVATE_KEY_FOUND_FOR = "No private key found for "%EMAIL%" email" +NO_PRIVATE_KEY_FOUND_FOR = "No private key found for \"%EMAIL%\" email" UNVERIFIRED_SIGNATURE = "Unverified signature" DECRYPTION_ERROR = "OpenPGP decryption error" GOOD_SIGNATURE = "Good signature from %USER%" diff --git a/rainloop/v/0.0.0/static/css/app.css b/rainloop/v/0.0.0/static/css/app.css index f3bb15c19..2ce9c581a 100644 --- a/rainloop/v/0.0.0/static/css/app.css +++ b/rainloop/v/0.0.0/static/css/app.css @@ -637,7 +637,7 @@ border-radius: 8px; } - + /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */ /* ============================================================================= @@ -1142,7 +1142,7 @@ table { border-collapse: collapse; border-spacing: 0; } - + @charset "UTF-8"; @font-face { @@ -1513,7 +1513,7 @@ table { .icon-resize-out:before { content: "\e06d"; } - + /** initial setup **/ .nano { /* @@ -1630,7 +1630,7 @@ table { .nano > .pane2:hover > .slider2, .nano > .pane2.active > .slider2 { background-color: rgba(0, 0, 0, 0.4); } - + /* Magnific Popup CSS */ .mfp-bg { top: 0; @@ -1995,7 +1995,7 @@ img.mfp-img { right: 0; padding-top: 0; } - + /* overlay at start */ .mfp-fade.mfp-bg { @@ -2041,7 +2041,7 @@ img.mfp-img { -moz-transform: translateX(50px); transform: translateX(50px); } - + .simple-pace { -webkit-pointer-events: none; pointer-events: none; @@ -2112,7 +2112,7 @@ img.mfp-img { @keyframes simple-pace-stripe-animation { 0% { transform: none; transform: none; } 100% { transform: translate(-32px, 0); transform: translate(-32px, 0); } -} +} .inputosaurus-container { background-color:#fff; border:1px solid #bcbec0; @@ -2180,7 +2180,7 @@ img.mfp-img { box-shadow:none; } .inputosaurus-input-hidden { display:none; } - + .flag-wrapper { width: 24px; height: 16px; @@ -2226,7 +2226,7 @@ img.mfp-img { .flag.flag-pt-br {background-position: -192px -11px} .flag.flag-cn, .flag.flag-zh-tw, .flag.flag-zh-cn, .flag.flag-zh-hk {background-position: -208px -22px} - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ .clearfix { *zoom: 1; diff --git a/rainloop/v/0.0.0/static/js/admin.js b/rainloop/v/0.0.0/static/js/admin.js index 1c0338cde..76edcc40e 100644 --- a/rainloop/v/0.0.0/static/js/admin.js +++ b/rainloop/v/0.0.0/static/js/admin.js @@ -78,7 +78,7 @@ var NotificationClass = window.Notification && window.Notification.requestPermission ? window.Notification : null ; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /*jshint onevar: false*/ @@ -87,7 +87,7 @@ var */ var RL = null; /*jshint onevar: true*/ - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -248,7 +248,7 @@ if (Globals.bAllowPdfPreview && navigator && navigator.mimeTypes) return oType && 'application/pdf' === oType.type; }); } - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ Consts.Defaults = {}; @@ -368,7 +368,7 @@ Consts.DataImages.UserDotPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA * @type {string} */ Consts.DataImages.TranspPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII='; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -799,7 +799,7 @@ Enums.Notification = { 'UnknownNotification': 999, 'UnknownError': 999 }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ Utils.trim = $.trim; @@ -2841,7 +2841,7 @@ Utils.triggerAutocompleteInputChange = function (bDelay) { }; - + /*jslint bitwise: true*/ // Base64 encode / decode // http://www.webtoolkit.info/ @@ -3005,7 +3005,7 @@ Base64 = { } }; -/*jslint bitwise: false*/ +/*jslint bitwise: false*/ /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ ko.bindingHandlers.tooltip = { @@ -3848,7 +3848,7 @@ ko.observable.fn.validateFunc = function (fFunc) return this; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4154,7 +4154,7 @@ LinkBuilder.prototype.socialFacebook = function () { return this.sServer + 'SocialFacebook' + ('' !== this.sSpecSuffix ? '/' + this.sSpecSuffix + '/' : ''); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4250,7 +4250,7 @@ Plugins.settingsGet = function (sPluginSection, sName) }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4326,7 +4326,7 @@ CookieDriver.prototype.get = function (sKey) return mResult; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4399,7 +4399,7 @@ LocalStorageDriver.prototype.get = function (sKey) return mResult; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4444,7 +4444,7 @@ LocalStorage.prototype.get = function (iKey) { return this.oDriver ? this.oDriver.get('p' + iKey) : null; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4459,7 +4459,7 @@ KnoinAbstractBoot.prototype.bootstart = function () { }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4554,7 +4554,7 @@ KnoinAbstractViewModel.prototype.registerPopupKeyDown = function () return true; }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4632,7 +4632,7 @@ KnoinAbstractScreen.prototype.__start = function () this.oCross = oRoute; } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5048,7 +5048,7 @@ Knoin.prototype.bootstart = function () }; kn = new Knoin(); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5414,7 +5414,7 @@ EmailModel.prototype.inputoTagLine = function () { return 0 < this.name.length ? this.name + ' (' + this.email + ')' : this.email; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5460,7 +5460,7 @@ ContactTagModel.prototype.toLine = function (bEncodeHtml) return (Utils.isUnd(bEncodeHtml) ? false : !!bEncodeHtml) ? Utils.encodeHtml(this.name()) : this.name(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5757,7 +5757,7 @@ PopupsDomainViewModel.prototype.clearForm = function () this.smtpAuth(true); this.whiteList(''); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5901,7 +5901,7 @@ PopupsPluginViewModel.prototype.onBuild = function () return false; }, this)); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6019,7 +6019,7 @@ PopupsActivateViewModel.prototype.validateSubscriptionKey = function () { var sValue = this.key(); return '' === sValue || !!/^RL[\d]+-[A-Z0-9\-]+Z$/.test(Utils.trim(sValue)); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6081,7 +6081,7 @@ PopupsLanguagesViewModel.prototype.changeLanguage = function (sLang) RL.data().mainLanguage(sLang); this.cancelCommand(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6194,7 +6194,7 @@ PopupsAskViewModel.prototype.onBuild = function () }, this)); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6295,7 +6295,7 @@ AdminLoginViewModel.prototype.submitForm = function () { this.submitCommand(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6321,7 +6321,7 @@ AdminMenuViewModel.prototype.link = function (sRoute) { return '#/' + sRoute; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6347,7 +6347,7 @@ AdminPaneViewModel.prototype.logoutClick = function () RL.remote().adminLogout(function () { RL.loginAndLogoutReload(); }); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6475,7 +6475,7 @@ AdminGeneral.prototype.phpInfoLink = function () return RL.link().phpInfo(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6529,7 +6529,7 @@ AdminLogin.prototype.onBuild = function () }, 50); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6600,7 +6600,7 @@ AdminBranding.prototype.onBuild = function () }, 50); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6822,7 +6822,7 @@ AdminContacts.prototype.onBuild = function () }, 50); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6913,7 +6913,7 @@ AdminDomains.prototype.onDomainListChangeRequest = function () { RL.reloadDomainList(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7028,7 +7028,7 @@ AdminSecurity.prototype.phpInfoLink = function () { return RL.link().phpInfo(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7165,7 +7165,7 @@ AdminSocial.prototype.onBuild = function () }, 50); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7264,7 +7264,7 @@ AdminPlugins.prototype.onPluginDisableRequest = function (sResult, oData) RL.reloadPluginList(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7364,7 +7364,7 @@ AdminPackages.prototype.installPackage = function (oPackage) RL.remote().packageInstall(this.requestHelper(oPackage, true), oPackage); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7421,7 +7421,7 @@ AdminLicensing.prototype.licenseExpiredMomentValue = function () ; return iTime && 1898625600 === iTime ? 'Never' : (oDate.format('LL') + ' (' + oDate.from(moment()) + ')'); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7498,7 +7498,7 @@ AdminAbout.prototype.updateCoreData = function () RL.updateCoreData(); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7633,7 +7633,7 @@ AbstractData.prototype.populateDataOnStart = function() this.contactsIsAllowed(!!RL.settingsGet('ContactsIsAllowed')); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7686,7 +7686,7 @@ _.extend(AdminDataStorage.prototype, AbstractData.prototype); AdminDataStorage.prototype.populateDataOnStart = function() { AbstractData.prototype.populateDataOnStart.call(this); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -7970,7 +7970,7 @@ AbstractAjaxRemoteStorage.prototype.jsVersion = function (fCallback, sVersion) 'Version': sVersion }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8233,7 +8233,7 @@ AdminAjaxRemoteStorage.prototype.adminPing = function (fCallback) { this.defaultRequest(fCallback, 'AdminPing'); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8294,7 +8294,7 @@ AbstractCacheStorage.prototype.setServicesData = function (oData) { this.oServices = oData; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8307,7 +8307,7 @@ function AdminCacheStorage() } _.extend(AdminCacheStorage.prototype, AbstractCacheStorage.prototype); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8489,7 +8489,7 @@ AbstractSettings.prototype.routes = function () ['', oRules] ]; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8506,7 +8506,7 @@ _.extend(AdminLoginScreen.prototype, KnoinAbstractScreen.prototype); AdminLoginScreen.prototype.onShow = function () { RL.setTitle(''); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8526,7 +8526,7 @@ _.extend(AdminSettingsScreen.prototype, AbstractSettings.prototype); AdminSettingsScreen.prototype.onShow = function () { RL.setTitle(''); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8886,7 +8886,7 @@ AbstractApp.prototype.bootstart = function () ssm.ready(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -9189,7 +9189,7 @@ AdminApp.prototype.bootstart = function () * @type {AdminApp} */ RL = new AdminApp(); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ $html.addClass(Globals.bMobileDevice ? 'mobile' : 'no-mobile'); @@ -9242,7 +9242,7 @@ window['__RLBOOT'] = function (fCall) { window['__RLBOOT'] = null; }); }; - + if (window.SimplePace) { window.SimplePace.add(10); } diff --git a/rainloop/v/0.0.0/static/js/app.js b/rainloop/v/0.0.0/static/js/app.js index 497034d6d..44d9dbdbc 100644 --- a/rainloop/v/0.0.0/static/js/app.js +++ b/rainloop/v/0.0.0/static/js/app.js @@ -78,7 +78,7 @@ var NotificationClass = window.Notification && window.Notification.requestPermission ? window.Notification : null ; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /*jshint onevar: false*/ @@ -90,7 +90,7 @@ var $proxyDiv = $('
') ; -/*jshint onevar: true*/ +/*jshint onevar: true*/ /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -251,7 +251,7 @@ if (Globals.bAllowPdfPreview && navigator && navigator.mimeTypes) return oType && 'application/pdf' === oType.type; }); } - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ Consts.Defaults = {}; @@ -371,7 +371,7 @@ Consts.DataImages.UserDotPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA * @type {string} */ Consts.DataImages.TranspPic = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII='; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -802,7 +802,7 @@ Enums.Notification = { 'UnknownNotification': 999, 'UnknownError': 999 }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ Utils.trim = $.trim; @@ -2844,7 +2844,7 @@ Utils.triggerAutocompleteInputChange = function (bDelay) { }; - + /*jslint bitwise: true*/ // Base64 encode / decode // http://www.webtoolkit.info/ @@ -3008,7 +3008,7 @@ Base64 = { } }; -/*jslint bitwise: false*/ +/*jslint bitwise: false*/ /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ ko.bindingHandlers.tooltip = { @@ -3851,7 +3851,7 @@ ko.observable.fn.validateFunc = function (fFunc) return this; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4157,7 +4157,7 @@ LinkBuilder.prototype.socialFacebook = function () { return this.sServer + 'SocialFacebook' + ('' !== this.sSpecSuffix ? '/' + this.sSpecSuffix + '/' : ''); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -4253,7 +4253,7 @@ Plugins.settingsGet = function (sPluginSection, sName) }; - + /** * @constructor @@ -4492,7 +4492,7 @@ NewHtmlEditorWrapper.prototype.clear = function (bFocus) this.setHtml('', bFocus); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5205,7 +5205,7 @@ Selector.prototype.on = function (sEventName, fCallback) { this.oCallbacks[sEventName] = fCallback; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5281,7 +5281,7 @@ CookieDriver.prototype.get = function (sKey) return mResult; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5354,7 +5354,7 @@ LocalStorageDriver.prototype.get = function (sKey) return mResult; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5399,7 +5399,7 @@ LocalStorage.prototype.get = function (iKey) { return this.oDriver ? this.oDriver.get('p' + iKey) : null; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5414,7 +5414,7 @@ KnoinAbstractBoot.prototype.bootstart = function () { }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5509,7 +5509,7 @@ KnoinAbstractViewModel.prototype.registerPopupKeyDown = function () return true; }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -5587,7 +5587,7 @@ KnoinAbstractScreen.prototype.__start = function () this.oCross = oRoute; } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6003,7 +6003,7 @@ Knoin.prototype.bootstart = function () }; kn = new Knoin(); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6369,7 +6369,7 @@ EmailModel.prototype.inputoTagLine = function () { return 0 < this.name.length ? this.name + ' (' + this.email + ')' : this.email; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6495,7 +6495,7 @@ ContactModel.prototype.lineAsCcc = function () return aResult.join(' '); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6526,7 +6526,7 @@ function ContactPropertyModel(iType, sTypeStr, sValue, bFocused, sPlaceholder) }, this); } - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6572,7 +6572,7 @@ ContactTagModel.prototype.toLine = function (bEncodeHtml) return (Utils.isUnd(bEncodeHtml) ? false : !!bEncodeHtml) ? Utils.encodeHtml(this.name()) : this.name(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6810,7 +6810,7 @@ AttachmentModel.prototype.iconClass = function () return sClass; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -6873,7 +6873,7 @@ ComposeAttachmentModel.prototype.initByUploadJson = function (oJsonAttachment) } return bResult; -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8095,7 +8095,7 @@ MessageModel.prototype.flagHash = function () return [this.deleted(), this.unseen(), this.flagged(), this.answered(), this.forwarded(), this.isReadReceipt()].join(''); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8411,7 +8411,7 @@ FolderModel.prototype.initByJson = function (oJsonFolder) this.fullNameHash = oJsonFolder.FullNameHash; this.deep = oJsonFolder.FullNameRaw.split(this.delimiter).length - 1; this.selectable = !!oJsonFolder.IsSelectable; - this.existen = !!oJsonFolder.IsExisten; + this.existen = !!oJsonFolder.IsExists; this.subScribed(!!oJsonFolder.IsSubscribed); this.type('INBOX' === this.fullNameRaw ? Enums.FolderType.Inbox : Enums.FolderType.User); @@ -8429,7 +8429,7 @@ FolderModel.prototype.printableFullName = function () { return this.fullName.split(this.delimiter).join(' / '); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8452,7 +8452,7 @@ AccountModel.prototype.email = ''; AccountModel.prototype.changeAccountLink = function () { return RL.link().change(this.email); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8490,7 +8490,7 @@ IdentityModel.prototype.formattedNameForEmail = function () var sName = this.name(); return '' === sName ? this.email() : '"' + Utils.quoteName(sName) + '" <' + this.email() + '>'; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8540,7 +8540,7 @@ FilterActionModel.prototype.removeSelf = function () { this.parentList.remove(this); } -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8591,7 +8591,7 @@ FilterConditionModel.prototype.removeSelf = function () this.parentList.remove(this); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8647,7 +8647,7 @@ FilterModel.prototype.parse = function (oItem) return bResult; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8680,7 +8680,7 @@ OpenPgpKeyModel.prototype.user = ''; OpenPgpKeyModel.prototype.email = ''; OpenPgpKeyModel.prototype.armor = ''; OpenPgpKeyModel.prototype.isPrivate = false; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8778,7 +8778,7 @@ PopupsFolderClearViewModel.prototype.onShow = function (oFolder) this.selectedFolder(oFolder); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -8890,7 +8890,7 @@ PopupsFolderCreateViewModel.prototype.onFocus = function () { this.folderName.focused(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -9005,7 +9005,7 @@ PopupsFolderSystemViewModel.prototype.onShow = function (iNotificationType) this.notification(sNotification); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -10009,7 +10009,7 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData) oData[window.google.picker.Response.DOCUMENTS] && oData[window.google.picker.Response.DOCUMENTS][0] && oData[window.google.picker.Response.DOCUMENTS][0]['id']) { - var + var self = this, oRequest = new window.XMLHttpRequest() ; @@ -10058,14 +10058,14 @@ PopupsComposeViewModel.prototype.driveCallback = function (sAccessToken, oData) break; } } - + if (oItem && oItem['downloadUrl']) { self.addDriveAttachment(oItem, sAccessToken); } } }); - + oRequest.send(); } }; @@ -10404,6 +10404,7 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile) { var self = this, + oAttachment = null, fCancelFunc = function (sId) { return function () { self.attachments.remove(function (oItem) { @@ -10412,7 +10413,6 @@ PopupsComposeViewModel.prototype.addDropboxAttachment = function (oDropboxFile) }; }, iAttachmentSizeLimit = Utils.pInt(RL.settingsGet('AttachmentLimit')), - oAttachment = null, mSize = oDropboxFile['bytes'] ; @@ -10685,7 +10685,7 @@ PopupsComposeViewModel.prototype.triggerForResize = function () this.editorResizeThrottle(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11429,7 +11429,7 @@ PopupsContactsViewModel.prototype.onHide = function () // oItem.checked(false); // }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11567,7 +11567,7 @@ PopupsAdvancedSearchViewModel.prototype.onFocus = function () { this.fromFocus(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11663,7 +11663,7 @@ PopupsAddAccountViewModel.prototype.onFocus = function () { this.emailFocus(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11754,7 +11754,7 @@ PopupsAddOpenPgpKeyViewModel.prototype.onFocus = function () { this.key.focus(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11796,7 +11796,7 @@ PopupsViewOpenPgpKeyViewModel.prototype.onShow = function (oOpenPgpKey) this.key(oOpenPgpKey.armor); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -11893,7 +11893,7 @@ PopupsGenerateNewOpenPgpKeyViewModel.prototype.onFocus = function () { this.email.focus(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12135,7 +12135,7 @@ PopupsComposeOpenPgpViewModel.prototype.onShow = function (fCallback, sText, sFr this.to(aRec); this.text(sText); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12285,7 +12285,7 @@ PopupsIdentityViewModel.prototype.onFocus = function () this.email.focused(true); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12347,7 +12347,7 @@ PopupsLanguagesViewModel.prototype.changeLanguage = function (sLang) RL.data().mainLanguage(sLang); this.cancelCommand(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12403,7 +12403,7 @@ PopupsTwoFactorTestViewModel.prototype.onFocus = function () { this.code.focused(true); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12516,7 +12516,7 @@ PopupsAskViewModel.prototype.onBuild = function () }, this)); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12563,7 +12563,7 @@ PopupsKeyboardShortcutsHelpViewModel.prototype.onBuild = function (oDom) } }, this)); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -12908,7 +12908,7 @@ LoginViewModel.prototype.selectLanguage = function () kn.showScreenPopup(PopupsLanguagesViewModel); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -13006,7 +13006,7 @@ AbstractSystemDropDownViewModel.prototype.onBuild = function () } }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -13020,7 +13020,7 @@ function MailBoxSystemDropDownViewModel() } Utils.extendAsViewModel('MailBoxSystemDropDownViewModel', MailBoxSystemDropDownViewModel, AbstractSystemDropDownViewModel); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -13034,7 +13034,7 @@ function SettingsSystemDropDownViewModel() } Utils.extendAsViewModel('SettingsSystemDropDownViewModel', SettingsSystemDropDownViewModel, AbstractSystemDropDownViewModel); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -13284,7 +13284,7 @@ MailBoxFolderListViewModel.prototype.contactsClick = function () kn.showScreenPopup(PopupsContactsViewModel); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -14189,7 +14189,7 @@ MailBoxMessageListViewModel.prototype.initUploaderForAppend = function () ; return !!oJua; -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -14883,7 +14883,7 @@ MailBoxMessageViewViewModel.prototype.readReceipt = function (oMessage) RL.reloadFlagsCurrentMessageListAndMessageFromCache(); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -14914,7 +14914,7 @@ SettingsMenuViewModel.prototype.backToMailBoxClick = function () { kn.setHash(RL.link().inbox()); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -14947,7 +14947,7 @@ SettingsPaneViewModel.prototype.backToMailBoxClick = function () { kn.setHash(RL.link().inbox()); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15109,7 +15109,7 @@ SettingsGeneral.prototype.selectLanguage = function () { kn.showScreenPopup(PopupsLanguagesViewModel); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15161,7 +15161,7 @@ SettingsContacts.prototype.onBuild = function () //{ // //}; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15244,7 +15244,7 @@ SettingsAccounts.prototype.deleteAccount = function (oAccountToRemove) } } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15334,7 +15334,7 @@ SettingsIdentity.prototype.onBuild = function () }, 50); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15553,7 +15553,7 @@ SettingsIdentities.prototype.onBuild = function (oDom) }); }, 50); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15590,7 +15590,7 @@ SettingsFilters.prototype.addFilter = function () this.filters.push(oFilter); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15742,7 +15742,7 @@ SettingsSecurity.prototype.onBuild = function () this.processing(true); RL.remote().getTwoFactor(this.onResult); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15811,7 +15811,7 @@ function SettingsSocialScreen() } Utils.addSettingsViewModel(SettingsSocialScreen, 'SettingsSocial', 'SETTINGS_LABELS/LABEL_SOCIAL_NAME', 'social'); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -15918,7 +15918,7 @@ SettingsChangePasswordScreen.prototype.onChangePasswordResponse = function (sRes Utils.getNotification(Enums.Notification.CouldNotSaveNewPassword)); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -16115,7 +16115,7 @@ SettingsFolders.prototype.unSubscribeFolder = function (oFolder) oFolder.subScribed(false); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -16231,7 +16231,7 @@ SettingsThemes.prototype.onBuild = function () }; })); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -16301,7 +16301,7 @@ SettingsOpenPGP.prototype.deleteOpenPgpKey = function (oOpenPgpKeyToRemove) RL.reloadOpenPgpKeys(); } } -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -16436,7 +16436,7 @@ AbstractData.prototype.populateDataOnStart = function() this.contactsIsAllowed(!!RL.settingsGet('ContactsIsAllowed')); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -17693,7 +17693,7 @@ WebMailDataStorage.prototype.findSelfPrivateKey = function (sPassword) { return this.findPrivateKeyByEmail(this.accountEmail(), sPassword); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -17977,7 +17977,7 @@ AbstractAjaxRemoteStorage.prototype.jsVersion = function (fCallback, sVersion) 'Version': sVersion }); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -18284,7 +18284,8 @@ WebMailAjaxRemoteStorage.prototype.composeUploadExternals = function (fCallback, /** * @param {?Function} fCallback - * @param {Array} aExternals + * @param {string} sUrl + * @param {string} sAccessToken */ WebMailAjaxRemoteStorage.prototype.composeUploadDrive = function (fCallback, sUrl, sAccessToken) { @@ -18776,7 +18777,7 @@ WebMailAjaxRemoteStorage.prototype.socialUsers = function (fCallback) this.defaultRequest(fCallback, 'SocialUsers'); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -18837,7 +18838,7 @@ AbstractCacheStorage.prototype.setServicesData = function (oData) { this.oServices = oData; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19157,7 +19158,7 @@ WebMailCacheStorage.prototype.storeMessageFlagsToCacheByFolderAndUid = function this.setMessageFlagsToCache(sFolder, sUid, aFlags); } }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19339,7 +19340,7 @@ AbstractSettings.prototype.routes = function () ['', oRules] ]; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19356,7 +19357,7 @@ _.extend(LoginScreen.prototype, KnoinAbstractScreen.prototype); LoginScreen.prototype.onShow = function () { RL.setTitle(''); -}; +}; /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19529,7 +19530,7 @@ MailBoxScreen.prototype.routes = function () [/^([^\/]*)$/, {'normalize_': fNormS}] ]; }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19558,7 +19559,7 @@ SettingsScreen.prototype.onShow = function () RL.setTitle(this.sSettingsTitle); RL.data().keyScope(Enums.KeyState.Settings); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -19918,7 +19919,7 @@ AbstractApp.prototype.bootstart = function () ssm.ready(); }; - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ /** @@ -21215,7 +21216,7 @@ RainLoopApp.prototype.bootstart = function () * @type {RainLoopApp} */ RL = new RainLoopApp(); - + /* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */ $html.addClass(Globals.bMobileDevice ? 'mobile' : 'no-mobile'); @@ -21268,7 +21269,7 @@ window['__RLBOOT'] = function (fCall) { window['__RLBOOT'] = null; }); }; - + if (window.SimplePace) { window.SimplePace.add(10); } diff --git a/rainloop/v/0.0.0/static/js/app.min.js b/rainloop/v/0.0.0/static/js/app.min.js index c88f33781..954ba574e 100644 --- a/rainloop/v/0.0.0/static/js/app.min.js +++ b/rainloop/v/0.0.0/static/js/app.min.js @@ -4,7 +4,7 @@ },this),this.displayName=s.observable(""),this.signature=s.observable(""),this.signatureToAll=s.observable(!1),this.replyTo=s.observable(""),this.enableTwoFactor=s.observable(!1),this.accounts=s.observableArray([]),this.accountsLoading=s.observable(!1).extend({throttle:100}),this.defaultIdentityID=s.observable(""),this.identities=s.observableArray([]),this.identitiesLoading=s.observable(!1).extend({throttle:100}),this.contactTags=s.observableArray([]),this.contacts=s.observableArray([]),this.contacts.loading=s.observable(!1).extend({throttle:200}),this.contacts.importing=s.observable(!1).extend({throttle:200}),this.contacts.syncing=s.observable(!1).extend({throttle:200}),this.contacts.exportingVcf=s.observable(!1).extend({throttle:200}),this.contacts.exportingCsv=s.observable(!1).extend({throttle:200}),this.allowContactsSync=s.observable(!1),this.enableContactsSync=s.observable(!1),this.contactsSyncUrl=s.observable(""),this.contactsSyncUser=s.observable(""),this.contactsSyncPass=s.observable(""),this.allowContactsSync=s.observable(!!jt.settingsGet("ContactsSyncIsAllowed")),this.enableContactsSync=s.observable(!!jt.settingsGet("EnableContactsSync")),this.contactsSyncUrl=s.observable(jt.settingsGet("ContactsSyncUrl")),this.contactsSyncUser=s.observable(jt.settingsGet("ContactsSyncUser")),this.contactsSyncPass=s.observable(jt.settingsGet("ContactsSyncPassword")),this.namespace="",this.folderList=s.observableArray([]),this.folderList.focused=s.observable(!1),this.foldersListError=s.observable(""),this.foldersLoading=s.observable(!1),this.foldersCreating=s.observable(!1),this.foldersDeleting=s.observable(!1),this.foldersRenaming=s.observable(!1),this.foldersChanging=s.computed(function(){var e=this.foldersLoading(),t=this.foldersCreating(),s=this.foldersDeleting(),i=this.foldersRenaming();return e||t||s||i},this),this.foldersInboxUnreadCount=s.observable(0),this.currentFolder=s.observable(null).extend({toggleSubscribe:[null,function(e){e&&e.selected(!1)},function(e){e&&e.selected(!0)}]}),this.currentFolderFullNameRaw=s.computed(function(){return this.currentFolder()?this.currentFolder().fullNameRaw:""},this),this.currentFolderFullName=s.computed(function(){return this.currentFolder()?this.currentFolder().fullName:""},this),this.currentFolderFullNameHash=s.computed(function(){return this.currentFolder()?this.currentFolder().fullNameHash:""},this),this.currentFolderName=s.computed(function(){return this.currentFolder()?this.currentFolder().name():""},this),this.folderListSystemNames=s.computed(function(){var e=["INBOX"],t=this.folderList(),s=this.sentFolder(),i=this.draftFolder(),o=this.spamFolder(),n=this.trashFolder(),a=this.archiveFolder();return Mt.isArray(t)&&0]*>/gim,"\n__bq__start__\n").replace(/<\/blockquote>/gim,"\n__bq__end__\n").replace(/]*>([\s\S\r\n]*?)<\/a>/gim,h).replace(/<\/div>/gi,"\n").replace(/ /gi," ").replace(/"/gi,'"').replace(/&/gi,"&").replace(/<[^>]*>/gm,""),r=Mt.$div.html(r).text(),r=r.replace(/\n[ \t]+/gm,"\n").replace(/[\n]{3,}/gm,"\n\n").replace(/>/gi,">").replace(/</gi,"<"),s=0,a=100;a>0&&(a--,i=r.indexOf("__bq__start__",s),i>-1);)o=r.indexOf("__bq__start__",i+5),n=r.indexOf("__bq__end__",i+5),(-1===o||o>n)&&n>i?(r=r.substring(0,i)+c(r.substring(i+13,n))+r.substring(n+11),s=0):s=o>-1&&n>o?o-1:0;return r=r.replace(/__bq__start__/gm,"").replace(/__bq__end__/gm,"")},Mt.plainToHtml=function(e){e=e.toString().replace(/\r/g,"");var s=!1,i=!0,o=!0,n=[],a="",r=0,l=e.split("\n");do{for(i=!1,n=[],r=0;r").replace(/[\-_~]{10,}/g,""===a.substr(0,1),o&&!s?(i=!0,s=!0,n.push("~~~blockquote~~~"),n.push(a.substr(1))):!o&&s?(s=!1,n.push("~~~/blockquote~~~"),n.push(a)):n.push(o&&s?a.substr(1):a);s&&(s=!1,n.push("~~~/blockquote~~~")),l=n}while(i);return e=l.join("\n"),e=e.replace(/&/g,"&").replace(/>/g,">").replace(/").replace(/[\s]*~~~\/blockquote~~~/g,"
";break;case Lt.ComposeType.Forward:n=C.fromToLine(!1,!0),a=C.toToLine(!1,!0),l=C.ccToLine(!1,!0),h=""+h+"
";break;case Lt.ComposeType.Forward:n=C.fromToLine(!1,!0),a=C.toToLine(!1,!0),l=C.ccToLine(!1,!0),h=""+h+"