emailengine-app 2.79.7 → 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.
- package/.github/dependabot.yml +22 -0
- package/.github/workflows/test.yml +39 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +37 -0
- package/DOCKER_DEPLOYMENT.md +8 -7
- package/Dockerfile +35 -11
- package/bin/emailengine.js +29 -13
- package/config/default.toml +15 -4
- package/copy-static-files.sh +23 -5
- package/data/google-crawlers.json +7 -1
- package/docker-compose.yml +12 -3
- package/install.sh +2 -0
- package/lib/account.js +26 -1
- package/lib/api-routes/account-routes.js +14 -3
- package/lib/api-routes/bull-board-routes.js +3 -2
- package/lib/api-routes/mailbox-routes.js +4 -1
- package/lib/api-routes/message-routes.js +6 -5
- package/lib/api-routes/outbox-routes.js +7 -4
- package/lib/api-routes/route-helpers.js +8 -0
- package/lib/api-routes/settings-routes.js +34 -25
- package/lib/api-routes/stats-routes.js +8 -1
- package/lib/api-routes/submit-routes.js +2 -1
- package/lib/api-routes/template-routes.js +3 -2
- package/lib/auth-token.js +73 -2
- package/lib/autodetect-imap-settings.js +33 -25
- package/lib/bounce-detect.js +45 -0
- package/lib/consts.js +13 -2
- package/lib/egress-fetch.js +133 -0
- package/lib/egress-filter.js +39 -4
- package/lib/email-client/base-client.js +274 -24
- package/lib/email-client/gmail/gmail-api.js +15 -7
- package/lib/email-client/gmail-client.js +121 -64
- package/lib/email-client/imap/mailbox.js +18 -59
- package/lib/email-client/imap-client.js +53 -29
- package/lib/email-client/notification-handler.js +11 -2
- package/lib/email-client/outlook/graph-api.js +106 -90
- package/lib/email-client/outlook-client.js +222 -106
- package/lib/export.js +35 -2
- package/lib/generate-text-preview.js +10 -5
- package/lib/handlebars-helpers.js +129 -0
- package/lib/headers-rewriter.js +1 -1
- package/lib/imap-proxy-auth.js +41 -21
- package/lib/imapproxy/imap-core/README.md +1 -0
- package/lib/imapproxy/imap-core/lib/tls-options.js +5 -46
- package/lib/imapproxy/imap-server.js +9 -10
- package/lib/llm-pre-process.js +4 -1
- package/lib/mcp/json-schema.js +50 -2
- package/lib/openapi/index.js +3 -0
- package/lib/outbox.js +50 -8
- package/lib/pre-process.js +4 -1
- package/lib/rate-limit.js +23 -4
- package/lib/rewrite-text-nodes.js +12 -1
- package/lib/schemas.js +37 -8
- package/lib/security-headers.js +396 -0
- package/lib/sentry.js +36 -4
- package/lib/settings.js +19 -1
- package/lib/smtp-auth.js +86 -7
- package/lib/sso.js +13 -3
- package/lib/submit-progress.js +29 -0
- package/lib/templates.js +11 -0
- package/lib/tools.js +361 -173
- package/lib/ui-routes/account-routes.js +73 -13
- package/lib/ui-routes/admin-config-routes.js +7 -21
- package/lib/ui-routes/admin-entities-routes.js +42 -12
- package/lib/ui-routes/auth-routes.js +87 -28
- package/lib/ui-routes/dashboard-routes.js +1 -1
- package/lib/ui-routes/export-routes.js +4 -0
- package/lib/ui-routes/internals-routes.js +2 -0
- package/lib/ui-routes/mcp-consent-routes.js +12 -2
- package/lib/ui-routes/network-config-routes.js +6 -5
- package/lib/ui-routes/oauth-config-routes.js +12 -1
- package/lib/ui-routes/route-helpers.js +65 -14
- package/lib/ui-routes/settings-page.js +10 -0
- package/lib/ui-routes/smtp-test-routes.js +7 -0
- package/lib/ui-routes/suppression-list-routes.js +16 -5
- package/lib/ui-routes/unsubscribe-routes.js +22 -3
- package/lib/webhook-egress.js +5 -0
- package/lib/webhooks.js +14 -2
- package/package.json +23 -26
- package/sbom.json +1 -1
- package/server.js +100 -71
- package/static/css/flyonui.css +1 -1
- package/static/js/ace/css/ace.css +1462 -0
- package/static/js/ace/css/kuroir-1.png +0 -0
- package/static/js/ace/css/kuroir-2.png +0 -0
- package/static/js/ace/css/main-1.png +0 -0
- package/static/js/ace/css/main-10.svg +4 -0
- package/static/js/ace/css/main-11.svg +5 -0
- package/static/js/ace/css/main-12.svg +4 -0
- package/static/js/ace/css/main-13.png +0 -0
- package/static/js/ace/css/main-14.png +0 -0
- package/static/js/ace/css/main-15.png +0 -0
- package/static/js/ace/css/main-16.png +0 -0
- package/static/js/ace/css/main-17.png +0 -0
- package/static/js/ace/css/main-18.png +0 -0
- package/static/js/ace/css/main-19.png +0 -0
- package/static/js/ace/css/main-2.png +0 -0
- package/static/js/ace/css/main-20.png +0 -0
- package/static/js/ace/css/main-21.png +0 -0
- package/static/js/ace/css/main-22.png +0 -0
- package/static/js/ace/css/main-23.png +0 -0
- package/static/js/ace/css/main-24.png +0 -0
- package/static/js/ace/css/main-25.svg +1 -0
- package/static/js/ace/css/main-26.png +0 -0
- package/static/js/ace/css/main-3.png +0 -0
- package/static/js/ace/css/main-4.png +0 -0
- package/static/js/ace/css/main-5.svg +7 -0
- package/static/js/ace/css/main-6.svg +9 -0
- package/static/js/ace/css/main-7.svg +7 -0
- package/static/js/ace/css/main-8.svg +9 -0
- package/static/js/ace/css/main-9.svg +6 -0
- package/static/js/ace/css/theme/kuroir.css +78 -0
- package/static/js/ace/css/theme/tomorrow_night.css +128 -0
- package/static/js/ace/css/theme/tomorrow_night_eighties.css +128 -0
- package/static/js/ace/css/theme/xcode.css +106 -0
- package/static/js/ace/css/tomorrow_night-1.png +0 -0
- package/static/js/ace/css/tomorrow_night-2.png +0 -0
- package/static/js/ace/css/tomorrow_night_eighties-1.png +0 -0
- package/static/js/ace/css/tomorrow_night_eighties-2.png +0 -0
- package/static/js/ace/css/xcode-1.png +0 -0
- package/static/js/ace/css/xcode-2.png +0 -0
- package/static/js/ee-client.js +256 -102
- package/static/js/public.js +7 -0
- package/static/js/ui.js +32 -0
- package/static/licenses.html +338 -298
- package/static/vendor/simplewebauthn/browser.min.js +2 -2
- package/translations/messages.pot +158 -112
- package/views/account/passkeys.hbs +8 -0
- package/views/account/password.hbs +11 -0
- package/views/account/security.hbs +18 -7
- package/views/accounts/account.hbs +21 -38
- package/views/accounts/browse.hbs +3 -1
- package/views/accounts/edit.hbs +1 -1
- package/views/accounts/register/imap-server.hbs +11 -3
- package/views/config/ai.hbs +3 -1
- package/views/config/branding.hbs +4 -2
- package/views/config/document-store/chat.hbs +1 -1
- package/views/config/document-store/index.hbs +1 -1
- package/views/config/email-processing.hbs +2 -0
- package/views/config/imap-proxy.hbs +3 -1
- package/views/config/license.hbs +1 -1
- package/views/config/logging.hbs +3 -1
- package/views/config/mcp.hbs +3 -1
- package/views/config/network.hbs +16 -16
- package/views/config/oauth/app.hbs +4 -4
- package/views/config/security.hbs +2 -0
- package/views/config/service.hbs +3 -1
- package/views/config/smtp.hbs +3 -1
- package/views/config/webhooks.hbs +4 -2
- package/views/error.hbs +10 -2
- package/views/internals/index.hbs +1 -1
- package/views/layout/app.hbs +9 -14
- package/views/layout/login.hbs +1 -1
- package/views/layout/prompt.hbs +1 -1
- package/views/layout/public.hbs +1 -1
- package/views/legal.hbs +1 -1
- package/views/mcp/authorize.hbs +1 -1
- package/views/partials/ace_assets.hbs +13 -0
- package/views/partials/add_account_modal.hbs +1 -1
- package/views/partials/address_list.hbs +4 -4
- package/views/partials/filter_editor_js.hbs +3 -3
- package/views/partials/gateway_js.hbs +1 -1
- package/views/partials/oauth_form.hbs +6 -6
- package/views/partials/public_theme_init.hbs +1 -1
- package/views/partials/template_form.hbs +2 -2
- package/views/partials/test_send.hbs +7 -4
- package/views/partials/theme_init.hbs +1 -1
- package/views/partials/ui/details.hbs +2 -2
- package/views/partials/ui/env-managed-alert.hbs +19 -0
- package/views/partials/webhook_form.hbs +1 -1
- package/views/partials/webhooks_editor_functions.hbs +1 -1
- package/views/reference/redirect.hbs +1 -1
- package/views/templates/template.hbs +2 -2
- package/views/tokens/new.hbs +1 -1
- package/views/unsubscribe.hbs +7 -1
- package/views/webhooks/webhook.hbs +2 -2
- package/workers/api.js +179 -175
- package/workers/export.js +1 -5
- package/workers/imap.js +33 -6
- package/workers/smtp.js +19 -43
- package/workers/submit.js +31 -13
- package/workers/webhooks.js +9 -24
- package/lib/reconnection-manager.js +0 -106
- package/static/front/EmailEngine_logo_horiz.png +0 -0
- package/static/front/EmailEngine_logo_vert.png +0 -0
- package/static/front/index.html +0 -57
- package/static/front/logo.png +0 -0
- package/static/vendor/handlebars/handlebars.min-v4.7.9.js +0 -29
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* [@simplewebauthn/browser@
|
|
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-
|
|
4
|
+
"POT-Creation-Date: 2026-09-07 13:17+0000\n"
|
|
5
5
|
|
|
6
6
|
#: views/error.hbs:6
|
|
7
|
-
#: workers/api.js:
|
|
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:
|
|
15
|
+
#: views/error.hbs:20
|
|
16
16
|
msgid "Go back"
|
|
17
17
|
msgstr ""
|
|
18
18
|
|
|
19
|
-
#: views/error.hbs:
|
|
19
|
+
#: views/error.hbs:28
|
|
20
20
|
msgid "Dashboard"
|
|
21
21
|
msgstr ""
|
|
22
22
|
|
|
@@ -58,7 +58,7 @@ msgstr ""
|
|
|
58
58
|
|
|
59
59
|
#: views/unsubscribe.hbs:7
|
|
60
60
|
#: views/unsubscribe.hbs:60
|
|
61
|
-
#: views/unsubscribe.hbs:
|
|
61
|
+
#: views/unsubscribe.hbs:76
|
|
62
62
|
msgid "Unsubscribe"
|
|
63
63
|
msgstr ""
|
|
64
64
|
|
|
@@ -79,7 +79,7 @@ msgid "Are you sure you want to re-subscribe your email address <em>%s</em>?"
|
|
|
79
79
|
msgstr ""
|
|
80
80
|
|
|
81
81
|
#: views/unsubscribe.hbs:33
|
|
82
|
-
#: views/accounts/register/imap-server.hbs:
|
|
82
|
+
#: views/accounts/register/imap-server.hbs:286
|
|
83
83
|
msgid "Close"
|
|
84
84
|
msgstr ""
|
|
85
85
|
|
|
@@ -95,11 +95,17 @@ msgstr ""
|
|
|
95
95
|
msgid "Your email address <em>%s</em> was re-subscribed."
|
|
96
96
|
msgstr ""
|
|
97
97
|
|
|
98
|
-
#: views/unsubscribe.hbs:
|
|
98
|
+
#: views/unsubscribe.hbs:71
|
|
99
99
|
#: views/accounts/register/imap.hbs:25
|
|
100
100
|
msgid "Email address"
|
|
101
101
|
msgstr ""
|
|
102
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
|
+
|
|
103
109
|
#: views/accounts/register/imap.hbs:13
|
|
104
110
|
msgid "Your name"
|
|
105
111
|
msgstr ""
|
|
@@ -117,8 +123,8 @@ msgid "Enter your email address"
|
|
|
117
123
|
msgstr ""
|
|
118
124
|
|
|
119
125
|
#: views/accounts/register/imap.hbs:43
|
|
120
|
-
#: views/accounts/register/imap-server.hbs:
|
|
121
|
-
#: views/accounts/register/imap-server.hbs:
|
|
126
|
+
#: views/accounts/register/imap-server.hbs:47
|
|
127
|
+
#: views/accounts/register/imap-server.hbs:154
|
|
122
128
|
msgid "Password"
|
|
123
129
|
msgstr ""
|
|
124
130
|
|
|
@@ -138,116 +144,122 @@ msgstr ""
|
|
|
138
144
|
msgid "Standard IMAP"
|
|
139
145
|
msgstr ""
|
|
140
146
|
|
|
141
|
-
#: views/accounts/register/imap-server.hbs:
|
|
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
|
|
142
154
|
msgid "IMAP"
|
|
143
155
|
msgstr ""
|
|
144
156
|
|
|
145
|
-
#: views/accounts/register/imap-server.hbs:
|
|
146
|
-
#: views/accounts/register/imap-server.hbs:
|
|
157
|
+
#: views/accounts/register/imap-server.hbs:33
|
|
158
|
+
#: views/accounts/register/imap-server.hbs:140
|
|
147
159
|
msgid "Username"
|
|
148
160
|
msgstr ""
|
|
149
161
|
|
|
150
|
-
#: views/accounts/register/imap-server.hbs:
|
|
151
|
-
#: views/accounts/register/imap-server.hbs:
|
|
162
|
+
#: views/accounts/register/imap-server.hbs:59
|
|
163
|
+
#: views/accounts/register/imap-server.hbs:166
|
|
152
164
|
msgid "Important"
|
|
153
165
|
msgstr ""
|
|
154
166
|
|
|
155
|
-
#: views/accounts/register/imap-server.hbs:
|
|
156
|
-
#: views/accounts/register/imap-server.hbs:
|
|
167
|
+
#: views/accounts/register/imap-server.hbs:70
|
|
168
|
+
#: views/accounts/register/imap-server.hbs:177
|
|
157
169
|
msgid "Instructions"
|
|
158
170
|
msgstr ""
|
|
159
171
|
|
|
160
|
-
#: views/accounts/register/imap-server.hbs:
|
|
161
|
-
#: views/accounts/register/imap-server.hbs:
|
|
172
|
+
#: views/accounts/register/imap-server.hbs:72
|
|
173
|
+
#: views/accounts/register/imap-server.hbs:179
|
|
162
174
|
msgid "%s accounts require an application password for %s."
|
|
163
175
|
msgstr ""
|
|
164
176
|
|
|
165
|
-
#: views/accounts/register/imap-server.hbs:
|
|
166
|
-
#: views/accounts/register/imap-server.hbs:
|
|
177
|
+
#: views/accounts/register/imap-server.hbs:81
|
|
178
|
+
#: views/accounts/register/imap-server.hbs:188
|
|
167
179
|
msgid "Application Password"
|
|
168
180
|
msgstr ""
|
|
169
181
|
|
|
170
|
-
#: views/accounts/register/imap-server.hbs:
|
|
171
|
-
#: views/accounts/register/imap-server.hbs:
|
|
182
|
+
#: views/accounts/register/imap-server.hbs:95
|
|
183
|
+
#: views/accounts/register/imap-server.hbs:202
|
|
172
184
|
msgid "Hostname"
|
|
173
185
|
msgstr ""
|
|
174
186
|
|
|
175
|
-
#: views/accounts/register/imap-server.hbs:
|
|
176
|
-
#: views/accounts/register/imap-server.hbs:
|
|
187
|
+
#: views/accounts/register/imap-server.hbs:105
|
|
188
|
+
#: views/accounts/register/imap-server.hbs:212
|
|
177
189
|
msgid "Port"
|
|
178
190
|
msgstr ""
|
|
179
191
|
|
|
180
|
-
#: views/accounts/register/imap-server.hbs:
|
|
192
|
+
#: views/accounts/register/imap-server.hbs:120
|
|
181
193
|
msgid "TLS for IMAP"
|
|
182
194
|
msgstr ""
|
|
183
195
|
|
|
184
|
-
#: views/accounts/register/imap-server.hbs:
|
|
196
|
+
#: views/accounts/register/imap-server.hbs:121
|
|
185
197
|
msgid ""
|
|
186
198
|
"TLS (also known as SSL) is usually only needed when using port 993. For "
|
|
187
199
|
"other ports EmailEngine falls back to using STARTTLS based encryption."
|
|
188
200
|
msgstr ""
|
|
189
201
|
|
|
190
|
-
#: views/accounts/register/imap-server.hbs:
|
|
191
|
-
#: views/accounts/register/imap-server.hbs:
|
|
202
|
+
#: views/accounts/register/imap-server.hbs:128
|
|
203
|
+
#: views/accounts/register/imap-server.hbs:235
|
|
192
204
|
msgid "Use TLS"
|
|
193
205
|
msgstr ""
|
|
194
206
|
|
|
195
|
-
#: views/accounts/register/imap-server.hbs:
|
|
207
|
+
#: views/accounts/register/imap-server.hbs:137
|
|
196
208
|
msgid "SMTP"
|
|
197
209
|
msgstr ""
|
|
198
210
|
|
|
199
|
-
#: views/accounts/register/imap-server.hbs:
|
|
211
|
+
#: views/accounts/register/imap-server.hbs:227
|
|
200
212
|
msgid "TLS for SMTP"
|
|
201
213
|
msgstr ""
|
|
202
214
|
|
|
203
|
-
#: views/accounts/register/imap-server.hbs:
|
|
215
|
+
#: views/accounts/register/imap-server.hbs:228
|
|
204
216
|
msgid ""
|
|
205
217
|
"TLS (also known as SSL) is usually only needed when using port 465. For "
|
|
206
218
|
"other ports EmailEngine falls back to using STARTTLS based encryption."
|
|
207
219
|
msgstr ""
|
|
208
220
|
|
|
209
|
-
#: views/accounts/register/imap-server.hbs:
|
|
221
|
+
#: views/accounts/register/imap-server.hbs:248
|
|
210
222
|
msgid "Verify connection"
|
|
211
223
|
msgstr ""
|
|
212
224
|
|
|
213
|
-
#: views/accounts/register/imap-server.hbs:
|
|
225
|
+
#: views/accounts/register/imap-server.hbs:254
|
|
214
226
|
msgid "Save and continue"
|
|
215
227
|
msgstr ""
|
|
216
228
|
|
|
217
|
-
#: views/accounts/register/imap-server.hbs:
|
|
229
|
+
#: views/accounts/register/imap-server.hbs:263
|
|
218
230
|
msgid "Skip verification"
|
|
219
231
|
msgstr ""
|
|
220
232
|
|
|
221
|
-
#: views/accounts/register/imap-server.hbs:
|
|
233
|
+
#: views/accounts/register/imap-server.hbs:276
|
|
222
234
|
msgid "Connection test failed"
|
|
223
235
|
msgstr ""
|
|
224
236
|
|
|
225
|
-
#: views/accounts/register/imap-server.hbs:
|
|
237
|
+
#: views/accounts/register/imap-server.hbs:282
|
|
226
238
|
msgid "We couldn't connect with these settings. Check the errors below."
|
|
227
239
|
msgstr ""
|
|
228
240
|
|
|
229
|
-
#: views/accounts/register/imap-server.hbs:
|
|
241
|
+
#: views/accounts/register/imap-server.hbs:413
|
|
230
242
|
msgid "Error"
|
|
231
243
|
msgstr ""
|
|
232
244
|
|
|
233
|
-
#: views/accounts/register/imap-server.hbs:
|
|
245
|
+
#: views/accounts/register/imap-server.hbs:415
|
|
234
246
|
msgid "Invalid settings"
|
|
235
247
|
msgstr ""
|
|
236
248
|
|
|
237
|
-
#: views/accounts/register/imap-server.hbs:
|
|
249
|
+
#: views/accounts/register/imap-server.hbs:421
|
|
238
250
|
msgid "Couldn't connect to IMAP server"
|
|
239
251
|
msgstr ""
|
|
240
252
|
|
|
241
|
-
#: views/accounts/register/imap-server.hbs:
|
|
242
|
-
#: views/accounts/register/imap-server.hbs:
|
|
253
|
+
#: views/accounts/register/imap-server.hbs:423
|
|
254
|
+
#: views/accounts/register/imap-server.hbs:432
|
|
243
255
|
msgid "Server response:"
|
|
244
256
|
msgstr ""
|
|
245
257
|
|
|
246
|
-
#: views/accounts/register/imap-server.hbs:
|
|
258
|
+
#: views/accounts/register/imap-server.hbs:430
|
|
247
259
|
msgid "Couldn't connect to SMTP server"
|
|
248
260
|
msgstr ""
|
|
249
261
|
|
|
250
|
-
#: views/accounts/register/imap-server.hbs:
|
|
262
|
+
#: views/accounts/register/imap-server.hbs:489
|
|
251
263
|
msgid "Request failed."
|
|
252
264
|
msgstr ""
|
|
253
265
|
|
|
@@ -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:
|
|
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:
|
|
287
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
288
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
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:
|
|
304
|
+
#: lib/tools.js:2345
|
|
293
305
|
msgid "Signature validation failed"
|
|
294
306
|
msgstr ""
|
|
295
307
|
|
|
296
|
-
#: lib/tools.js:
|
|
297
|
-
#: lib/tools.js:
|
|
298
|
-
#: lib/tools.js:
|
|
299
|
-
#: lib/ui-routes/account-routes.js:
|
|
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:
|
|
304
|
-
#: lib/ui-routes/account-routes.js:
|
|
305
|
-
#: lib/ui-routes/account-routes.js:
|
|
306
|
-
#: lib/ui-routes/account-routes.js:
|
|
307
|
-
#: lib/ui-routes/account-routes.js:
|
|
308
|
-
#: lib/ui-routes/account-routes.js:
|
|
309
|
-
#: lib/ui-routes/route-helpers.js:
|
|
310
|
-
#: workers/api.js:
|
|
311
|
-
#: workers/api.js:
|
|
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:
|
|
316
|
-
#: lib/ui-routes/account-routes.js:
|
|
317
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
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:
|
|
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:
|
|
326
|
-
#: lib/ui-routes/account-routes.js:
|
|
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:
|
|
331
|
-
#: lib/ui-routes/account-routes.js:
|
|
332
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
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:
|
|
337
|
-
#: lib/ui-routes/account-routes.js:
|
|
338
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
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:
|
|
343
|
-
#: lib/ui-routes/
|
|
344
|
-
|
|
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:
|
|
348
|
-
#: lib/ui-routes/
|
|
349
|
-
|
|
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:
|
|
353
|
-
#: lib/ui-routes/account-routes.js:
|
|
354
|
-
#: lib/ui-routes/
|
|
355
|
-
#: lib/ui-routes/
|
|
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:
|
|
360
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
361
|
-
msgid "
|
|
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:
|
|
365
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
366
|
-
msgid "
|
|
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:
|
|
370
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
428
|
+
#: lib/ui-routes/route-helpers.js:223
|
|
413
429
|
msgid "Delegated"
|
|
414
430
|
msgstr ""
|
|
415
431
|
|
|
416
|
-
#: lib/ui-routes/route-helpers.js:
|
|
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:
|
|
421
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
422
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
423
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
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:
|
|
428
|
-
#: lib/ui-routes/unsubscribe-routes.js:
|
|
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:
|
|
433
|
-
|
|
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 ""
|
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
<h6 class="card-title text-primary">Passkeys</h6>
|
|
12
12
|
<p class="text-base-content/60 mb-0 text-sm">Sign in with Touch ID, Windows Hello or a security key. A
|
|
13
13
|
passkey is a complete sign-in on its own - no password and no verification code.</p>
|
|
14
|
+
{{#if passkeys.length}}
|
|
15
|
+
{{!-- The RP ID is read from the Service URL on every ceremony, so a changed hostname
|
|
16
|
+
strands every passkey below while the login page still offers the button - this
|
|
17
|
+
is where an operator learns why --}}
|
|
18
|
+
<p class="text-base-content/60 mb-0 mt-1 text-sm">Registered for <strong>{{rpId}}</strong>, the hostname
|
|
19
|
+
of the Service URL. If that hostname changes, these passkeys stop working and have to be registered
|
|
20
|
+
again.</p>
|
|
21
|
+
{{/if}}
|
|
14
22
|
</div>
|
|
15
23
|
{{!-- ui/tooltip renders bare when the text is empty, so the same call covers both the
|
|
16
24
|
live button and the one disabled with the reason on it --}}
|
|
@@ -29,6 +29,17 @@
|
|
|
29
29
|
{{/ui/form-field}}
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
|
+
{{#if passkeyCount}}
|
|
33
|
+
{{!-- The route removes every passkey with the old password (see the POST handler for
|
|
34
|
+
why), which the person at this form has to know before they submit it --}}
|
|
35
|
+
<div class="alert alert-soft alert-warning text-sm">
|
|
36
|
+
<span class="icon-[tabler--alert-triangle] size-5 shrink-0"></span>
|
|
37
|
+
<span>Changing the password removes {{#equals passkeyCount 1}}the registered passkey{{else}}all
|
|
38
|
+
{{passkeyCount}} registered passkeys{{/equals}}. Register them again afterwards to keep signing in
|
|
39
|
+
with them.</span>
|
|
40
|
+
</div>
|
|
41
|
+
{{/if}}
|
|
42
|
+
|
|
32
43
|
{{#if authData.enabled}}
|
|
33
44
|
<div>
|
|
34
45
|
{{#> ui/form-field id="password0" label="Current password" error=errors.password0}}
|
|
@@ -140,17 +140,28 @@
|
|
|
140
140
|
</div>
|
|
141
141
|
|
|
142
142
|
{{#> ui/modal id="disableTfaModal" title="Disable two-factor authentication" titleId="disableTfaModalLabel"}}
|
|
143
|
-
<
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
<form method="post" action="/admin/account/tfa/disable">
|
|
144
|
+
<div class="modal-body space-y-4">
|
|
145
|
+
<p>Disabling two-factor authentication will make your account less secure. Are you sure you want to continue?</p>
|
|
146
|
+
|
|
147
|
+
<div>
|
|
148
|
+
{{!-- The route verifies this server-side: switching the second factor off is a step
|
|
149
|
+
down that a live session alone must not be able to take, the same rule the
|
|
150
|
+
password change and passkey registration follow --}}
|
|
151
|
+
{{#> ui/form-field id="tfa-disable-password" label="Current password"}}
|
|
152
|
+
<input type="password" class="input" id="tfa-disable-password" name="password" maxlength="256"
|
|
153
|
+
autocomplete="current-password" required />
|
|
154
|
+
<span class="helper-text">Confirm your identity before switching off two-factor authentication.</span>
|
|
155
|
+
{{/ui/form-field}}
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="modal-footer">
|
|
148
159
|
<input type="hidden" name="crumb" value="{{crumb}}" />
|
|
149
160
|
<input type="hidden" name="type" value="totp" />
|
|
150
161
|
{{> ui/btn label="Cancel" variant="neutral" style="soft" overlay="#disableTfaModal"}}
|
|
151
162
|
{{> ui/btn label="Disable 2FA" variant="error" type="submit"}}
|
|
152
|
-
</
|
|
153
|
-
</
|
|
163
|
+
</div>
|
|
164
|
+
</form>
|
|
154
165
|
{{/ui/modal}}
|
|
155
166
|
|
|
156
167
|
{{#> ui/modal id="enableTfaModal" title="Enable two-factor authentication" titleId="enableTfaModalLabel"}}
|