emailengine-app 2.80.1 → 2.81.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/.dockerignore +44 -0
- package/.github/docker-smoke-test.sh +16 -0
- package/.github/workflows/deploy.yml +4 -0
- package/.github/workflows/release.yaml +4 -0
- package/.github/workflows/test.yml +2 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +32 -0
- package/Dockerfile +17 -9
- package/data/google-crawlers.json +1 -1
- package/docker-compose.yml +7 -1
- package/lib/api-routes/account-routes.js +158 -72
- package/lib/api-routes/permission-map.js +6 -1
- package/lib/autodetect-imap-settings.js +4 -4
- package/lib/sentry.js +13 -2
- package/lib/tls/provision.js +1 -1
- package/lib/token-permission-view.js +8 -7
- package/lib/tools.js +1 -0
- package/lib/ui-routes/account-routes.js +195 -61
- package/lib/ui-routes/admin-entities-routes.js +9 -9
- package/package.json +13 -13
- package/sbom.json +1 -1
- package/static/css/flyonui.css +1 -1
- package/static/css/public.css +41 -0
- package/static/css/src/app.tailwind.css +135 -4
- package/static/js/public.js +218 -0
- package/static/licenses.html +19 -19
- package/translations/README.md +4 -3
- package/translations/de.mo +0 -0
- package/translations/de.po +296 -185
- package/translations/en.po +220 -128
- package/translations/es.mo +0 -0
- package/translations/es.po +558 -0
- package/translations/et.mo +0 -0
- package/translations/et.po +288 -181
- package/translations/fr.mo +0 -0
- package/translations/fr.po +295 -183
- package/translations/it.mo +0 -0
- package/translations/it.po +558 -0
- package/translations/ja.mo +0 -0
- package/translations/ja.po +268 -192
- package/translations/locales.json +24 -0
- package/translations/messages.pot +124 -78
- package/translations/nl.mo +0 -0
- package/translations/nl.po +288 -175
- package/translations/pl.mo +0 -0
- package/translations/pl.po +294 -181
- package/translations/sv.mo +0 -0
- package/translations/sv.po +555 -0
- package/translations/tr.mo +0 -0
- package/translations/tr.po +555 -0
- package/update-info.sh +12 -6
- package/views/account/login-redirect.hbs +6 -5
- package/views/account/passkeys.hbs +6 -6
- package/views/account/security.hbs +2 -2
- package/views/accounts/account.hbs +17 -19
- package/views/accounts/edit.hbs +14 -14
- package/views/accounts/index.hbs +3 -3
- package/views/accounts/register/imap-server.hbs +26 -172
- package/views/accounts/register/validating.hbs +139 -0
- package/views/config/ai.hbs +14 -16
- package/views/config/branding.hbs +5 -5
- package/views/config/document-store/chat.hbs +8 -7
- package/views/config/document-store/index.hbs +13 -14
- package/views/config/document-store/mappings/index.hbs +5 -6
- package/views/config/document-store/mappings/new.hbs +1 -2
- package/views/config/document-store/pre-processing/index.hbs +4 -4
- package/views/config/email-processing.hbs +6 -6
- package/views/config/imap-proxy.hbs +6 -7
- package/views/config/license.hbs +8 -8
- package/views/config/logging.hbs +5 -7
- package/views/config/mcp.hbs +14 -18
- package/views/config/network.hbs +3 -3
- package/views/config/oauth/app.hbs +10 -10
- package/views/config/oauth/index.hbs +6 -6
- package/views/config/oauth/subscriptions.hbs +9 -9
- package/views/config/security.hbs +5 -7
- package/views/config/service.hbs +10 -9
- package/views/config/smtp.hbs +8 -11
- package/views/config/tls-upload.hbs +3 -3
- package/views/config/tls.hbs +33 -35
- package/views/config/webhooks.hbs +10 -13
- package/views/dashboard.hbs +9 -8
- package/views/gateways/edit.hbs +3 -3
- package/views/gateways/gateway.hbs +3 -3
- package/views/gateways/index.hbs +6 -6
- package/views/gateways/new.hbs +3 -3
- package/views/internals/index.hbs +14 -12
- package/views/layout/login.hbs +27 -14
- package/views/layout/prompt.hbs +12 -15
- package/views/mcp/authorize.hbs +1 -1
- package/views/partials/accounts_table.hbs +5 -5
- package/views/partials/add_account_modal.hbs +3 -3
- package/views/partials/address_list.hbs +4 -4
- package/views/partials/gateway_form.hbs +5 -5
- package/views/partials/mcp_account_limit.hbs +2 -2
- package/views/partials/oauth_config_header.hbs +2 -2
- package/views/partials/oauth_form.hbs +36 -41
- package/views/partials/public_alerts.hbs +1 -1
- package/views/partials/public_test_labels.hbs +15 -0
- package/views/partials/security_header.hbs +2 -2
- package/views/partials/template_form.hbs +3 -3
- package/views/partials/tls_security_card.hbs +4 -1
- package/views/partials/ui/form-field.hbs +6 -1
- package/views/partials/ui/setting-ref.hbs +12 -7
- package/views/partials/ui/stat-card.hbs +4 -1
- package/views/partials/ui/tabs.hbs +3 -7
- package/views/partials/webhook_form.hbs +9 -12
- package/views/reference/index.hbs +2 -2
- package/views/reference/token.hbs +3 -3
- package/views/suppression-lists/index.hbs +8 -6
- package/views/suppression-lists/list.hbs +13 -8
- package/views/templates/edit.hbs +1 -1
- package/views/templates/index.hbs +10 -11
- package/views/templates/template.hbs +4 -4
- package/views/tokens/index.hbs +17 -17
- package/views/tokens/new.hbs +18 -22
- package/views/webhooks/edit.hbs +1 -1
- package/views/webhooks/index.hbs +10 -11
- package/views/webhooks/new.hbs +1 -1
- package/views/webhooks/webhook.hbs +4 -5
|
@@ -3,8 +3,8 @@ badgeLabel=(when values.webhooksEnabled "enabled" "disabled")
|
|
|
3
3
|
badgeVariant=(when values.webhooksEnabled "success" "warning")
|
|
4
4
|
class="mb-1"}}
|
|
5
5
|
|
|
6
|
-
<p class="mb-6">
|
|
7
|
-
|
|
6
|
+
<p class="mb-6">Receive email event notifications as HTTP POST requests. Choose a destination, select events,
|
|
7
|
+
and configure the data included in each webhook.</p>
|
|
8
8
|
|
|
9
9
|
{{#if values.webhooksEnabled}}
|
|
10
10
|
{{#if webhookErrorFlag}}
|
|
@@ -38,7 +38,7 @@ class="mb-1"}}
|
|
|
38
38
|
<h6 class="card-title text-primary">Webhook Processing</h6>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<div class="px-6 py-4 flex items-start justify-between gap-4">
|
|
41
|
+
<div class="px-6 py-4 ee-toggle-row flex items-start justify-between gap-4">
|
|
42
42
|
{{> ui/checkbox id="webhooks_enabled" name="webhooksEnabled" label="Enable Webhooks"
|
|
43
43
|
checked=values.webhooksEnabled error=errors.webhooksEnabled
|
|
44
44
|
hint="Turn on webhook notifications for email events."}}
|
|
@@ -50,7 +50,7 @@ class="mb-1"}}
|
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
<div class="card bg-base-100 shadow-md mb-6">
|
|
53
|
-
<div class="card-header flex items-center justify-between">
|
|
53
|
+
<div class="card-header flex flex-wrap items-center justify-between gap-3">
|
|
54
54
|
<h6 class="card-title text-primary">Default Webhook</h6>
|
|
55
55
|
{{!-- keeps the webhooks-status hook: the or-else-all rule on the
|
|
56
56
|
URL input disables this button while the URL is empty --}}
|
|
@@ -71,8 +71,7 @@ class="mb-1"}}
|
|
|
71
71
|
</div>
|
|
72
72
|
|
|
73
73
|
<p><strong>Event Types</strong><br>
|
|
74
|
-
<small>Choose which events
|
|
75
|
-
issues.</small>
|
|
74
|
+
<small>Choose which events go to the default webhook URL or account-specific URLs. Webhook routes use their own filters.</small>
|
|
76
75
|
</p>
|
|
77
76
|
|
|
78
77
|
<div>
|
|
@@ -94,7 +93,7 @@ class="mb-1"}}
|
|
|
94
93
|
<div class="ps-6">
|
|
95
94
|
{{> ui/setting-ref name="inboxNewOnly"}}
|
|
96
95
|
{{> ui/checkbox id="inboxNewOnly" name="inboxNewOnly"
|
|
97
|
-
label="
|
|
96
|
+
label="Limit new-message notifications to the Inbox" checked=../values.inboxNewOnly
|
|
98
97
|
error=../errors.inboxNewOnly}}
|
|
99
98
|
</div>
|
|
100
99
|
|
|
@@ -173,7 +172,7 @@ class="mb-1"}}
|
|
|
173
172
|
{{> ui/checkbox id="settingsNotifyWebSafeHtml" name="notifyWebSafeHtml"
|
|
174
173
|
label="Sanitize HTML for web display" class="text-list" checked=values.notifyWebSafeHtml
|
|
175
174
|
error=errors.notifyWebSafeHtml
|
|
176
|
-
hint="
|
|
175
|
+
hint="Remove unsafe HTML, convert plain text to HTML when needed, and collapse quoted thread history."}}
|
|
177
176
|
</div>
|
|
178
177
|
|
|
179
178
|
<div>
|
|
@@ -182,8 +181,7 @@ class="mb-1"}}
|
|
|
182
181
|
<input type="text" class="input text-list{{#if errors.notifyTextSize}} is-invalid{{/if}}"
|
|
183
182
|
id="settingsNotifyTextSize" min="0" name="notifyTextSize" value="{{values.notifyTextSize}}"
|
|
184
183
|
placeholder="1MB" />
|
|
185
|
-
<span class="helper-text">Maximum size
|
|
186
|
-
truncated.</span>
|
|
184
|
+
<span class="helper-text">Maximum size of each text or HTML body. Content above this limit is truncated.</span>
|
|
187
185
|
{{/ui/form-field}}
|
|
188
186
|
</div>
|
|
189
187
|
|
|
@@ -222,8 +220,7 @@ class="mb-1"}}
|
|
|
222
220
|
<input type="text" class="input attachment-list{{#if errors.notifyAttachmentSize}} is-invalid{{/if}}"
|
|
223
221
|
id="settingsNotifyAttachmentSize" min="0" name="notifyAttachmentSize"
|
|
224
222
|
value="{{values.notifyAttachmentSize}}" placeholder="2MB" />
|
|
225
|
-
<span class="helper-text">
|
|
226
|
-
can consume Redis memory quickly.</span>
|
|
223
|
+
<span class="helper-text">Include attachment content only when it fits this limit. Larger limits increase Redis memory use.</span>
|
|
227
224
|
{{/ui/form-field}}
|
|
228
225
|
</div>
|
|
229
226
|
</div>
|
|
@@ -261,7 +258,7 @@ class="mb-1"}}
|
|
|
261
258
|
{{/ui/card}}
|
|
262
259
|
|
|
263
260
|
<div class="mb-6">
|
|
264
|
-
{{> ui/btn label="Save
|
|
261
|
+
{{> ui/btn label="Save changes" type="submit" icon="icon-[tabler--settings]"}}
|
|
265
262
|
</div>
|
|
266
263
|
|
|
267
264
|
</form>
|
package/views/dashboard.hbs
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
{{/ui/tooltip}}
|
|
18
18
|
</div>
|
|
19
19
|
<div class="text-xl font-semibold text-base-content">
|
|
20
|
-
{{#> ui/tooltip text="
|
|
20
|
+
{{#> ui/tooltip text="Total queue entries"}}{{formatInteger queue.total userLocale}}{{/ui/tooltip}} /
|
|
21
21
|
{{#> ui/tooltip text=delayedTooltip}}{{formatInteger queue.delayed userLocale}}{{/ui/tooltip}}
|
|
22
22
|
</div>
|
|
23
23
|
{{/ui/stat-card}}
|
|
@@ -68,8 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
{{#unless hasAccounts}}
|
|
70
70
|
{{#> ui/stat-card variant="success" title="Welcome to EmailEngine!" icon="icon-[tabler--info-circle]" class="mt-6"}}
|
|
71
|
-
<p class="mb-2">
|
|
72
|
-
and receive emails through the <a href="/admin/reference" class="link link-animated">API</a>.
|
|
71
|
+
<p class="mb-2">Connect your first email account to send email and access mailbox data through the <a href="/admin/reference" class="link link-animated">API</a>.
|
|
73
72
|
</p>
|
|
74
73
|
<p class="mb-4 text-sm text-base-content/60">You can also add accounts programmatically via the <a
|
|
75
74
|
href="https://learn.emailengine.app/docs/api/post-v-1-account" target="_blank" rel="noopener noreferrer"
|
|
@@ -83,7 +82,7 @@
|
|
|
83
82
|
|
|
84
83
|
{{> ui/section-title label="Accounts" class="mt-6 mb-3"}}
|
|
85
84
|
|
|
86
|
-
<div class="grid grid-cols-
|
|
85
|
+
<div class="grid grid-cols-2 gap-4 md:grid-cols-3">
|
|
87
86
|
|
|
88
87
|
{{#> ui/stat-card variant="primary" icon="icon-[tabler--users]"}}
|
|
89
88
|
<div class="text-sm font-medium text-base-content/60 mb-1">
|
|
@@ -131,12 +130,12 @@
|
|
|
131
130
|
</div>
|
|
132
131
|
{{/ui/section-title}}
|
|
133
132
|
|
|
134
|
-
<div class="grid grid-cols-
|
|
133
|
+
<div class="grid grid-cols-2 gap-4 xl:grid-cols-4">
|
|
135
134
|
|
|
136
135
|
{{> activityCard cardIcon="icon-[tabler--mail]" cardTip="Detected new emails in synced mailboxes"
|
|
137
136
|
cardLabel="New emails" okValue=activity.messageNew}}
|
|
138
137
|
|
|
139
|
-
{{> activityCard cardIcon="icon-[tabler--mail-forward]" cardTip="Emails accepted by
|
|
138
|
+
{{> activityCard cardIcon="icon-[tabler--mail-forward]" cardTip="Emails accepted by the sending server or provider for delivery"
|
|
140
139
|
cardLabel="Emails sent" okValue=activity.submitSuccess failValue=activity.submitFail failLabel="rejected"}}
|
|
141
140
|
|
|
142
141
|
{{> activityCard cardIcon="icon-[tabler--webhook]" cardTip="Successfully delivered webhook notifications"
|
|
@@ -150,11 +149,13 @@
|
|
|
150
149
|
|
|
151
150
|
{{> ui/section-title label="System" class="mt-8 mb-3"}}
|
|
152
151
|
|
|
153
|
-
|
|
152
|
+
{{!-- auto-fit, so the tiles fill the row whether or not the Document Store adds a third
|
|
153
|
+
queue - a fixed four-column track left a quarter-width hole at the end without it --}}
|
|
154
|
+
<div class="grid grid-cols-2 gap-4 xl:grid-cols-[repeat(auto-fit,minmax(15rem,1fr))]">
|
|
154
155
|
|
|
155
156
|
{{> queueCard queue=stats.queues.notify href="/admin/bull-board/queue/Webhooks%20Queue%20-%20notify" label="Webhooks queue" tooltip="This queue processes webhook notifications" delayedTooltip="Delayed queue entries"}}
|
|
156
157
|
|
|
157
|
-
{{> queueCard queue=stats.queues.submit href="/admin/bull-board/queue/Submission%20Queue%20-%20submit" label="Submission queue" tooltip="This queue processes emails
|
|
158
|
+
{{> queueCard queue=stats.queues.submit href="/admin/bull-board/queue/Submission%20Queue%20-%20submit" label="Submission queue" tooltip="This queue processes outgoing emails" delayedTooltip="Delayed queue entries, including emails scheduled to be sent later"}}
|
|
158
159
|
|
|
159
160
|
{{#if showDocumentStore}}
|
|
160
161
|
{{> queueCard queue=stats.queues.documents href="/admin/bull-board/queue/Document%20Queue%20-%20documents" label="Documents queue" tooltip="This queue indexes mailbox changes to Elasticsearch" delayedTooltip="Delayed queue entries"}}
|
package/views/gateways/edit.hbs
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
<div class="card bg-base-100 shadow-md mb-6">
|
|
10
10
|
|
|
11
|
-
<div class="card-header flex items-center justify-between">
|
|
11
|
+
<div class="card-header flex flex-wrap items-center justify-between gap-3">
|
|
12
12
|
<h6 class="card-title text-primary">Gateway Configuration</h6>
|
|
13
|
-
{{> ui/btn label="Test
|
|
13
|
+
{{> ui/btn label="Test connection" variant="neutral" style="soft" size="sm" id="test-verify-btn"
|
|
14
14
|
icon="icon-[tabler--send]"}}
|
|
15
15
|
</div>
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
24
|
<div class="mb-6">
|
|
25
|
-
{{> ui/btn label="Save
|
|
25
|
+
{{> ui/btn label="Save changes" type="submit" icon="icon-[tabler--device-floppy]"}}
|
|
26
26
|
</div>
|
|
27
27
|
</form>
|
|
28
28
|
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
{{/if}}
|
|
61
61
|
|
|
62
62
|
<dt>Encryption</dt>
|
|
63
|
-
<dd>{{#if gateway.secure}}TLS
|
|
63
|
+
<dd>{{#if gateway.secure}}Direct TLS{{else}}STARTTLS (when available){{/if}}
|
|
64
64
|
</dd>
|
|
65
65
|
</dl>
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
{{/ui/card}}
|
|
69
69
|
|
|
70
|
-
{{#> ui/confirm-modal id="deleteModal" title="Delete
|
|
71
|
-
submitLabel="Delete
|
|
70
|
+
{{#> ui/confirm-modal id="deleteModal" title="Delete gateway" action=(concat "/admin/gateways/delete/" (urlpart gateway.gateway))
|
|
71
|
+
submitLabel="Delete gateway"}}
|
|
72
72
|
<p>Delete gateway "{{gateway.name}}"? This action cannot be undone.</p>
|
|
73
73
|
{{/ui/confirm-modal}}
|
package/views/gateways/index.hbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#> ui/page-header title="Gateways" icon="icon-[tabler--send]" subtitle="Route outgoing email through your own SMTP servers or third-party providers." badgeLabel=total badgeVariant="neutral" class="mb-6"}}
|
|
2
|
-
{{> ui/btn href="/admin/gateways/new" label="Add
|
|
2
|
+
{{> ui/btn href="/admin/gateways/new" label="Add gateway" icon="icon-[tabler--plus]"}}
|
|
3
3
|
{{/ui/page-header}}
|
|
4
4
|
|
|
5
5
|
{{> ui/search-crumb parentHref="/admin/gateways" parentLabel="Gateways" query=query}}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div class="card bg-base-100 shadow-md mb-6">
|
|
10
10
|
|
|
11
11
|
<div class="overflow-x-auto">
|
|
12
|
-
<table class="table">
|
|
12
|
+
<table class="table ee-table-stack">
|
|
13
13
|
<thead>
|
|
14
14
|
<tr>
|
|
15
15
|
<th>Name</th>
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
<div><strong>{{name}}</strong></div>
|
|
29
29
|
{{> ui/entity-id id=gateway label="Gateway ID"}}
|
|
30
30
|
</td>
|
|
31
|
-
<td class="relative">
|
|
31
|
+
<td class="relative" data-label="Emails Sent">
|
|
32
32
|
{{> ui/row-link href=(concat "/admin/gateways/gateway/" (urlpart gateway))}}{{deliveries}}
|
|
33
33
|
</td>
|
|
34
34
|
|
|
35
|
-
<td class="relative">
|
|
35
|
+
<td class="relative" data-label="Last Activity">
|
|
36
36
|
{{> ui/row-link href=(concat "/admin/gateways/gateway/" (urlpart gateway))}}
|
|
37
37
|
{{#if timeStr}}
|
|
38
38
|
<span class="relative-time" data-time="{{timeStr}}"></span>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
{{/if}}
|
|
42
42
|
</td>
|
|
43
43
|
|
|
44
|
-
<td class="relative w-32">
|
|
44
|
+
<td class="relative w-32" data-label="Status">
|
|
45
45
|
{{> ui/row-link href=(concat "/admin/gateways/gateway/" (urlpart gateway))}}
|
|
46
46
|
{{!-- live state badge with an error tooltip; wrapping link
|
|
47
47
|
lifts the badge above the row overlay --}}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</a>
|
|
51
51
|
</td>
|
|
52
52
|
|
|
53
|
-
<td class="relative text-end">
|
|
53
|
+
<td class="ee-stack-actions relative text-end">
|
|
54
54
|
{{> ui/row-actions openHref=(concat "/admin/gateways/gateway/" (urlpart gateway)) label="Gateway actions"
|
|
55
55
|
deleteModal="#deleteGateway" deleteName=name deleteAction=(concat "/admin/gateways/delete/" (urlpart gateway))}}
|
|
56
56
|
</td>
|
package/views/gateways/new.hbs
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
<div class="card bg-base-100 shadow-md mb-6">
|
|
9
9
|
|
|
10
|
-
<div class="card-header flex items-center justify-between">
|
|
10
|
+
<div class="card-header flex flex-wrap items-center justify-between gap-3">
|
|
11
11
|
<h6 class="card-title text-primary">New Gateway</h6>
|
|
12
|
-
{{> ui/btn label="Test
|
|
12
|
+
{{> ui/btn label="Test connection" variant="neutral" style="soft" size="sm" id="test-verify-btn"
|
|
13
13
|
icon="icon-[tabler--send]"}}
|
|
14
14
|
</div>
|
|
15
15
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<div class="mb-6">
|
|
26
|
-
{{> ui/btn label="Create
|
|
26
|
+
{{> ui/btn label="Create gateway" type="submit" icon="icon-[tabler--send]"}}
|
|
27
27
|
</div>
|
|
28
28
|
</form>
|
|
29
29
|
|
|
@@ -33,7 +33,9 @@
|
|
|
33
33
|
{{/if}}
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
-
|
|
36
|
+
{{!-- wraps: the count badge and a 26-character env var name together outrun a phone-width
|
|
37
|
+
card, and the nowrap on the name is there so it never breaks mid-identifier --}}
|
|
38
|
+
<div class="flex flex-wrap items-center justify-end gap-3">
|
|
37
39
|
{{#if hasExpected}}
|
|
38
40
|
{{#> ui/tooltip text="Worker threads running vs. the number configured to run"}}
|
|
39
41
|
{{> ui/badge label=countLabel variant=countVariant}}
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
</div>
|
|
49
51
|
|
|
50
52
|
<div class="overflow-x-auto">
|
|
51
|
-
<table class="table">
|
|
53
|
+
<table class="table ee-table-stack">
|
|
52
54
|
|
|
53
55
|
<thead>
|
|
54
56
|
<tr>
|
|
@@ -86,11 +88,11 @@
|
|
|
86
88
|
{{/if}}
|
|
87
89
|
</span>
|
|
88
90
|
</td>
|
|
89
|
-
<td><span class="text-base-content/60 font-mono text-sm">#{{formatInteger threadId userLocale}}</span></td>
|
|
90
|
-
<td>
|
|
91
|
+
<td data-label="ID"><span class="text-base-content/60 font-mono text-sm">#{{formatInteger threadId userLocale}}</span></td>
|
|
92
|
+
<td data-label="Uptime">
|
|
91
93
|
<span class="relative-time" data-time="{{timeStr}}"></span>
|
|
92
94
|
</td>
|
|
93
|
-
<td class="text-end">
|
|
95
|
+
<td class="text-end" data-label="Memory">
|
|
94
96
|
{{#if isUnresponsive}}
|
|
95
97
|
<span class="text-base-content/40">-</span>
|
|
96
98
|
{{else}}
|
|
@@ -98,7 +100,7 @@
|
|
|
98
100
|
{{/if}}
|
|
99
101
|
</td>
|
|
100
102
|
{{#if ../showAccounts}}
|
|
101
|
-
<td class="text-end">
|
|
103
|
+
<td class="text-end" data-label="Accounts">
|
|
102
104
|
{{#if accounts}}
|
|
103
105
|
<a href="/admin/internals/thread/{{threadId}}"
|
|
104
106
|
class="link link-animated">{{formatInteger accounts userLocale}}</a>
|
|
@@ -107,7 +109,7 @@
|
|
|
107
109
|
{{/if}}
|
|
108
110
|
</td>
|
|
109
111
|
{{/if}}
|
|
110
|
-
<td class="relative text-end">
|
|
112
|
+
<td class="ee-stack-actions relative text-end">
|
|
111
113
|
{{#> ui/row-actions label="Worker actions"}}
|
|
112
114
|
<li>
|
|
113
115
|
<button type="button" class="dropdown-item snapshot-thread-btn" data-thread="{{threadId}}">
|
|
@@ -117,7 +119,7 @@
|
|
|
117
119
|
{{#unless isMain}}
|
|
118
120
|
<li>
|
|
119
121
|
<button type="button" class="dropdown-item text-error kill-thread-btn" data-thread="{{threadId}}">
|
|
120
|
-
Restart
|
|
122
|
+
Restart worker
|
|
121
123
|
</button>
|
|
122
124
|
</li>
|
|
123
125
|
{{/unless}}
|
|
@@ -152,15 +154,15 @@
|
|
|
152
154
|
</div>
|
|
153
155
|
{{/ui/details}}
|
|
154
156
|
|
|
155
|
-
{{#> ui/confirm-modal id="killThread" title="Restart
|
|
156
|
-
fieldName="thread" fieldId="kill-thread" submitLabel="Restart
|
|
157
|
-
Restart this
|
|
157
|
+
{{#> ui/confirm-modal id="killThread" title="Restart worker" action="/admin/internals/kill"
|
|
158
|
+
fieldName="thread" fieldId="kill-thread" submitLabel="Restart worker"}}
|
|
159
|
+
Restart this worker? Its current operations will be interrupted.
|
|
158
160
|
{{/ui/confirm-modal}}
|
|
159
161
|
|
|
160
162
|
{{#> ui/confirm-modal id="snapshotThread" title="Memory Snapshot" action="/admin/internals/snapshot"
|
|
161
163
|
formId="snapshot-form" formTarget="_blank" fieldName="thread" fieldId="snapshot-thread"
|
|
162
164
|
submitLabel="Download Snapshot" submitVariant="info"}}
|
|
163
|
-
Generate a memory snapshot for debugging? This may briefly affect
|
|
165
|
+
Generate a memory snapshot for debugging? This may briefly affect the worker's performance.
|
|
164
166
|
{{/ui/confirm-modal}}
|
|
165
167
|
|
|
166
168
|
<script data-cfasync="false" nonce="{{cspNonce}}">
|
package/views/layout/login.hbs
CHANGED
|
@@ -12,6 +12,20 @@
|
|
|
12
12
|
<title>{{#if pageTitleFull}}{{pageTitleFull}}{{else}}{{pageBrandName}}{{#if pageTitle}} -
|
|
13
13
|
{{pageTitle}}{{/if}}{{/if}}</title>
|
|
14
14
|
|
|
15
|
+
{{!-- The forced-SSO hand-off starts its navigation here, above the stylesheets, rather than
|
|
16
|
+
from the page body. An inline script cannot run until the stylesheets declared before it
|
|
17
|
+
have loaded, and this layout pulls in the font sheet plus a 236 KB flyonui.css, so a
|
|
18
|
+
script placed after them only runs once the card has already painted - which is a visible
|
|
19
|
+
flash of login chrome on every forced-SSO sign-in. Nothing has painted this early.
|
|
20
|
+
|
|
21
|
+
Only views/account/login-redirect.hbs sets ssoRedirectUrl, and it is a fixed path chosen
|
|
22
|
+
in lib/ui-routes/auth-routes.js rather than anything a request carries, so the ordinary
|
|
23
|
+
login form never emits this and no user input reaches the string. Why that page navigates
|
|
24
|
+
itself instead of the server answering a redirect is the whole story in the view. --}}
|
|
25
|
+
{{#if ssoRedirectUrl}}
|
|
26
|
+
<script data-cfasync="false" nonce="{{cspNonce}}">window.location.replace('{{ssoRedirectUrl}}');</script>
|
|
27
|
+
{{/if}}
|
|
28
|
+
|
|
15
29
|
{{> head_assets}}
|
|
16
30
|
|
|
17
31
|
<link href="/static/css/flyonui.css" rel="stylesheet">
|
|
@@ -20,28 +34,27 @@
|
|
|
20
34
|
|
|
21
35
|
<body class="from-primary to-secondary min-h-screen bg-gradient-to-br">
|
|
22
36
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
37
|
+
{{!-- centered in the viewport, not pinned to the top: the card is short and the page is
|
|
38
|
+
otherwise a full screen of gradient under it. min-h-screen on the flex container
|
|
39
|
+
rather than a fixed height, so a card taller than the screen grows the page instead
|
|
40
|
+
of having its top cut off. --}}
|
|
41
|
+
<div class="container mx-auto flex min-h-screen items-center justify-center px-4 py-12">
|
|
26
42
|
|
|
27
|
-
|
|
43
|
+
<div class="w-full max-w-4xl">
|
|
28
44
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
<div class="card bg-base-100 overflow-hidden shadow-lg">
|
|
46
|
+
<div class="grid grid-cols-1 lg:grid-cols-2">
|
|
47
|
+
<div class="bg-login-page-image hidden lg:block"></div>
|
|
48
|
+
<div class="alert-margin">
|
|
49
|
+
{{> alerts}}
|
|
34
50
|
|
|
35
|
-
|
|
51
|
+
<div class="p-12">
|
|
36
52
|
|
|
37
|
-
|
|
38
|
-
</div>
|
|
53
|
+
{{{content}}}
|
|
39
54
|
</div>
|
|
40
55
|
</div>
|
|
41
56
|
</div>
|
|
42
|
-
|
|
43
57
|
</div>
|
|
44
|
-
|
|
45
58
|
</div>
|
|
46
59
|
|
|
47
60
|
</div>
|
package/views/layout/prompt.hbs
CHANGED
|
@@ -25,29 +25,26 @@
|
|
|
25
25
|
|
|
26
26
|
<body class="from-primary to-secondary min-h-screen bg-gradient-to-br">
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
{{!-- centered in the viewport rather than pinned to the top, same as the login layout this
|
|
29
|
+
mirrors - see views/layout/login.hbs for why min-h-screen sits on the flex container --}}
|
|
30
|
+
<div class="container mx-auto flex min-h-screen items-center justify-center px-4 py-12">
|
|
29
31
|
|
|
30
|
-
<div class="
|
|
32
|
+
<div class="w-full max-w-xl">
|
|
31
33
|
|
|
32
|
-
<div class="
|
|
34
|
+
<div class="card bg-base-100 overflow-hidden shadow-lg">
|
|
35
|
+
<div class="alert-margin">
|
|
36
|
+
{{> alerts}}
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
<div class="alert-margin">
|
|
36
|
-
{{> alerts}}
|
|
38
|
+
<div class="p-8 sm:p-10">
|
|
37
39
|
|
|
38
|
-
<div class="
|
|
39
|
-
|
|
40
|
-
<div class="mb-8 flex justify-center">
|
|
41
|
-
<img src="/static/logo/EmailEngine_logo_horiz.png" alt="EmailEngine" class="max-h-7">
|
|
42
|
-
</div>
|
|
43
|
-
|
|
44
|
-
{{{content}}}
|
|
40
|
+
<div class="mb-8 flex justify-center">
|
|
41
|
+
<img src="/static/logo/EmailEngine_logo_horiz.png" alt="EmailEngine" class="max-h-7">
|
|
45
42
|
</div>
|
|
43
|
+
|
|
44
|
+
{{{content}}}
|
|
46
45
|
</div>
|
|
47
46
|
</div>
|
|
48
|
-
|
|
49
47
|
</div>
|
|
50
|
-
|
|
51
48
|
</div>
|
|
52
49
|
|
|
53
50
|
</div>
|
package/views/mcp/authorize.hbs
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
also the one where the label would otherwise be missing. --}}
|
|
27
27
|
{{> ui/badge label="Beta" variant="info" soft=true class="badge-sm align-middle"}}</h1>
|
|
28
28
|
<p class="text-base-content/60 mt-2 text-sm">An MCP client is asking for access to this EmailEngine instance. Decide
|
|
29
|
-
what it may manage and
|
|
29
|
+
what it may manage and which email actions it may perform. After you approve or deny access, you return to
|
|
30
30
|
<code>{{redirectHost}}</code>.</p>
|
|
31
31
|
</div>
|
|
32
32
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="card bg-base-100 shadow-md mb-6">
|
|
13
13
|
|
|
14
14
|
<div class="overflow-x-auto">
|
|
15
|
-
<table class="table">
|
|
15
|
+
<table class="table ee-table-stack">
|
|
16
16
|
<thead>
|
|
17
17
|
<tr>
|
|
18
18
|
<th>Name</th>
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
<div><strong>{{name}}</strong></div>
|
|
34
34
|
{{> ui/entity-id id=account label="Account ID"}}
|
|
35
35
|
</td>
|
|
36
|
-
<td class="relative">
|
|
36
|
+
<td class="relative" data-label="Email">
|
|
37
37
|
{{> ui/row-link href=(concat "/admin/accounts/" (urlpart account))}}{{email}}
|
|
38
38
|
</td>
|
|
39
39
|
|
|
40
|
-
<td class="relative">
|
|
40
|
+
<td class="relative" data-label="Type">
|
|
41
41
|
{{> ui/row-link href=(concat "/admin/accounts/" (urlpart account))}}
|
|
42
42
|
{{#if type.icon}}
|
|
43
43
|
{{!-- relative z-[1] lifts the tooltip trigger above the row link --}}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
{{/if}}
|
|
53
53
|
</td>
|
|
54
54
|
|
|
55
|
-
<td class="relative w-32">
|
|
55
|
+
<td class="relative w-32" data-label="Status">
|
|
56
56
|
{{> ui/row-link href=(concat "/admin/accounts/" (urlpart account))}}
|
|
57
57
|
{{!-- live state badge: app.js updates the badge-{type} class,
|
|
58
58
|
text and error tooltip through the /admin/changes SSE
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
{{!-- ../showActions: inside {{#each}} the bare name would resolve against the
|
|
68
68
|
row, not the partial params, so the cell silently vanished (phantom column) --}}
|
|
69
69
|
{{#if ../showActions}}
|
|
70
|
-
<td class="relative text-end">
|
|
70
|
+
<td class="ee-stack-actions relative text-end">
|
|
71
71
|
{{> ui/row-actions openHref=(concat "/admin/accounts/" (urlpart account)) label="Account actions"
|
|
72
72
|
deleteModal="#deleteAccount" deleteName=(when name name email) deleteAction=(concat "/admin/accounts/" (urlpart account) "/delete")}}
|
|
73
73
|
</td>
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
<form method="post" action="/admin/accounts/new">
|
|
3
3
|
<input type="hidden" name="crumb" value="{{crumb}}">
|
|
4
4
|
<div class="modal-body space-y-4">
|
|
5
|
-
{{> ui/form-field id="account-name" name="name" label="Full name
|
|
6
|
-
{{> ui/form-field id="account-id" name="account" label="Account
|
|
5
|
+
{{> ui/form-field id="account-name" name="name" label="Full name" placeholder="e.g., John Smith"}}
|
|
6
|
+
{{> ui/form-field id="account-id" name="account" label="Account ID (optional)" placeholder="e.g., account_123" hint="Leave blank to generate an ID. Using an existing ID updates that account."}}
|
|
7
7
|
|
|
8
|
-
<p class="text-sm text-base-content/60">
|
|
8
|
+
<p class="text-sm text-base-content/60">Next, connect the email account through the hosted authentication form. You can also <a
|
|
9
9
|
href="https://learn.emailengine.app/docs/accounts/hosted-authentication" target="_blank" rel="noopener noreferrer"
|
|
10
10
|
referrerpolicy="no-referrer" class="link link-animated">use this form in your own app</a>.
|
|
11
11
|
</p>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<input type="checkbox" class="checkbox checkbox-sm checkbox-entry" data-ip="{{localAddress}}"
|
|
9
9
|
name="localAddresses" value="{{localAddress}}" {{#if checked}}checked{{/if}}>
|
|
10
10
|
</td>
|
|
11
|
-
<td>{{localAddress}}
|
|
11
|
+
<td data-label="Local IP">{{localAddress}}
|
|
12
12
|
|
|
13
13
|
{{#if notice}}<span class="tooltip [--placement:top] inline-flex align-middle"><span
|
|
14
14
|
class="tooltip-toggle cursor-default"><span
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
{{#if defaultInterface}}<span class="badge badge-soft">default</span>{{/if}}
|
|
20
20
|
</div>
|
|
21
21
|
</td>
|
|
22
|
-
<td>{{ip}}</td>
|
|
23
|
-
<td>
|
|
22
|
+
<td data-label="Public IP">{{ip}}</td>
|
|
23
|
+
<td data-label="Hostname">
|
|
24
24
|
{{name}}
|
|
25
25
|
</td>
|
|
26
|
-
<td class="text-end">
|
|
26
|
+
<td class="ee-stack-actions text-end">
|
|
27
27
|
<button type="button" class="btn btn-error btn-soft btn-circle btn-sm address-action-delete"
|
|
28
28
|
data-address="{{localAddress}}" aria-label="Delete this address" title="Delete this address">
|
|
29
29
|
<span class="icon-[tabler--trash] size-4"></span>
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
basicAutoComplete class hook) --}}
|
|
4
4
|
<div class="space-y-4">
|
|
5
5
|
|
|
6
|
-
{{> ui/form-field id="name" label="Display Name" value=values.name error=errors.name placeholder="SendGrid Transactional" lpignore=true required=true class="basicAutoComplete" hint="
|
|
6
|
+
{{> ui/form-field id="name" label="Display Name" value=values.name error=errors.name placeholder="SendGrid Transactional" lpignore=true required=true class="basicAutoComplete" hint="Name shown for this gateway in EmailEngine."}}
|
|
7
7
|
|
|
8
|
-
{{> ui/form-field id="user" label="Username" value=values.user error=errors.user lpignore=true hint="SMTP
|
|
8
|
+
{{> ui/form-field id="user" label="Username" value=values.user error=errors.user lpignore=true hint="Username required by your SMTP provider, if any."}}
|
|
9
9
|
|
|
10
|
-
{{> ui/form-field id="pass" type="password" label="Password" value=values.pass error=errors.pass lpignore=true placeholder=(when hasSMTPPass "Password saved
|
|
10
|
+
{{> ui/form-field id="pass" type="password" label="Password" value=values.pass error=errors.pass lpignore=true placeholder=(when hasSMTPPass "Password saved") hint=(concat "Password required by your SMTP provider." (when gatewayData " Leave blank to keep the current password."))}}
|
|
11
11
|
|
|
12
12
|
{{> ui/form-field id="host" label="Server Address" value=values.host error=errors.host lpignore=true placeholder="smtp.sendgrid.net" required=true hint="SMTP server hostname or IP address"}}
|
|
13
13
|
|
|
14
|
-
{{> ui/form-field id="port" type="number" label="Port" value=values.port error=errors.port lpignore=true placeholder="587" required=true hint="Common ports: 25
|
|
14
|
+
{{> ui/form-field id="port" type="number" label="Port" value=values.port error=errors.port lpignore=true placeholder="587" required=true hint="Common ports: 25 or 587 for STARTTLS, 465 for direct TLS."}}
|
|
15
15
|
|
|
16
|
-
{{> ui/checkbox id="secure" label="Use direct TLS" checked=values.secure error=errors.secure tooltip="
|
|
16
|
+
{{> ui/checkbox id="secure" label="Use direct TLS" checked=values.secure error=errors.secure tooltip="Usually enabled for port 465. When disabled, EmailEngine uses STARTTLS if the server supports it."}}
|
|
17
17
|
|
|
18
18
|
</div>
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
error - validation error message (optional)
|
|
11
11
|
--}}
|
|
12
12
|
{{> ui/account-picker id=id value=value selected=selected error=error label="Limit to one account"
|
|
13
|
-
placeholder="Search by name, address or account
|
|
14
|
-
hint="
|
|
13
|
+
placeholder="Search by name, email address, or account ID"
|
|
14
|
+
hint="Limit access to this account and exclude instance-wide tools. Leave blank to allow all accounts and instance tools within the selected access levels."}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
actions in the header row (same idiom as ui/page-header). Pass badgeLabel
|
|
3
3
|
to show a count badge after the title (e.g. the apps total). --}}
|
|
4
4
|
{{#if @partial-block}}
|
|
5
|
-
{{#> ui/page-header title="OAuth2 Apps" icon="icon-[tabler--brand-oauth]" subtitle="
|
|
5
|
+
{{#> ui/page-header title="OAuth2 Apps" icon="icon-[tabler--brand-oauth]" subtitle="Configure provider credentials for connecting Gmail, Outlook, and other email accounts." badgeLabel=badgeLabel badgeVariant="neutral" class="mb-6"}}{{> @partial-block}}{{/ui/page-header}}
|
|
6
6
|
{{else}}
|
|
7
|
-
{{> ui/page-header title="OAuth2 Apps" icon="icon-[tabler--brand-oauth]" subtitle="
|
|
7
|
+
{{> ui/page-header title="OAuth2 Apps" icon="icon-[tabler--brand-oauth]" subtitle="Configure provider credentials for connecting Gmail, Outlook, and other email accounts." badgeLabel=badgeLabel badgeVariant="neutral" class="mb-6"}}
|
|
8
8
|
{{/if}}
|