emailengine-app 2.79.0 → 2.79.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.
Files changed (110) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +79 -0
  3. package/bin/emailengine.js +8 -1
  4. package/config/default.toml +6 -0
  5. package/data/google-crawlers.json +1 -1
  6. package/lib/account.js +137 -19
  7. package/lib/api-routes/account-routes.js +13 -1
  8. package/lib/api-routes/index.js +12 -0
  9. package/lib/api-routes/mailbox-routes.js +6 -0
  10. package/lib/api-routes/mcp-oauth-routes.js +259 -0
  11. package/lib/api-routes/mcp-routes.js +172 -0
  12. package/lib/api-routes/message-routes.js +125 -4
  13. package/lib/api-routes/outbox-routes.js +7 -0
  14. package/lib/api-routes/permission-map.js +101 -1
  15. package/lib/api-routes/route-helpers.js +87 -4
  16. package/lib/api-routes/route-metadata.js +24 -4
  17. package/lib/api-routes/settings-routes.js +37 -14
  18. package/lib/api-routes/submit-routes.js +41 -0
  19. package/lib/api-routes/template-routes.js +7 -0
  20. package/lib/api-routes/token-routes.js +292 -122
  21. package/lib/arf-detect.js +17 -4
  22. package/lib/bounce-detect.js +28 -17
  23. package/lib/consts.js +36 -1
  24. package/lib/db.js +6 -0
  25. package/lib/email-client/base-client.js +102 -117
  26. package/lib/email-client/gmail-client.js +91 -29
  27. package/lib/email-client/imap/mailbox.js +175 -101
  28. package/lib/email-client/imap-client.js +49 -2
  29. package/lib/email-client/outlook-client.js +20 -24
  30. package/lib/enum-descriptions.js +2 -1
  31. package/lib/field-usage.js +17 -1
  32. package/lib/lua/h-set-new-mark.lua +36 -0
  33. package/lib/lua/s-list-accounts.lua +5 -2
  34. package/lib/mcp/index.js +29 -0
  35. package/lib/mcp/inject.js +70 -0
  36. package/lib/mcp/json-schema.js +120 -0
  37. package/lib/mcp/listen.js +171 -0
  38. package/lib/mcp/oauth.js +324 -0
  39. package/lib/mcp/protocol.js +489 -0
  40. package/lib/mcp/resources.js +139 -0
  41. package/lib/mcp/tools.js +655 -0
  42. package/lib/message-port-stream.js +84 -1
  43. package/lib/oauth2-apps.js +84 -15
  44. package/lib/openapi/build-document.js +5 -1
  45. package/lib/openapi/index.js +3 -1
  46. package/lib/response-stream.js +52 -21
  47. package/lib/routes-ui.js +4 -0
  48. package/lib/schemas.js +26 -5
  49. package/lib/settings.js +23 -9
  50. package/lib/token-audit-log.js +32 -9
  51. package/lib/token-permission-view.js +104 -8
  52. package/lib/tokens.js +194 -68
  53. package/lib/tools.js +96 -0
  54. package/lib/ui-routes/account-routes.js +55 -6
  55. package/lib/ui-routes/admin-config-routes.js +114 -1
  56. package/lib/ui-routes/admin-entities-routes.js +103 -19
  57. package/lib/ui-routes/auth-routes.js +13 -0
  58. package/lib/ui-routes/mcp-consent-routes.js +330 -0
  59. package/lib/ui-routes/oauth-config-routes.js +7 -7
  60. package/lib/ui-routes/route-helpers.js +143 -1
  61. package/lib/ui-routes/suppression-list-routes.js +14 -9
  62. package/lib/utils/decode-headers.js +42 -0
  63. package/lib/utils/header-map.js +48 -0
  64. package/lib/utils/network.js +9 -1
  65. package/lib/utils/unsafe-key.js +59 -0
  66. package/lib/web-safe-html.js +61 -0
  67. package/lib/webhook-routing.js +6 -2
  68. package/lib/webhooks.js +31 -8
  69. package/package.json +9 -8
  70. package/sbom.json +1 -1
  71. package/scripts/README.md +25 -0
  72. package/scripts/build-icon.js +77 -0
  73. package/server.js +39 -17
  74. package/static/css/flyonui.css +1 -1
  75. package/static/css/src/app.tailwind.css +98 -0
  76. package/static/emailengine.ico +0 -0
  77. package/static/js/ui.js +465 -1
  78. package/static/licenses.html +42 -22
  79. package/translations/messages.pot +57 -57
  80. package/views/accounts/account.hbs +8 -8
  81. package/views/accounts/browse.hbs +1 -1
  82. package/views/accounts/edit.hbs +2 -2
  83. package/views/config/mcp.hbs +361 -0
  84. package/views/config/oauth/index.hbs +7 -0
  85. package/views/gateways/edit.hbs +1 -1
  86. package/views/gateways/gateway.hbs +2 -2
  87. package/views/gateways/index.hbs +7 -7
  88. package/views/layout/prompt.hbs +62 -0
  89. package/views/mcp/authorize.hbs +136 -0
  90. package/views/partials/accounts_table.hbs +7 -7
  91. package/views/partials/head_assets.hbs +3 -3
  92. package/views/partials/mcp_access_levels.hbs +13 -0
  93. package/views/partials/mcp_account_limit.hbs +14 -0
  94. package/views/partials/mcp_tool_count.hbs +19 -0
  95. package/views/partials/side_menu.hbs +1 -0
  96. package/views/partials/ui/account-picker.hbs +59 -0
  97. package/views/partials/ui/code-block.hbs +26 -0
  98. package/views/partials/ui/menu-item.hbs +5 -0
  99. package/views/partials/ui/radio.hbs +41 -0
  100. package/views/partials/ui/tab.hbs +15 -10
  101. package/views/partials/ui/tabs.hbs +8 -5
  102. package/views/suppression-lists/list.hbs +1 -1
  103. package/views/templates/index.hbs +2 -2
  104. package/views/templates/template.hbs +5 -4
  105. package/views/tokens/index.hbs +30 -4
  106. package/views/tokens/new.hbs +517 -239
  107. package/winconf.js +148 -48
  108. package/workers/api.js +239 -95
  109. package/workers/imap.js +65 -72
  110. package/workers/webhooks.js +21 -1
@@ -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.78.0</h1>
32
+ <h1>EmailEngine v2.79.1</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">
@@ -356,7 +356,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
356
356
  <li class="package">
357
357
  <div class="head">
358
358
  <span class="name">@bull-board/api</span>
359
- <span class="version">9.0.0</span>
359
+ <span class="version">9.3.2</span>
360
360
  <span class="badge">MIT</span>
361
361
  <span class="badge badge-runtime">runtime</span>
362
362
  <span class="links"><a href="https://npmjs.com/package/@bull-board/api" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
@@ -366,7 +366,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
366
366
  <li class="package">
367
367
  <div class="head">
368
368
  <span class="name">@bull-board/hapi</span>
369
- <span class="version">9.0.0</span>
369
+ <span class="version">9.3.2</span>
370
370
  <span class="badge">MIT</span>
371
371
  <span class="badge badge-runtime">runtime</span>
372
372
  <span class="links"><a href="https://npmjs.com/package/@bull-board/hapi" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
@@ -376,7 +376,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
376
376
  <li class="package">
377
377
  <div class="head">
378
378
  <span class="name">@bull-board/ui</span>
379
- <span class="version">9.0.0</span>
379
+ <span class="version">9.3.2</span>
380
380
  <span class="badge">MIT</span>
381
381
  <span class="badge badge-runtime">runtime</span>
382
382
  <span class="links"><a href="https://npmjs.com/package/@bull-board/ui" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
@@ -2077,7 +2077,7 @@ THE SOFTWARE IS PROVIDED &#x22;AS IS&#x22; AND THE AUTHOR DISCLAIMS ALL WARRANTI
2077
2077
  <li class="package">
2078
2078
  <div class="head">
2079
2079
  <span class="name">@peculiar/asn1-android</span>
2080
- <span class="version">2.9.0</span>
2080
+ <span class="version">2.9.4</span>
2081
2081
  <span class="badge">MIT</span>
2082
2082
  <span class="badge badge-runtime">runtime</span>
2083
2083
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-android" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/android#readme" rel="noopener noreferrer">website</a></span>
@@ -2107,7 +2107,7 @@ SOFTWARE.</pre></details>
2107
2107
  <li class="package">
2108
2108
  <div class="head">
2109
2109
  <span class="name">@peculiar/asn1-cms</span>
2110
- <span class="version">2.9.0</span>
2110
+ <span class="version">2.9.4</span>
2111
2111
  <span class="badge">MIT</span>
2112
2112
  <span class="badge badge-runtime">runtime</span>
2113
2113
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-cms" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/cms#readme" rel="noopener noreferrer">website</a></span>
@@ -2137,7 +2137,7 @@ SOFTWARE.</pre></details>
2137
2137
  <li class="package">
2138
2138
  <div class="head">
2139
2139
  <span class="name">@peculiar/asn1-csr</span>
2140
- <span class="version">2.9.0</span>
2140
+ <span class="version">2.9.4</span>
2141
2141
  <span class="badge">MIT</span>
2142
2142
  <span class="badge badge-runtime">runtime</span>
2143
2143
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-csr" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/csr#readme" rel="noopener noreferrer">website</a></span>
@@ -2147,7 +2147,7 @@ SOFTWARE.</pre></details>
2147
2147
  <li class="package">
2148
2148
  <div class="head">
2149
2149
  <span class="name">@peculiar/asn1-ecc</span>
2150
- <span class="version">2.9.0</span>
2150
+ <span class="version">2.9.4</span>
2151
2151
  <span class="badge">MIT</span>
2152
2152
  <span class="badge badge-runtime">runtime</span>
2153
2153
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-ecc" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/ecc#readme" rel="noopener noreferrer">website</a></span>
@@ -2157,7 +2157,7 @@ SOFTWARE.</pre></details>
2157
2157
  <li class="package">
2158
2158
  <div class="head">
2159
2159
  <span class="name">@peculiar/asn1-pfx</span>
2160
- <span class="version">2.9.0</span>
2160
+ <span class="version">2.9.4</span>
2161
2161
  <span class="badge">MIT</span>
2162
2162
  <span class="badge badge-runtime">runtime</span>
2163
2163
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-pfx" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/pfx#readme" rel="noopener noreferrer">website</a></span>
@@ -2167,7 +2167,7 @@ SOFTWARE.</pre></details>
2167
2167
  <li class="package">
2168
2168
  <div class="head">
2169
2169
  <span class="name">@peculiar/asn1-pkcs8</span>
2170
- <span class="version">2.9.0</span>
2170
+ <span class="version">2.9.4</span>
2171
2171
  <span class="badge">MIT</span>
2172
2172
  <span class="badge badge-runtime">runtime</span>
2173
2173
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-pkcs8" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/pkcs8#readme" rel="noopener noreferrer">website</a></span>
@@ -2177,7 +2177,7 @@ SOFTWARE.</pre></details>
2177
2177
  <li class="package">
2178
2178
  <div class="head">
2179
2179
  <span class="name">@peculiar/asn1-pkcs9</span>
2180
- <span class="version">2.9.0</span>
2180
+ <span class="version">2.9.4</span>
2181
2181
  <span class="badge">MIT</span>
2182
2182
  <span class="badge badge-runtime">runtime</span>
2183
2183
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-pkcs9" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/pkcs9#readme" rel="noopener noreferrer">website</a></span>
@@ -2187,7 +2187,7 @@ SOFTWARE.</pre></details>
2187
2187
  <li class="package">
2188
2188
  <div class="head">
2189
2189
  <span class="name">@peculiar/asn1-rsa</span>
2190
- <span class="version">2.9.0</span>
2190
+ <span class="version">2.9.4</span>
2191
2191
  <span class="badge">MIT</span>
2192
2192
  <span class="badge badge-runtime">runtime</span>
2193
2193
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-rsa" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/rsa#readme" rel="noopener noreferrer">website</a></span>
@@ -2197,7 +2197,7 @@ SOFTWARE.</pre></details>
2197
2197
  <li class="package">
2198
2198
  <div class="head">
2199
2199
  <span class="name">@peculiar/asn1-schema</span>
2200
- <span class="version">2.9.0</span>
2200
+ <span class="version">2.9.4</span>
2201
2201
  <span class="badge">MIT</span>
2202
2202
  <span class="badge badge-runtime">runtime</span>
2203
2203
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-schema" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/schema#readme" rel="noopener noreferrer">website</a></span>
@@ -2207,7 +2207,7 @@ SOFTWARE.</pre></details>
2207
2207
  <li class="package">
2208
2208
  <div class="head">
2209
2209
  <span class="name">@peculiar/asn1-x509</span>
2210
- <span class="version">2.9.0</span>
2210
+ <span class="version">2.9.4</span>
2211
2211
  <span class="badge">MIT</span>
2212
2212
  <span class="badge badge-runtime">runtime</span>
2213
2213
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-x509" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/x509#readme" rel="noopener noreferrer">website</a></span>
@@ -2217,7 +2217,7 @@ SOFTWARE.</pre></details>
2217
2217
  <li class="package">
2218
2218
  <div class="head">
2219
2219
  <span class="name">@peculiar/asn1-x509-attr</span>
2220
- <span class="version">2.9.0</span>
2220
+ <span class="version">2.9.4</span>
2221
2221
  <span class="badge">MIT</span>
2222
2222
  <span class="badge badge-runtime">runtime</span>
2223
2223
  <span class="links"><a href="https://npmjs.com/package/@peculiar/asn1-x509-attr" rel="noopener noreferrer">npm</a> <a href="https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/x509-attr#readme" rel="noopener noreferrer">website</a></span>
@@ -4418,7 +4418,7 @@ THE SOFTWARE.</pre></details>
4418
4418
  <li class="package">
4419
4419
  <div class="head">
4420
4420
  <span class="name">bullmq</span>
4421
- <span class="version">6.1.2</span>
4421
+ <span class="version">6.2.0</span>
4422
4422
  <span class="badge">MIT</span>
4423
4423
  <span class="badge badge-runtime">runtime</span>
4424
4424
  <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>
@@ -4951,7 +4951,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre>
4951
4951
  <li class="package">
4952
4952
  <div class="head">
4953
4953
  <span class="name">deepmerge-ts</span>
4954
- <span class="version">8.0.1</span>
4954
+ <span class="version">8.0.2</span>
4955
4955
  <span class="badge">BSD-3-Clause</span>
4956
4956
  <span class="badge badge-runtime">runtime</span>
4957
4957
  <span class="links"><a href="https://npmjs.com/package/deepmerge-ts" rel="noopener noreferrer">npm</a> <a href="https://github.com/RebeccaStevens/deepmerge-ts#readme" rel="noopener noreferrer">website</a></span>
@@ -6521,7 +6521,7 @@ SOFTWARE.</pre></details>
6521
6521
  <li class="package">
6522
6522
  <div class="head">
6523
6523
  <span class="name">html-to-text</span>
6524
- <span class="version">10.0.0</span>
6524
+ <span class="version">10.0.1</span>
6525
6525
  <span class="badge">MIT</span>
6526
6526
  <span class="badge badge-runtime">runtime</span>
6527
6527
  <span class="links"><a href="https://npmjs.com/package/html-to-text" rel="noopener noreferrer">npm</a> <a href="https://github.com/html-to-text/node-html-to-text" rel="noopener noreferrer">website</a></span>
@@ -6554,6 +6554,16 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
6554
6554
  </li>
6555
6555
  <li class="package">
6556
6556
  <div class="head">
6557
+ <span class="name">html-to-text</span>
6558
+ <span class="version">10.0.0</span>
6559
+ <span class="badge">MIT</span>
6560
+ <span class="badge badge-runtime">runtime</span>
6561
+ <span class="links"><a href="https://npmjs.com/package/html-to-text" rel="noopener noreferrer">npm</a> <a href="https://github.com/html-to-text/node-html-to-text" rel="noopener noreferrer">website</a></span>
6562
+ </div>
6563
+ <p class="no-text">Same license text as <a href="#lic-131">html-to-text</a>.</p>
6564
+ </li>
6565
+ <li class="package">
6566
+ <div class="head">
6557
6567
  <span class="name">htmlparser2</span>
6558
6568
  <span class="version">10.1.0</span>
6559
6569
  <span class="badge">MIT</span>
@@ -7053,7 +7063,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#x22;AS IS&
7053
7063
  <li class="package">
7054
7064
  <div class="head">
7055
7065
  <span class="name">imapflow</span>
7056
- <span class="version">1.7.1</span>
7066
+ <span class="version">1.7.2</span>
7057
7067
  <span class="badge">MIT</span>
7058
7068
  <span class="badge badge-runtime">runtime</span>
7059
7069
  <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>
@@ -7268,7 +7278,7 @@ THE SOFTWARE.</pre></details>
7268
7278
  <li class="package">
7269
7279
  <div class="head">
7270
7280
  <span class="name">is-unsafe</span>
7271
- <span class="version">2.0.0</span>
7281
+ <span class="version">2.0.2</span>
7272
7282
  <span class="badge">MIT</span>
7273
7283
  <span class="badge badge-runtime">runtime</span>
7274
7284
  <span class="links"><a href="https://npmjs.com/package/is-unsafe" rel="noopener noreferrer">npm</a> <a href="https://github.com/NaturalIntelligence/is-unsafe" rel="noopener noreferrer">website</a></span>
@@ -7278,7 +7288,7 @@ THE SOFTWARE.</pre></details>
7278
7288
  <li class="package">
7279
7289
  <div class="head">
7280
7290
  <span class="name">joi</span>
7281
- <span class="version">18.2.3</span>
7291
+ <span class="version">18.2.5</span>
7282
7292
  <span class="badge">BSD-3-Clause</span>
7283
7293
  <span class="badge badge-runtime">runtime</span>
7284
7294
  <span class="links"><a href="https://npmjs.com/package/joi" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/joi" rel="noopener noreferrer">website</a></span>
@@ -7298,7 +7308,17 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#x22;AS IS&
7298
7308
  <li class="package">
7299
7309
  <div class="head">
7300
7310
  <span class="name">joi</span>
7301
- <span class="version">17.13.4</span>
7311
+ <span class="version">17.13.6</span>
7312
+ <span class="badge">BSD-3-Clause</span>
7313
+ <span class="badge badge-runtime">runtime</span>
7314
+ <span class="links"><a href="https://npmjs.com/package/joi" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/joi" rel="noopener noreferrer">website</a></span>
7315
+ </div>
7316
+ <p class="no-text">Same license text as <a href="#lic-142">joi</a>.</p>
7317
+ </li>
7318
+ <li class="package">
7319
+ <div class="head">
7320
+ <span class="name">joi</span>
7321
+ <span class="version">18.2.3</span>
7302
7322
  <span class="badge">BSD-3-Clause</span>
7303
7323
  <span class="badge badge-runtime">runtime</span>
7304
7324
  <span class="links"><a href="https://npmjs.com/package/joi" rel="noopener noreferrer">npm</a> <a href="https://github.com/hapijs/joi" rel="noopener noreferrer">website</a></span>
@@ -1,10 +1,10 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Content-Type: text/plain; charset=ascii\n"
4
- "POT-Creation-Date: 2026-08-17 09:37+0000\n"
4
+ "POT-Creation-Date: 2026-08-21 21:29+0000\n"
5
5
 
6
6
  #: views/error.hbs:6
7
- #: workers/api.js:2913
7
+ #: workers/api.js:3053
8
8
  msgid "Something went wrong"
9
9
  msgstr ""
10
10
 
@@ -27,35 +27,6 @@ msgid_plural "%d days"
27
27
  msgstr[0] ""
28
28
  msgstr[1] ""
29
29
 
30
- #: views/redirect.hbs:1
31
- msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
32
- msgstr ""
33
-
34
- #: views/oauth-scope-error.hbs:5
35
- msgid "Insufficient Permissions"
36
- msgstr ""
37
-
38
- #: views/oauth-scope-error.hbs:10
39
- msgid ""
40
- "All requested permissions are required for this service to function "
41
- "properly. Some required permissions were not granted during sign-in."
42
- msgstr ""
43
-
44
- #: views/oauth-scope-error.hbs:14
45
- msgid "The following permissions were not granted:"
46
- msgstr ""
47
-
48
- #: views/oauth-scope-error.hbs:23
49
- msgid ""
50
- "Please try again and make sure all permission checkboxes are selected on "
51
- "the Google consent screen."
52
- msgstr ""
53
-
54
- #: views/oauth-scope-error.hbs:28
55
- #: views/account-identity-error.hbs:32
56
- msgid "Try Again"
57
- msgstr ""
58
-
59
30
  #: views/unsubscribe.hbs:7
60
31
  #: views/unsubscribe.hbs:60
61
32
  #: views/unsubscribe.hbs:75
@@ -100,6 +71,35 @@ msgstr ""
100
71
  msgid "Email address"
101
72
  msgstr ""
102
73
 
74
+ #: views/redirect.hbs:1
75
+ msgid "Click <a href=\"%s\">here</a> to continue&mldr;"
76
+ msgstr ""
77
+
78
+ #: views/oauth-scope-error.hbs:5
79
+ msgid "Insufficient Permissions"
80
+ msgstr ""
81
+
82
+ #: views/oauth-scope-error.hbs:10
83
+ msgid ""
84
+ "All requested permissions are required for this service to function "
85
+ "properly. Some required permissions were not granted during sign-in."
86
+ msgstr ""
87
+
88
+ #: views/oauth-scope-error.hbs:14
89
+ msgid "The following permissions were not granted:"
90
+ msgstr ""
91
+
92
+ #: views/oauth-scope-error.hbs:23
93
+ msgid ""
94
+ "Please try again and make sure all permission checkboxes are selected on "
95
+ "the Google consent screen."
96
+ msgstr ""
97
+
98
+ #: views/oauth-scope-error.hbs:28
99
+ #: views/account-identity-error.hbs:32
100
+ msgid "Try Again"
101
+ msgstr ""
102
+
103
103
  #: views/accounts/register/index.hbs:6
104
104
  msgid "Choose your email account provider"
105
105
  msgstr ""
@@ -283,19 +283,19 @@ msgid ""
283
283
  "connect your account."
284
284
  msgstr ""
285
285
 
286
- #: lib/tools.js:1228
286
+ #: lib/tools.js:1304
287
287
  #: lib/ui-routes/unsubscribe-routes.js:29
288
288
  #: lib/ui-routes/unsubscribe-routes.js:93
289
289
  msgid "Invalid input"
290
290
  msgstr ""
291
291
 
292
- #: lib/tools.js:2094
292
+ #: lib/tools.js:2154
293
293
  msgid "Signature validation failed"
294
294
  msgstr ""
295
295
 
296
- #: lib/tools.js:2117
297
- #: lib/tools.js:2123
298
- #: lib/tools.js:2128
296
+ #: lib/tools.js:2177
297
+ #: lib/tools.js:2183
298
+ #: lib/tools.js:2188
299
299
  #: lib/ui-routes/account-routes.js:1058
300
300
  msgid "Invalid or expired account setup URL"
301
301
  msgstr ""
@@ -306,9 +306,9 @@ msgstr ""
306
306
  #: lib/ui-routes/account-routes.js:765
307
307
  #: lib/ui-routes/account-routes.js:818
308
308
  #: lib/ui-routes/account-routes.js:1171
309
- #: lib/ui-routes/route-helpers.js:366
310
- #: workers/api.js:2089
311
- #: workers/api.js:2159
309
+ #: lib/ui-routes/route-helpers.js:368
310
+ #: workers/api.js:2238
311
+ #: workers/api.js:2308
312
312
  msgid "Email Account Setup"
313
313
  msgstr ""
314
314
 
@@ -329,45 +329,45 @@ msgstr ""
329
329
 
330
330
  #: lib/ui-routes/account-routes.js:888
331
331
  #: lib/ui-routes/account-routes.js:899
332
- #: lib/ui-routes/admin-entities-routes.js:2051
332
+ #: lib/ui-routes/admin-entities-routes.js:2058
333
333
  msgid "Server hostname was not found"
334
334
  msgstr ""
335
335
 
336
336
  #: lib/ui-routes/account-routes.js:891
337
337
  #: lib/ui-routes/account-routes.js:902
338
- #: lib/ui-routes/admin-entities-routes.js:2054
338
+ #: lib/ui-routes/admin-entities-routes.js:2061
339
339
  msgid "Invalid username or password"
340
340
  msgstr ""
341
341
 
342
342
  #: lib/ui-routes/account-routes.js:905
343
- #: lib/ui-routes/admin-entities-routes.js:2057
343
+ #: lib/ui-routes/admin-entities-routes.js:2064
344
344
  msgid "Authentication credentials were not provided"
345
345
  msgstr ""
346
346
 
347
347
  #: lib/ui-routes/account-routes.js:908
348
- #: lib/ui-routes/admin-entities-routes.js:2060
348
+ #: lib/ui-routes/admin-entities-routes.js:2067
349
349
  msgid "OAuth2 authentication failed"
350
350
  msgstr ""
351
351
 
352
352
  #: lib/ui-routes/account-routes.js:911
353
353
  #: lib/ui-routes/account-routes.js:915
354
- #: lib/ui-routes/admin-entities-routes.js:2063
355
- #: lib/ui-routes/admin-entities-routes.js:2067
354
+ #: lib/ui-routes/admin-entities-routes.js:2070
355
+ #: lib/ui-routes/admin-entities-routes.js:2074
356
356
  msgid "TLS protocol error"
357
357
  msgstr ""
358
358
 
359
359
  #: lib/ui-routes/account-routes.js:919
360
- #: lib/ui-routes/admin-entities-routes.js:2071
360
+ #: lib/ui-routes/admin-entities-routes.js:2078
361
361
  msgid "Connection timed out"
362
362
  msgstr ""
363
363
 
364
364
  #: lib/ui-routes/account-routes.js:922
365
- #: lib/ui-routes/admin-entities-routes.js:2074
365
+ #: lib/ui-routes/admin-entities-routes.js:2081
366
366
  msgid "Could not connect to server"
367
367
  msgstr ""
368
368
 
369
369
  #: lib/ui-routes/account-routes.js:925
370
- #: lib/ui-routes/admin-entities-routes.js:2077
370
+ #: lib/ui-routes/admin-entities-routes.js:2084
371
371
  msgid "Unexpected server response"
372
372
  msgstr ""
373
373
 
@@ -375,7 +375,7 @@ msgstr ""
375
375
  msgid "Temporary error, please try again"
376
376
  msgstr ""
377
377
 
378
- #: lib/ui-routes/admin-config-routes.js:168
378
+ #: lib/ui-routes/admin-config-routes.js:173
379
379
  msgid "Invalid API key for OpenAI"
380
380
  msgstr ""
381
381
 
@@ -387,33 +387,33 @@ msgstr ""
387
387
  msgid "Indefinite"
388
388
  msgstr ""
389
389
 
390
- #: lib/ui-routes/route-helpers.js:130
390
+ #: lib/ui-routes/route-helpers.js:132
391
391
  msgid ""
392
392
  "Connection timed out. This usually occurs if you are behind a firewall or "
393
393
  "connecting to the wrong port."
394
394
  msgstr ""
395
395
 
396
- #: lib/ui-routes/route-helpers.js:133
396
+ #: lib/ui-routes/route-helpers.js:135
397
397
  msgid "The server unexpectedly closed the connection."
398
398
  msgstr ""
399
399
 
400
- #: lib/ui-routes/route-helpers.js:136
400
+ #: lib/ui-routes/route-helpers.js:138
401
401
  msgid ""
402
402
  "The server unexpectedly closed the connection. This usually happens when "
403
403
  "attempting to connect to a TLS port without TLS enabled."
404
404
  msgstr ""
405
405
 
406
- #: lib/ui-routes/route-helpers.js:141
406
+ #: lib/ui-routes/route-helpers.js:143
407
407
  msgid ""
408
408
  "The server refused the connection. This typically occurs if the server is "
409
409
  "not running, is overloaded, or you are connecting to the wrong host or port."
410
410
  msgstr ""
411
411
 
412
- #: lib/ui-routes/route-helpers.js:195
412
+ #: lib/ui-routes/route-helpers.js:197
413
413
  msgid "Delegated"
414
414
  msgstr ""
415
415
 
416
- #: lib/ui-routes/route-helpers.js:196
416
+ #: lib/ui-routes/route-helpers.js:198
417
417
  msgid "Using credentials from \"%s\""
418
418
  msgstr ""
419
419
 
@@ -429,7 +429,7 @@ msgstr ""
429
429
  msgid "Couldn't process request. Try again."
430
430
  msgstr ""
431
431
 
432
- #: workers/api.js:2912
433
- #: workers/api.js:3013
432
+ #: workers/api.js:3052
433
+ #: workers/api.js:3156
434
434
  msgid "Requested page not found"
435
435
  msgstr ""
@@ -18,12 +18,12 @@
18
18
  {{!-- Primary: the two most common reasons to open an account --}}
19
19
  {{#if canReadMail}}
20
20
  {{#> ui/tooltip text="Browse messages in this account"}}
21
- {{> ui/btn variant="primary" size="sm" href=(concat "/admin/accounts/" account.account "/browse") icon="icon-[tabler--folder-open]" label="Browse messages"}}
21
+ {{> ui/btn variant="primary" size="sm" href=(concat "/admin/accounts/" (urlpart account.account) "/browse") icon="icon-[tabler--folder-open]" label="Browse messages"}}
22
22
  {{/ui/tooltip}}
23
23
  {{/if}}
24
24
 
25
25
  {{#> ui/tooltip text="Edit account configuration"}}
26
- {{> ui/btn variant="primary" style="outline" size="sm" href=(concat "/admin/accounts/" account.account "/edit") icon="icon-[tabler--user-edit]" label="Edit"}}
26
+ {{> ui/btn variant="primary" style="outline" size="sm" href=(concat "/admin/accounts/" (urlpart account.account) "/edit") icon="icon-[tabler--user-edit]" label="Edit"}}
27
27
  {{/ui/tooltip}}
28
28
 
29
29
  <div class="bg-base-content/10 mx-1 hidden h-6 w-px self-center sm:block" aria-hidden="true"></div>
@@ -105,7 +105,7 @@
105
105
  </button>
106
106
  <ul class="dropdown-menu dropdown-open:opacity-100 hidden min-w-56" role="menu"
107
107
  aria-orientation="vertical" aria-labelledby="logs-info">
108
- <li><a class="dropdown-item" href="/admin/accounts/{{account.account}}/logs.txt" download>Download stored logs</a></li>
108
+ <li><a class="dropdown-item" href="/admin/accounts/{{urlpart account.account}}/logs.txt" download>Download stored logs</a></li>
109
109
  <li>
110
110
  <div class="divider my-1"></div>
111
111
  </li>
@@ -125,9 +125,9 @@
125
125
  {{!-- Related resources scoped to this account (these navigate elsewhere) --}}
126
126
  <div class="mb-4 text-base-content/60 text-sm">
127
127
  <span class="font-semibold">Related:</span>
128
- <a class="link link-animated" href="/admin/templates/?account={{account.account}}">Email templates</a>
128
+ <a class="link link-animated" href="/admin/templates/?account={{urlpart account.account}}">Email templates</a>
129
129
  <span class="text-base-content/30 mx-1">&middot;</span>
130
- <a class="link link-animated" href="/admin/tokens/?account={{account.account}}">Access tokens</a>
130
+ <a class="link link-animated" href="/admin/tokens/?account={{urlpart account.account}}">Access tokens</a>
131
131
  </div>
132
132
 
133
133
  <dl class="ee-dl">
@@ -747,10 +747,10 @@
747
747
  {{#if webhookRouting.customRoutes.length}}
748
748
  <ul class="list-none p-0 m-0">
749
749
  {{#each webhookRouting.customRoutes}}
750
- <li><a href="/admin/webhooks/webhook/{{this.id}}" class="link link-primary">{{this.name}}</a> <code class="text-base-content/60">{{this.targetUrl}}</code></li>
750
+ <li><a href="/admin/webhooks/webhook/{{this.id}}" class="link link-primary">{{this.name}}</a> <code class="text-base-content/60">{{this.targetUrl}}</code>{{#if this.missingFilter}} {{> ui/badge label="no filter - never delivers" variant="warning" soft=true}}{{/if}}</li>
751
751
  {{/each}}
752
752
  </ul>
753
- <small class="text-base-content/60">Enabled webhook routes deliver independently of the default target; each route applies its own filter function instead of the event type list.</small>
753
+ <small class="text-base-content/60">Enabled webhook routes deliver independently of the default target; each route applies its own filter function instead of the event type list. A route without a filter function never delivers anything.</small>
754
754
  {{else}}
755
755
  <span class="text-base-content/60">None enabled</span>
756
756
  {{/if}}
@@ -792,7 +792,7 @@
792
792
  </div>
793
793
  {{/ui/modal}}
794
794
 
795
- {{#> ui/confirm-modal id="deleteModal" title="Delete Account" action=(concat "/admin/accounts/" account.account "/delete")
795
+ {{#> ui/confirm-modal id="deleteModal" title="Delete Account" action=(concat "/admin/accounts/" (urlpart account.account) "/delete")
796
796
  submitLabel="Delete account"}}
797
797
  <p>Are you sure you want to delete the account for {{account.name}}? This action cannot be undone.</p>
798
798
  {{/ui/confirm-modal}}
@@ -1,6 +1,6 @@
1
1
  {{> accounts_header}}
2
2
 
3
- {{> ui/breadcrumb parentHref="/admin/accounts" parentLabel="Accounts" midHref=(concat "/admin/accounts/" account) midLabel=account current="Browse" class="mt-6 mb-6"}}
3
+ {{> ui/breadcrumb parentHref="/admin/accounts" parentLabel="Accounts" midHref=(concat "/admin/accounts/" (urlpart account)) midLabel=account current="Browse" class="mt-6 mb-6"}}
4
4
 
5
5
  <div id="email-client"></div>
6
6
 
@@ -1,8 +1,8 @@
1
1
  {{> accounts_header}}
2
2
 
3
- {{> ui/breadcrumb parentHref="/admin/accounts" parentLabel="Accounts" midHref=(concat "/admin/accounts/" account) midLabel=account current="Edit" class="mt-6 mb-6"}}
3
+ {{> ui/breadcrumb parentHref="/admin/accounts" parentLabel="Accounts" midHref=(concat "/admin/accounts/" (urlpart account)) midLabel=account current="Edit" class="mt-6 mb-6"}}
4
4
 
5
- <form method="post" action="/admin/accounts/{{account}}/edit">
5
+ <form method="post" action="/admin/accounts/{{urlpart account}}/edit">
6
6
  <input type="hidden" name="crumb" value="{{crumb}}">
7
7
 
8
8
  <div class="card bg-base-100 shadow-md mb-6">