emailengine-app 2.79.2 → 2.79.4

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.
@@ -1,10 +1,10 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Content-Type: text/plain; charset=ascii\n"
4
- "POT-Creation-Date: 2026-08-21 21:29+0000\n"
4
+ "POT-Creation-Date: 2026-08-24 13:48+0000\n"
5
5
 
6
6
  #: views/error.hbs:6
7
- #: workers/api.js:3053
7
+ #: workers/api.js:3134
8
8
  msgid "Something went wrong"
9
9
  msgstr ""
10
10
 
@@ -108,36 +108,6 @@ msgstr ""
108
108
  msgid "Standard IMAP"
109
109
  msgstr ""
110
110
 
111
- #: views/accounts/register/imap.hbs:13
112
- msgid "Your name"
113
- msgstr ""
114
-
115
- #: views/accounts/register/imap.hbs:19
116
- msgid "Enter your full name"
117
- msgstr ""
118
-
119
- #: views/accounts/register/imap.hbs:35
120
- msgid "This setup link is restricted to this email address"
121
- msgstr ""
122
-
123
- #: views/accounts/register/imap.hbs:37
124
- msgid "Enter your email address"
125
- msgstr ""
126
-
127
- #: views/accounts/register/imap.hbs:43
128
- #: views/accounts/register/imap-server.hbs:39
129
- #: views/accounts/register/imap-server.hbs:146
130
- msgid "Password"
131
- msgstr ""
132
-
133
- #: views/accounts/register/imap.hbs:49
134
- msgid "Enter your account password"
135
- msgstr ""
136
-
137
- #: views/accounts/register/imap.hbs:55
138
- msgid "Continue"
139
- msgstr ""
140
-
141
111
  #: views/accounts/register/imap-server.hbs:22
142
112
  msgid "IMAP"
143
113
  msgstr ""
@@ -147,6 +117,12 @@ msgstr ""
147
117
  msgid "Username"
148
118
  msgstr ""
149
119
 
120
+ #: views/accounts/register/imap-server.hbs:39
121
+ #: views/accounts/register/imap-server.hbs:146
122
+ #: views/accounts/register/imap.hbs:43
123
+ msgid "Password"
124
+ msgstr ""
125
+
150
126
  #: views/accounts/register/imap-server.hbs:51
151
127
  #: views/accounts/register/imap-server.hbs:158
152
128
  msgid "Important"
@@ -251,6 +227,30 @@ msgstr ""
251
227
  msgid "Request failed."
252
228
  msgstr ""
253
229
 
230
+ #: views/accounts/register/imap.hbs:13
231
+ msgid "Your name"
232
+ msgstr ""
233
+
234
+ #: views/accounts/register/imap.hbs:19
235
+ msgid "Enter your full name"
236
+ msgstr ""
237
+
238
+ #: views/accounts/register/imap.hbs:35
239
+ msgid "This setup link is restricted to this email address"
240
+ msgstr ""
241
+
242
+ #: views/accounts/register/imap.hbs:37
243
+ msgid "Enter your email address"
244
+ msgstr ""
245
+
246
+ #: views/accounts/register/imap.hbs:49
247
+ msgid "Enter your account password"
248
+ msgstr ""
249
+
250
+ #: views/accounts/register/imap.hbs:55
251
+ msgid "Continue"
252
+ msgstr ""
253
+
254
254
  #: views/account-identity-error.hbs:7
255
255
  msgid "Wrong Email Account"
256
256
  msgstr ""
@@ -283,95 +283,95 @@ msgid ""
283
283
  "connect your account."
284
284
  msgstr ""
285
285
 
286
- #: lib/tools.js:1304
286
+ #: lib/tools.js:1329
287
287
  #: lib/ui-routes/unsubscribe-routes.js:29
288
288
  #: lib/ui-routes/unsubscribe-routes.js:93
289
289
  msgid "Invalid input"
290
290
  msgstr ""
291
291
 
292
- #: lib/tools.js:2154
292
+ #: lib/tools.js:2179
293
293
  msgid "Signature validation failed"
294
294
  msgstr ""
295
295
 
296
- #: lib/tools.js:2177
297
- #: lib/tools.js:2183
298
- #: lib/tools.js:2188
299
- #: lib/ui-routes/account-routes.js:1058
296
+ #: lib/tools.js:2202
297
+ #: lib/tools.js:2208
298
+ #: lib/tools.js:2213
299
+ #: lib/ui-routes/account-routes.js:1100
300
300
  msgid "Invalid or expired account setup URL"
301
301
  msgstr ""
302
302
 
303
- #: lib/ui-routes/account-routes.js:426
304
- #: lib/ui-routes/account-routes.js:470
305
- #: lib/ui-routes/account-routes.js:714
306
- #: lib/ui-routes/account-routes.js:765
307
- #: lib/ui-routes/account-routes.js:818
308
- #: lib/ui-routes/account-routes.js:1171
303
+ #: lib/ui-routes/account-routes.js:468
304
+ #: lib/ui-routes/account-routes.js:512
305
+ #: lib/ui-routes/account-routes.js:756
306
+ #: lib/ui-routes/account-routes.js:807
307
+ #: lib/ui-routes/account-routes.js:860
308
+ #: lib/ui-routes/account-routes.js:1213
309
309
  #: lib/ui-routes/route-helpers.js:368
310
- #: workers/api.js:2238
311
- #: workers/api.js:2308
310
+ #: workers/api.js:2319
311
+ #: workers/api.js:2389
312
312
  msgid "Email Account Setup"
313
313
  msgstr ""
314
314
 
315
- #: lib/ui-routes/account-routes.js:495
316
- #: lib/ui-routes/account-routes.js:527
315
+ #: lib/ui-routes/account-routes.js:537
316
+ #: lib/ui-routes/account-routes.js:569
317
317
  #: lib/ui-routes/unsubscribe-routes.js:69
318
318
  msgid "Invalid request. Check your input and try again."
319
319
  msgstr ""
320
320
 
321
- #: lib/ui-routes/account-routes.js:660
321
+ #: lib/ui-routes/account-routes.js:702
322
322
  msgid "Too many attempts for this setup link. Request a new setup link to continue."
323
323
  msgstr ""
324
324
 
325
- #: lib/ui-routes/account-routes.js:805
326
- #: lib/ui-routes/account-routes.js:1108
325
+ #: lib/ui-routes/account-routes.js:847
326
+ #: lib/ui-routes/account-routes.js:1150
327
327
  msgid "Couldn't set up account. Try again."
328
328
  msgstr ""
329
329
 
330
- #: lib/ui-routes/account-routes.js:888
331
- #: lib/ui-routes/account-routes.js:899
330
+ #: lib/ui-routes/account-routes.js:930
331
+ #: lib/ui-routes/account-routes.js:941
332
332
  #: lib/ui-routes/admin-entities-routes.js:2058
333
333
  msgid "Server hostname was not found"
334
334
  msgstr ""
335
335
 
336
- #: lib/ui-routes/account-routes.js:891
337
- #: lib/ui-routes/account-routes.js:902
336
+ #: lib/ui-routes/account-routes.js:933
337
+ #: lib/ui-routes/account-routes.js:944
338
338
  #: lib/ui-routes/admin-entities-routes.js:2061
339
339
  msgid "Invalid username or password"
340
340
  msgstr ""
341
341
 
342
- #: lib/ui-routes/account-routes.js:905
342
+ #: lib/ui-routes/account-routes.js:947
343
343
  #: lib/ui-routes/admin-entities-routes.js:2064
344
344
  msgid "Authentication credentials were not provided"
345
345
  msgstr ""
346
346
 
347
- #: lib/ui-routes/account-routes.js:908
347
+ #: lib/ui-routes/account-routes.js:950
348
348
  #: lib/ui-routes/admin-entities-routes.js:2067
349
349
  msgid "OAuth2 authentication failed"
350
350
  msgstr ""
351
351
 
352
- #: lib/ui-routes/account-routes.js:911
353
- #: lib/ui-routes/account-routes.js:915
352
+ #: lib/ui-routes/account-routes.js:953
353
+ #: lib/ui-routes/account-routes.js:957
354
354
  #: lib/ui-routes/admin-entities-routes.js:2070
355
355
  #: lib/ui-routes/admin-entities-routes.js:2074
356
356
  msgid "TLS protocol error"
357
357
  msgstr ""
358
358
 
359
- #: lib/ui-routes/account-routes.js:919
359
+ #: lib/ui-routes/account-routes.js:961
360
360
  #: lib/ui-routes/admin-entities-routes.js:2078
361
361
  msgid "Connection timed out"
362
362
  msgstr ""
363
363
 
364
- #: lib/ui-routes/account-routes.js:922
364
+ #: lib/ui-routes/account-routes.js:964
365
365
  #: lib/ui-routes/admin-entities-routes.js:2081
366
366
  msgid "Could not connect to server"
367
367
  msgstr ""
368
368
 
369
- #: lib/ui-routes/account-routes.js:925
369
+ #: lib/ui-routes/account-routes.js:967
370
370
  #: lib/ui-routes/admin-entities-routes.js:2084
371
371
  msgid "Unexpected server response"
372
372
  msgstr ""
373
373
 
374
- #: lib/ui-routes/account-routes.js:1046
374
+ #: lib/ui-routes/account-routes.js:1088
375
375
  msgid "Temporary error, please try again"
376
376
  msgstr ""
377
377
 
@@ -429,7 +429,7 @@ msgstr ""
429
429
  msgid "Couldn't process request. Try again."
430
430
  msgstr ""
431
431
 
432
- #: workers/api.js:3052
433
- #: workers/api.js:3156
432
+ #: workers/api.js:3133
433
+ #: workers/api.js:3237
434
434
  msgid "Requested page not found"
435
435
  msgstr ""
@@ -8,6 +8,9 @@
8
8
  {{#if accountAlert.message}}
9
9
  <div class="break-words"><small>{{accountAlert.message}}</small></div>
10
10
  {{/if}}
11
+ {{#if accountAlert.time}}
12
+ <div><small>{{accountAlert.timeLabel}} <span class="local-date-time" data-time="{{accountAlert.time}}"></span></small></div>
13
+ {{/if}}
11
14
  {{/ui/alert-banner}}
12
15
  {{/if}}
13
16
 
@@ -29,8 +32,13 @@
29
32
  <div class="bg-base-content/10 mx-1 hidden h-6 w-px self-center sm:block" aria-hidden="true"></div>
30
33
 
31
34
  {{!-- Operations: act on this account now --}}
32
- {{#> ui/tooltip text="Close and re-open the connection"}}
33
- <button type="button" class="btn btn-soft btn-sm" id="request-reconnect">
35
+ {{!-- Disabled while the account is switched off: a reconnect rebuilds the connection,
36
+ but init() checks the disable flag before it dials out and returns without
37
+ connecting, so the click would report success and do nothing. --}}
38
+ {{#> ui/tooltip text=(when accountParked "Syncing is switched off - use Resume syncing instead" "Close and re-open the connection")}}
39
+ {{!-- pointer-events-none so the tooltip above still explains why: browsers dispatch no
40
+ mouse events for a disabled control, so without it the wrapper never sees the hover --}}
41
+ <button type="button" class="btn btn-soft btn-sm{{#if accountParked}} pointer-events-none{{/if}}" id="request-reconnect"{{#if accountParked}} disabled{{/if}}>
34
42
  <span class="icon-[tabler--refresh] size-4" id="reconnect-icon"></span> Reconnect
35
43
  </button>
36
44
  {{/ui/tooltip}}
@@ -51,6 +59,14 @@
51
59
  {{/ui/tooltip}}
52
60
  {{/if}}
53
61
 
62
+ {{!-- Only for an account the auth-failure safety net switched off. An API account has
63
+ no IMAP card, so this is the one control that reaches the flag. --}}
64
+ {{#if accountParked}}
65
+ {{#> ui/tooltip text="Turn syncing back on with the stored credentials"}}
66
+ {{> ui/btn bare=true style="soft" size="sm" id="request-resume" icon="icon-[tabler--player-play]" label="Resume syncing"}}
67
+ {{/ui/tooltip}}
68
+ {{/if}}
69
+
54
70
  {{#if canSend}}
55
71
  {{#unless gateways}}
56
72
  {{#> ui/tooltip text="Test SMTP delivery settings for this account"}}
@@ -961,6 +977,35 @@ submitLabel="Delete account"}}
961
977
  })
962
978
  });
963
979
 
980
+ // Only rendered for an account the auth-failure safety net switched off
981
+ const requestResumeElm = document.getElementById('request-resume');
982
+ if (requestResumeElm) {
983
+ requestResumeElm.addEventListener('click', e => {
984
+ e.preventDefault();
985
+ // The disabled button is the re-entrancy guard
986
+ if (requestResumeElm.disabled) {
987
+ return
988
+ }
989
+
990
+ uiButtonBusy(requestResumeElm, true);
991
+ const account = document.getElementById('account-id').value.trim();
992
+ uiPostJson(`/admin/accounts/${account}/resume`, {}).then(data => {
993
+ if (data.success) {
994
+ // Both the button and the alert explaining why it was there belong to the
995
+ // switched-off state, so reload rather than leave either behind. No toast:
996
+ // the navigation would destroy it before it could be read.
997
+ window.location.reload();
998
+ return;
999
+ }
1000
+ uiButtonBusy(requestResumeElm, false);
1001
+ uiToastResult(data, 'Syncing resumed', 'Failed to resume syncing');
1002
+ }).catch(err => {
1003
+ uiButtonBusy(requestResumeElm, false);
1004
+ showToast('Request failed\n' + err.message, 'alert-triangle');
1005
+ })
1006
+ });
1007
+ }
1008
+
964
1009
  const syncAccount = async () => {
965
1010
  const account = document.getElementById('account-id').value.trim();
966
1011
 
package/views/legal.hbs CHANGED
@@ -71,7 +71,7 @@
71
71
  </li>
72
72
 
73
73
  <li class="px-6 py-4">
74
- <a href="/sbom.json" download="sbom.json" class="link link-animated">
74
+ <a href="/admin/legal/sbom.json" download="sbom.json" class="link link-animated">
75
75
  <span class="icon-[tabler--cloud-download] size-4 align-text-bottom"></span>
76
76
  <strong>Software Bill of Materials (SBOM)</strong>
77
77
  </a>