emailengine-app 2.85.0 → 2.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ncurc.js +24 -6
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +74 -0
- package/Dockerfile +14 -1
- package/ENVIRONMENT.md +139 -0
- package/README.md +1 -1
- package/config/default.toml +2 -0
- package/copy-static-files.sh +4 -2
- package/data/google-crawlers.json +1 -1
- package/data/public_suffix_list.dat +4 -3
- package/lib/account-assignment.js +19 -0
- package/lib/account.js +194 -165
- package/lib/api-error-codes.js +49 -0
- package/lib/api-reference/model.js +6 -1
- package/lib/api-routes/account-routes.js +78 -26
- package/lib/api-routes/blocklist-routes.js +68 -2
- package/lib/api-routes/delivery-test-routes.js +1 -1
- package/lib/api-routes/gateway-routes.js +82 -10
- package/lib/api-routes/index.js +4 -0
- package/lib/api-routes/license-routes.js +2 -2
- package/lib/api-routes/mailbox-routes.js +3 -3
- package/lib/api-routes/message-routes.js +15 -7
- package/lib/api-routes/oauth2-app-routes.js +15 -8
- package/lib/api-routes/outbox-routes.js +77 -66
- package/lib/api-routes/permission-map.js +55 -6
- package/lib/api-routes/scoped-routes.js +74 -0
- package/lib/api-routes/settings-routes.js +11 -4
- package/lib/api-routes/stats-routes.js +5 -1
- package/lib/api-routes/submit-routes.js +4 -3
- package/lib/api-routes/template-routes.js +7 -6
- package/lib/api-routes/token-routes.js +11 -5
- package/lib/api-routes/webhook-delivery-routes.js +262 -0
- package/lib/api-routes/webhook-route-routes.js +119 -4
- package/lib/calendar-event.js +81 -1
- package/lib/consts.js +38 -46
- package/lib/db.js +14 -6
- package/lib/delivery-error.js +6 -0
- package/lib/deprecations.js +270 -0
- package/lib/email-client/base-client.js +130 -156
- package/lib/email-client/fallback-poll.js +62 -0
- package/lib/email-client/gmail-client.js +51 -11
- package/lib/email-client/imap/adaptive-idle-store.js +73 -0
- package/lib/email-client/imap/adaptive-idle.js +278 -0
- package/lib/email-client/imap/connection-errors.js +14 -1
- package/lib/email-client/imap/idle-settings.js +31 -5
- package/lib/email-client/imap/listing-diff.js +37 -0
- package/lib/email-client/imap/mailbox.js +372 -226
- package/lib/email-client/imap/subconnection.js +7 -29
- package/lib/email-client/imap/sync-operations.js +220 -127
- package/lib/email-client/imap-client.js +227 -163
- package/lib/email-client/message-builder.js +14 -79
- package/lib/email-client/outlook-client.js +372 -338
- package/lib/email-client/smtp-pool-manager.js +16 -13
- package/lib/email-client/sync-state-fields.js +19 -0
- package/lib/encrypt.js +157 -41
- package/lib/enum-descriptions.js +3 -1
- package/lib/env-setting-overrides.js +288 -0
- package/lib/export-worker.js +751 -0
- package/lib/export.js +64 -15
- package/lib/gateway.js +17 -1
- package/lib/get-raw-email.js +25 -107
- package/lib/health.js +75 -0
- package/lib/lock-run.js +119 -0
- package/lib/logger-consts.js +48 -0
- package/lib/logger.js +1 -1
- package/lib/lua/z-head-scores.lua +28 -0
- package/lib/network-errors.js +1 -1
- package/lib/node-version.js +24 -0
- package/lib/notify-attachments.js +20 -1
- package/lib/oauth2-apps.js +630 -655
- package/lib/outbox.js +184 -54
- package/lib/parse-message.js +3 -3
- package/lib/privileged-settings.js +2 -2
- package/lib/queue-browser/definitions.js +11 -0
- package/lib/queue-browser/index.js +68 -19
- package/lib/queue-job-actions.js +18 -1
- package/lib/queue-retention.js +48 -12
- package/lib/queue-stats.js +11 -2
- package/lib/read-env-value.js +3 -0
- package/lib/redis-memory-warnings.js +99 -0
- package/lib/redis-reconnect.js +29 -0
- package/lib/request-timing.js +23 -0
- package/lib/respawn-backoff.js +35 -0
- package/lib/rewrite-text-nodes.js +19 -59
- package/lib/schemas.js +163 -39
- package/lib/settings.js +6 -2
- package/lib/smtp-auth.js +19 -1
- package/lib/thread-diagnostics.js +18 -1
- package/lib/tls/provision.js +6 -3
- package/lib/token-audit-log.js +19 -20
- package/lib/token-permission-view.js +4 -3
- package/lib/tools.js +8 -41
- package/lib/ui-routes/admin-config-routes.js +64 -90
- package/lib/ui-routes/admin-entities-routes.js +2 -14
- package/lib/ui-routes/imap-idle-field.js +1 -1
- package/lib/ui-routes/outlook-subscription-view.js +1 -1
- package/lib/ui-routes/overridable-fields.js +84 -0
- package/lib/ui-routes/queue-routes.js +8 -5
- package/lib/ui-routes/settings-page.js +6 -0
- package/lib/utils/decode-headers.js +3 -12
- package/lib/utils/filter-empty.js +20 -0
- package/lib/utils/int-setting.js +48 -0
- package/lib/utils/tracking-settings.js +35 -0
- package/lib/web-safe-html.js +18 -105
- package/lib/webhook-delivery.js +461 -0
- package/lib/webhook-failures.js +132 -0
- package/lib/webhook-request.js +29 -1
- package/lib/webhook-routing.js +30 -1
- package/lib/webhook-test.js +88 -0
- package/lib/webhooks.js +54 -41
- package/lib/worker-rpc-error.js +2 -1
- package/package.json +21 -20
- package/sbom.json +304 -382
- package/server.js +149 -76
- package/static/js/ace/ace.js +1 -1
- package/static/licenses.html +21 -31
- package/translations/messages.pot +26 -26
- package/views/config/security.hbs +22 -0
- package/views/config/service.hbs +44 -0
- package/views/config/webhooks.hbs +36 -0
- package/views/partials/queue_retention_note.hbs +12 -8
- package/views/partials/ui/env-managed-alert.hbs +16 -7
- package/workers/api.js +102 -28
- package/workers/export.js +16 -631
- package/workers/imap.js +13 -0
- package/workers/smtp.js +9 -11
- package/workers/webhooks.js +18 -432
- package/lib/email-client/outlook-fallback-poll.js +0 -30
package/static/licenses.html
CHANGED
|
@@ -29,7 +29,7 @@ pre { background: var(--bg); border-radius: 0.5rem; padding: 1rem; overflow-x: a
|
|
|
29
29
|
</head>
|
|
30
30
|
<body>
|
|
31
31
|
<main>
|
|
32
|
-
<h1>EmailEngine v2.
|
|
32
|
+
<h1>EmailEngine v2.85.0</h1>
|
|
33
33
|
<p class="intro">EmailEngine includes code from the following open source packages. Entries marked <em>asset</em> are build-time packages whose output is embedded in the UI assets, or bundled fonts and scripts.</p>
|
|
34
34
|
<ul>
|
|
35
35
|
<li class="package">
|
|
@@ -261,7 +261,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
261
261
|
<li class="package">
|
|
262
262
|
<div class="head">
|
|
263
263
|
<span class="name">@hapi/ammo</span>
|
|
264
|
-
<span class="version">6.0.
|
|
264
|
+
<span class="version">6.0.2</span>
|
|
265
265
|
<span class="badge">BSD-3-Clause</span>
|
|
266
266
|
<span class="badge badge-runtime">runtime</span>
|
|
267
267
|
<span class="links"><a href="https://npmjs.com/package/@hapi/ammo" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/ammo" rel="noopener noreferrer">website</a></span>
|
|
@@ -399,7 +399,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
399
399
|
<li class="package">
|
|
400
400
|
<div class="head">
|
|
401
401
|
<span class="name">@hapi/content</span>
|
|
402
|
-
<span class="version">6.0.
|
|
402
|
+
<span class="version">6.0.3</span>
|
|
403
403
|
<span class="badge">BSD-3-Clause</span>
|
|
404
404
|
<span class="badge badge-runtime">runtime</span>
|
|
405
405
|
<span class="links"><a href="https://npmjs.com/package/@hapi/content" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/content" rel="noopener noreferrer">website</a></span>
|
|
@@ -494,7 +494,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
494
494
|
<li class="package">
|
|
495
495
|
<div class="head">
|
|
496
496
|
<span class="name">@hapi/hapi</span>
|
|
497
|
-
<span class="version">21.4.
|
|
497
|
+
<span class="version">21.4.11</span>
|
|
498
498
|
<span class="badge">BSD-3-Clause</span>
|
|
499
499
|
<span class="badge badge-runtime">runtime</span>
|
|
500
500
|
<span class="links"><a href="https://npmjs.com/package/@hapi/hapi" rel="noopener noreferrer">npm</a> <a href="https://hapi.dev" rel="noopener noreferrer">website</a></span>
|
|
@@ -579,7 +579,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
579
579
|
<li class="package">
|
|
580
580
|
<div class="head">
|
|
581
581
|
<span class="name">@hapi/inert</span>
|
|
582
|
-
<span class="version">7.1.
|
|
582
|
+
<span class="version">7.1.3</span>
|
|
583
583
|
<span class="badge">BSD-3-Clause</span>
|
|
584
584
|
<span class="badge badge-runtime">runtime</span>
|
|
585
585
|
<span class="links"><a href="https://npmjs.com/package/@hapi/inert" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/inert" rel="noopener noreferrer">website</a></span>
|
|
@@ -746,7 +746,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
746
746
|
<li class="package">
|
|
747
747
|
<div class="head">
|
|
748
748
|
<span class="name">@hapi/subtext</span>
|
|
749
|
-
<span class="version">8.1.
|
|
749
|
+
<span class="version">8.1.4</span>
|
|
750
750
|
<span class="badge">BSD-3-Clause</span>
|
|
751
751
|
<span class="badge badge-runtime">runtime</span>
|
|
752
752
|
<span class="links"><a href="https://npmjs.com/package/@hapi/subtext" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/subtext" rel="noopener noreferrer">website</a></span>
|
|
@@ -1619,7 +1619,7 @@ SOFTWARE.</pre></details>
|
|
|
1619
1619
|
<li class="package">
|
|
1620
1620
|
<div class="head">
|
|
1621
1621
|
<span class="name">@postalsys/certs</span>
|
|
1622
|
-
<span class="version">2.0.
|
|
1622
|
+
<span class="version">2.0.2</span>
|
|
1623
1623
|
<span class="badge">ISC</span>
|
|
1624
1624
|
<span class="badge badge-runtime">runtime</span>
|
|
1625
1625
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/certs" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/certs#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -1659,7 +1659,7 @@ SOFTWARE.</pre></details>
|
|
|
1659
1659
|
<li class="package">
|
|
1660
1660
|
<div class="head">
|
|
1661
1661
|
<span class="name">@postalsys/email-ai-tools</span>
|
|
1662
|
-
<span class="version">2.3.
|
|
1662
|
+
<span class="version">2.3.2</span>
|
|
1663
1663
|
<span class="badge">MIT</span>
|
|
1664
1664
|
<span class="badge badge-runtime">runtime</span>
|
|
1665
1665
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/email-ai-tools" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/email-ai-tools#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -1689,7 +1689,7 @@ SOFTWARE.</pre></details>
|
|
|
1689
1689
|
<li class="package">
|
|
1690
1690
|
<div class="head">
|
|
1691
1691
|
<span class="name">@postalsys/email-content</span>
|
|
1692
|
-
<span class="version">0.1.
|
|
1692
|
+
<span class="version">0.1.18</span>
|
|
1693
1693
|
<span class="badge">MIT</span>
|
|
1694
1694
|
<span class="badge badge-runtime">runtime</span>
|
|
1695
1695
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/email-content" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/email-content#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -1719,7 +1719,7 @@ SOFTWARE.</pre></details>
|
|
|
1719
1719
|
<li class="package">
|
|
1720
1720
|
<div class="head">
|
|
1721
1721
|
<span class="name">@postalsys/email-text-tools</span>
|
|
1722
|
-
<span class="version">2.
|
|
1722
|
+
<span class="version">2.6.1</span>
|
|
1723
1723
|
<span class="badge">MIT</span>
|
|
1724
1724
|
<span class="badge badge-runtime">runtime</span>
|
|
1725
1725
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/email-text-tools" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/email-text-tools#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -2029,7 +2029,7 @@ SOFTWARE.</pre></details>
|
|
|
2029
2029
|
<li class="package">
|
|
2030
2030
|
<div class="head">
|
|
2031
2031
|
<span class="name">@zone-eu/mailsplit</span>
|
|
2032
|
-
<span class="version">5.4.
|
|
2032
|
+
<span class="version">5.4.29</span>
|
|
2033
2033
|
<span class="badge">(MIT OR EUPL-1.1+)</span>
|
|
2034
2034
|
<span class="badge badge-runtime">runtime</span>
|
|
2035
2035
|
<span class="links"><a href="https://npmjs.com/package/@zone-eu/mailsplit" rel="noopener noreferrer">npm</a> <a href="https://github.com/zone-eu/mailsplit" rel="noopener noreferrer">website</a></span>
|
|
@@ -2251,7 +2251,7 @@ SOFTWARE.</pre></details>
|
|
|
2251
2251
|
<li class="package">
|
|
2252
2252
|
<div class="head">
|
|
2253
2253
|
<span class="name">ace-builds</span>
|
|
2254
|
-
<span class="version">1.45.
|
|
2254
|
+
<span class="version">1.45.2</span>
|
|
2255
2255
|
<span class="badge">BSD-3-Clause</span>
|
|
2256
2256
|
<span class="badge badge-assets">asset</span>
|
|
2257
2257
|
<span class="links"><a href="https://npmjs.com/package/ace-builds" rel="noopener noreferrer">npm</a> <a href="https://github.com/ajaxorg/ace-builds" rel="noopener noreferrer">website</a></span>
|
|
@@ -2513,7 +2513,7 @@ THE SOFTWARE.</pre></details>
|
|
|
2513
2513
|
<li class="package">
|
|
2514
2514
|
<div class="head">
|
|
2515
2515
|
<span class="name">bullmq</span>
|
|
2516
|
-
<span class="version">6.
|
|
2516
|
+
<span class="version">6.4.0</span>
|
|
2517
2517
|
<span class="badge">MIT</span>
|
|
2518
2518
|
<span class="badge badge-runtime">runtime</span>
|
|
2519
2519
|
<span class="links"><a href="https://npmjs.com/package/bullmq" rel="noopener noreferrer">npm</a> <a href="https://bullmq.io/" rel="noopener noreferrer">website</a></span>
|
|
@@ -2543,7 +2543,7 @@ SOFTWARE.</pre></details>
|
|
|
2543
2543
|
<li class="package">
|
|
2544
2544
|
<div class="head">
|
|
2545
2545
|
<span class="name">cheerio</span>
|
|
2546
|
-
<span class="version">1.
|
|
2546
|
+
<span class="version">1.2.0</span>
|
|
2547
2547
|
<span class="badge">MIT</span>
|
|
2548
2548
|
<span class="badge badge-runtime">runtime</span>
|
|
2549
2549
|
<span class="links"><a href="https://npmjs.com/package/cheerio" rel="noopener noreferrer">npm</a> <a href="https://cheerio.js.org/" rel="noopener noreferrer">website</a></span>
|
|
@@ -3394,7 +3394,7 @@ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
3394
3394
|
<li class="package">
|
|
3395
3395
|
<div class="head">
|
|
3396
3396
|
<span class="name">dotenv</span>
|
|
3397
|
-
<span class="version">18.0.
|
|
3397
|
+
<span class="version">18.0.9</span>
|
|
3398
3398
|
<span class="badge">BSD-2-Clause</span>
|
|
3399
3399
|
<span class="badge badge-runtime">runtime</span>
|
|
3400
3400
|
<span class="links"><a href="https://npmjs.com/package/dotenv" rel="noopener noreferrer">npm</a> <a href="https://github.com/motdotla/dotenv#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -4342,7 +4342,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre></details>
|
|
|
4342
4342
|
<li class="package">
|
|
4343
4343
|
<div class="head">
|
|
4344
4344
|
<span class="name">imapflow</span>
|
|
4345
|
-
<span class="version">2.
|
|
4345
|
+
<span class="version">2.9.1</span>
|
|
4346
4346
|
<span class="badge">MIT</span>
|
|
4347
4347
|
<span class="badge badge-runtime">runtime</span>
|
|
4348
4348
|
<span class="links"><a href="https://npmjs.com/package/imapflow" rel="noopener noreferrer">npm</a> <a href="https://imapflow.com/" rel="noopener noreferrer">website</a></span>
|
|
@@ -4377,7 +4377,7 @@ SOFTWARE.</pre></details>
|
|
|
4377
4377
|
<li class="package">
|
|
4378
4378
|
<div class="head">
|
|
4379
4379
|
<span class="name">ioredfour</span>
|
|
4380
|
-
<span class="version">2.
|
|
4380
|
+
<span class="version">2.2.0</span>
|
|
4381
4381
|
<span class="badge">MIT</span>
|
|
4382
4382
|
<span class="badge badge-runtime">runtime</span>
|
|
4383
4383
|
<span class="links"><a href="https://npmjs.com/package/ioredfour" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/ioredfour#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -4672,7 +4672,7 @@ THE SOFTWARE.</pre></details>
|
|
|
4672
4672
|
<li class="package">
|
|
4673
4673
|
<div class="head">
|
|
4674
4674
|
<span class="name">libmime</span>
|
|
4675
|
-
<span class="version">5.
|
|
4675
|
+
<span class="version">5.6.3</span>
|
|
4676
4676
|
<span class="badge">MIT</span>
|
|
4677
4677
|
<span class="badge badge-runtime">runtime</span>
|
|
4678
4678
|
<span class="links"><a href="https://npmjs.com/package/libmime" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/libmime" rel="noopener noreferrer">website</a></span>
|
|
@@ -4863,7 +4863,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
4863
4863
|
<li class="package">
|
|
4864
4864
|
<div class="head">
|
|
4865
4865
|
<span class="name">mailparser</span>
|
|
4866
|
-
<span class="version">3.
|
|
4866
|
+
<span class="version">3.12.4</span>
|
|
4867
4867
|
<span class="badge">MIT</span>
|
|
4868
4868
|
<span class="badge badge-runtime">runtime</span>
|
|
4869
4869
|
<span class="links"><a href="https://npmjs.com/package/mailparser" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/mailparser" rel="noopener noreferrer">website</a></span>
|
|
@@ -5392,7 +5392,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
5392
5392
|
<li class="package">
|
|
5393
5393
|
<div class="head">
|
|
5394
5394
|
<span class="name">nodemailer</span>
|
|
5395
|
-
<span class="version">10.1
|
|
5395
|
+
<span class="version">10.2.1</span>
|
|
5396
5396
|
<span class="badge">MIT-0</span>
|
|
5397
5397
|
<span class="badge badge-runtime">runtime</span>
|
|
5398
5398
|
<span class="links"><a href="https://npmjs.com/package/nodemailer" rel="noopener noreferrer">npm</a> <a href="https://nodemailer.com/" rel="noopener noreferrer">website</a></span>
|
|
@@ -6457,7 +6457,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre>
|
|
|
6457
6457
|
<li class="package">
|
|
6458
6458
|
<div class="head">
|
|
6459
6459
|
<span class="name">smtp-server</span>
|
|
6460
|
-
<span class="version">3.
|
|
6460
|
+
<span class="version">3.21.1</span>
|
|
6461
6461
|
<span class="badge">MIT-0</span>
|
|
6462
6462
|
<span class="badge badge-runtime">runtime</span>
|
|
6463
6463
|
<span class="links"><a href="https://npmjs.com/package/smtp-server" rel="noopener noreferrer">npm</a> <a href="https://nodemailer.com/extras/smtp-server/" rel="noopener noreferrer">website</a></span>
|
|
@@ -7071,16 +7071,6 @@ SOFTWARE.</pre></details>
|
|
|
7071
7071
|
</li>
|
|
7072
7072
|
<li class="package">
|
|
7073
7073
|
<div class="head">
|
|
7074
|
-
<span class="name">undici</span>
|
|
7075
|
-
<span class="version">6.29.1</span>
|
|
7076
|
-
<span class="badge">MIT</span>
|
|
7077
|
-
<span class="badge badge-runtime">runtime</span>
|
|
7078
|
-
<span class="links"><a href="https://npmjs.com/package/undici" rel="noopener noreferrer">npm</a> <a href="https://undici.nodejs.org" rel="noopener noreferrer">website</a></span>
|
|
7079
|
-
</div>
|
|
7080
|
-
<p class="no-text">Same license text as <a href="#lic-170">undici</a>.</p>
|
|
7081
|
-
</li>
|
|
7082
|
-
<li class="package">
|
|
7083
|
-
<div class="head">
|
|
7084
7074
|
<span class="name">valid-data-url</span>
|
|
7085
7075
|
<span class="version">3.0.1</span>
|
|
7086
7076
|
<span class="badge">MIT</span>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Content-Type: text/plain; charset=ascii\n"
|
|
4
|
-
"POT-Creation-Date: 2026-10-
|
|
4
|
+
"POT-Creation-Date: 2026-10-21 21:45+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:1749
|
|
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:2713
|
|
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:2736
|
|
25
|
+
#: lib/tools.js:2742
|
|
26
|
+
#: lib/tools.js:2747
|
|
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:2479
|
|
41
41
|
msgid "Email Account Setup"
|
|
42
42
|
msgstr ""
|
|
43
43
|
|
|
@@ -58,25 +58,25 @@ msgstr ""
|
|
|
58
58
|
|
|
59
59
|
#: lib/ui-routes/account-routes.js:1076
|
|
60
60
|
#: lib/ui-routes/account-routes.js:1116
|
|
61
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
61
|
+
#: lib/ui-routes/admin-entities-routes.js:1984
|
|
62
62
|
msgid "Server hostname was not found"
|
|
63
63
|
msgstr ""
|
|
64
64
|
|
|
65
65
|
#: lib/ui-routes/account-routes.js:1079
|
|
66
66
|
#: lib/ui-routes/account-routes.js:1119
|
|
67
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
67
|
+
#: lib/ui-routes/admin-entities-routes.js:1987
|
|
68
68
|
msgid "Invalid username or password"
|
|
69
69
|
msgstr ""
|
|
70
70
|
|
|
71
71
|
#: lib/ui-routes/account-routes.js:1084
|
|
72
72
|
#: lib/ui-routes/account-routes.js:1136
|
|
73
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
73
|
+
#: lib/ui-routes/admin-entities-routes.js:2004
|
|
74
74
|
msgid "Connection timed out"
|
|
75
75
|
msgstr ""
|
|
76
76
|
|
|
77
77
|
#: lib/ui-routes/account-routes.js:1090
|
|
78
78
|
#: lib/ui-routes/account-routes.js:1139
|
|
79
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
79
|
+
#: lib/ui-routes/admin-entities-routes.js:2007
|
|
80
80
|
msgid "Could not connect to server"
|
|
81
81
|
msgstr ""
|
|
82
82
|
|
|
@@ -84,23 +84,23 @@ msgstr ""
|
|
|
84
84
|
#: lib/ui-routes/account-routes.js:1107
|
|
85
85
|
#: lib/ui-routes/account-routes.js:1128
|
|
86
86
|
#: lib/ui-routes/account-routes.js:1132
|
|
87
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
88
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
87
|
+
#: lib/ui-routes/admin-entities-routes.js:1996
|
|
88
|
+
#: lib/ui-routes/admin-entities-routes.js:2000
|
|
89
89
|
msgid "TLS protocol error"
|
|
90
90
|
msgstr ""
|
|
91
91
|
|
|
92
92
|
#: lib/ui-routes/account-routes.js:1122
|
|
93
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
93
|
+
#: lib/ui-routes/admin-entities-routes.js:1990
|
|
94
94
|
msgid "Authentication credentials were not provided"
|
|
95
95
|
msgstr ""
|
|
96
96
|
|
|
97
97
|
#: lib/ui-routes/account-routes.js:1125
|
|
98
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
98
|
+
#: lib/ui-routes/admin-entities-routes.js:1993
|
|
99
99
|
msgid "OAuth2 authentication failed"
|
|
100
100
|
msgstr ""
|
|
101
101
|
|
|
102
102
|
#: lib/ui-routes/account-routes.js:1142
|
|
103
|
-
#: lib/ui-routes/admin-entities-routes.js:
|
|
103
|
+
#: lib/ui-routes/admin-entities-routes.js:2010
|
|
104
104
|
msgid "Unexpected server response"
|
|
105
105
|
msgstr ""
|
|
106
106
|
|
|
@@ -108,7 +108,7 @@ msgstr ""
|
|
|
108
108
|
msgid "Temporary error, please try again"
|
|
109
109
|
msgstr ""
|
|
110
110
|
|
|
111
|
-
#: lib/ui-routes/admin-config-routes.js:
|
|
111
|
+
#: lib/ui-routes/admin-config-routes.js:199
|
|
112
112
|
msgid "Invalid API key for OpenAI"
|
|
113
113
|
msgstr ""
|
|
114
114
|
|
|
@@ -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:3339
|
|
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:2393
|
|
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:2402
|
|
539
539
|
msgid "Sign-in with the email provider failed: %s"
|
|
540
540
|
msgstr ""
|
|
541
541
|
|
|
542
|
-
#: workers/api.js:
|
|
542
|
+
#: workers/api.js:2406
|
|
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:2410
|
|
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:2419
|
|
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:2425
|
|
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:3338
|
|
563
|
+
#: workers/api.js:3461
|
|
564
564
|
msgid "Requested page not found"
|
|
565
565
|
msgstr ""
|
|
@@ -55,6 +55,28 @@
|
|
|
55
55
|
rel="noopener noreferrer" class="link link-animated">the token log endpoint</a>. Logging starts when enabled and adds a storage write to each authenticated request.</span>
|
|
56
56
|
</div>
|
|
57
57
|
|
|
58
|
+
<div class="grid gap-4 sm:grid-cols-2">
|
|
59
|
+
<div>
|
|
60
|
+
{{> ui/setting-ref name="tokenLogEntries"}}
|
|
61
|
+
{{#> ui/form-field id="settingsTokenLogEntries" label="Requests kept per token" error=errors.tokenLogEntries}}
|
|
62
|
+
<input type="number" min="1" class="input{{#if errors.tokenLogEntries}} is-invalid{{/if}}"
|
|
63
|
+
id="settingsTokenLogEntries" name="tokenLogEntries" value="{{values.tokenLogEntries}}" data-lpignore="true"
|
|
64
|
+
autocomplete="off" />
|
|
65
|
+
<span class="helper-text">A full log of typical entries takes roughly 170KB of Redis per token.</span>
|
|
66
|
+
{{/ui/form-field}}
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div>
|
|
70
|
+
{{> ui/setting-ref name="tokenLogAge"}}
|
|
71
|
+
{{#> ui/form-field id="settingsTokenLogAge" label="Log retention after last use (days)" error=errors.tokenLogAge}}
|
|
72
|
+
<input type="number" min="0.01" step="any" class="input{{#if errors.tokenLogAge}} is-invalid{{/if}}"
|
|
73
|
+
id="settingsTokenLogAge" name="tokenLogAge" value="{{values.tokenLogAge}}" data-lpignore="true"
|
|
74
|
+
autocomplete="off" />
|
|
75
|
+
<span class="helper-text">A token nobody uses takes its log with it after this long.</span>
|
|
76
|
+
{{/ui/form-field}}
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
58
80
|
{{/ui/card}}
|
|
59
81
|
|
|
60
82
|
{{#> ui/card title="Secrets and Encryption" id="secrets" bodyClass="space-y-4"}}
|
package/views/config/service.hbs
CHANGED
|
@@ -117,6 +117,50 @@
|
|
|
117
117
|
{{/ui/form-field}}
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
|
+
<div class="grid gap-4 sm:grid-cols-2 mt-4">
|
|
121
|
+
<div>
|
|
122
|
+
{{> ui/setting-ref name="queueKeepFailed"}}
|
|
123
|
+
{{#> ui/form-field id="settingsQueueKeepFailed" label="Failed job limit" error=errors.queueKeepFailed}}
|
|
124
|
+
<input type="number" min="1" class="input{{#if errors.queueKeepFailed}} is-invalid{{/if}}"
|
|
125
|
+
id="settingsQueueKeepFailed" name="queueKeepFailed" value="{{values.queueKeepFailed}}" data-lpignore="true"
|
|
126
|
+
autocomplete="off" />
|
|
127
|
+
<span class="helper-text">Failed jobs retained per queue, at least. A failed job is the only record that a
|
|
128
|
+
delivery was given up on.</span>
|
|
129
|
+
{{/ui/form-field}}
|
|
130
|
+
</div>
|
|
131
|
+
|
|
132
|
+
<div>
|
|
133
|
+
{{> ui/setting-ref name="queueKeepFailedAge"}}
|
|
134
|
+
{{#> ui/form-field id="settingsQueueKeepFailedAge" label="Failed job retention (days)" error=errors.queueKeepFailedAge}}
|
|
135
|
+
<input type="number" min="0.01" step="any" class="input{{#if errors.queueKeepFailedAge}} is-invalid{{/if}}"
|
|
136
|
+
id="settingsQueueKeepFailedAge" name="queueKeepFailedAge" value="{{values.queueKeepFailedAge}}" data-lpignore="true"
|
|
137
|
+
autocomplete="off" />
|
|
138
|
+
<span class="helper-text">How long failed jobs are kept.</span>
|
|
139
|
+
{{/ui/form-field}}
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div>
|
|
143
|
+
{{> ui/setting-ref name="queueKeepFailedContent"}}
|
|
144
|
+
{{#> ui/form-field id="settingsQueueKeepFailedContent" label="Retryable failed messages" error=errors.queueKeepFailedContent}}
|
|
145
|
+
<input type="number" min="0" class="input{{#if errors.queueKeepFailedContent}} is-invalid{{/if}}"
|
|
146
|
+
id="settingsQueueKeepFailedContent" name="queueKeepFailedContent" value="{{values.queueKeepFailedContent}}" data-lpignore="true"
|
|
147
|
+
autocomplete="off" />
|
|
148
|
+
<span class="helper-text">How many of the most recent failed messages keep their content so they can be
|
|
149
|
+
retried. 0 keeps none.</span>
|
|
150
|
+
{{/ui/form-field}}
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div>
|
|
154
|
+
{{> ui/setting-ref name="queueKeepFailedContentSize"}}
|
|
155
|
+
{{#> ui/form-field id="settingsQueueKeepFailedContentSize" label="Retryable message content (MB)" error=errors.queueKeepFailedContentSize}}
|
|
156
|
+
<input type="number" min="0" step="any" class="input{{#if errors.queueKeepFailedContentSize}} is-invalid{{/if}}"
|
|
157
|
+
id="settingsQueueKeepFailedContentSize" name="queueKeepFailedContentSize" value="{{values.queueKeepFailedContentSize}}" data-lpignore="true"
|
|
158
|
+
autocomplete="off" />
|
|
159
|
+
<span class="helper-text">Total size of the kept content. 0 keeps none.</span>
|
|
160
|
+
{{/ui/form-field}}
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
120
164
|
</div>
|
|
121
165
|
</div>
|
|
122
166
|
|
|
@@ -103,6 +103,34 @@ class="mb-1"}}
|
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
|
+
{{#> ui/details summary="Delivery Retries" summarySmall="(All webhooks)"
|
|
107
|
+
class="card bg-base-100 shadow-md mb-6" open=values.webhooksDeliveryAttempts}}
|
|
108
|
+
|
|
109
|
+
<p class="mb-4">How a failed webhook delivery is retried. The delay doubles with every attempt. Changes apply to events queued after saving.</p>
|
|
110
|
+
|
|
111
|
+
<div class="grid gap-4 md:grid-cols-2">
|
|
112
|
+
<div>
|
|
113
|
+
{{> ui/setting-ref name="webhooksDeliveryAttempts"}}
|
|
114
|
+
{{#> ui/form-field id="settingsWebhooksDeliveryAttempts" label="Delivery attempts" error=errors.webhooksDeliveryAttempts}}
|
|
115
|
+
<input type="number" min="1" max="100" class="input{{#if errors.webhooksDeliveryAttempts}} is-invalid{{/if}}"
|
|
116
|
+
id="settingsWebhooksDeliveryAttempts" name="webhooksDeliveryAttempts" value="{{values.webhooksDeliveryAttempts}}"
|
|
117
|
+
placeholder="{{defaultWebhookAttempts}}" data-lpignore="true" autocomplete="off" />
|
|
118
|
+
<span class="helper-text">Attempts per event, including the first. Empty uses {{defaultWebhookAttempts}}.</span>
|
|
119
|
+
{{/ui/form-field}}
|
|
120
|
+
</div>
|
|
121
|
+
<div>
|
|
122
|
+
{{> ui/setting-ref name="webhooksRetryDelay"}}
|
|
123
|
+
{{#> ui/form-field id="settingsWebhooksRetryDelay" label="First retry delay (seconds)" error=errors.webhooksRetryDelay}}
|
|
124
|
+
<input type="number" min="1" max="3600" class="input{{#if errors.webhooksRetryDelay}} is-invalid{{/if}}"
|
|
125
|
+
id="settingsWebhooksRetryDelay" name="webhooksRetryDelay" value="{{values.webhooksRetryDelay}}"
|
|
126
|
+
placeholder="{{defaultWebhookRetryDelay}}" data-lpignore="true" autocomplete="off" />
|
|
127
|
+
<span class="helper-text">Wait before the first retry. Empty uses {{defaultWebhookRetryDelay}} seconds.</span>
|
|
128
|
+
{{/ui/form-field}}
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
|
|
132
|
+
{{/ui/details}}
|
|
133
|
+
|
|
106
134
|
{{#> ui/details summary="Custom Headers" summarySmall="(Default webhook only)"
|
|
107
135
|
class="card bg-base-100 shadow-md mb-6" open=values.customHeaders}}
|
|
108
136
|
|
|
@@ -175,6 +203,14 @@ class="mb-1"}}
|
|
|
175
203
|
hint="Remove unsafe HTML, convert plain text to HTML when needed, and collapse quoted thread history."}}
|
|
176
204
|
</div>
|
|
177
205
|
|
|
206
|
+
<div>
|
|
207
|
+
{{> ui/setting-ref name="disableThreadCollapse"}}
|
|
208
|
+
{{> ui/checkbox id="settingsDisableThreadCollapse" name="disableThreadCollapse"
|
|
209
|
+
label="Keep quoted thread history expanded" class="text-list" checked=values.disableThreadCollapse
|
|
210
|
+
error=errors.disableThreadCollapse
|
|
211
|
+
hint="Do not fold quoted replies into a collapsed block in web-safe HTML, here and in API responses that ask for it."}}
|
|
212
|
+
</div>
|
|
213
|
+
|
|
178
214
|
<div>
|
|
179
215
|
{{> ui/setting-ref name="notifyTextSize"}}
|
|
180
216
|
{{#> ui/form-field id="settingsNotifyTextSize" label="Content Size Limit" error=errors.notifyTextSize}}
|
|
@@ -11,20 +11,24 @@
|
|
|
11
11
|
{{#if retention.failedCountFromSetting}}
|
|
12
12
|
The count follows the completed job history limit in
|
|
13
13
|
<a href="/admin/config/service#queue_settings" class="link link-animated">General settings</a>, which is above the
|
|
14
|
-
floor of {{formatInteger retention.failedCountFloor userLocale}} set
|
|
14
|
+
floor of {{formatInteger retention.failedCountFloor userLocale}} set by the failed job limit there or by
|
|
15
|
+
<code>EENGINE_QUEUE_KEEP_FAILED</code>;
|
|
15
16
|
{{else}}
|
|
16
|
-
The count is
|
|
17
|
-
<a href="/admin/config/service#queue_settings" class="link link-animated">General settings</a>
|
|
17
|
+
The count is the failed job limit in
|
|
18
|
+
<a href="/admin/config/service#queue_settings" class="link link-animated">General settings</a> (or
|
|
19
|
+
<code>EENGINE_QUEUE_KEEP_FAILED</code>), or the completed job history limit there when that is higher;
|
|
18
20
|
{{/if}}
|
|
19
|
-
the age
|
|
21
|
+
the age is set there too (or by <code>EENGINE_QUEUE_KEEP_FAILED_AGE</code>).
|
|
20
22
|
{{#equals queue.name "submit"}}
|
|
21
23
|
{{#if failedContent.limits.keepsContent}}
|
|
22
24
|
The content of the {{formatInteger failedContent.limits.maxCount userLocale}} most recent failed messages is kept
|
|
23
|
-
so they can be retried, up to {{failedContent.limits.maxBytesLabel}} in total, set
|
|
24
|
-
<
|
|
25
|
+
so they can be retried, up to {{failedContent.limits.maxBytesLabel}} in total, set in
|
|
26
|
+
<a href="/admin/config/service#queue_settings" class="link link-animated">General settings</a> (or with
|
|
27
|
+
<code>EENGINE_QUEUE_KEEP_FAILED_CONTENT</code> and <code>EENGINE_QUEUE_KEEP_FAILED_CONTENT_SIZE</code>).
|
|
25
28
|
{{else}}
|
|
26
|
-
The content of a failed message is not kept, so none can be retried from here;
|
|
27
|
-
<
|
|
29
|
+
The content of a failed message is not kept, so none can be retried from here; raise the retained failed
|
|
30
|
+
message limits in <a href="/admin/config/service#queue_settings" class="link link-animated">General settings</a>
|
|
31
|
+
(or <code>EENGINE_QUEUE_KEEP_FAILED_CONTENT</code>) to keep some.
|
|
28
32
|
{{/if}}
|
|
29
33
|
{{/equals}}
|
|
30
34
|
{{else}}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{{!--
|
|
2
2
|
ui/env-managed-alert - notice for the settings pages registered through
|
|
3
|
-
lib/ui-routes/settings-page.js, naming the form fields whose values the
|
|
4
|
-
environment variable re-applies on every boot
|
|
5
|
-
until the next restart, and
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
lib/ui-routes/settings-page.js, naming the form fields whose values come from the environment.
|
|
4
|
+
Two kinds: fields the EENGINE_SETTINGS environment variable re-applies on every boot (a value
|
|
5
|
+
saved for one of them holds only until the next restart), and fields whose own environment
|
|
6
|
+
variable overrides the setting (lib/env-setting-overrides.js: the page shows the variable's
|
|
7
|
+
value and a value typed there is not saved). Without this the page would show the save
|
|
8
|
+
succeeding. Renders nothing when the page has no such field. The inputs stay enabled on
|
|
9
|
+
purpose - a disabled control drops out of the POST and would silently strip its value from the
|
|
8
10
|
save - so the notice is the whole treatment.
|
|
9
11
|
{{> ui/env-managed-alert}}
|
|
10
|
-
Reads `envManagedKeys` (array of field names)
|
|
11
|
-
sets
|
|
12
|
+
Reads `envManagedKeys` (array of field names) and `envOverriddenSettings` (array of
|
|
13
|
+
`{key, env}`) from the page context; registerSettingsPage sets both on every render of the page.
|
|
12
14
|
--}}
|
|
13
15
|
{{#if envManagedKeys.length}}
|
|
14
16
|
{{#> ui/alert-banner variant="info" icon="icon-[tabler--info-circle]" title="Some fields are set by the environment"}}
|
|
@@ -17,3 +19,10 @@
|
|
|
17
19
|
{{#each envManagedKeys}}<code>{{this}}</code>{{#unless @last}}, {{/unless}}{{/each}}.</div>
|
|
18
20
|
{{/ui/alert-banner}}
|
|
19
21
|
{{/if}}
|
|
22
|
+
{{#if envOverriddenSettings.length}}
|
|
23
|
+
{{#> ui/alert-banner variant="info" icon="icon-[tabler--info-circle]" title="Some fields are pinned by environment variables"}}
|
|
24
|
+
<div>These settings are set by their own environment variable, which takes precedence over the saved setting. The
|
|
25
|
+
form shows the environment value, and a value entered for them here is not saved while the variable is set:
|
|
26
|
+
{{#each envOverriddenSettings}}<code>{{key}}</code> (<code>{{env}}</code>){{#unless @last}}, {{/unless}}{{/each}}.</div>
|
|
27
|
+
{{/ui/alert-banner}}
|
|
28
|
+
{{/if}}
|