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
package/views/mcp/authorize.hbs
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{{!-- ACE editor assets: use this partial rather than a bare ace.js include. ACE runs in
|
|
2
|
+
strict-CSP mode (uiAceEnsureAssets in static/js/ui.js, which every editor goes through),
|
|
3
|
+
so it injects none of its own stylesheets; these are the sheets it would have injected -
|
|
4
|
+
the core one and the four themes uiAceThemes switches between, copied from ace-builds by
|
|
5
|
+
copy-static-files.sh. Linking them here rather than leaving uiAceEnsureAssets to add them
|
|
6
|
+
keeps the editor from painting before its stylesheet arrives. Pages that need an extension
|
|
7
|
+
(ext-language_tools) add it after this partial. --}}
|
|
8
|
+
<link rel="stylesheet" href="/static/js/ace/css/ace.css">
|
|
9
|
+
<link rel="stylesheet" href="/static/js/ace/css/theme/xcode.css">
|
|
10
|
+
<link rel="stylesheet" href="/static/js/ace/css/theme/kuroir.css">
|
|
11
|
+
<link rel="stylesheet" href="/static/js/ace/css/theme/tomorrow_night.css">
|
|
12
|
+
<link rel="stylesheet" href="/static/js/ace/css/theme/tomorrow_night_eighties.css">
|
|
13
|
+
<script src="/static/js/ace/ace.js"></script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{{!-- Rendered server-side on first paint AND
|
|
2
|
-
an IP rescan (
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
{{!-- Rendered server-side on first paint AND again by POST /admin/config/network/reload
|
|
2
|
+
after an IP rescan (compiledFragments.addressList in lib/ui-routes/route-helpers.js,
|
|
3
|
+
which renders without the page's view context - so no inline scripts here, and
|
|
4
|
+
nothing that needs cspNonce or the locale). --}}
|
|
5
5
|
{{#each addresses}}
|
|
6
6
|
<tr class="hover:bg-base-200/60">
|
|
7
7
|
<td>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
Render context: examplePayloadsJson, scriptEnvJson and (webhooks pages only)
|
|
22
22
|
notificationTypesJson, which switches on the event-name autocompleter.
|
|
23
23
|
--}}
|
|
24
|
-
|
|
24
|
+
{{> ace_assets}}
|
|
25
25
|
<script src="/static/js/ace/ext-language_tools.js"></script>
|
|
26
26
|
|
|
27
27
|
{{#if notificationTypesJson}}
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
<div class="modal-footer justify-between">
|
|
44
44
|
<div>
|
|
45
45
|
<select class="select" id="select-predefined-payload">
|
|
46
|
-
<option>{{#if selectPlaceholder}}{{selectPlaceholder}}{{else}}
|
|
46
|
+
<option>{{#if selectPlaceholder}}{{selectPlaceholder}}{{else}}Select a predefined payload{{/if}}</option>
|
|
47
47
|
</select>
|
|
48
48
|
</div>
|
|
49
49
|
{{> ui/btn label="Close" variant="neutral" style="soft" overlay="#setPayloadModal"}}
|
|
50
50
|
</div>
|
|
51
51
|
{{/ui/modal}}
|
|
52
52
|
|
|
53
|
-
<script>
|
|
53
|
+
<script nonce="{{cspNonce}}">
|
|
54
54
|
document.addEventListener('DOMContentLoaded', () => {
|
|
55
55
|
|
|
56
56
|
let scriptEnv = JSON.parse(document.getElementById('scriptEnvJson').value);
|
|
@@ -248,7 +248,7 @@ Read about setting up {{providerData.comment}} from <a href="{{providerData.tuto
|
|
|
248
248
|
|
|
249
249
|
{{#each azureClouds}}
|
|
250
250
|
<option value="{{id}}" {{#if selected}}selected{{/if}}>{{name}}{{#if
|
|
251
|
-
description}}
|
|
251
|
+
description}} -
|
|
252
252
|
{{description}}{{/if}}</option>
|
|
253
253
|
{{/each}}
|
|
254
254
|
</select>
|
|
@@ -329,7 +329,7 @@ Read about setting up {{providerData.comment}} from <a href="{{providerData.tuto
|
|
|
329
329
|
|
|
330
330
|
{{#each azureClouds}}
|
|
331
331
|
<option value="{{id}}" {{#if selected}}selected{{/if}}>{{name}}{{#if
|
|
332
|
-
description}}
|
|
332
|
+
description}} -
|
|
333
333
|
{{description}}{{/if}}</option>
|
|
334
334
|
{{/each}}
|
|
335
335
|
</select>
|
|
@@ -648,12 +648,12 @@ Read about setting up {{providerData.comment}} from <a href="{{providerData.tuto
|
|
|
648
648
|
<select class="select w-full{{#if errors.pubSubApp}} is-invalid{{/if}}" id="pubSubApp"
|
|
649
649
|
name="pubSubApp" {{#unless baseScopesApi}}disabled{{/unless}}>
|
|
650
650
|
|
|
651
|
-
<option value="">
|
|
651
|
+
<option value="">Select the service account for your project</option>
|
|
652
652
|
|
|
653
653
|
{{#each pubSubApps}}
|
|
654
654
|
<option value="{{id}}" data-project="{{googleProjectId}}" {{#if selected}}selected{{/if}} {{#unless
|
|
655
655
|
baseScopesApi}}disabled{{/unless}}>{{name}}{{#if
|
|
656
|
-
description}}
|
|
656
|
+
description}} -
|
|
657
657
|
{{description}}{{/if}} [{{googleProjectId}}]</option>
|
|
658
658
|
{{/each}}
|
|
659
659
|
|
|
@@ -787,7 +787,7 @@ Read about setting up {{providerData.comment}} from <a href="{{providerData.tuto
|
|
|
787
787
|
|
|
788
788
|
<div class="card-body">
|
|
789
789
|
<input type="hidden" name="baseScopes" value="api" />
|
|
790
|
-
<p><strong>MS Graph API</strong>
|
|
790
|
+
<p><strong>MS Graph API</strong> - This app uses Microsoft Graph API with application permissions
|
|
791
791
|
(client credentials). Requires <code>Mail.ReadWrite</code>, <code>Mail.Send</code>, and
|
|
792
792
|
<code>User.Read.All</code> application permissions with admin consent in Entra.</p>
|
|
793
793
|
</div>
|
|
@@ -983,7 +983,7 @@ open=values.skipScopes}}
|
|
|
983
983
|
|
|
984
984
|
{{/ui/details}}
|
|
985
985
|
|
|
986
|
-
<script>
|
|
986
|
+
<script nonce="{{cspNonce}}">
|
|
987
987
|
|
|
988
988
|
document.addEventListener('DOMContentLoaded', () => {
|
|
989
989
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script nonce="{{cspNonce}}">
|
|
2
2
|
// Apply the theme before first paint to avoid a flash. Public-page twin of
|
|
3
3
|
// theme_init.hbs with one extra source, a ?theme= query argument, so the
|
|
4
4
|
// application that linked or redirected here can make these pages match its
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
|
|
60
60
|
{{!-- Shared by templates/new and templates/edit: both render this exact form
|
|
61
61
|
(ids included), so the ACE editor bootstrap lives here instead of per page. --}}
|
|
62
|
-
|
|
62
|
+
{{> ace_assets}}
|
|
63
63
|
|
|
64
|
-
<script>
|
|
64
|
+
<script nonce="{{cspNonce}}">
|
|
65
65
|
document.addEventListener('DOMContentLoaded', () => {
|
|
66
66
|
|
|
67
67
|
const editors = new Map();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{{!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
Delivery-test results (SPF/DKIM/DMARC). Rendered on the server by
|
|
3
|
+
POST /admin/smtp/check-test (compiledFragments.testSend in
|
|
4
|
+
lib/ui-routes/route-helpers.js) and returned as the `html` field the
|
|
5
|
+
account page drops into the results panel. Relies on the statusColor and
|
|
6
|
+
statusIcon helpers from lib/handlebars-helpers.js. Rendered without the
|
|
7
|
+
page's view context, so no inline scripts here. Native details/summary
|
|
8
|
+
panels - no JS.
|
|
6
9
|
--}}
|
|
7
10
|
<div class="space-y-2 mb-4">
|
|
8
11
|
<details class="group card border border-base-content/10">
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
summaryClass - extra/override padding classes on the summary
|
|
13
13
|
(default "px-6 py-4")
|
|
14
14
|
bodyClass - extra classes on the body (optional)
|
|
15
|
-
|
|
16
|
-
resolve
|
|
15
|
+
Usable from the fragments compiled outside vision too (test_send.hbs,
|
|
16
|
+
address_list.hbs): partials resolve on the shared handlebars instance.
|
|
17
17
|
--}}
|
|
18
18
|
<details {{#if id}}id="{{id}}" {{/if}}class="group {{#if class}}{{class}}{{else}}card bg-base-100 shadow-md{{/if}}"
|
|
19
19
|
{{#if open}}open {{/if}}>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{{!--
|
|
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 EENGINE_SETTINGS
|
|
4
|
+
environment variable re-applies on every boot. A value saved for one of them holds only
|
|
5
|
+
until the next restart, and without this the page would show the save succeeding.
|
|
6
|
+
Renders nothing when the page has no such field. The inputs stay enabled on purpose -
|
|
7
|
+
a disabled control drops out of the POST and would silently strip its value from the
|
|
8
|
+
save - so the notice is the whole treatment.
|
|
9
|
+
{{> ui/env-managed-alert}}
|
|
10
|
+
Reads `envManagedKeys` (array of field names) from the page context; registerSettingsPage
|
|
11
|
+
sets it on every render of the page.
|
|
12
|
+
--}}
|
|
13
|
+
{{#if envManagedKeys.length}}
|
|
14
|
+
{{#> ui/alert-banner variant="info" icon="icon-[tabler--info-circle]" title="Some fields are set by the environment"}}
|
|
15
|
+
<div>The following settings come from the <code>EENGINE_SETTINGS</code> environment variable and are re-applied on
|
|
16
|
+
every restart. A value saved here is used until the next restart, then reverts to the environment value:
|
|
17
|
+
{{#each envManagedKeys}}<code>{{this}}</code>{{#unless @last}}, {{/unless}}{{/each}}.</div>
|
|
18
|
+
{{/ui/alert-banner}}
|
|
19
|
+
{{/if}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
{{> ui/form-field id="inputDescription" name="description" label="Description" value=values.description error=errors.description hint="Description for this routing."}}
|
|
9
9
|
|
|
10
|
-
{{> ui/form-field id="inputTargetUrl" name="targetUrl" type="url" label="Target URL" value=values.targetUrl error=errors.targetUrl
|
|
10
|
+
{{> ui/form-field id="inputTargetUrl" name="targetUrl" type="url" label="Target URL" value=values.targetUrl error=errors.targetUrl placeholder='URL like "https://myservice.com/imap/webhooks"' hint="Webhook target URL for this routing. Leave empty to deliver to the default webhook URL from the Webhooks settings."}}
|
|
11
11
|
|
|
12
12
|
{{> ui/checkbox id="enabled" label="Enable this webhook route" checked=values.enabled error=errors.enabled hint="Webhook routes are not enabled by default."}}
|
|
13
13
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
redirectMap is serialized by jsonForScript() in lib/api-reference/index.js, which escapes
|
|
14
14
|
`<` so the literal cannot terminate this script element.
|
|
15
15
|
--}}
|
|
16
|
-
<script>
|
|
16
|
+
<script nonce="{{cspNonce}}">
|
|
17
17
|
(() => {
|
|
18
18
|
const map = {{{redirectMap}}};
|
|
19
19
|
const fallback = '/admin/reference';
|
|
@@ -130,8 +130,8 @@ fieldName="template" fieldValue=template.id submitLabel="Delete template"}}
|
|
|
130
130
|
</div>
|
|
131
131
|
{{/ui/modal}}
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
<script>
|
|
133
|
+
{{> ace_assets}}
|
|
134
|
+
<script nonce="{{cspNonce}}">
|
|
135
135
|
document.addEventListener('DOMContentLoaded', () => {
|
|
136
136
|
|
|
137
137
|
function showAlert(title, content) {
|
package/views/tokens/new.hbs
CHANGED
package/views/unsubscribe.hbs
CHANGED
|
@@ -37,7 +37,7 @@ focus ring on) the corner close button --}}
|
|
|
37
37
|
</div>
|
|
38
38
|
</dialog>
|
|
39
39
|
|
|
40
|
-
<script>
|
|
40
|
+
<script nonce="{{cspNonce}}">
|
|
41
41
|
document.addEventListener('DOMContentLoaded', () => {
|
|
42
42
|
|
|
43
43
|
document.getElementById('resubscribe-link').addEventListener('click', e => {
|
|
@@ -59,6 +59,7 @@ focus ring on) the corner close button --}}
|
|
|
59
59
|
|
|
60
60
|
<h1>{{_ "Unsubscribe" templateLocale }}</h1>
|
|
61
61
|
|
|
62
|
+
{{#if values.sig}}
|
|
62
63
|
<div class="ee-narrow">
|
|
63
64
|
<form method="post" action="/unsubscribe/address">
|
|
64
65
|
<input type="hidden" name="crumb" value="{{crumb}}" />
|
|
@@ -76,6 +77,11 @@ focus ring on) the corner close button --}}
|
|
|
76
77
|
</div>
|
|
77
78
|
</form>
|
|
78
79
|
</div>
|
|
80
|
+
{{else}}
|
|
81
|
+
{{!-- A submit whose signed payload did not verify (or a malformed one) leaves nothing
|
|
82
|
+
trustworthy to put in the form, and an empty form would only fail again --}}
|
|
83
|
+
<p>{{_ "This link is not valid. Use the unsubscribe link from the email you received." templateLocale }}</p>
|
|
84
|
+
{{/if}}
|
|
79
85
|
|
|
80
86
|
{{/if}}
|
|
81
87
|
|
|
@@ -151,9 +151,9 @@ fieldName="webhook" fieldValue=webhook.id submitLabel="Delete route"}}
|
|
|
151
151
|
<p>Are you sure you want to delete <strong>{{webhook.name}}</strong>? This action cannot be undone.</p>
|
|
152
152
|
{{/ui/confirm-modal}}
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
{{> ace_assets}}
|
|
155
155
|
|
|
156
|
-
<script>
|
|
156
|
+
<script nonce="{{cspNonce}}">
|
|
157
157
|
document.addEventListener('DOMContentLoaded', () => {
|
|
158
158
|
|
|
159
159
|
{{!-- useWorker is false, so the JSHint options machinery the editable
|