emailengine-app 2.79.8 → 2.79.9

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 (133) 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 +20 -0
  5. package/DOCKER_DEPLOYMENT.md +6 -7
  6. package/Dockerfile +35 -11
  7. package/config/default.toml +2 -1
  8. package/copy-static-files.sh +23 -5
  9. package/data/google-crawlers.json +1 -1
  10. package/lib/account.js +26 -1
  11. package/lib/api-routes/bull-board-routes.js +3 -2
  12. package/lib/api-routes/route-helpers.js +8 -0
  13. package/lib/auth-token.js +73 -2
  14. package/lib/autodetect-imap-settings.js +33 -25
  15. package/lib/consts.js +8 -1
  16. package/lib/egress-fetch.js +133 -0
  17. package/lib/export.js +35 -2
  18. package/lib/handlebars-helpers.js +129 -0
  19. package/lib/imap-proxy-auth.js +41 -21
  20. package/lib/imapproxy/imap-core/README.md +1 -0
  21. package/lib/imapproxy/imap-core/lib/tls-options.js +5 -46
  22. package/lib/imapproxy/imap-server.js +9 -10
  23. package/lib/openapi/index.js +3 -0
  24. package/lib/outbox.js +28 -3
  25. package/lib/rate-limit.js +23 -4
  26. package/lib/schemas.js +10 -3
  27. package/lib/security-headers.js +396 -0
  28. package/lib/sentry.js +36 -4
  29. package/lib/smtp-auth.js +86 -7
  30. package/lib/tools.js +265 -120
  31. package/lib/ui-routes/account-routes.js +4 -3
  32. package/lib/ui-routes/export-routes.js +4 -0
  33. package/lib/ui-routes/mcp-consent-routes.js +7 -0
  34. package/lib/ui-routes/network-config-routes.js +4 -3
  35. package/lib/ui-routes/route-helpers.js +24 -8
  36. package/lib/ui-routes/smtp-test-routes.js +7 -0
  37. package/lib/webhook-egress.js +5 -0
  38. package/package.json +21 -24
  39. package/sbom.json +1 -1
  40. package/server.js +37 -36
  41. package/static/js/ace/css/ace.css +1462 -0
  42. package/static/js/ace/css/kuroir-1.png +0 -0
  43. package/static/js/ace/css/kuroir-2.png +0 -0
  44. package/static/js/ace/css/main-1.png +0 -0
  45. package/static/js/ace/css/main-10.svg +4 -0
  46. package/static/js/ace/css/main-11.svg +5 -0
  47. package/static/js/ace/css/main-12.svg +4 -0
  48. package/static/js/ace/css/main-13.png +0 -0
  49. package/static/js/ace/css/main-14.png +0 -0
  50. package/static/js/ace/css/main-15.png +0 -0
  51. package/static/js/ace/css/main-16.png +0 -0
  52. package/static/js/ace/css/main-17.png +0 -0
  53. package/static/js/ace/css/main-18.png +0 -0
  54. package/static/js/ace/css/main-19.png +0 -0
  55. package/static/js/ace/css/main-2.png +0 -0
  56. package/static/js/ace/css/main-20.png +0 -0
  57. package/static/js/ace/css/main-21.png +0 -0
  58. package/static/js/ace/css/main-22.png +0 -0
  59. package/static/js/ace/css/main-23.png +0 -0
  60. package/static/js/ace/css/main-24.png +0 -0
  61. package/static/js/ace/css/main-25.svg +1 -0
  62. package/static/js/ace/css/main-26.png +0 -0
  63. package/static/js/ace/css/main-3.png +0 -0
  64. package/static/js/ace/css/main-4.png +0 -0
  65. package/static/js/ace/css/main-5.svg +7 -0
  66. package/static/js/ace/css/main-6.svg +9 -0
  67. package/static/js/ace/css/main-7.svg +7 -0
  68. package/static/js/ace/css/main-8.svg +9 -0
  69. package/static/js/ace/css/main-9.svg +6 -0
  70. package/static/js/ace/css/theme/kuroir.css +78 -0
  71. package/static/js/ace/css/theme/tomorrow_night.css +128 -0
  72. package/static/js/ace/css/theme/tomorrow_night_eighties.css +128 -0
  73. package/static/js/ace/css/theme/xcode.css +106 -0
  74. package/static/js/ace/css/tomorrow_night-1.png +0 -0
  75. package/static/js/ace/css/tomorrow_night-2.png +0 -0
  76. package/static/js/ace/css/tomorrow_night_eighties-1.png +0 -0
  77. package/static/js/ace/css/tomorrow_night_eighties-2.png +0 -0
  78. package/static/js/ace/css/xcode-1.png +0 -0
  79. package/static/js/ace/css/xcode-2.png +0 -0
  80. package/static/js/ee-client.js +256 -102
  81. package/static/js/public.js +7 -0
  82. package/static/js/ui.js +32 -0
  83. package/static/licenses.html +331 -291
  84. package/static/vendor/simplewebauthn/browser.min.js +2 -2
  85. package/translations/messages.pot +203 -157
  86. package/views/accounts/account.hbs +15 -37
  87. package/views/accounts/browse.hbs +3 -1
  88. package/views/accounts/edit.hbs +1 -1
  89. package/views/accounts/register/imap-server.hbs +1 -1
  90. package/views/config/ai.hbs +1 -1
  91. package/views/config/branding.hbs +2 -2
  92. package/views/config/document-store/chat.hbs +1 -1
  93. package/views/config/document-store/index.hbs +1 -1
  94. package/views/config/imap-proxy.hbs +1 -1
  95. package/views/config/license.hbs +1 -1
  96. package/views/config/mcp.hbs +1 -1
  97. package/views/config/network.hbs +14 -16
  98. package/views/config/oauth/app.hbs +2 -2
  99. package/views/config/service.hbs +1 -1
  100. package/views/config/smtp.hbs +1 -1
  101. package/views/config/webhooks.hbs +2 -2
  102. package/views/error.hbs +4 -2
  103. package/views/internals/index.hbs +1 -1
  104. package/views/layout/app.hbs +3 -11
  105. package/views/mcp/authorize.hbs +1 -1
  106. package/views/partials/ace_assets.hbs +13 -0
  107. package/views/partials/add_account_modal.hbs +1 -1
  108. package/views/partials/address_list.hbs +4 -4
  109. package/views/partials/filter_editor_js.hbs +2 -2
  110. package/views/partials/gateway_js.hbs +1 -1
  111. package/views/partials/oauth_form.hbs +1 -1
  112. package/views/partials/public_theme_init.hbs +1 -1
  113. package/views/partials/template_form.hbs +2 -2
  114. package/views/partials/test_send.hbs +7 -4
  115. package/views/partials/theme_init.hbs +1 -1
  116. package/views/partials/ui/details.hbs +2 -2
  117. package/views/partials/webhooks_editor_functions.hbs +1 -1
  118. package/views/reference/redirect.hbs +1 -1
  119. package/views/templates/template.hbs +2 -2
  120. package/views/tokens/new.hbs +1 -1
  121. package/views/unsubscribe.hbs +1 -1
  122. package/views/webhooks/webhook.hbs +2 -2
  123. package/workers/api.js +42 -112
  124. package/workers/export.js +1 -5
  125. package/workers/imap.js +1 -3
  126. package/workers/smtp.js +12 -43
  127. package/workers/submit.js +6 -12
  128. package/workers/webhooks.js +6 -17
  129. package/static/front/EmailEngine_logo_horiz.png +0 -0
  130. package/static/front/EmailEngine_logo_vert.png +0 -0
  131. package/static/front/index.html +0 -57
  132. package/static/front/logo.png +0 -0
  133. package/static/vendor/handlebars/handlebars.min-v4.7.9.js +0 -29
@@ -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-07 13:17+0000\n"
5
5
 
6
6
  #: views/error.hbs:6
7
- #: workers/api.js:3160
7
+ #: workers/api.js:3153
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
 
@@ -56,27 +56,64 @@ msgstr ""
56
56
  msgid "Try Again"
57
57
  msgstr ""
58
58
 
59
- #: views/accounts/register/index.hbs:6
60
- msgid "Choose your email account provider"
59
+ #: views/unsubscribe.hbs:7
60
+ #: views/unsubscribe.hbs:60
61
+ #: views/unsubscribe.hbs:76
62
+ msgid "Unsubscribe"
61
63
  msgstr ""
62
64
 
63
- #: views/accounts/register/index.hbs:19
64
- msgid "Standard IMAP"
65
+ #: views/unsubscribe.hbs:9
66
+ msgid "Your email address was unsubscribed."
65
67
  msgstr ""
66
68
 
67
- #: views/accounts/register/imap.hbs:13
68
- msgid "Your name"
69
+ #: views/unsubscribe.hbs:11
70
+ msgid "Was this a mistake? Click <a%s>here</a> to re-subscribe."
69
71
  msgstr ""
70
72
 
71
- #: views/accounts/register/imap.hbs:19
72
- msgid "Enter your full name"
73
+ #: views/unsubscribe.hbs:18
74
+ msgid "Re-subscribe"
75
+ msgstr ""
76
+
77
+ #: views/unsubscribe.hbs:24
78
+ msgid "Are you sure you want to re-subscribe your email address <em>%s</em>?"
79
+ msgstr ""
80
+
81
+ #: views/unsubscribe.hbs:33
82
+ #: views/accounts/register/imap-server.hbs:286
83
+ msgid "Close"
84
+ msgstr ""
85
+
86
+ #: views/unsubscribe.hbs:35
87
+ msgid "Subscribe"
88
+ msgstr ""
89
+
90
+ #: views/unsubscribe.hbs:54
91
+ msgid "Subscription resumed"
92
+ msgstr ""
93
+
94
+ #: views/unsubscribe.hbs:56
95
+ msgid "Your email address <em>%s</em> was re-subscribed."
73
96
  msgstr ""
74
97
 
98
+ #: views/unsubscribe.hbs:71
75
99
  #: views/accounts/register/imap.hbs:25
76
- #: views/unsubscribe.hbs:70
77
100
  msgid "Email address"
78
101
  msgstr ""
79
102
 
103
+ #: views/unsubscribe.hbs:83
104
+ msgid ""
105
+ "This link is not valid. Use the unsubscribe link from the email you "
106
+ "received."
107
+ msgstr ""
108
+
109
+ #: views/accounts/register/imap.hbs:13
110
+ msgid "Your name"
111
+ msgstr ""
112
+
113
+ #: views/accounts/register/imap.hbs:19
114
+ msgid "Enter your full name"
115
+ msgstr ""
116
+
80
117
  #: views/accounts/register/imap.hbs:35
81
118
  msgid "This setup link is restricted to this email address"
82
119
  msgstr ""
@@ -86,8 +123,8 @@ msgid "Enter your email address"
86
123
  msgstr ""
87
124
 
88
125
  #: views/accounts/register/imap.hbs:43
89
- #: views/accounts/register/imap-server.hbs:39
90
- #: views/accounts/register/imap-server.hbs:146
126
+ #: views/accounts/register/imap-server.hbs:47
127
+ #: views/accounts/register/imap-server.hbs:154
91
128
  msgid "Password"
92
129
  msgstr ""
93
130
 
@@ -99,158 +136,133 @@ msgstr ""
99
136
  msgid "Continue"
100
137
  msgstr ""
101
138
 
102
- #: views/accounts/register/imap-server.hbs:22
139
+ #: views/accounts/register/index.hbs:6
140
+ msgid "Choose your email account provider"
141
+ msgstr ""
142
+
143
+ #: views/accounts/register/index.hbs:19
144
+ msgid "Standard IMAP"
145
+ msgstr ""
146
+
147
+ #: views/accounts/register/imap-server.hbs:23
148
+ msgid ""
149
+ "Server settings could not be detected automatically for %s. Enter them "
150
+ "below."
151
+ msgstr ""
152
+
153
+ #: views/accounts/register/imap-server.hbs:30
103
154
  msgid "IMAP"
104
155
  msgstr ""
105
156
 
106
- #: views/accounts/register/imap-server.hbs:25
107
- #: views/accounts/register/imap-server.hbs:132
157
+ #: views/accounts/register/imap-server.hbs:33
158
+ #: views/accounts/register/imap-server.hbs:140
108
159
  msgid "Username"
109
160
  msgstr ""
110
161
 
111
- #: views/accounts/register/imap-server.hbs:51
112
- #: views/accounts/register/imap-server.hbs:158
162
+ #: views/accounts/register/imap-server.hbs:59
163
+ #: views/accounts/register/imap-server.hbs:166
113
164
  msgid "Important"
114
165
  msgstr ""
115
166
 
116
- #: views/accounts/register/imap-server.hbs:62
117
- #: views/accounts/register/imap-server.hbs:169
167
+ #: views/accounts/register/imap-server.hbs:70
168
+ #: views/accounts/register/imap-server.hbs:177
118
169
  msgid "Instructions"
119
170
  msgstr ""
120
171
 
121
- #: views/accounts/register/imap-server.hbs:64
122
- #: views/accounts/register/imap-server.hbs:171
172
+ #: views/accounts/register/imap-server.hbs:72
173
+ #: views/accounts/register/imap-server.hbs:179
123
174
  msgid "%s accounts require an application password for %s."
124
175
  msgstr ""
125
176
 
126
- #: views/accounts/register/imap-server.hbs:73
127
- #: views/accounts/register/imap-server.hbs:180
177
+ #: views/accounts/register/imap-server.hbs:81
178
+ #: views/accounts/register/imap-server.hbs:188
128
179
  msgid "Application Password"
129
180
  msgstr ""
130
181
 
131
- #: views/accounts/register/imap-server.hbs:87
132
- #: views/accounts/register/imap-server.hbs:194
182
+ #: views/accounts/register/imap-server.hbs:95
183
+ #: views/accounts/register/imap-server.hbs:202
133
184
  msgid "Hostname"
134
185
  msgstr ""
135
186
 
136
- #: views/accounts/register/imap-server.hbs:97
137
- #: views/accounts/register/imap-server.hbs:204
187
+ #: views/accounts/register/imap-server.hbs:105
188
+ #: views/accounts/register/imap-server.hbs:212
138
189
  msgid "Port"
139
190
  msgstr ""
140
191
 
141
- #: views/accounts/register/imap-server.hbs:112
192
+ #: views/accounts/register/imap-server.hbs:120
142
193
  msgid "TLS for IMAP"
143
194
  msgstr ""
144
195
 
145
- #: views/accounts/register/imap-server.hbs:113
196
+ #: views/accounts/register/imap-server.hbs:121
146
197
  msgid ""
147
198
  "TLS (also known as SSL) is usually only needed when using port 993. For "
148
199
  "other ports EmailEngine falls back to using STARTTLS based encryption."
149
200
  msgstr ""
150
201
 
151
- #: views/accounts/register/imap-server.hbs:120
152
- #: views/accounts/register/imap-server.hbs:227
202
+ #: views/accounts/register/imap-server.hbs:128
203
+ #: views/accounts/register/imap-server.hbs:235
153
204
  msgid "Use TLS"
154
205
  msgstr ""
155
206
 
156
- #: views/accounts/register/imap-server.hbs:129
207
+ #: views/accounts/register/imap-server.hbs:137
157
208
  msgid "SMTP"
158
209
  msgstr ""
159
210
 
160
- #: views/accounts/register/imap-server.hbs:219
211
+ #: views/accounts/register/imap-server.hbs:227
161
212
  msgid "TLS for SMTP"
162
213
  msgstr ""
163
214
 
164
- #: views/accounts/register/imap-server.hbs:220
215
+ #: views/accounts/register/imap-server.hbs:228
165
216
  msgid ""
166
217
  "TLS (also known as SSL) is usually only needed when using port 465. For "
167
218
  "other ports EmailEngine falls back to using STARTTLS based encryption."
168
219
  msgstr ""
169
220
 
170
- #: views/accounts/register/imap-server.hbs:240
221
+ #: views/accounts/register/imap-server.hbs:248
171
222
  msgid "Verify connection"
172
223
  msgstr ""
173
224
 
174
- #: views/accounts/register/imap-server.hbs:246
225
+ #: views/accounts/register/imap-server.hbs:254
175
226
  msgid "Save and continue"
176
227
  msgstr ""
177
228
 
178
- #: views/accounts/register/imap-server.hbs:255
229
+ #: views/accounts/register/imap-server.hbs:263
179
230
  msgid "Skip verification"
180
231
  msgstr ""
181
232
 
182
- #: views/accounts/register/imap-server.hbs:268
233
+ #: views/accounts/register/imap-server.hbs:276
183
234
  msgid "Connection test failed"
184
235
  msgstr ""
185
236
 
186
- #: views/accounts/register/imap-server.hbs:274
237
+ #: views/accounts/register/imap-server.hbs:282
187
238
  msgid "We couldn't connect with these settings. Check the errors below."
188
239
  msgstr ""
189
240
 
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
241
+ #: views/accounts/register/imap-server.hbs:413
196
242
  msgid "Error"
197
243
  msgstr ""
198
244
 
199
- #: views/accounts/register/imap-server.hbs:407
245
+ #: views/accounts/register/imap-server.hbs:415
200
246
  msgid "Invalid settings"
201
247
  msgstr ""
202
248
 
203
- #: views/accounts/register/imap-server.hbs:413
249
+ #: views/accounts/register/imap-server.hbs:421
204
250
  msgid "Couldn't connect to IMAP server"
205
251
  msgstr ""
206
252
 
207
- #: views/accounts/register/imap-server.hbs:415
208
- #: views/accounts/register/imap-server.hbs:424
253
+ #: views/accounts/register/imap-server.hbs:423
254
+ #: views/accounts/register/imap-server.hbs:432
209
255
  msgid "Server response:"
210
256
  msgstr ""
211
257
 
212
- #: views/accounts/register/imap-server.hbs:422
258
+ #: views/accounts/register/imap-server.hbs:430
213
259
  msgid "Couldn't connect to SMTP server"
214
260
  msgstr ""
215
261
 
216
- #: views/accounts/register/imap-server.hbs:481
262
+ #: views/accounts/register/imap-server.hbs:489
217
263
  msgid "Request failed."
218
264
  msgstr ""
219
265
 
220
- #: views/unsubscribe.hbs:7
221
- #: views/unsubscribe.hbs:60
222
- #: views/unsubscribe.hbs:75
223
- msgid "Unsubscribe"
224
- msgstr ""
225
-
226
- #: views/unsubscribe.hbs:9
227
- msgid "Your email address was unsubscribed."
228
- msgstr ""
229
-
230
- #: views/unsubscribe.hbs:11
231
- msgid "Was this a mistake? Click <a%s>here</a> to re-subscribe."
232
- msgstr ""
233
-
234
- #: views/unsubscribe.hbs:18
235
- msgid "Re-subscribe"
236
- msgstr ""
237
-
238
- #: views/unsubscribe.hbs:24
239
- msgid "Are you sure you want to re-subscribe your email address <em>%s</em>?"
240
- msgstr ""
241
-
242
- #: views/unsubscribe.hbs:35
243
- msgid "Subscribe"
244
- msgstr ""
245
-
246
- #: views/unsubscribe.hbs:54
247
- msgid "Subscription resumed"
248
- msgstr ""
249
-
250
- #: views/unsubscribe.hbs:56
251
- msgid "Your email address <em>%s</em> was re-subscribed."
252
- msgstr ""
253
-
254
266
  #: views/account-identity-error.hbs:7
255
267
  msgid "Wrong Email Account"
256
268
  msgstr ""
@@ -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:111
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:1480
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:2345
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:2368
309
+ #: lib/tools.js:2374
310
+ #: lib/tools.js:2379
311
+ #: lib/ui-routes/account-routes.js:1149
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:479
316
+ #: lib/ui-routes/account-routes.js:523
317
+ #: lib/ui-routes/account-routes.js:767
318
+ #: lib/ui-routes/account-routes.js:818
319
+ #: lib/ui-routes/account-routes.js:875
320
+ #: lib/ui-routes/account-routes.js:1262
321
+ #: lib/ui-routes/route-helpers.js:403
322
+ #: workers/api.js:2325
323
+ #: workers/api.js:2395
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:548
328
+ #: lib/ui-routes/account-routes.js:580
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:713
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:862
338
+ #: lib/ui-routes/account-routes.js:1199
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:950
343
+ #: lib/ui-routes/account-routes.js:990
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:953
349
+ #: lib/ui-routes/account-routes.js:993
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:958
355
+ #: lib/ui-routes/account-routes.js:1010
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:964
361
+ #: lib/ui-routes/account-routes.js:1013
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:977
367
+ #: lib/ui-routes/account-routes.js:981
368
+ #: lib/ui-routes/account-routes.js:1002
369
+ #: lib/ui-routes/account-routes.js:1006
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:996
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:999
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:1016
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:1137
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:172
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:2254
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:2263
455
+ msgid "Sign-in with the email provider failed: %s"
456
+ msgstr ""
457
+
458
+ #: workers/api.js:2267
459
+ msgid "Sign-in with the email provider failed: no authorization code was received"
460
+ msgstr ""
461
+
462
+ #: workers/api.js:2273
463
+ msgid "Sign-in with the email provider failed: the request state is not valid"
464
+ msgstr ""
465
+
466
+ #: workers/api.js:2279
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:2286
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:3152
479
+ #: workers/api.js:3267
434
480
  msgid "Requested page not found"
435
481
  msgstr ""