emailengine-app 2.79.8 → 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/.github/dependabot.yml +22 -0
  2. package/.github/workflows/test.yml +39 -0
  3. package/.release-please-manifest.json +1 -1
  4. package/CHANGELOG.md +69 -0
  5. package/DOCKER_DEPLOYMENT.md +6 -7
  6. package/Dockerfile +35 -11
  7. package/config/default.toml +7 -2
  8. package/copy-static-files.sh +23 -5
  9. package/data/google-crawlers.json +1 -1
  10. package/encrypt.js +43 -0
  11. package/lib/account/account-state.js +62 -0
  12. package/lib/account.js +60 -3
  13. package/lib/api-routes/account-routes.js +20 -0
  14. package/lib/api-routes/bull-board-routes.js +3 -2
  15. package/lib/api-routes/index.js +1 -1
  16. package/lib/api-routes/route-helpers.js +8 -0
  17. package/lib/api-routes/settings-routes.js +17 -2
  18. package/lib/auth-token.js +73 -2
  19. package/lib/autodetect-imap-settings.js +379 -69
  20. package/lib/cert-handler.js +62 -0
  21. package/lib/consts.js +58 -7
  22. package/lib/db.js +12 -0
  23. package/lib/egress-fetch.js +145 -0
  24. package/lib/email-client/base-client.js +234 -66
  25. package/lib/email-client/credential-errors.js +118 -0
  26. package/lib/email-client/gmail/gmail-api.js +2 -1
  27. package/lib/email-client/gmail-client.js +70 -64
  28. package/lib/email-client/imap/connection-errors.js +52 -0
  29. package/lib/email-client/imap/listing-diff.js +47 -6
  30. package/lib/email-client/imap/mailbox.js +457 -379
  31. package/lib/email-client/imap/subconnection.js +15 -11
  32. package/lib/email-client/imap/sync-operations.js +46 -59
  33. package/lib/email-client/imap-client.js +136 -95
  34. package/lib/email-client/message-builder.js +11 -11
  35. package/lib/email-client/outlook/graph-api.js +2 -1
  36. package/lib/email-client/outlook-client.js +219 -106
  37. package/lib/export.js +35 -2
  38. package/lib/handlebars-helpers.js +129 -0
  39. package/lib/imap-proxy-auth.js +96 -21
  40. package/lib/imapproxy/imap-core/README.md +1 -0
  41. package/lib/imapproxy/imap-core/lib/tls-options.js +5 -46
  42. package/lib/imapproxy/imap-server.js +56 -66
  43. package/lib/lua/h-del-if-equals.lua +39 -0
  44. package/lib/lua/h-set-if-equals.lua +39 -0
  45. package/lib/openapi/index.js +3 -0
  46. package/lib/outbox.js +28 -3
  47. package/lib/rate-limit.js +23 -4
  48. package/lib/routes-ui.js +4 -34
  49. package/lib/schemas.js +42 -3
  50. package/lib/security-headers.js +411 -0
  51. package/lib/sentry.js +36 -4
  52. package/lib/smtp-auth.js +86 -7
  53. package/lib/tls/context.js +376 -0
  54. package/lib/tls/der.js +223 -0
  55. package/lib/tls/provision.js +555 -0
  56. package/lib/tls/self-signed.js +282 -0
  57. package/lib/tls/status.js +431 -0
  58. package/lib/tls/store.js +666 -0
  59. package/lib/tools.js +337 -147
  60. package/lib/ui-routes/account-routes.js +47 -33
  61. package/lib/ui-routes/admin-config-routes.js +22 -1
  62. package/lib/ui-routes/auth-routes.js +16 -1
  63. package/lib/ui-routes/export-routes.js +4 -0
  64. package/lib/ui-routes/internals-routes.js +3 -5
  65. package/lib/ui-routes/mcp-consent-routes.js +7 -0
  66. package/lib/ui-routes/network-config-routes.js +58 -48
  67. package/lib/ui-routes/route-helpers.js +24 -8
  68. package/lib/ui-routes/smtp-test-routes.js +7 -0
  69. package/lib/ui-routes/tls-config-routes.js +581 -0
  70. package/lib/utils/mailbox-path.js +51 -0
  71. package/lib/utils/severity.js +31 -0
  72. package/lib/webhook-egress.js +5 -0
  73. package/package.json +21 -24
  74. package/sbom.json +1 -1
  75. package/server.js +53 -36
  76. package/static/css/flyonui.css +1 -1
  77. package/static/css/src/app.tailwind.css +11 -0
  78. package/static/js/ace/css/ace.css +1462 -0
  79. package/static/js/ace/css/kuroir-1.png +0 -0
  80. package/static/js/ace/css/kuroir-2.png +0 -0
  81. package/static/js/ace/css/main-1.png +0 -0
  82. package/static/js/ace/css/main-10.svg +4 -0
  83. package/static/js/ace/css/main-11.svg +5 -0
  84. package/static/js/ace/css/main-12.svg +4 -0
  85. package/static/js/ace/css/main-13.png +0 -0
  86. package/static/js/ace/css/main-14.png +0 -0
  87. package/static/js/ace/css/main-15.png +0 -0
  88. package/static/js/ace/css/main-16.png +0 -0
  89. package/static/js/ace/css/main-17.png +0 -0
  90. package/static/js/ace/css/main-18.png +0 -0
  91. package/static/js/ace/css/main-19.png +0 -0
  92. package/static/js/ace/css/main-2.png +0 -0
  93. package/static/js/ace/css/main-20.png +0 -0
  94. package/static/js/ace/css/main-21.png +0 -0
  95. package/static/js/ace/css/main-22.png +0 -0
  96. package/static/js/ace/css/main-23.png +0 -0
  97. package/static/js/ace/css/main-24.png +0 -0
  98. package/static/js/ace/css/main-25.svg +1 -0
  99. package/static/js/ace/css/main-26.png +0 -0
  100. package/static/js/ace/css/main-3.png +0 -0
  101. package/static/js/ace/css/main-4.png +0 -0
  102. package/static/js/ace/css/main-5.svg +7 -0
  103. package/static/js/ace/css/main-6.svg +9 -0
  104. package/static/js/ace/css/main-7.svg +7 -0
  105. package/static/js/ace/css/main-8.svg +9 -0
  106. package/static/js/ace/css/main-9.svg +6 -0
  107. package/static/js/ace/css/theme/kuroir.css +78 -0
  108. package/static/js/ace/css/theme/tomorrow_night.css +128 -0
  109. package/static/js/ace/css/theme/tomorrow_night_eighties.css +128 -0
  110. package/static/js/ace/css/theme/xcode.css +106 -0
  111. package/static/js/ace/css/tomorrow_night-1.png +0 -0
  112. package/static/js/ace/css/tomorrow_night-2.png +0 -0
  113. package/static/js/ace/css/tomorrow_night_eighties-1.png +0 -0
  114. package/static/js/ace/css/tomorrow_night_eighties-2.png +0 -0
  115. package/static/js/ace/css/xcode-1.png +0 -0
  116. package/static/js/ace/css/xcode-2.png +0 -0
  117. package/static/js/app.js +34 -0
  118. package/static/js/ee-client.js +256 -102
  119. package/static/js/public.js +13 -2
  120. package/static/js/ui.js +40 -25
  121. package/static/licenses.html +393 -1282
  122. package/static/vendor/simplewebauthn/browser.min.js +2 -2
  123. package/translations/messages.pot +203 -157
  124. package/views/account/login-redirect.hbs +22 -0
  125. package/views/accounts/account.hbs +15 -37
  126. package/views/accounts/browse.hbs +3 -1
  127. package/views/accounts/edit.hbs +1 -1
  128. package/views/accounts/register/imap-server.hbs +1 -1
  129. package/views/config/ai.hbs +1 -1
  130. package/views/config/branding.hbs +2 -2
  131. package/views/config/document-store/chat.hbs +1 -1
  132. package/views/config/document-store/index.hbs +1 -1
  133. package/views/config/imap-proxy.hbs +1 -4
  134. package/views/config/license.hbs +1 -1
  135. package/views/config/mcp.hbs +1 -1
  136. package/views/config/network.hbs +14 -16
  137. package/views/config/oauth/app.hbs +2 -2
  138. package/views/config/service.hbs +1 -1
  139. package/views/config/smtp.hbs +1 -4
  140. package/views/config/tls-upload.hbs +81 -0
  141. package/views/config/tls.hbs +492 -0
  142. package/views/config/webhooks.hbs +2 -2
  143. package/views/error.hbs +4 -2
  144. package/views/internals/index.hbs +1 -1
  145. package/views/layout/app.hbs +3 -11
  146. package/views/mcp/authorize.hbs +1 -1
  147. package/views/partials/ace_assets.hbs +13 -0
  148. package/views/partials/add_account_modal.hbs +1 -1
  149. package/views/partials/address_list.hbs +4 -4
  150. package/views/partials/filter_editor_js.hbs +2 -2
  151. package/views/partials/gateway_js.hbs +1 -1
  152. package/views/partials/oauth_form.hbs +1 -1
  153. package/views/partials/public_theme_init.hbs +1 -1
  154. package/views/partials/side_menu.hbs +1 -0
  155. package/views/partials/template_form.hbs +2 -2
  156. package/views/partials/test_send.hbs +7 -4
  157. package/views/partials/theme_init.hbs +1 -1
  158. package/views/partials/tls_security_card.hbs +25 -53
  159. package/views/partials/ui/alert-banner.hbs +3 -2
  160. package/views/partials/ui/badge.hbs +6 -2
  161. package/views/partials/ui/btn.hbs +5 -2
  162. package/views/partials/ui/details.hbs +2 -2
  163. package/views/partials/webhooks_editor_functions.hbs +1 -1
  164. package/views/reference/redirect.hbs +1 -1
  165. package/views/templates/template.hbs +2 -2
  166. package/views/tokens/new.hbs +1 -1
  167. package/views/unsubscribe.hbs +1 -1
  168. package/views/webhooks/webhook.hbs +2 -2
  169. package/workers/api.js +131 -242
  170. package/workers/export.js +1 -5
  171. package/workers/imap-proxy.js +4 -1
  172. package/workers/imap.js +1 -3
  173. package/workers/smtp.js +59 -83
  174. package/workers/submit.js +6 -12
  175. package/workers/webhooks.js +6 -17
  176. package/static/front/EmailEngine_logo_horiz.png +0 -0
  177. package/static/front/EmailEngine_logo_vert.png +0 -0
  178. package/static/front/index.html +0 -57
  179. package/static/front/logo.png +0 -0
  180. package/static/vendor/handlebars/handlebars.min-v4.7.9.js +0 -29
  181. package/views/partials/tls_security_js.hbs +0 -64
  182. package/views/partials/tls_security_modal.hbs +0 -22
@@ -1,2 +1,2 @@
1
- /* [@simplewebauthn/browser@13.3.0] */
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).SimpleWebAuthnBrowser={})}(this,(function(e){"use strict";function t(e){const t=new Uint8Array(e);let r="";for(const e of t)r+=String.fromCharCode(e);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function r(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r=(4-t.length%4)%4,n=t.padEnd(t.length+r,"="),o=atob(n),i=new ArrayBuffer(o.length),a=new Uint8Array(i);for(let e=0;e<o.length;e++)a[e]=o.charCodeAt(e);return i}function n(){return o.stubThis(void 0!==globalThis?.PublicKeyCredential&&"function"==typeof globalThis.PublicKeyCredential)}const o={stubThis:e=>e};function i(e){const{id:t}=e;return{...e,id:r(t),transports:e.transports}}function a(e){return"localhost"===e||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}class s extends Error{constructor({message:e,code:t,cause:r,name:n}){super(e,{cause:r}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n??r.name,this.code=t}}const l=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const e=new Error("Cancelling existing WebAuthn API call for new one");e.name="AbortError",this.controller.abort(e)}const e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){const e=new Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}},c=["cross-platform","platform"];function u(e){if(e&&!(c.indexOf(e)<0))return e}function d(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.\n`,t)}function h(){if(!n())return p.stubThis(new Promise((e=>e(!1))));const e=globalThis.PublicKeyCredential;return void 0===e?.isConditionalMediationAvailable?p.stubThis(new Promise((e=>e(!1)))):p.stubThis(e.isConditionalMediationAvailable())}const p={stubThis:e=>e};e.WebAuthnAbortService=l,e.WebAuthnError=s,e._browserSupportsWebAuthnAutofillInternals=p,e._browserSupportsWebAuthnInternals=o,e.base64URLStringToBuffer=r,e.browserSupportsWebAuthn=n,e.browserSupportsWebAuthnAutofill=h,e.bufferToBase64URLString=t,e.platformAuthenticatorIsAvailable=function(){return n()?PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable():new Promise((e=>e(!1)))},e.startAuthentication=async function(e){!e.optionsJSON&&e.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:o,useBrowserAutofill:c=!1,verifyBrowserAutofillInput:d=!0}=e;if(!n())throw new Error("WebAuthn is not supported in this browser");let p;0!==o.allowCredentials?.length&&(p=o.allowCredentials?.map(i));const f={...o,challenge:r(o.challenge),allowCredentials:p},b={};if(c){if(!await h())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&d)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');b.mediation="conditional",f.allowCredentials=[]}let R;b.publicKey=f,b.signal=l.createNewAbortSignal();try{R=await navigator.credentials.get(b)}catch(e){throw function({error:e,options:t}){const{publicKey:r}=t;if(!r)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new s({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if("NotAllowedError"===e.name)return new s({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if("SecurityError"===e.name){const t=globalThis.location.hostname;if(!a(t))return new s({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rpId!==t)return new s({message:`The RP ID "${r.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("UnknownError"===e.name)return new s({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}({error:e,options:b})}if(!R)throw new Error("Authentication was not completed");const{id:g,rawId:w,response:A,type:E}=R;let m;return A.userHandle&&(m=t(A.userHandle)),{id:g,rawId:t(w),response:{authenticatorData:t(A.authenticatorData),clientDataJSON:t(A.clientDataJSON),signature:t(A.signature),userHandle:m},type:E,clientExtensionResults:R.getClientExtensionResults(),authenticatorAttachment:u(R.authenticatorAttachment)}},e.startRegistration=async function(e){!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:o,useAutoRegister:c=!1}=e;if(!n())throw new Error("WebAuthn is not supported in this browser");const h={...o,challenge:r(o.challenge),user:{...o.user,id:r(o.user.id)},excludeCredentials:o.excludeCredentials?.map(i)},p={};let f;c&&(p.mediation="conditional"),p.publicKey=h,p.signal=l.createNewAbortSignal();try{f=await navigator.credentials.create(p)}catch(e){throw function({error:e,options:t}){const{publicKey:r}=t;if(!r)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new s({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("ConstraintError"===e.name){if(!0===r.authenticatorSelection?.requireResidentKey)return new s({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if("conditional"===t.mediation&&"required"===r.authenticatorSelection?.userVerification)return new s({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if("required"===r.authenticatorSelection?.userVerification)return new s({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if("InvalidStateError"===e.name)return new s({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if("NotAllowedError"===e.name)return new s({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if("NotSupportedError"===e.name)return 0===r.pubKeyCredParams.filter((e=>"public-key"===e.type)).length?new s({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new s({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if("SecurityError"===e.name){const t=globalThis.location.hostname;if(!a(t))return new s({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(r.rp.id!==t)return new s({message:`The RP ID "${r.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("TypeError"===e.name){if(r.user.id.byteLength<1||r.user.id.byteLength>64)return new s({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if("UnknownError"===e.name)return new s({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}({error:e,options:p})}if(!f)throw new Error("Registration was not completed");const{id:b,rawId:R,response:g,type:w}=f;let A,E,m,y;if("function"==typeof g.getTransports&&(A=g.getTransports()),"function"==typeof g.getPublicKeyAlgorithm)try{E=g.getPublicKeyAlgorithm()}catch(e){d("getPublicKeyAlgorithm()",e)}if("function"==typeof g.getPublicKey)try{const e=g.getPublicKey();null!==e&&(m=t(e))}catch(e){d("getPublicKey()",e)}if("function"==typeof g.getAuthenticatorData)try{y=t(g.getAuthenticatorData())}catch(e){d("getAuthenticatorData()",e)}return{id:b,rawId:t(R),response:{attestationObject:t(g.attestationObject),clientDataJSON:t(g.clientDataJSON),transports:A,publicKeyAlgorithm:E,publicKey:m,authenticatorData:y},type:w,clientExtensionResults:f.getClientExtensionResults(),authenticatorAttachment:u(f.authenticatorAttachment)}}}));
1
+ /* [@simplewebauthn/browser@14.0.0] */
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).SimpleWebAuthnBrowser={})}(this,(function(e){"use strict";function t(e){const t=new Uint8Array(e);let n="";for(const e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function n(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),n=(4-t.length%4)%4,r=t.padEnd(t.length+n,"="),i=atob(r),o=new ArrayBuffer(i.length),a=new Uint8Array(o);for(let e=0;e<i.length;e++)a[e]=i.charCodeAt(e);return o}function r(){return i.stubThis(void 0!==globalThis?.PublicKeyCredential&&"function"==typeof globalThis.PublicKeyCredential)}const i={stubThis:e=>e};function o(e){const{id:t}=e;return{...e,id:n(t),transports:e.transports,type:e.type}}function a(e){return"localhost"===e||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}class s extends Error{constructor({message:e,code:t,cause:n,name:r}){super(e,{cause:n}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=r??n.name,this.code=t}}const l=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const e=new Error("Cancelling existing WebAuthn API call for new one");e.name="AbortError",this.controller.abort(e)}const e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){const e=new Error("Manually cancelling existing WebAuthn API call");e.name="AbortError",this.controller.abort(e),this.controller=void 0}}},c=["cross-platform","platform"];function u(e){if(e&&!(c.indexOf(e)<0))return e}function d(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.\n`,t)}function p(){if(!r())return h.stubThis(new Promise((e=>e(!1))));const e=globalThis.PublicKeyCredential;return void 0===e?.isConditionalMediationAvailable?h.stubThis(new Promise((e=>e(!1)))):h.stubThis(e.isConditionalMediationAvailable())}const h={stubThis:e=>e};function f({error:e,options:t}){if("SecurityError"===e.name){return a(globalThis.location.hostname)?new s({message:`The browser does not support Related Origins to enable signals for RP ID "${t.rpID}" on domain "${globalThis.location.hostname}"`,code:"ERROR_INVALID_RP_ID",cause:e}):new s({message:`"${globalThis.location.hostname}" is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}if("unknownCredential"===t.signalName){if("TypeError"===e.name)return new s({message:"credentialID is an invalid base64url string",code:"ERROR_SIGNAL_INVALID_ARGUMENT",cause:e})}else if("allAcceptedCredentials"===t.signalName){if("TypeError"===e.name)return new s({message:"userID, or an entry in allAcceptedCredentialIDs, is an invalid base64url string",code:"ERROR_SIGNAL_INVALID_ARGUMENT",cause:e})}else if("currentUserDetails"===t.signalName&&"TypeError"===e.name)return new s({message:"userID is an invalid base64url string",code:"ERROR_SIGNAL_INVALID_ARGUMENT",cause:e});return new s({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}async function g(){if("function"==typeof PublicKeyCredential.getClientCapabilities){const e=await PublicKeyCredential.getClientCapabilities();let t=w(e.userVerifyingPlatformAuthenticator);if("unknown"===t&&"function"==typeof PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable){t=await PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()?"supported":"unsupported"}let n=w(e.conditionalGet);if("unknown"===n&&"function"==typeof PublicKeyCredential.isConditionalMediationAvailable){n=await PublicKeyCredential.isConditionalMediationAvailable()?"supported":"unsupported"}return b.stubThis({conditionalCreate:w(e.conditionalCreate),conditionalGet:n,hybridTransport:w(e.hybridTransport),passkeyPlatformAuthenticator:w(e.passkeyPlatformAuthenticator),userVerifyingPlatformAuthenticator:t,relatedOrigins:w(e.relatedOrigins),signalAllAcceptedCredentials:w(e.signalAllAcceptedCredentials),signalCurrentUserDetails:w(e.signalCurrentUserDetails),signalUnknownCredential:w(e.signalUnknownCredential)})}return b.stubThis({conditionalCreate:"unknown",conditionalGet:"unknown",hybridTransport:"unknown",passkeyPlatformAuthenticator:"unknown",userVerifyingPlatformAuthenticator:"unknown",relatedOrigins:"unknown",signalAllAcceptedCredentials:"unknown",signalCurrentUserDetails:"unknown",signalUnknownCredential:"unknown"})}function w(e){if(!0===e)return"supported";if(!1===e)return"unsupported";if(void 0===e)return"unknown";throw new Error("Unexpected capability value:",e)}const b={stubThis:e=>e};e.WebAuthnAbortService=l,e.WebAuthnError=s,e._browserSupportsWebAuthnAutofillInternals=h,e._browserSupportsWebAuthnInternals=i,e._getBrowserCapabilitiesInternals=b,e.base64URLStringToBuffer=n,e.browserSupportsPasskeys=async function(){if(!r())return new Promise((e=>e(!1)));const e=await g(),{passkeyPlatformAuthenticator:t,userVerifyingPlatformAuthenticator:n,hybridTransport:i}=e;return"supported"===t||"supported"===i||"supported"===n},e.browserSupportsWebAuthn=r,e.browserSupportsWebAuthnAutofill=p,e.bufferToBase64URLString=t,e.getBrowserCapabilities=g,e.platformAuthenticatorIsAvailable=function(){return r()?PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable():new Promise((e=>e(!1)))},e.sendSignal=async function(e){const{signalName:t}=e;if("unknownCredential"===t)return async function(e){const t=globalThis.PublicKeyCredential;if("function"!=typeof t.signalUnknownCredential)throw new Error("This browser does not support PublicKeyCredential.signalUnknownCredential()");try{await t.signalUnknownCredential({rpId:e.rpID,credentialId:e.credentialID})}catch(t){throw f({error:t,options:e})}return}(e);if("allAcceptedCredentials"===t)return async function(e){const t=globalThis.PublicKeyCredential;if("function"!=typeof t.signalAllAcceptedCredentials)throw new Error("This browser does not support PublicKeyCredential.signalAllAcceptedCredentials()");try{await t.signalAllAcceptedCredentials({rpId:e.rpID,userId:e.userID,allAcceptedCredentialIds:e.allAcceptedCredentialIDs})}catch(t){throw f({error:t,options:e})}return}(e);if("currentUserDetails"===t)return async function(e){const t=globalThis.PublicKeyCredential;if("function"!=typeof t.signalCurrentUserDetails)throw new Error("This browser does not support PublicKeyCredential.signalCurrentUserDetails()");try{await t.signalCurrentUserDetails({rpId:e.rpID,userId:e.userID,name:e.userName,displayName:e.userDisplayName??""})}catch(t){throw f({error:t,options:e})}return}(e);throw new Error(`Received unrecognized signalName "${e.signalName}"`)},e.startAuthentication=async function(e){!e.optionsJSON&&e.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:i,useBrowserAutofill:c=!1,verifyBrowserAutofillInput:d=!0}=e;if(!r())throw new Error("WebAuthn is not supported in this browser");let h;0!==i.allowCredentials?.length&&(h=i.allowCredentials?.map(o));const f={...i,challenge:n(i.challenge),allowCredentials:h},g={};if(c){if(!await p())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&d)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');g.mediation="conditional",f.allowCredentials=[]}let w;g.publicKey=f,g.signal=l.createNewAbortSignal();try{w=await navigator.credentials.get(g)}catch(e){throw function({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new s({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if("NotAllowedError"===e.name)return new s({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if("SecurityError"===e.name){const t=globalThis.location.hostname;if(!a(t))return new s({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(n.rpId!==t)return new s({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("UnknownError"===e.name)return new s({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}({error:e,options:g})}if(!w)throw new Error("Authentication was not completed");const{id:b,rawId:A,response:R,type:m}=w;let y;return R.userHandle&&(y=t(R.userHandle)),{id:b,rawId:t(A),response:{authenticatorData:t(R.authenticatorData),clientDataJSON:t(R.clientDataJSON),signature:t(R.signature),userHandle:y},type:m,clientExtensionResults:w.getClientExtensionResults(),authenticatorAttachment:u(w.authenticatorAttachment)}},e.startRegistration=async function(e){!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:i,useAutoRegister:c=!1}=e;if(!r())throw new Error("WebAuthn is not supported in this browser");const p={...i,challenge:n(i.challenge),user:{...i.user,id:n(i.user.id)},excludeCredentials:i.excludeCredentials?.map(o)},h={};let f;c&&(h.mediation="conditional"),h.publicKey=p,h.signal=l.createNewAbortSignal();try{f=await navigator.credentials.create(h)}catch(e){throw function({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if("AbortError"===e.name){if(t.signal instanceof AbortSignal)return new s({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if("ConstraintError"===e.name){if(!0===n.authenticatorSelection?.requireResidentKey)return new s({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if("conditional"===t.mediation&&"required"===n.authenticatorSelection?.userVerification)return new s({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if("required"===n.authenticatorSelection?.userVerification)return new s({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if("InvalidStateError"===e.name)return new s({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if("NotAllowedError"===e.name)return new s({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if("NotSupportedError"===e.name)return 0===n.pubKeyCredParams.filter((e=>"public-key"===e.type)).length?new s({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new s({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if("SecurityError"===e.name){const t=globalThis.location.hostname;if(!a(t))return new s({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e});if(n.rp.id!==t)return new s({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else if("TypeError"===e.name){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new s({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if("UnknownError"===e.name)return new s({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}({error:e,options:h})}if(!f)throw new Error("Registration was not completed");const{id:g,rawId:w,response:b,type:A}=f;let R,m,y,E;if("function"==typeof b.getTransports&&(R=b.getTransports()),"function"==typeof b.getPublicKeyAlgorithm)try{m=b.getPublicKeyAlgorithm()}catch(e){d("getPublicKeyAlgorithm()",e)}if("function"==typeof b.getPublicKey)try{const e=b.getPublicKey();null!==e&&(y=t(e))}catch(e){d("getPublicKey()",e)}if("function"==typeof b.getAuthenticatorData)try{E=t(b.getAuthenticatorData())}catch(e){d("getAuthenticatorData()",e)}return{id:g,rawId:t(w),response:{attestationObject:t(b.attestationObject),clientDataJSON:t(b.clientDataJSON),transports:R,publicKeyAlgorithm:m,publicKey:y,authenticatorData:E},type:A,clientExtensionResults:f.getClientExtensionResults(),authenticatorAttachment:u(f.authenticatorAttachment)}}}));
@@ -1,10 +1,10 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Content-Type: text/plain; charset=ascii\n"
4
- "POT-Creation-Date: 2026-09-01 19:01+0000\n"
4
+ "POT-Creation-Date: 2026-09-09 01:28+0000\n"
5
5
 
6
6
  #: views/error.hbs:6
7
- #: workers/api.js:3160
7
+ #: workers/api.js:3119
8
8
  msgid "Something went wrong"
9
9
  msgstr ""
10
10
 
@@ -12,11 +12,11 @@ msgstr ""
12
12
  msgid "Error code: %s"
13
13
  msgstr ""
14
14
 
15
- #: views/error.hbs:18
15
+ #: views/error.hbs:20
16
16
  msgid "Go back"
17
17
  msgstr ""
18
18
 
19
- #: views/error.hbs:21
19
+ #: views/error.hbs:28
20
20
  msgid "Dashboard"
21
21
  msgstr ""
22
22
 
@@ -27,10 +27,6 @@ msgid_plural "%d days"
27
27
  msgstr[0] ""
28
28
  msgstr[1] ""
29
29
 
30
- #: views/redirect.hbs:1
31
- msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
32
- msgstr ""
33
-
34
30
  #: views/oauth-scope-error.hbs:5
35
31
  msgid "Insufficient Permissions"
36
32
  msgstr ""
@@ -56,199 +52,215 @@ msgstr ""
56
52
  msgid "Try Again"
57
53
  msgstr ""
58
54
 
59
- #: views/accounts/register/index.hbs:6
60
- msgid "Choose your email account provider"
55
+ #: views/unsubscribe.hbs:7
56
+ #: views/unsubscribe.hbs:60
57
+ #: views/unsubscribe.hbs:76
58
+ msgid "Unsubscribe"
61
59
  msgstr ""
62
60
 
63
- #: views/accounts/register/index.hbs:19
64
- msgid "Standard IMAP"
61
+ #: views/unsubscribe.hbs:9
62
+ msgid "Your email address was unsubscribed."
65
63
  msgstr ""
66
64
 
67
- #: views/accounts/register/imap.hbs:13
68
- msgid "Your name"
65
+ #: views/unsubscribe.hbs:11
66
+ msgid "Was this a mistake? Click <a%s>here</a> to re-subscribe."
69
67
  msgstr ""
70
68
 
71
- #: views/accounts/register/imap.hbs:19
72
- msgid "Enter your full name"
69
+ #: views/unsubscribe.hbs:18
70
+ msgid "Re-subscribe"
73
71
  msgstr ""
74
72
 
75
- #: views/accounts/register/imap.hbs:25
76
- #: views/unsubscribe.hbs:70
77
- msgid "Email address"
73
+ #: views/unsubscribe.hbs:24
74
+ msgid "Are you sure you want to re-subscribe your email address <em>%s</em>?"
78
75
  msgstr ""
79
76
 
80
- #: views/accounts/register/imap.hbs:35
81
- msgid "This setup link is restricted to this email address"
77
+ #: views/unsubscribe.hbs:33
78
+ #: views/accounts/register/imap-server.hbs:286
79
+ msgid "Close"
82
80
  msgstr ""
83
81
 
84
- #: views/accounts/register/imap.hbs:37
85
- msgid "Enter your email address"
82
+ #: views/unsubscribe.hbs:35
83
+ msgid "Subscribe"
86
84
  msgstr ""
87
85
 
88
- #: views/accounts/register/imap.hbs:43
89
- #: views/accounts/register/imap-server.hbs:39
90
- #: views/accounts/register/imap-server.hbs:146
91
- msgid "Password"
86
+ #: views/unsubscribe.hbs:54
87
+ msgid "Subscription resumed"
92
88
  msgstr ""
93
89
 
94
- #: views/accounts/register/imap.hbs:49
95
- msgid "Enter your account password"
90
+ #: views/unsubscribe.hbs:56
91
+ msgid "Your email address <em>%s</em> was re-subscribed."
96
92
  msgstr ""
97
93
 
98
- #: views/accounts/register/imap.hbs:55
99
- msgid "Continue"
94
+ #: views/unsubscribe.hbs:71
95
+ #: views/accounts/register/imap.hbs:25
96
+ msgid "Email address"
100
97
  msgstr ""
101
98
 
102
- #: views/accounts/register/imap-server.hbs:22
99
+ #: views/unsubscribe.hbs:83
100
+ msgid ""
101
+ "This link is not valid. Use the unsubscribe link from the email you "
102
+ "received."
103
+ msgstr ""
104
+
105
+ #: views/redirect.hbs:1
106
+ msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
107
+ msgstr ""
108
+
109
+ #: views/accounts/register/imap-server.hbs:23
110
+ msgid ""
111
+ "Server settings could not be detected automatically for %s. Enter them "
112
+ "below."
113
+ msgstr ""
114
+
115
+ #: views/accounts/register/imap-server.hbs:30
103
116
  msgid "IMAP"
104
117
  msgstr ""
105
118
 
106
- #: views/accounts/register/imap-server.hbs:25
107
- #: views/accounts/register/imap-server.hbs:132
119
+ #: views/accounts/register/imap-server.hbs:33
120
+ #: views/accounts/register/imap-server.hbs:140
108
121
  msgid "Username"
109
122
  msgstr ""
110
123
 
111
- #: views/accounts/register/imap-server.hbs:51
112
- #: views/accounts/register/imap-server.hbs:158
124
+ #: views/accounts/register/imap-server.hbs:47
125
+ #: views/accounts/register/imap-server.hbs:154
126
+ #: views/accounts/register/imap.hbs:43
127
+ msgid "Password"
128
+ msgstr ""
129
+
130
+ #: views/accounts/register/imap-server.hbs:59
131
+ #: views/accounts/register/imap-server.hbs:166
113
132
  msgid "Important"
114
133
  msgstr ""
115
134
 
116
- #: views/accounts/register/imap-server.hbs:62
117
- #: views/accounts/register/imap-server.hbs:169
135
+ #: views/accounts/register/imap-server.hbs:70
136
+ #: views/accounts/register/imap-server.hbs:177
118
137
  msgid "Instructions"
119
138
  msgstr ""
120
139
 
121
- #: views/accounts/register/imap-server.hbs:64
122
- #: views/accounts/register/imap-server.hbs:171
140
+ #: views/accounts/register/imap-server.hbs:72
141
+ #: views/accounts/register/imap-server.hbs:179
123
142
  msgid "%s accounts require an application password for %s."
124
143
  msgstr ""
125
144
 
126
- #: views/accounts/register/imap-server.hbs:73
127
- #: views/accounts/register/imap-server.hbs:180
145
+ #: views/accounts/register/imap-server.hbs:81
146
+ #: views/accounts/register/imap-server.hbs:188
128
147
  msgid "Application Password"
129
148
  msgstr ""
130
149
 
131
- #: views/accounts/register/imap-server.hbs:87
132
- #: views/accounts/register/imap-server.hbs:194
150
+ #: views/accounts/register/imap-server.hbs:95
151
+ #: views/accounts/register/imap-server.hbs:202
133
152
  msgid "Hostname"
134
153
  msgstr ""
135
154
 
136
- #: views/accounts/register/imap-server.hbs:97
137
- #: views/accounts/register/imap-server.hbs:204
155
+ #: views/accounts/register/imap-server.hbs:105
156
+ #: views/accounts/register/imap-server.hbs:212
138
157
  msgid "Port"
139
158
  msgstr ""
140
159
 
141
- #: views/accounts/register/imap-server.hbs:112
160
+ #: views/accounts/register/imap-server.hbs:120
142
161
  msgid "TLS for IMAP"
143
162
  msgstr ""
144
163
 
145
- #: views/accounts/register/imap-server.hbs:113
164
+ #: views/accounts/register/imap-server.hbs:121
146
165
  msgid ""
147
166
  "TLS (also known as SSL) is usually only needed when using port 993. For "
148
167
  "other ports EmailEngine falls back to using STARTTLS based encryption."
149
168
  msgstr ""
150
169
 
151
- #: views/accounts/register/imap-server.hbs:120
152
- #: views/accounts/register/imap-server.hbs:227
170
+ #: views/accounts/register/imap-server.hbs:128
171
+ #: views/accounts/register/imap-server.hbs:235
153
172
  msgid "Use TLS"
154
173
  msgstr ""
155
174
 
156
- #: views/accounts/register/imap-server.hbs:129
175
+ #: views/accounts/register/imap-server.hbs:137
157
176
  msgid "SMTP"
158
177
  msgstr ""
159
178
 
160
- #: views/accounts/register/imap-server.hbs:219
179
+ #: views/accounts/register/imap-server.hbs:227
161
180
  msgid "TLS for SMTP"
162
181
  msgstr ""
163
182
 
164
- #: views/accounts/register/imap-server.hbs:220
183
+ #: views/accounts/register/imap-server.hbs:228
165
184
  msgid ""
166
185
  "TLS (also known as SSL) is usually only needed when using port 465. For "
167
186
  "other ports EmailEngine falls back to using STARTTLS based encryption."
168
187
  msgstr ""
169
188
 
170
- #: views/accounts/register/imap-server.hbs:240
189
+ #: views/accounts/register/imap-server.hbs:248
171
190
  msgid "Verify connection"
172
191
  msgstr ""
173
192
 
174
- #: views/accounts/register/imap-server.hbs:246
193
+ #: views/accounts/register/imap-server.hbs:254
175
194
  msgid "Save and continue"
176
195
  msgstr ""
177
196
 
178
- #: views/accounts/register/imap-server.hbs:255
197
+ #: views/accounts/register/imap-server.hbs:263
179
198
  msgid "Skip verification"
180
199
  msgstr ""
181
200
 
182
- #: views/accounts/register/imap-server.hbs:268
201
+ #: views/accounts/register/imap-server.hbs:276
183
202
  msgid "Connection test failed"
184
203
  msgstr ""
185
204
 
186
- #: views/accounts/register/imap-server.hbs:274
205
+ #: views/accounts/register/imap-server.hbs:282
187
206
  msgid "We couldn't connect with these settings. Check the errors below."
188
207
  msgstr ""
189
208
 
190
- #: views/accounts/register/imap-server.hbs:278
191
- #: views/unsubscribe.hbs:33
192
- msgid "Close"
193
- msgstr ""
194
-
195
- #: views/accounts/register/imap-server.hbs:405
209
+ #: views/accounts/register/imap-server.hbs:413
196
210
  msgid "Error"
197
211
  msgstr ""
198
212
 
199
- #: views/accounts/register/imap-server.hbs:407
213
+ #: views/accounts/register/imap-server.hbs:415
200
214
  msgid "Invalid settings"
201
215
  msgstr ""
202
216
 
203
- #: views/accounts/register/imap-server.hbs:413
217
+ #: views/accounts/register/imap-server.hbs:421
204
218
  msgid "Couldn't connect to IMAP server"
205
219
  msgstr ""
206
220
 
207
- #: views/accounts/register/imap-server.hbs:415
208
- #: views/accounts/register/imap-server.hbs:424
221
+ #: views/accounts/register/imap-server.hbs:423
222
+ #: views/accounts/register/imap-server.hbs:432
209
223
  msgid "Server response:"
210
224
  msgstr ""
211
225
 
212
- #: views/accounts/register/imap-server.hbs:422
226
+ #: views/accounts/register/imap-server.hbs:430
213
227
  msgid "Couldn't connect to SMTP server"
214
228
  msgstr ""
215
229
 
216
- #: views/accounts/register/imap-server.hbs:481
230
+ #: views/accounts/register/imap-server.hbs:489
217
231
  msgid "Request failed."
218
232
  msgstr ""
219
233
 
220
- #: views/unsubscribe.hbs:7
221
- #: views/unsubscribe.hbs:60
222
- #: views/unsubscribe.hbs:75
223
- msgid "Unsubscribe"
234
+ #: views/accounts/register/imap.hbs:13
235
+ msgid "Your name"
224
236
  msgstr ""
225
237
 
226
- #: views/unsubscribe.hbs:9
227
- msgid "Your email address was unsubscribed."
238
+ #: views/accounts/register/imap.hbs:19
239
+ msgid "Enter your full name"
228
240
  msgstr ""
229
241
 
230
- #: views/unsubscribe.hbs:11
231
- msgid "Was this a mistake? Click <a%s>here</a> to re-subscribe."
242
+ #: views/accounts/register/imap.hbs:35
243
+ msgid "This setup link is restricted to this email address"
232
244
  msgstr ""
233
245
 
234
- #: views/unsubscribe.hbs:18
235
- msgid "Re-subscribe"
246
+ #: views/accounts/register/imap.hbs:37
247
+ msgid "Enter your email address"
236
248
  msgstr ""
237
249
 
238
- #: views/unsubscribe.hbs:24
239
- msgid "Are you sure you want to re-subscribe your email address <em>%s</em>?"
250
+ #: views/accounts/register/imap.hbs:49
251
+ msgid "Enter your account password"
240
252
  msgstr ""
241
253
 
242
- #: views/unsubscribe.hbs:35
243
- msgid "Subscribe"
254
+ #: views/accounts/register/imap.hbs:55
255
+ msgid "Continue"
244
256
  msgstr ""
245
257
 
246
- #: views/unsubscribe.hbs:54
247
- msgid "Subscription resumed"
258
+ #: views/accounts/register/index.hbs:6
259
+ msgid "Choose your email account provider"
248
260
  msgstr ""
249
261
 
250
- #: views/unsubscribe.hbs:56
251
- msgid "Your email address <em>%s</em> was re-subscribed."
262
+ #: views/accounts/register/index.hbs:19
263
+ msgid "Standard IMAP"
252
264
  msgstr ""
253
265
 
254
266
  #: views/account-identity-error.hbs:7
@@ -275,7 +287,7 @@ msgid ""
275
287
  "contact the service that sent you this link."
276
288
  msgstr ""
277
289
 
278
- #: lib/autodetect-imap-settings.js:109
290
+ #: lib/autodetect-imap-settings.js:134
279
291
  msgid ""
280
292
  "Microsoft has disabled password-based sign-ins (including app passwords) "
281
293
  "for Outlook.com, Hotmail.com, and Microsoft 365 email accounts. To "
@@ -283,99 +295,103 @@ msgid ""
283
295
  "connect your account."
284
296
  msgstr ""
285
297
 
286
- #: lib/tools.js:1348
287
- #: lib/ui-routes/unsubscribe-routes.js:29
288
- #: lib/ui-routes/unsubscribe-routes.js:93
298
+ #: lib/tools.js:1534
299
+ #: lib/ui-routes/unsubscribe-routes.js:31
300
+ #: lib/ui-routes/unsubscribe-routes.js:99
289
301
  msgid "Invalid input"
290
302
  msgstr ""
291
303
 
292
- #: lib/tools.js:2198
304
+ #: lib/tools.js:2399
293
305
  msgid "Signature validation failed"
294
306
  msgstr ""
295
307
 
296
- #: lib/tools.js:2221
297
- #: lib/tools.js:2227
298
- #: lib/tools.js:2232
299
- #: lib/ui-routes/account-routes.js:1100
308
+ #: lib/tools.js:2422
309
+ #: lib/tools.js:2428
310
+ #: lib/tools.js:2433
311
+ #: lib/ui-routes/account-routes.js:1157
300
312
  msgid "Invalid or expired account setup URL"
301
313
  msgstr ""
302
314
 
303
- #: lib/ui-routes/account-routes.js:468
304
- #: lib/ui-routes/account-routes.js:512
305
- #: lib/ui-routes/account-routes.js:756
306
- #: lib/ui-routes/account-routes.js:807
307
- #: lib/ui-routes/account-routes.js:860
308
- #: lib/ui-routes/account-routes.js:1213
309
- #: lib/ui-routes/route-helpers.js:374
310
- #: workers/api.js:2345
311
- #: workers/api.js:2415
315
+ #: lib/ui-routes/account-routes.js:481
316
+ #: lib/ui-routes/account-routes.js:525
317
+ #: lib/ui-routes/account-routes.js:769
318
+ #: lib/ui-routes/account-routes.js:826
319
+ #: lib/ui-routes/account-routes.js:883
320
+ #: lib/ui-routes/account-routes.js:1270
321
+ #: lib/ui-routes/route-helpers.js:403
322
+ #: workers/api.js:2291
323
+ #: workers/api.js:2361
312
324
  msgid "Email Account Setup"
313
325
  msgstr ""
314
326
 
315
- #: lib/ui-routes/account-routes.js:537
316
- #: lib/ui-routes/account-routes.js:569
317
- #: lib/ui-routes/unsubscribe-routes.js:69
327
+ #: lib/ui-routes/account-routes.js:550
328
+ #: lib/ui-routes/account-routes.js:582
329
+ #: lib/ui-routes/unsubscribe-routes.js:71
318
330
  msgid "Invalid request. Check your input and try again."
319
331
  msgstr ""
320
332
 
321
- #: lib/ui-routes/account-routes.js:702
333
+ #: lib/ui-routes/account-routes.js:715
322
334
  msgid "Too many attempts for this setup link. Request a new setup link to continue."
323
335
  msgstr ""
324
336
 
325
- #: lib/ui-routes/account-routes.js:847
326
- #: lib/ui-routes/account-routes.js:1150
337
+ #: lib/ui-routes/account-routes.js:870
338
+ #: lib/ui-routes/account-routes.js:1207
327
339
  msgid "Couldn't set up account. Try again."
328
340
  msgstr ""
329
341
 
330
- #: lib/ui-routes/account-routes.js:930
331
- #: lib/ui-routes/account-routes.js:941
332
- #: lib/ui-routes/admin-entities-routes.js:2058
342
+ #: lib/ui-routes/account-routes.js:958
343
+ #: lib/ui-routes/account-routes.js:998
344
+ #: lib/ui-routes/admin-entities-routes.js:2077
333
345
  msgid "Server hostname was not found"
334
346
  msgstr ""
335
347
 
336
- #: lib/ui-routes/account-routes.js:933
337
- #: lib/ui-routes/account-routes.js:944
338
- #: lib/ui-routes/admin-entities-routes.js:2061
348
+ #: lib/ui-routes/account-routes.js:961
349
+ #: lib/ui-routes/account-routes.js:1001
350
+ #: lib/ui-routes/admin-entities-routes.js:2080
339
351
  msgid "Invalid username or password"
340
352
  msgstr ""
341
353
 
342
- #: lib/ui-routes/account-routes.js:947
343
- #: lib/ui-routes/admin-entities-routes.js:2064
344
- msgid "Authentication credentials were not provided"
354
+ #: lib/ui-routes/account-routes.js:966
355
+ #: lib/ui-routes/account-routes.js:1018
356
+ #: lib/ui-routes/admin-entities-routes.js:2097
357
+ msgid "Connection timed out"
345
358
  msgstr ""
346
359
 
347
- #: lib/ui-routes/account-routes.js:950
348
- #: lib/ui-routes/admin-entities-routes.js:2067
349
- msgid "OAuth2 authentication failed"
360
+ #: lib/ui-routes/account-routes.js:972
361
+ #: lib/ui-routes/account-routes.js:1021
362
+ #: lib/ui-routes/admin-entities-routes.js:2100
363
+ msgid "Could not connect to server"
350
364
  msgstr ""
351
365
 
352
- #: lib/ui-routes/account-routes.js:953
353
- #: lib/ui-routes/account-routes.js:957
354
- #: lib/ui-routes/admin-entities-routes.js:2070
355
- #: lib/ui-routes/admin-entities-routes.js:2074
366
+ #: lib/ui-routes/account-routes.js:985
367
+ #: lib/ui-routes/account-routes.js:989
368
+ #: lib/ui-routes/account-routes.js:1010
369
+ #: lib/ui-routes/account-routes.js:1014
370
+ #: lib/ui-routes/admin-entities-routes.js:2089
371
+ #: lib/ui-routes/admin-entities-routes.js:2093
356
372
  msgid "TLS protocol error"
357
373
  msgstr ""
358
374
 
359
- #: lib/ui-routes/account-routes.js:961
360
- #: lib/ui-routes/admin-entities-routes.js:2078
361
- msgid "Connection timed out"
375
+ #: lib/ui-routes/account-routes.js:1004
376
+ #: lib/ui-routes/admin-entities-routes.js:2083
377
+ msgid "Authentication credentials were not provided"
362
378
  msgstr ""
363
379
 
364
- #: lib/ui-routes/account-routes.js:964
365
- #: lib/ui-routes/admin-entities-routes.js:2081
366
- msgid "Could not connect to server"
380
+ #: lib/ui-routes/account-routes.js:1007
381
+ #: lib/ui-routes/admin-entities-routes.js:2086
382
+ msgid "OAuth2 authentication failed"
367
383
  msgstr ""
368
384
 
369
- #: lib/ui-routes/account-routes.js:967
370
- #: lib/ui-routes/admin-entities-routes.js:2084
385
+ #: lib/ui-routes/account-routes.js:1024
386
+ #: lib/ui-routes/admin-entities-routes.js:2103
371
387
  msgid "Unexpected server response"
372
388
  msgstr ""
373
389
 
374
- #: lib/ui-routes/account-routes.js:1088
390
+ #: lib/ui-routes/account-routes.js:1145
375
391
  msgid "Temporary error, please try again"
376
392
  msgstr ""
377
393
 
378
- #: lib/ui-routes/admin-config-routes.js:173
394
+ #: lib/ui-routes/admin-config-routes.js:182
379
395
  msgid "Invalid API key for OpenAI"
380
396
  msgstr ""
381
397
 
@@ -387,49 +403,79 @@ msgstr ""
387
403
  msgid "Indefinite"
388
404
  msgstr ""
389
405
 
390
- #: lib/ui-routes/route-helpers.js:132
391
- msgid ""
392
- "Connection timed out. This usually occurs if you are behind a firewall or "
393
- "connecting to the wrong port."
394
- msgstr ""
395
-
396
- #: lib/ui-routes/route-helpers.js:135
406
+ #: lib/ui-routes/route-helpers.js:105
397
407
  msgid "The server unexpectedly closed the connection."
398
408
  msgstr ""
399
409
 
400
- #: lib/ui-routes/route-helpers.js:138
410
+ #: lib/ui-routes/route-helpers.js:107
401
411
  msgid ""
402
412
  "The server unexpectedly closed the connection. This usually happens when "
403
413
  "attempting to connect to a TLS port without TLS enabled."
404
414
  msgstr ""
405
415
 
406
- #: lib/ui-routes/route-helpers.js:143
416
+ #: lib/ui-routes/route-helpers.js:162
417
+ msgid ""
418
+ "Connection timed out. This usually occurs if you are behind a firewall or "
419
+ "connecting to the wrong port."
420
+ msgstr ""
421
+
422
+ #: lib/ui-routes/route-helpers.js:169
407
423
  msgid ""
408
424
  "The server refused the connection. This typically occurs if the server is "
409
425
  "not running, is overloaded, or you are connecting to the wrong host or port."
410
426
  msgstr ""
411
427
 
412
- #: lib/ui-routes/route-helpers.js:197
428
+ #: lib/ui-routes/route-helpers.js:223
413
429
  msgid "Delegated"
414
430
  msgstr ""
415
431
 
416
- #: lib/ui-routes/route-helpers.js:198
432
+ #: lib/ui-routes/route-helpers.js:224
417
433
  msgid "Using credentials from \"%s\""
418
434
  msgstr ""
419
435
 
420
- #: lib/ui-routes/unsubscribe-routes.js:39
421
- #: lib/ui-routes/unsubscribe-routes.js:161
422
- #: lib/ui-routes/unsubscribe-routes.js:188
423
- #: lib/ui-routes/unsubscribe-routes.js:223
436
+ #: lib/ui-routes/unsubscribe-routes.js:41
437
+ #: lib/ui-routes/unsubscribe-routes.js:167
438
+ #: lib/ui-routes/unsubscribe-routes.js:197
439
+ #: lib/ui-routes/unsubscribe-routes.js:242
424
440
  msgid "Subscription Management"
425
441
  msgstr ""
426
442
 
427
- #: lib/ui-routes/unsubscribe-routes.js:180
428
- #: lib/ui-routes/unsubscribe-routes.js:216
443
+ #: lib/ui-routes/unsubscribe-routes.js:186
444
+ #: lib/ui-routes/unsubscribe-routes.js:235
429
445
  msgid "Couldn't process request. Try again."
430
446
  msgstr ""
431
447
 
432
- #: workers/api.js:3159
433
- #: workers/api.js:3263
448
+ #: workers/api.js:2220
449
+ msgid ""
450
+ "The sign-in was cancelled or the requested access was not granted. Open the "
451
+ "account setup link again to retry."
452
+ msgstr ""
453
+
454
+ #: workers/api.js:2229
455
+ msgid "Sign-in with the email provider failed: %s"
456
+ msgstr ""
457
+
458
+ #: workers/api.js:2233
459
+ msgid "Sign-in with the email provider failed: no authorization code was received"
460
+ msgstr ""
461
+
462
+ #: workers/api.js:2239
463
+ msgid "Sign-in with the email provider failed: the request state is not valid"
464
+ msgstr ""
465
+
466
+ #: workers/api.js:2245
467
+ msgid ""
468
+ "The account setup session has expired or was already used. Open the account "
469
+ "setup link again to retry."
470
+ msgstr ""
471
+
472
+ #: workers/api.js:2252
473
+ msgid ""
474
+ "Sign-in with the email provider failed: the stored setup session is not "
475
+ "valid"
476
+ msgstr ""
477
+
478
+ #: workers/api.js:3118
479
+ #: workers/api.js:3233
434
480
  msgid "Requested page not found"
435
481
  msgstr ""