emailengine-app 2.87.0 → 2.87.2
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/.ncurc.js +2 -4
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +27 -0
- package/Dockerfile +3 -4
- package/bin/emailengine.js +2 -4
- package/bin/healthcheck.js +20 -0
- package/data/google-crawlers.json +1 -1
- package/data/public_suffix_list.dat +3 -7
- package/lib/account/auth-failure-backfill.js +3 -2
- package/lib/account/expected-identity.js +2 -2
- package/lib/account.js +9 -8
- package/lib/api-listener.js +40 -0
- package/lib/api-token-auth.js +406 -0
- package/lib/autodetect-imap-settings.js +36 -3
- package/lib/consts.js +5 -0
- package/lib/dbsc/index.js +292 -0
- package/lib/dbsc/jwt.js +157 -0
- package/lib/dbsc/protocol.js +132 -0
- package/lib/dbsc/store.js +136 -0
- package/lib/email-client/base-client.js +23 -107
- package/lib/email-client/gmail-client.js +7 -4
- package/lib/email-client/imap/mailbox.js +89 -96
- package/lib/email-client/imap/sync-operations.js +13 -6
- package/lib/email-client/imap-client.js +28 -7
- package/lib/email-client/new-message-steps.js +162 -0
- package/lib/email-client/outlook-client.js +4 -2
- package/lib/env-setting-overrides.js +6 -2
- package/lib/export-worker.js +3 -2
- package/lib/export.js +43 -4
- package/lib/get-boolean.js +38 -0
- package/lib/health-probe.js +71 -0
- package/lib/imapproxy/imap-server.js +4 -55
- package/lib/net-tos-guard.js +42 -0
- package/lib/oauth2-apps.js +2 -1
- package/lib/privileged-settings.js +6 -0
- package/lib/read-env-value.js +19 -7
- package/lib/redis-keys.js +19 -0
- package/lib/redis-operations.js +7 -3
- package/lib/routes-ui.js +4 -1
- package/lib/schemas.js +8 -0
- package/lib/security-headers.js +18 -0
- package/lib/session-default.js +60 -0
- package/lib/settings.js +2 -1
- package/lib/stream-encrypt.js +71 -20
- package/lib/sub-script.js +8 -2
- package/lib/submit-lock.js +84 -0
- package/lib/submit-processor.js +283 -0
- package/lib/templates.js +6 -3
- package/lib/tls/context.js +2 -16
- package/lib/tools.js +8 -30
- package/lib/ui-routes/admin-config-routes.js +27 -5
- package/lib/ui-routes/auth-routes.js +4 -0
- package/lib/ui-routes/dbsc-routes.js +43 -0
- package/lib/utils/redis-errors.js +44 -0
- package/lib/webhook-delivery.js +3 -4
- package/lib/worker-rpc-error.js +10 -5
- package/lib/worker-rpc.js +138 -0
- package/package.json +17 -19
- package/sbom.json +370 -1446
- package/server.js +6 -5
- package/static/css/flyonui.css +2 -2
- package/static/licenses.html +253 -1366
- package/translations/messages.pot +16 -16
- package/views/config/security.hbs +37 -0
- package/workers/api.js +61 -467
- package/workers/export.js +14 -55
- package/workers/imap-proxy.js +5 -18
- package/workers/imap.js +27 -49
- package/workers/smtp.js +7 -69
- package/workers/submit.js +21 -279
- package/workers/webhooks.js +7 -72
|
@@ -1,7 +1,7 @@
|
|
|
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-11-04 20:42+0000\n"
|
|
5
5
|
|
|
6
6
|
#: lib/autodetect-imap-settings.js:160
|
|
7
7
|
msgid ""
|
|
@@ -11,19 +11,19 @@ msgid ""
|
|
|
11
11
|
"connect your account."
|
|
12
12
|
msgstr ""
|
|
13
13
|
|
|
14
|
-
#: lib/tools.js:
|
|
14
|
+
#: lib/tools.js:1729
|
|
15
15
|
#: lib/ui-routes/unsubscribe-routes.js:34
|
|
16
16
|
#: lib/ui-routes/unsubscribe-routes.js:102
|
|
17
17
|
msgid "Invalid input"
|
|
18
18
|
msgstr ""
|
|
19
19
|
|
|
20
|
-
#: lib/tools.js:
|
|
20
|
+
#: lib/tools.js:2693
|
|
21
21
|
msgid "Signature validation failed"
|
|
22
22
|
msgstr ""
|
|
23
23
|
|
|
24
|
-
#: lib/tools.js:
|
|
25
|
-
#: lib/tools.js:
|
|
26
|
-
#: lib/tools.js:
|
|
24
|
+
#: lib/tools.js:2716
|
|
25
|
+
#: lib/tools.js:2722
|
|
26
|
+
#: lib/tools.js:2727
|
|
27
27
|
#: lib/ui-routes/account-setup.js:80
|
|
28
28
|
msgid "Invalid or expired account setup URL"
|
|
29
29
|
msgstr ""
|
|
@@ -37,7 +37,7 @@ msgstr ""
|
|
|
37
37
|
#: lib/ui-routes/account-routes.js:1360
|
|
38
38
|
#: lib/ui-routes/route-helpers.js:350
|
|
39
39
|
#: lib/ui-routes/route-helpers.js:373
|
|
40
|
-
#: workers/api.js:
|
|
40
|
+
#: workers/api.js:2055
|
|
41
41
|
msgid "Email Account Setup"
|
|
42
42
|
msgstr ""
|
|
43
43
|
|
|
@@ -413,7 +413,7 @@ msgstr[0] ""
|
|
|
413
413
|
msgstr[1] ""
|
|
414
414
|
|
|
415
415
|
#: views/error.hbs:6
|
|
416
|
-
#: workers/api.js:
|
|
416
|
+
#: workers/api.js:2916
|
|
417
417
|
msgid "Something went wrong"
|
|
418
418
|
msgstr ""
|
|
419
419
|
|
|
@@ -529,37 +529,37 @@ msgid ""
|
|
|
529
529
|
"received."
|
|
530
530
|
msgstr ""
|
|
531
531
|
|
|
532
|
-
#: workers/api.js:
|
|
532
|
+
#: workers/api.js:1967
|
|
533
533
|
msgid ""
|
|
534
534
|
"The sign-in was cancelled or the requested access was not granted. Open the "
|
|
535
535
|
"account setup link again to retry."
|
|
536
536
|
msgstr ""
|
|
537
537
|
|
|
538
|
-
#: workers/api.js:
|
|
538
|
+
#: workers/api.js:1976
|
|
539
539
|
msgid "Sign-in with the email provider failed: %s"
|
|
540
540
|
msgstr ""
|
|
541
541
|
|
|
542
|
-
#: workers/api.js:
|
|
542
|
+
#: workers/api.js:1980
|
|
543
543
|
msgid "Sign-in with the email provider failed: no authorization code was received"
|
|
544
544
|
msgstr ""
|
|
545
545
|
|
|
546
|
-
#: workers/api.js:
|
|
546
|
+
#: workers/api.js:1984
|
|
547
547
|
msgid "Sign-in with the email provider failed: the request state is not valid"
|
|
548
548
|
msgstr ""
|
|
549
549
|
|
|
550
|
-
#: workers/api.js:
|
|
550
|
+
#: workers/api.js:1993
|
|
551
551
|
msgid ""
|
|
552
552
|
"The account setup session has expired or was already used. Open the account "
|
|
553
553
|
"setup link again to retry."
|
|
554
554
|
msgstr ""
|
|
555
555
|
|
|
556
|
-
#: workers/api.js:
|
|
556
|
+
#: workers/api.js:1999
|
|
557
557
|
msgid ""
|
|
558
558
|
"Sign-in with the email provider failed: the stored setup session is not "
|
|
559
559
|
"valid"
|
|
560
560
|
msgstr ""
|
|
561
561
|
|
|
562
|
-
#: workers/api.js:
|
|
563
|
-
#: workers/api.js:
|
|
562
|
+
#: workers/api.js:2915
|
|
563
|
+
#: workers/api.js:3038
|
|
564
564
|
msgid "Requested page not found"
|
|
565
565
|
msgstr ""
|
|
@@ -32,6 +32,43 @@
|
|
|
32
32
|
comma-separated IP addresses or CIDR ranges (e.g., "192.168.1.1,10.0.0.0/24").</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
|
+
<div>
|
|
36
|
+
{{> ui/setting-ref name="dbscEnabled"}}
|
|
37
|
+
|
|
38
|
+
{{#> ui/checkbox id="dbscEnabled" name="dbscEnabled" label="Device-Bound Admin Sessions"
|
|
39
|
+
checked=values.dbscEnabled error=errors.dbscEnabled}}
|
|
40
|
+
{{> ui/badge label="Beta" variant="info" soft=true}}
|
|
41
|
+
{{#if values.dbscEnabled}}
|
|
42
|
+
{{#if dbsc.active}}
|
|
43
|
+
{{> ui/badge label="enabled" variant="success"}}
|
|
44
|
+
{{else}}
|
|
45
|
+
{{> ui/badge label="inactive" variant="warning"}}
|
|
46
|
+
{{/if}}
|
|
47
|
+
{{else}}
|
|
48
|
+
{{> ui/badge label="disabled" variant="neutral"}}
|
|
49
|
+
{{/if}}
|
|
50
|
+
{{/ui/checkbox}}
|
|
51
|
+
<span class="helper-text">Ties each admin sign-in to a key in the device's security hardware, so a
|
|
52
|
+
copied session cookie stops working within minutes. Chrome on Windows and macOS binds
|
|
53
|
+
automatically; other browsers sign in as before.</span>
|
|
54
|
+
{{#if values.dbscEnabled}}
|
|
55
|
+
<p id="dbscCurrentSession" class="mt-2 flex items-start gap-1.5 text-sm">
|
|
56
|
+
{{#unless dbsc.active}}
|
|
57
|
+
<span class="icon-[tabler--alert-triangle] size-4 shrink-0 mt-0.5 text-warning"></span>
|
|
58
|
+
<span class="text-base-content/80">Not active: browsers only bind sessions on https. Set an https
|
|
59
|
+
<a href="/admin/config/service" class="link link-animated">Service URL</a> to turn it on.</span>
|
|
60
|
+
{{else if dbsc.currentBound}}
|
|
61
|
+
<span class="icon-[tabler--shield-check] size-4 shrink-0 mt-0.5 text-success"></span>
|
|
62
|
+
<span>This browser is bound to this device.</span>
|
|
63
|
+
{{else}}
|
|
64
|
+
<span class="icon-[tabler--shield] size-4 shrink-0 mt-0.5 text-base-content/60"></span>
|
|
65
|
+
<span class="text-base-content/80">This browser is not bound yet. A supported browser binds on its next
|
|
66
|
+
page load.</span>
|
|
67
|
+
{{/unless}}
|
|
68
|
+
</p>
|
|
69
|
+
{{/if}}
|
|
70
|
+
</div>
|
|
71
|
+
|
|
35
72
|
<div>
|
|
36
73
|
{{> ui/setting-ref name="EENGINE_ENABLE_OAUTH_TOKENS_API" plain=true}}
|
|
37
74
|
{{> ui/checkbox id="enableOAuthTokensApi" name="enableOAuthTokensApi"
|