emailengine-app 2.77.0 → 2.79.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/.github/workflows/test.yml +80 -0
- package/.ncurc.js +23 -13
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +60 -0
- package/bin/emailengine.js +1 -1
- package/config/e2e.toml +2 -1
- package/config/test.toml +2 -1
- package/data/google-crawlers.json +1 -1
- package/encrypt.js +1 -1
- package/lib/account/expected-identity.js +88 -0
- package/lib/account.js +145 -61
- package/lib/api-reference/format.js +105 -4
- package/lib/api-reference/index.js +24 -7
- package/lib/api-reference/model.js +148 -21
- package/lib/api-reference/schema-tree.js +282 -28
- package/lib/api-routes/account-routes.js +99 -36
- package/lib/api-routes/behavior-notes.js +3 -0
- package/lib/api-routes/blocklist-routes.js +21 -47
- package/lib/api-routes/chat-routes.js +10 -12
- package/lib/api-routes/delivery-test-routes.js +6 -26
- package/lib/api-routes/export-routes.js +2 -0
- package/lib/api-routes/gateway-routes.js +52 -11
- package/lib/api-routes/license-routes.js +2 -0
- package/lib/api-routes/mailbox-routes.js +29 -26
- package/lib/api-routes/message-routes.js +27 -21
- package/lib/api-routes/oauth2-app-routes.js +11 -29
- package/lib/api-routes/operation-impact.js +80 -0
- package/lib/api-routes/outbox-routes.js +15 -5
- package/lib/api-routes/permission-map.js +397 -0
- package/lib/api-routes/route-helpers.js +223 -9
- package/lib/api-routes/route-metadata.js +28 -0
- package/lib/api-routes/settings-routes.js +30 -25
- package/lib/api-routes/stats-routes.js +2 -2
- package/lib/api-routes/submit-routes.js +53 -31
- package/lib/api-routes/template-routes.js +3 -0
- package/lib/api-routes/token-routes.js +319 -33
- package/lib/api-routes/webhook-route-routes.js +14 -4
- package/lib/append-list.js +3 -14
- package/lib/arf-detect.js +23 -1
- package/lib/auth-token.js +80 -8
- package/lib/autodetect-imap-settings.js +40 -16
- package/lib/base32.js +30 -0
- package/lib/bounce-detect.js +182 -62
- package/lib/consts.js +10 -0
- package/lib/db.js +20 -2
- package/lib/delivery-error.js +30 -1
- package/lib/egress-filter.js +89 -8
- package/lib/email-client/base-client.js +35 -113
- package/lib/email-client/gmail-client.js +22 -13
- package/lib/email-client/imap/listing-diff.js +3 -3
- package/lib/email-client/imap/mailbox.js +28 -93
- package/lib/email-client/imap/subconnection.js +10 -7
- package/lib/email-client/imap/sync-operations.js +46 -46
- package/lib/email-client/imap-client.js +39 -28
- package/lib/email-client/message-builder.js +15 -15
- package/lib/email-client/notification-handler.js +1 -1
- package/lib/email-client/outlook/graph-api.js +10 -4
- package/lib/email-client/outlook-client.js +54 -55
- package/lib/email-client/smtp-pool-manager.js +1 -1
- package/lib/enum-descriptions.js +92 -2
- package/lib/export.js +2 -2
- package/lib/field-usage.js +133 -0
- package/lib/gateway.js +2 -2
- package/lib/get-raw-email.js +1 -1
- package/lib/imapproxy/imap-core/lib/commands/authenticate-plain.js +3 -3
- package/lib/imapproxy/imap-core/lib/commands/id.js +2 -13
- package/lib/imapproxy/imap-core/lib/commands/starttls.js +1 -1
- package/lib/imapproxy/imap-core/lib/imap-command.js +21 -5
- package/lib/imapproxy/imap-core/lib/imap-connection.js +17 -7
- package/lib/imapproxy/imap-core/lib/imap-server.js +2 -2
- package/lib/imapproxy/imap-server.js +40 -10
- package/lib/license-beacon.js +5 -10
- package/lib/lists.js +49 -1
- package/lib/llm-pre-process.js +6 -6
- package/lib/logger.js +5 -1
- package/lib/metrics-collector.js +2 -2
- package/lib/msgpack.js +62 -0
- package/lib/oauth/decode-jwt-payload.js +39 -0
- package/lib/oauth/gmail.js +9 -12
- package/lib/oauth/mail-ru.js +5 -7
- package/lib/oauth/outlook-identity.js +61 -0
- package/lib/oauth/outlook.js +9 -9
- package/lib/oauth/pubsub/google.js +25 -10
- package/lib/oauth/retry-setup.js +38 -0
- package/lib/oauth/scope-checker.js +1 -1
- package/lib/oauth2-apps.js +224 -295
- package/lib/openapi/build-document.js +15 -7
- package/lib/openapi/joi-schema.js +20 -0
- package/lib/outbox.js +145 -14
- package/lib/pre-process.js +9 -9
- package/lib/queue-stats.js +49 -0
- package/lib/read-env-value.js +37 -0
- package/lib/reconnection-manager.js +2 -2
- package/lib/rewrite-text-nodes.js +4 -3
- package/lib/routes-ui.js +4 -0
- package/lib/schemas.js +223 -155
- package/lib/settings.js +84 -5
- package/lib/sub-script.js +2 -1
- package/lib/swagger-options.js +2 -1
- package/lib/templates.js +5 -5
- package/lib/threads.js +2 -2
- package/lib/token-audit-log.js +208 -0
- package/lib/token-permission-view.js +219 -0
- package/lib/token-permissions.js +172 -0
- package/lib/tokens.js +100 -16
- package/lib/tools.js +259 -85
- package/lib/totp.js +67 -0
- package/lib/ui-routes/account-routes.js +122 -26
- package/lib/ui-routes/admin-config-routes.js +20 -17
- package/lib/ui-routes/admin-entities-routes.js +66 -22
- package/lib/ui-routes/auth-routes.js +36 -48
- package/lib/ui-routes/export-routes.js +10 -4
- package/lib/ui-routes/oauth-config-routes.js +5 -5
- package/lib/ui-routes/reference-routes.js +11 -8
- package/lib/ui-routes/route-helpers.js +79 -2
- package/lib/ui-routes/settings-page.js +1 -1
- package/lib/ui-routes/smtp-test-routes.js +1 -1
- package/lib/ui-routes/suppression-list-routes.js +294 -0
- package/lib/ui-routes/unsubscribe-routes.js +19 -29
- package/lib/utils/is-email.js +34 -0
- package/lib/utils/network.js +2 -2
- package/lib/utils/to-camel-case.js +17 -0
- package/lib/web-safe-html.js +1 -1
- package/lib/webhook-egress.js +37 -0
- package/lib/webhook-routing.js +80 -0
- package/lib/webhooks.js +21 -15
- package/package.json +26 -27
- package/sbom.json +1 -0
- package/server.js +81 -42
- package/static/css/flyonui.css +1 -1
- package/static/css/public.css +3 -0
- package/static/css/src/app.tailwind.css +159 -9
- package/static/js/app.js +69 -0
- package/static/js/reference.js +741 -10
- package/static/js/ui.js +43 -0
- package/static/licenses.html +698 -1590
- package/translations/README.md +64 -0
- package/translations/de.mo +0 -0
- package/translations/de.po +164 -120
- package/translations/en.po +200 -161
- package/translations/et.mo +0 -0
- package/translations/et.po +163 -120
- package/translations/fr.mo +0 -0
- package/translations/fr.po +163 -120
- package/translations/ja.mo +0 -0
- package/translations/ja.po +163 -120
- package/translations/messages.pot +94 -64
- package/translations/nl.mo +0 -0
- package/translations/nl.po +164 -120
- package/translations/pl.mo +0 -0
- package/translations/pl.po +163 -120
- package/views/account-identity-error.hbs +34 -0
- package/views/accounts/account.hbs +69 -7
- package/views/accounts/browse.hbs +18 -35
- package/views/accounts/edit.hbs +1 -0
- package/views/accounts/register/imap.hbs +12 -2
- package/views/config/logging.hbs +6 -0
- package/views/config/oauth/app.hbs +0 -2
- package/views/config/security.hbs +13 -0
- package/views/layout/app.hbs +29 -5
- package/views/oauth-scope-error.hbs +1 -1
- package/views/partials/oauth_form.hbs +0 -15
- package/views/partials/reference/disclosure.hbs +8 -2
- package/views/partials/reference/nav.hbs +36 -9
- package/views/partials/reference/operation.hbs +48 -14
- package/views/partials/reference/params.hbs +17 -1
- package/views/partials/reference/schema-node.hbs +112 -54
- package/views/partials/reference/schema-tools.hbs +25 -0
- package/views/partials/reference/token-alert.hbs +35 -10
- package/views/partials/reference/try-it.hbs +84 -11
- package/views/partials/side_menu.hbs +1 -0
- package/views/partials/ui/checkbox.hbs +2 -2
- package/views/partials/ui/tabs.hbs +7 -1
- package/views/reference/index.hbs +1 -1
- package/views/reference/token.hbs +4 -0
- package/views/suppression-lists/index.hbs +85 -0
- package/views/suppression-lists/list.hbs +87 -0
- package/views/templates/index.hbs +8 -2
- package/views/tokens/index.hbs +31 -4
- package/views/tokens/new.hbs +324 -2
- package/workers/api.js +299 -140
- package/workers/documents.js +46 -26
- package/workers/export.js +20 -8
- package/workers/imap-proxy.js +2 -2
- package/workers/imap.js +13 -7
- package/workers/smtp.js +13 -7
- package/workers/submit.js +41 -31
- package/workers/webhooks.js +60 -37
- package/lib/feature-flags.js +0 -48
|
@@ -6,12 +6,25 @@
|
|
|
6
6
|
(depth-capped, with $ref cycles marked instead of followed).
|
|
7
7
|
|
|
8
8
|
Also rendered directly for operation parameters (reference/params) - the parameter
|
|
9
|
-
view models from buildParameter() carry the same field names and simply
|
|
10
|
-
children or variants, so the nested blocks below render nothing for them.
|
|
9
|
+
view models from buildParameter() carry the same field names as a tree node and simply
|
|
10
|
+
have no children or variants, so the nested blocks below render nothing for them.
|
|
11
11
|
|
|
12
12
|
Context is a node from buildSchemaTree(): name, anchor, typeLabel, required, nullable,
|
|
13
|
-
deprecated, constraints[], enumValues[], defaultValue, descriptionHtml,
|
|
14
|
-
variants[], openByDefault,
|
|
13
|
+
deprecated, constraints[], enumValues[], alsoAccepts[], defaultValue, descriptionHtml,
|
|
14
|
+
usageHtml, example, children[], variants[], openByDefault, childLabel, childPreview,
|
|
15
|
+
truncated, circular, unresolved.
|
|
16
|
+
|
|
17
|
+
The row is a two-column grid (.ee-ref-prop-row in app.tailwind.css): the name, type and
|
|
18
|
+
constraint chips sit in a rail on the left, the prose in a column beside it capped at a
|
|
19
|
+
readable measure. Before that the name sat above its own description at the same left
|
|
20
|
+
edge and the description ran the full content width - about 120 characters - so a
|
|
21
|
+
128-property response read as one undifferentiated field. The grid collapses back to a
|
|
22
|
+
single stacked column when the row is too narrow to split.
|
|
23
|
+
|
|
24
|
+
A cut example carries the whole value twice, in two forms: `title` is the raw value for
|
|
25
|
+
the native tooltip, and `data-example` is the JSON form the try-it autocompleter inserts,
|
|
26
|
+
so the completion is never reconstructed from the rendered text - and never inserts an
|
|
27
|
+
unquoted string into a JSON body. Only the 54 cut rows in the document emit either.
|
|
15
28
|
|
|
16
29
|
`anchor` is the dotted id of this property within its operation, e.g.
|
|
17
30
|
"accountCreate.body.imap.tls.rejectUnauthorized", so a single field can be linked to
|
|
@@ -21,61 +34,106 @@
|
|
|
21
34
|
descriptionHtml is pre-escaped by lib/api-reference/format.js (escape first, then a
|
|
22
35
|
closed set of tags added back), which is why it renders unescaped.
|
|
23
36
|
--}}
|
|
24
|
-
<li class="ee-ref-prop min-w-0
|
|
25
|
-
|
|
26
|
-
<div class="ee-ref-prop-head flex flex-wrap items-baseline gap-x-2 gap-y-1">
|
|
27
|
-
{{#if name}}<code class="text-sm font-semibold break-all">{{name}}</code>{{/if}}
|
|
28
|
-
<span class="text-primary text-xs font-medium">{{typeLabel}}</span>
|
|
29
|
-
{{#if required}}<span class="text-error text-2xs font-semibold tracking-wide uppercase">required</span>{{/if}}
|
|
30
|
-
{{#if nullable}}<span class="ee-chip">nullable</span>{{/if}}
|
|
31
|
-
{{#if deprecated}}{{> ui/badge label="deprecated" variant="warning" soft=true icon="" class=""}}{{/if}}
|
|
32
|
-
{{#each constraints}}<span class="ee-chip">{{this}}</span>{{/each}}
|
|
33
|
-
{{#if anchor}}
|
|
34
|
-
{{> reference/anchor-link target=anchor label=(concat "Link to the " name " property") small=true class="ee-ref-prop-anchor"}}
|
|
35
|
-
{{/if}}
|
|
36
|
-
</div>
|
|
37
|
+
<li class="ee-ref-prop min-w-0"{{#if anchor}} id="{{anchor}}"{{/if}}>
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
<div class="text-base-content/70 mt-1 text-sm"><p>{{{descriptionHtml}}}</p></div>
|
|
40
|
-
{{/if}}
|
|
39
|
+
<div class="ee-ref-prop-row">
|
|
41
40
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<
|
|
50
|
-
<
|
|
51
|
-
{{#if
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<div class="mt-1 flex flex-wrap items-baseline gap-1">
|
|
58
|
-
<span class="text-base-content/50 text-2xs tracking-wide uppercase">Allowed</span>
|
|
59
|
-
{{#each enumValues}}<code class="ee-chip">{{value}}</code>{{/each}}
|
|
60
|
-
</div>
|
|
61
|
-
{{/if}}
|
|
62
|
-
{{/if}}
|
|
41
|
+
<div class="ee-ref-prop-rail">
|
|
42
|
+
<div class="ee-ref-prop-line">
|
|
43
|
+
{{#if name}}<code class="text-sm font-semibold break-all">{{name}}</code>{{/if}}
|
|
44
|
+
{{#if anchor}}
|
|
45
|
+
{{> reference/anchor-link target=anchor label=(concat "Link to the " name " property") small=true class="ee-ref-prop-anchor"}}
|
|
46
|
+
{{/if}}
|
|
47
|
+
</div>
|
|
48
|
+
<div class="ee-ref-prop-line">
|
|
49
|
+
<span class="text-primary text-xs font-medium">{{typeLabel}}</span>
|
|
50
|
+
{{#if required}}<span class="text-error text-2xs font-semibold tracking-wide uppercase">required</span>{{/if}}
|
|
51
|
+
{{#if nullable}}<span class="ee-chip">nullable</span>{{/if}}
|
|
52
|
+
{{#if deprecated}}{{> ui/badge label="deprecated" variant="warning" soft=true icon="" class=""}}{{/if}}
|
|
53
|
+
{{#each constraints}}<span class="ee-chip">{{this}}</span>{{/each}}
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
63
56
|
|
|
64
|
-
|
|
65
|
-
<div class="text-base-content/50 mt-1 text-xs">Default <code class="ee-chip">{{defaultValue}}</code></div>
|
|
66
|
-
{{/if}}
|
|
57
|
+
<div class="ee-ref-prop-body">
|
|
67
58
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
{{!-- The example rides the end of the description rather than taking a line of
|
|
60
|
+
its own. The prose column is 34rem, the median description is 41 characters
|
|
61
|
+
and the median example 15, so 86% of these land on a line that already
|
|
62
|
+
exists; a line each would have added about 12,500px across five tag pages
|
|
63
|
+
that already run to 90,000. Which rows get one is decided by rowExample()
|
|
64
|
+
in lib/api-reference/schema-tree.js, not here. --}}
|
|
65
|
+
{{#if descriptionHtml}}
|
|
66
|
+
<div class="text-base-content/70 text-sm"><p>{{{descriptionHtml}}}{{#if example}} <code
|
|
67
|
+
class="ee-ref-example-value" {{#if example.title}}title="{{example.title}}" data-example="{{example.full}}"
|
|
68
|
+
{{/if}}>{{example.text}}</code>{{/if}}</p>
|
|
69
|
+
</div>
|
|
70
|
+
{{else if example}}
|
|
71
|
+
<div class="text-sm"><code class="ee-ref-example-value" {{#if example.title}}title="{{example.title}}"
|
|
72
|
+
data-example="{{example.full}}" {{/if}}>{{example.text}}</code></div>
|
|
73
|
+
{{/if}}
|
|
71
74
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
{{!-- Long-form guidance, closed. A field without one is unchanged; a field with
|
|
76
|
+
one costs a single summary line until someone wants the answer. The
|
|
77
|
+
seventeen fields that used to cram this into the description are why the
|
|
78
|
+
slot exists - see lib/field-usage.js. --}}
|
|
79
|
+
{{#if usageHtml}}
|
|
80
|
+
{{#> reference/disclosure label="When to use this" class="mt-1"}}
|
|
81
|
+
<div class="ee-ref-usage text-base-content/70 mt-1 text-sm"><p>{{{usageHtml}}}</p></div>
|
|
82
|
+
{{/reference/disclosure}}
|
|
83
|
+
{{/if}}
|
|
75
84
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
{{#if enumValues}}
|
|
86
|
+
{{#if enumDocumented}}
|
|
87
|
+
{{!-- documented values get a row each; joi .meta({enumDescriptions}) is the source --}}
|
|
88
|
+
<div class="mt-1">
|
|
89
|
+
<span class="text-base-content/50 text-2xs tracking-wide uppercase">Allowed values</span>
|
|
90
|
+
<ul class="ee-ref-nest mt-1 space-y-1">
|
|
91
|
+
{{#each enumValues}}
|
|
92
|
+
<li class="flex flex-wrap items-baseline gap-x-2 text-sm">
|
|
93
|
+
<code class="ee-chip">{{value}}</code>
|
|
94
|
+
{{#if description}}<span class="text-base-content/70">{{description}}</span>{{/if}}
|
|
95
|
+
</li>
|
|
96
|
+
{{/each}}
|
|
97
|
+
</ul>
|
|
98
|
+
</div>
|
|
99
|
+
{{else}}
|
|
100
|
+
<div class="mt-1 flex flex-wrap items-baseline gap-1">
|
|
101
|
+
<span class="text-base-content/50 text-2xs tracking-wide uppercase">Allowed</span>
|
|
102
|
+
{{#each enumValues}}<code class="ee-chip">{{value}}</code>{{/each}}
|
|
103
|
+
</div>
|
|
104
|
+
{{/if}}
|
|
105
|
+
{{/if}}
|
|
106
|
+
|
|
107
|
+
{{!-- Sentinels the schema accepts beside its own type - joi .allow(false) on a
|
|
108
|
+
string, an integer or an object. Deliberately not the "Allowed" row above:
|
|
109
|
+
that reads as the whole value domain, which claimed an IMAP configuration
|
|
110
|
+
object accepted nothing but `false`. --}}
|
|
111
|
+
{{#if alsoAccepts}}
|
|
112
|
+
<div class="text-base-content/50 mt-1 flex flex-wrap items-baseline gap-1 text-xs">
|
|
113
|
+
<span>Also accepts</span>
|
|
114
|
+
{{#each alsoAccepts}}<code class="ee-chip">{{this}}</code>{{/each}}
|
|
115
|
+
</div>
|
|
116
|
+
{{/if}}
|
|
117
|
+
|
|
118
|
+
{{#if defaultValue}}
|
|
119
|
+
<div class="text-base-content/50 mt-1 text-xs">Default <code class="ee-chip">{{defaultValue}}</code></div>
|
|
120
|
+
{{/if}}
|
|
121
|
+
|
|
122
|
+
{{#if circular}}
|
|
123
|
+
<div class="text-warning mt-1 text-xs">Recursive reference - see the parent definition</div>
|
|
124
|
+
{{/if}}
|
|
125
|
+
|
|
126
|
+
{{#if truncated}}
|
|
127
|
+
<div class="text-warning mt-1 text-xs">Nesting too deep to display</div>
|
|
128
|
+
{{/if}}
|
|
129
|
+
|
|
130
|
+
{{#if unresolved}}
|
|
131
|
+
<div class="text-warning mt-1 text-xs">Unresolved reference {{unresolved}}</div>
|
|
132
|
+
{{/if}}
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
79
137
|
|
|
80
138
|
{{#if variants.length}}
|
|
81
139
|
<div class="ee-ref-nest mt-2 space-y-2">
|
|
@@ -89,7 +147,7 @@
|
|
|
89
147
|
{{/if}}
|
|
90
148
|
|
|
91
149
|
{{#if children.length}}
|
|
92
|
-
{{#> reference/disclosure label=childLabel open=openByDefault class="mt-
|
|
150
|
+
{{#> reference/disclosure label=childLabel preview=childPreview open=openByDefault class="mt-1"}}
|
|
93
151
|
<ul class="ee-ref-props ee-ref-nest mt-2">
|
|
94
152
|
{{#each children}}{{> reference/schema-node}}{{/each}}
|
|
95
153
|
</ul>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{{!--
|
|
2
|
+
reference/schema-tools - the filter box and expand/collapse pair that sit beside a
|
|
3
|
+
large schema's heading.
|
|
4
|
+
|
|
5
|
+
Params:
|
|
6
|
+
scope - id of the element holding the property rows these act on (required)
|
|
7
|
+
label - what is being filtered, used as the placeholder and the accessible name,
|
|
8
|
+
e.g. "Filter response fields" (required)
|
|
9
|
+
|
|
10
|
+
Rendered only for schemas past a size threshold (see reference/operation): on a
|
|
11
|
+
three-property body a filter is noise, and a tag page would otherwise carry two dozen
|
|
12
|
+
of them. Behavior lives in static/js/reference.js, keyed off data-schema-tools and the
|
|
13
|
+
data-schema-scope id - the page itself is server-rendered and works without it, which
|
|
14
|
+
is why the controls degrade to a plain input and two buttons that simply do nothing if
|
|
15
|
+
the script never loads.
|
|
16
|
+
|
|
17
|
+
The script finds the input and the buttons by their position inside this container
|
|
18
|
+
rather than by hook attributes, so the shared ui/* partials can be used unchanged.
|
|
19
|
+
--}}
|
|
20
|
+
<div class="flex flex-wrap items-center gap-2" data-schema-tools data-schema-scope="{{scope}}">
|
|
21
|
+
{{> ui/search-input placeholder=label class="w-48" id="" name="" value="" type="" shortcut="" shortcutMac=""}}
|
|
22
|
+
{{> ui/btn label="Expand all" bare=true style="text" size="xs" icon="" id="" class="" type=""}}
|
|
23
|
+
{{> ui/btn label="Collapse all" bare=true style="text" size="xs" icon="" id="" class="" type=""}}
|
|
24
|
+
<span class="text-base-content/50 text-xs" data-schema-count role="status" aria-live="polite"></span>
|
|
25
|
+
</div>
|
|
@@ -3,22 +3,47 @@
|
|
|
3
3
|
pages. Server-rendered but hidden by default; static/js/reference.js unhides it when
|
|
4
4
|
the tab holds no token, because whether one is set is client state.
|
|
5
5
|
|
|
6
|
+
The banner sticks below the topbar instead of scrolling away, because the Try it panels
|
|
7
|
+
it warns about sit hundreds of pixels down a group page - a warning only visible at the
|
|
8
|
+
top of the page is read once and then gone. Sticky, not fixed: the band keeps its place
|
|
9
|
+
in normal flow, so at rest it pushes the page down instead of covering it, and it takes
|
|
10
|
+
the page background with it so operations passing underneath do not show through.
|
|
11
|
+
Nothing ends up permanently hidden behind it either - reference.js publishes the band's
|
|
12
|
+
measured height as --ee-sticky-band-h, and the layout's scroll-padding (.ee-app-chrome in
|
|
13
|
+
app.tailwind.css) adds it to the scroller's top inset, so anything scrolled into view -
|
|
14
|
+
a deep link, find-in-page, the focus moving through a Try it panel - lands below it.
|
|
15
|
+
|
|
6
16
|
Rendered only when a token is actually required: with the `disableTokens` setting on,
|
|
7
17
|
the API accepts uncredentialed callers, so the banner would be wrong.
|
|
8
18
|
|
|
9
19
|
Not shown on the access-token page itself - the control is already there.
|
|
10
20
|
--}}
|
|
11
21
|
{{#unless disableTokens}}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
{{!-- -mx-6/px-6 is the content column's own gutter (views/layout/app.hbs), cancelled out so
|
|
23
|
+
the opaque band reaches the column edges and nothing scrolls up beside it. The vertical
|
|
24
|
+
padding is the rest of that band: it keeps a strip of page background between the alert
|
|
25
|
+
and whatever is passing underneath, instead of content touching the alert's edge. Both
|
|
26
|
+
pairs cancel to the spacing this banner had before it became sticky. --}}
|
|
27
|
+
<div id="ref-token-alert" class="bg-base-200 @container sticky top-topbar z-20 -mx-6 -mt-2 mb-3 hidden px-6 pt-2 pb-3">
|
|
28
|
+
{{!-- One row wherever there is room for one: with wrapping on, flex breaks the line on the
|
|
29
|
+
text's full width, so the actions drop below it even where they would have fitted
|
|
30
|
+
beside a text column half as wide. Asked of the container rather than the viewport,
|
|
31
|
+
because the constraint is this column - at lg the sidebar and the section nav take
|
|
32
|
+
544px out of the window, and a viewport breakpoint would unwrap the band exactly
|
|
33
|
+
where the column is at its narrowest, stacking the sentence seven lines high. 42rem
|
|
34
|
+
is where the text still fits two lines beside the actions: measured 84-94px for the
|
|
35
|
+
one-row form above it, against 168px for the wrapped form below it. --}}
|
|
36
|
+
<div class="alert alert-soft alert-warning flex flex-wrap items-center gap-3 @2xl:flex-nowrap" role="alert">
|
|
37
|
+
<span class="icon-[tabler--key-off] size-5 shrink-0"></span>
|
|
38
|
+
<div class="min-w-0 grow text-sm">
|
|
39
|
+
No access token is set, so <strong>Try it</strong> requests will be rejected with a 401.
|
|
40
|
+
</div>
|
|
41
|
+
<div class="flex shrink-0 flex-wrap items-center gap-2">
|
|
42
|
+
{{> ui/btn variant="primary" size="sm" icon="icon-[tabler--clock-plus]" label="Mint temporary token"
|
|
43
|
+
class="ref-token-mint" id="" href="" style="" bare="" type="" overlay="" external=""}}
|
|
44
|
+
{{> ui/btn href="/admin/reference/token" variant="neutral" style="soft" size="sm" label="Set a token"
|
|
45
|
+
icon="" id="" bare="" type="" overlay="" external=""}}
|
|
46
|
+
</div>
|
|
22
47
|
</div>
|
|
23
48
|
</div>
|
|
24
49
|
{{/unless}}
|
|
@@ -6,21 +6,36 @@
|
|
|
6
6
|
Requests go to this same instance, so they need a real access token - the shared
|
|
7
7
|
token field at the top of the page feeds every panel.
|
|
8
8
|
|
|
9
|
-
The request body
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
The request body textarea stays in the server-rendered HTML and remains the value
|
|
10
|
+
everything downstream reads - the submit path, "Copy as curl" and the JSON validation.
|
|
11
|
+
static/js/reference.js upgrades it to an ACE editor and syncs back into it, so the panel
|
|
12
|
+
works unchanged with no JS and the editor is purely additive.
|
|
13
|
+
|
|
14
|
+
That upgrade is deliberately lazy on both axes. ace.js is 127 KB gzipped and no
|
|
15
|
+
reference page loads it otherwise, so it is fetched only once someone opens a Try it
|
|
16
|
+
panel that has a body; and the editor is mounted per panel on first open, because these
|
|
17
|
+
disclosures start closed and ACE cannot size itself in a container with no layout box.
|
|
18
|
+
Between them a tag page mounts one or two editors rather than the seven its bodies would
|
|
19
|
+
suggest, and a reader who never opens Try it pays nothing.
|
|
12
20
|
|
|
13
21
|
Context is an operation view model from lib/api-reference/model.js.
|
|
14
22
|
--}}
|
|
15
23
|
{{#> reference/disclosure label="Try it" primary=true elId=(concat "try-" id) class="mt-4"}}
|
|
16
24
|
|
|
17
|
-
<form class="ee-ref-try border-base-content/20 mt-3 rounded-box border p-4" data-method="{{method}}" data-path="{{path}}"
|
|
25
|
+
<form class="ee-ref-try border-base-content/20 mt-3 rounded-box border p-4" data-method="{{method}}" data-path="{{path}}"
|
|
26
|
+
{{#if tryImpact.confirm}}data-confirm="ee-ref-confirm-{{id}}" {{/if}}>
|
|
18
27
|
|
|
28
|
+
{{!-- Weight tracks consequence - see tryImpact() in lib/api-reference/model.js. A read
|
|
29
|
+
says nothing, an ordinary write gets one muted line, and only the operations that
|
|
30
|
+
destroy data or send mail get a warning box. The same warning on all 82 operations
|
|
31
|
+
is what taught readers to skim past the fourteen where it mattered. --}}
|
|
32
|
+
{{#if tryImpact.warn}}
|
|
19
33
|
{{#> ui/alert-banner variant="warning"}}
|
|
20
|
-
<div class="text-sm">
|
|
21
|
-
<code class="ee-code">{{methodLabel}}</code> here has the same effect as calling the API directly.
|
|
22
|
-
</div>
|
|
34
|
+
<div class="text-sm">{{tryImpact.text}}</div>
|
|
23
35
|
{{/ui/alert-banner}}
|
|
36
|
+
{{else if tryImpact}}
|
|
37
|
+
<p class="text-base-content/50 mb-3 text-xs">{{tryImpact.text}}</p>
|
|
38
|
+
{{/if}}
|
|
24
39
|
|
|
25
40
|
{{#if pathParams.length}}
|
|
26
41
|
<div class="mb-3 grid gap-3 sm:grid-cols-2">
|
|
@@ -46,11 +61,28 @@
|
|
|
46
61
|
</div>
|
|
47
62
|
{{/if}}
|
|
48
63
|
|
|
64
|
+
{{!-- Not a <label> wrapper: reference.js replaces the textarea with an ACE mount, which a
|
|
65
|
+
label cannot legitimately wrap. The heading is tied to the field by aria-label
|
|
66
|
+
instead, which survives the swap. data-schema names the rendered property tree the
|
|
67
|
+
completer harvests field names from - already on the page, so nothing is duplicated
|
|
68
|
+
into the markup for it. --}}
|
|
49
69
|
{{#if body}}
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
70
|
+
<div class="mb-3" data-body-field data-schema="{{body.scopeId}}" {{#if body.completeJson}}data-complete-source="{{body.completeTabId}}" {{/if}}>
|
|
71
|
+
<div class="flex flex-wrap items-baseline justify-between gap-2">
|
|
72
|
+
{{> reference/section-heading label="Request body" suffix=body.contentType class=""}}
|
|
73
|
+
{{!-- The field starts on the typical payload, which is what most calls are. This
|
|
74
|
+
swaps in the complete one, because the panel is exactly where you find out
|
|
75
|
+
what else the endpoint takes: the reader is already editing the body.
|
|
76
|
+
Reads the JSON back out of the rendered tab panel above rather than
|
|
77
|
+
carrying a second copy of it in an attribute. --}}
|
|
78
|
+
{{#if body.completeJson}}
|
|
79
|
+
{{> ui/btn label="Fill in every field" bare=true style="text" size="xs" icon="icon-[tabler--list-details]"
|
|
80
|
+
class="ee-ref-try-fill" id=""}}
|
|
81
|
+
{{/if}}
|
|
82
|
+
</div>
|
|
83
|
+
<textarea class="textarea mt-1 font-mono text-xs" rows="10" data-body spellcheck="false"
|
|
84
|
+
aria-label="Request body">{{body.exampleJson}}</textarea>
|
|
85
|
+
</div>
|
|
54
86
|
{{/if}}
|
|
55
87
|
|
|
56
88
|
{{!-- id="" on both: ui/btn reads `id`, and Handlebars merges a partial's hash params into
|
|
@@ -75,4 +107,45 @@
|
|
|
75
107
|
|
|
76
108
|
</form>
|
|
77
109
|
|
|
110
|
+
{{!-- Sits after the form rather than inside it, so the dialog is not a descendant of the
|
|
111
|
+
thing it is confirming. Nothing breaks if it moves; it just reads wrong.
|
|
112
|
+
|
|
113
|
+
Both buttons dismiss through ui/btn's `overlay` param, which is FlyonUI's own
|
|
114
|
+
data-overlay path and what every other modal in the admin UI uses. "Run it" carries a
|
|
115
|
+
class as well, so static/js/reference.js can tell an answer from a dismissal without
|
|
116
|
+
closing the overlay itself - see the note there. A class rather than an id because
|
|
117
|
+
ui/modal neutralizes `id` inside its block.
|
|
118
|
+
|
|
119
|
+
No neutralizing hash params on these three calls: ui/modal already neutralizes its own
|
|
120
|
+
for the block, reference/disclosure neutralizes `class`, and nothing else ui/btn reads
|
|
121
|
+
exists on the operation view model. The `id=""` on the buttons inside the form above is
|
|
122
|
+
a different case - the operation's own `id` is in context there.
|
|
123
|
+
|
|
124
|
+
static=true so neither Escape nor a stray backdrop click dismisses a confirmation; the
|
|
125
|
+
corner close button remains, and reads as declining like Cancel does. --}}
|
|
126
|
+
{{#if tryImpact.confirm}}
|
|
127
|
+
{{#> ui/modal id=(concat "ee-ref-confirm-" id) title="Run this request?" static=true}}
|
|
128
|
+
<div class="modal-body space-y-3">
|
|
129
|
+
<p class="text-sm">{{tryImpact.text}}</p>
|
|
130
|
+
<div>
|
|
131
|
+
<div class="text-base-content/50 text-2xs mb-1 tracking-wide uppercase">Request</div>
|
|
132
|
+
<pre class="ee-code-block text-xs"><code class="ee-ref-confirm-request"></code></pre>
|
|
133
|
+
</div>
|
|
134
|
+
{{!-- Deleting messages by search, flushing an account, submitting a message: these carry
|
|
135
|
+
what they act on in the body, so a dialog showing only the path would be confirming
|
|
136
|
+
the wrong half. Filled and unhidden by static/js/reference.js when the request has
|
|
137
|
+
one, and capped like the example payloads so a large body cannot outgrow the
|
|
138
|
+
dialog. --}}
|
|
139
|
+
<div class="ee-ref-confirm-body-wrap hidden">
|
|
140
|
+
<div class="text-base-content/50 text-2xs mb-1 tracking-wide uppercase">Body</div>
|
|
141
|
+
<pre class="ee-code-block ee-ref-example text-xs"><code class="ee-ref-confirm-body"></code></pre>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="modal-footer">
|
|
145
|
+
{{> ui/btn label="Cancel" variant="neutral" style="soft" overlay=closeOverlay}}
|
|
146
|
+
{{> ui/btn label="Run it" variant="error" icon="icon-[tabler--alert-triangle]" class="ee-ref-confirm-run" overlay=closeOverlay}}
|
|
147
|
+
</div>
|
|
148
|
+
{{/ui/modal}}
|
|
149
|
+
{{/if}}
|
|
150
|
+
|
|
78
151
|
{{/reference/disclosure}}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
{{> ui/menu-item href="/admin/accounts" label="Accounts" icon="icon-[tabler--users] size-4.5" active=menuAccounts}}
|
|
10
10
|
{{> ui/menu-item href="/admin/gateways" label="Gateways" icon="icon-[tabler--send] size-4.5" active=menuGateways}}
|
|
11
11
|
{{> ui/menu-item href="/admin/templates" label="Templates" icon="icon-[tabler--template] size-4.5" active=menuTemplates}}
|
|
12
|
+
{{> ui/menu-item href="/admin/suppression-lists" label="Suppression Lists" icon="icon-[tabler--mail-off] size-4.5" active=menuSuppressionLists}}
|
|
12
13
|
|
|
13
14
|
{{> ui/menu-title label="Integrations"}}
|
|
14
15
|
{{> ui/menu-item href="/admin/reference" label="API Reference" icon="icon-[tabler--file-code] size-4.5" active=menuReference}}
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
<div class="flex items-center gap-2">
|
|
30
30
|
<input type="checkbox" class="checkbox checkbox-sm{{#if error}} is-invalid{{/if}}{{#if class}} {{class}}{{/if}}"
|
|
31
31
|
id="{{id}}" {{#unless noName}}name="{{#if name}}{{name}}{{else}}{{id}}{{/if}}" {{/unless}}{{#if checked}}checked {{/if}}{{#if
|
|
32
|
-
dataTarget}}data-target="{{dataTarget}}" {{/if}}{{#if dataReverse}}data-reverse="true" {{/if}}{{#if disabled}}disabled {{/if}}>
|
|
32
|
+
dataTarget}}data-target="{{dataTarget}}" {{/if}}{{#if dataValue}}data-value="{{dataValue}}" {{/if}}{{#if dataReverse}}data-reverse="true" {{/if}}{{#if disabled}}disabled {{/if}}>
|
|
33
33
|
<label class="label-text p-0" for="{{id}}" {{#if labelTitle}}title="{{labelTitle}}" {{/if}}>{{label}}</label>
|
|
34
34
|
{{#if @partial-block}}
|
|
35
35
|
{{!-- own hash params are neutralized so they cannot fall through into nested ui/* calls inside the block --}}
|
|
36
|
-
{{> @partial-block id="" label="" name="" noName="" labelTitle="" checked="" tooltip="" hint="" error="" dataTarget="" dataReverse="" disabled="" class=""}}
|
|
36
|
+
{{> @partial-block id="" label="" name="" noName="" labelTitle="" checked="" tooltip="" hint="" error="" dataTarget="" dataValue="" dataReverse="" disabled="" class=""}}
|
|
37
37
|
{{/if}}
|
|
38
38
|
{{#if tooltip}}
|
|
39
39
|
{{!-- class="" blocks this partial's own class param (meant for the
|
|
@@ -8,12 +8,18 @@
|
|
|
8
8
|
label - aria-label describing the strip (required)
|
|
9
9
|
elId - element id (optional; see ui/badge for why it is not called `id`)
|
|
10
10
|
class - extra classes on the nav, e.g. "mb-4" (optional)
|
|
11
|
+
flex-wrap because FlyonUI lays the strip out as a nowrap flex row with no overflow
|
|
12
|
+
handling, so one wider than its column pushes the whole page sideways instead of
|
|
13
|
+
adapting: an API reference operation documents up to eight status codes, which is 464px
|
|
14
|
+
of tabs against a 390px phone. Wrapping rather than scrolling because these are
|
|
15
|
+
navigation - a second row keeps every tab reachable, where a scroller hides some behind
|
|
16
|
+
an interaction with no affordance for it. No strip in the app wraps at desktop width.
|
|
11
17
|
Panels are the caller's responsibility: each ui/tab target must match a
|
|
12
18
|
tabpanel element with that id (role="tabpanel" aria-labelledby="<target>-tab").
|
|
13
19
|
The auth-method tabs in oauth_form.hbs intentionally do NOT use this partial -
|
|
14
20
|
they run a custom script instead of the FlyonUI data-tabs plugin.
|
|
15
21
|
--}}
|
|
16
|
-
<nav class="tabs tabs-bordered{{#if class}} {{class}}{{/if}}" aria-label="{{label}}" role="tablist"{{#if elId}} id="{{elId}}"{{/if}} data-tabs>
|
|
22
|
+
<nav class="tabs tabs-bordered flex-wrap{{#if class}} {{class}}{{/if}}" aria-label="{{label}}" role="tablist"{{#if elId}} id="{{elId}}"{{/if}} data-tabs>
|
|
17
23
|
{{!-- own hash params neutralized against fallthrough into the block --}}
|
|
18
24
|
{{> @partial-block label="" id="" class=""}}
|
|
19
25
|
</nav>
|
|
@@ -57,7 +57,7 @@ subtitle="Every EmailEngine REST endpoint, generated from the same schemas the A
|
|
|
57
57
|
|
|
58
58
|
<div class="grid gap-4 sm:grid-cols-2 xl:grid-cols-3">
|
|
59
59
|
{{#each tags}}
|
|
60
|
-
<a href="
|
|
60
|
+
<a href="{{url}}"
|
|
61
61
|
class="card bg-base-100 hover:border-primary/40 border border-transparent shadow-md transition-colors">
|
|
62
62
|
<div class="card-body gap-1 p-4">
|
|
63
63
|
<div class="flex items-baseline justify-between gap-2">
|
|
@@ -35,6 +35,10 @@ subtitle="Enables the Try it panels on the endpoint pages."}}
|
|
|
35
35
|
<span id="ref-token-clear-wrap" class="hidden">
|
|
36
36
|
{{> ui/btn id="ref-token-clear" variant="neutral" style="text" size="sm" icon="icon-[tabler--x]" label="Clear"}}
|
|
37
37
|
</span>
|
|
38
|
+
{{!-- How much of a minted token's hour is left, filled in and counted down by
|
|
39
|
+
static/js/reference.js. Deliberately not a live region: it changes every
|
|
40
|
+
minute, and announcing that each time is noise, not news. --}}
|
|
41
|
+
{{> ui/badge elId="ref-token-expiry" variant="primary" soft=true class="badge-sm hidden" label="" icon=""}}
|
|
38
42
|
</div>
|
|
39
43
|
<p class="text-base-content/50 mt-2 text-xs">Creates an API-scoped token that expires in one hour and activates it
|
|
40
44
|
here. It is a real token until then - it appears on the
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{{#> ui/page-header title="Suppression Lists" icon="icon-[tabler--mail-off]" subtitle="Recipients excluded from list-based sending. Only messages submitted with a listId are checked against these lists - the send skips every listed address. Messages without a listId are not affected." badgeLabel=total badgeVariant="neutral" class="mb-6"}}
|
|
2
|
+
{{> ui/btn label="Add address" icon="icon-[tabler--plus]" overlay="#addAddressModal"}}
|
|
3
|
+
{{/ui/page-header}}
|
|
4
|
+
|
|
5
|
+
{{#if suppressionLists}}
|
|
6
|
+
<div class="card bg-base-100 shadow-md mb-6">
|
|
7
|
+
<div class="overflow-x-auto">
|
|
8
|
+
<table class="table">
|
|
9
|
+
<thead>
|
|
10
|
+
<tr>
|
|
11
|
+
<th>List ID</th>
|
|
12
|
+
<th>Addresses</th>
|
|
13
|
+
<th class="w-12"><span class="sr-only">Actions</span></th>
|
|
14
|
+
</tr>
|
|
15
|
+
</thead>
|
|
16
|
+
|
|
17
|
+
<tbody>
|
|
18
|
+
{{#each suppressionLists}}
|
|
19
|
+
<tr class="hover:bg-base-200/60">
|
|
20
|
+
<td class="relative">
|
|
21
|
+
{{> ui/row-link href=(concat "/admin/suppression-lists/list/" listId) label="Open suppression list"}}
|
|
22
|
+
<strong>{{listId}}</strong>
|
|
23
|
+
</td>
|
|
24
|
+
|
|
25
|
+
<td class="relative">
|
|
26
|
+
{{> ui/row-link href=(concat "/admin/suppression-lists/list/" listId)}}{{count}}
|
|
27
|
+
</td>
|
|
28
|
+
|
|
29
|
+
<td class="relative text-end">
|
|
30
|
+
{{> ui/row-actions openHref=(concat "/admin/suppression-lists/list/" listId) label="Suppression list actions"
|
|
31
|
+
deleteModal="#deleteList" deleteId=listId deleteName=listId}}
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
{{/each}}
|
|
35
|
+
</tbody>
|
|
36
|
+
</table>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
{{> ui/pagination showPaging=showPaging prevPage=prevPage nextPage=nextPage pageLinks=pageLinks}}
|
|
40
|
+
</div>
|
|
41
|
+
{{else}}
|
|
42
|
+
{{> ui/list-empty noun="suppression lists" firstPage=firstPage createOverlay="#addAddressModal" createLabel="Add your first suppressed address"}}
|
|
43
|
+
{{/if}}
|
|
44
|
+
|
|
45
|
+
{{#> ui/details summary="How suppression lists work" class="card bg-base-100 shadow-md mb-6"}}
|
|
46
|
+
<div>
|
|
47
|
+
<p class="mb-2">
|
|
48
|
+
Suppression lists collect addresses that must not receive further emails. An address is
|
|
49
|
+
added when a recipient unsubscribes through the hosted subscription management page or
|
|
50
|
+
the one-click <em>List-Unsubscribe</em> action, through the <em>Blocklists</em> API, or
|
|
51
|
+
manually from this page. When a message is submitted with a <code>listId</code>,
|
|
52
|
+
recipients on that list are skipped; messages submitted without a
|
|
53
|
+
<code>listId</code> are never checked against these lists.
|
|
54
|
+
</p>
|
|
55
|
+
<p class="mb-2">
|
|
56
|
+
Lists are registered on first use: adding an address to a new list ID creates the list,
|
|
57
|
+
and removing the last address deletes it.
|
|
58
|
+
</p>
|
|
59
|
+
<p class="mb-2">
|
|
60
|
+
Each listed address links to its public subscription management page, the same page the
|
|
61
|
+
<em>List-Unsubscribe</em> link in emails opens. Use it to preview the page or send the
|
|
62
|
+
link to a recipient who wants to re-subscribe themselves.
|
|
63
|
+
</p>
|
|
64
|
+
<p class="mb-0"><a href="https://learn.emailengine.app/docs/advanced/virtual-lists" target="_blank"
|
|
65
|
+
rel="noopener noreferrer" referrerpolicy="no-referrer" class="link link-animated">Learn more about virtual
|
|
66
|
+
lists and sending with a listId</a>.</p>
|
|
67
|
+
</div>
|
|
68
|
+
{{/ui/details}}
|
|
69
|
+
|
|
70
|
+
{{#> ui/modal id="addAddressModal" title="Add suppressed address"}}
|
|
71
|
+
<form method="post" action="/admin/suppression-lists/add">
|
|
72
|
+
<input type="hidden" name="crumb" value="{{crumb}}">
|
|
73
|
+
<div class="modal-body space-y-4">
|
|
74
|
+
{{> ui/form-field id="add-list-id" name="listId" label="List ID" required=true placeholder="e.g. newsletter" hint="Subdomain name format. An unknown ID registers a new list."}}
|
|
75
|
+
{{> ui/form-field id="add-recipient" name="recipient" label="Email address" type="email" required=true placeholder="user@example.com"}}
|
|
76
|
+
{{> ui/form-field id="add-reason" name="reason" label="Reason" placeholder="block" hint="Optional identifier stored with the entry (default: block)."}}
|
|
77
|
+
</div>
|
|
78
|
+
<div class="modal-footer">
|
|
79
|
+
{{> ui/btn label="Cancel" variant="neutral" style="soft" overlay=closeOverlay}}
|
|
80
|
+
{{> ui/btn label="Add address" variant="primary" type="submit" icon="icon-[tabler--plus]"}}
|
|
81
|
+
</div>
|
|
82
|
+
</form>
|
|
83
|
+
{{/ui/modal}}
|
|
84
|
+
|
|
85
|
+
{{> ui/delete-modal id="deleteList" noun="suppression list" action="/admin/suppression-lists/delete" fieldName="listId"}}
|