domma-cms 1.66.1 → 1.66.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/admin/js/lib/shared/contacts-view.js +30 -30
  3. package/admin/js/templates/contacts.html +2 -1
  4. package/docs/DommaFeatures.md +1 -1
  5. package/package.json +1 -1
  6. package/plugins/_lib/admin/mail/body-menu.js +1 -1
  7. package/plugins/_lib/admin/mail/cms-host.js +1 -1
  8. package/plugins/_lib/admin/mail/compose-window.js +1 -1
  9. package/plugins/_lib/admin/mail/contacts.js +1 -1
  10. package/plugins/_lib/admin/mail/diagnostics-section.js +1 -1
  11. package/plugins/_lib/admin/mail/drag-drop.js +1 -1
  12. package/plugins/_lib/admin/mail/folder-tree.js +1 -1
  13. package/plugins/_lib/admin/mail/font-controls.js +1 -1
  14. package/plugins/_lib/admin/mail/fonts.js +1 -1
  15. package/plugins/_lib/admin/mail/host-context.js +1 -1
  16. package/plugins/_lib/admin/mail/identity.js +1 -1
  17. package/plugins/_lib/admin/mail/image-senders-section.js +1 -1
  18. package/plugins/_lib/admin/mail/keyboard.js +1 -1
  19. package/plugins/_lib/admin/mail/mail.html +1 -1
  20. package/plugins/_lib/admin/mail/message-actions.js +1 -1
  21. package/plugins/_lib/admin/mail/oauth-panel.js +1 -1
  22. package/plugins/_lib/admin/mail/panes.js +1 -1
  23. package/plugins/_lib/admin/mail/reader-kit.js +1 -1
  24. package/plugins/_lib/admin/mail/reader-runtime.js +1 -1
  25. package/plugins/_lib/admin/mail/reader-view.js +1 -1
  26. package/plugins/_lib/admin/mail/resizable.js +1 -1
  27. package/plugins/_lib/admin/mail/restore-spam.js +1 -1
  28. package/plugins/_lib/admin/mail/rules.js +1 -1
  29. package/plugins/_lib/admin/mail/scheduling.js +1 -1
  30. package/plugins/_lib/admin/mail/section-kit.js +1 -1
  31. package/plugins/_lib/admin/mail/security-note.js +1 -1
  32. package/plugins/_lib/admin/mail/settings-section.js +1 -1
  33. package/plugins/_lib/admin/mail/templates.js +1 -1
  34. package/plugins/_lib/admin/mail/threads.js +1 -1
  35. package/plugins/_lib/admin/mail/vacation.js +1 -1
  36. package/plugins/_lib/admin/mail/when-closed.js +1 -1
  37. package/plugins/_lib/admin/ui/dates.js +1 -1
  38. package/plugins/_lib/admin/ui/resizable.js +1 -1
  39. package/plugins/_lib/contacts/mailContact.js +31 -4
  40. package/plugins/_lib/contacts/model.js +1 -1
  41. package/plugins/_lib/domma-mail-contacts.lock.json +7 -7
  42. package/plugins/_lib/domma-mail.lock.json +80 -80
  43. package/plugins/_lib/mail/accountFileStore.js +1 -1
  44. package/plugins/_lib/mail/accountRepository.js +1 -1
  45. package/plugins/_lib/mail/accountRoutes.js +1 -1
  46. package/plugins/_lib/mail/bodyTokenProvider.js +1 -1
  47. package/plugins/_lib/mail/bodyTokens.js +1 -1
  48. package/plugins/_lib/mail/compose.js +1 -1
  49. package/plugins/_lib/mail/defaults.js +1 -1
  50. package/plugins/_lib/mail/envelope.js +1 -1
  51. package/plugins/_lib/mail/folderActions.js +1 -1
  52. package/plugins/_lib/mail/folderRuntime.js +1 -1
  53. package/plugins/_lib/mail/folders.js +1 -1
  54. package/plugins/_lib/mail/imapPoolRuntime.js +1 -1
  55. package/plugins/_lib/mail/mbox.js +1 -1
  56. package/plugins/_lib/mail/message-action.js +1 -1
  57. package/plugins/_lib/mail/messageSecurity.js +1 -1
  58. package/plugins/_lib/mail/messageSecurityProvider.js +1 -1
  59. package/plugins/_lib/mail/networkAddresses.js +1 -1
  60. package/plugins/_lib/mail/networkPolicy.js +1 -1
  61. package/plugins/_lib/mail/oauthAccounts.js +1 -1
  62. package/plugins/_lib/mail/oauthRouteRuntime.js +1 -1
  63. package/plugins/_lib/mail/oauthRuntime.js +1 -1
  64. package/plugins/_lib/mail/pollSchedule.js +1 -1
  65. package/plugins/_lib/mail/poller.js +1 -1
  66. package/plugins/_lib/mail/pollerRuntime.js +1 -1
  67. package/plugins/_lib/mail/priority.js +1 -1
  68. package/plugins/_lib/mail/publicMailbox.js +1 -1
  69. package/plugins/_lib/mail/readRuntime.js +1 -1
  70. package/plugins/_lib/mail/render.js +1 -1
  71. package/plugins/_lib/mail/ruleRunner.js +1 -1
  72. package/plugins/_lib/mail/schedulerRuntime.js +1 -1
  73. package/plugins/_lib/mail/secretProvider.js +1 -1
  74. package/plugins/_lib/mail/secretbox.js +1 -1
  75. package/plugins/_lib/mail/senderAuth.js +1 -1
  76. package/plugins/_lib/mail/sieve.js +1 -1
  77. package/plugins/_lib/mail/smtpService.js +1 -1
  78. package/plugins/_lib/mail/snoozeRuntime.js +1 -1
  79. package/plugins/_lib/mail/store.js +1 -1
  80. package/plugins/_lib/mail/subscriptions.js +1 -1
  81. package/plugins/_lib/mail/syncPlan.js +1 -1
  82. package/plugins/_lib/mail/syncRuntime.js +1 -1
  83. package/plugins/_lib/mail/syncSelection.js +1 -1
  84. package/plugins/_lib/mail/unreadBadge.js +1 -1
  85. package/plugins/_lib/mail/unsubscribe.js +1 -1
  86. package/plugins/_lib/mail/vacationRuntime.js +1 -1
  87. package/plugins/_lib/mail/write.js +1 -1
  88. package/server/services/markdown.js +7 -2
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/admin/mail/when-closed.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/admin/mail/when-closed.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Run code when a Domma modal or slideover actually closes.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/admin/ui/dates.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/admin/ui/dates.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Dates as a plugin shows them to a person: dd/mm/yyyy, and dd/mm/yyyy HH:mm
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/admin/ui/resizable.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/admin/ui/resizable.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Making a slideover resizable.
@@ -1,12 +1,16 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/contacts/mailContact.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/contacts/mailContact.js.
2
2
  // Update with domma-mail/scripts/sync-contacts.mjs; edit the shared source.
3
3
  import {buildContact} from './model.js';
4
4
 
5
5
  /** The standalone mail policy is intentionally stricter than the CMS general address book. */
6
6
  export const contactsError = (message, statusCode = 400) => Object.assign(new Error(message), {statusCode, publicContactsError: true});
7
7
  const fail = contactsError;
8
- export const DETAIL_LIMITS = Object.freeze({phone: 100, company: 200, jobTitle: 200, website: 500});
9
- const MAIL_FIELDS = ['name', 'email', 'favourite', 'groups', ...Object.keys(DETAIL_LIMITS), 'notes', 'emails', 'phones'];
8
+ export const DETAIL_LIMITS = Object.freeze({
9
+ phone: 100, company: 200, jobTitle: 200, website: 500,
10
+ billingEmail: 254, vatNumber: 100, companyNumber: 100, reference: 200, currency: 3,
11
+ accountName: 200, bankName: 200, sortCode: 50, accountNumber: 100, iban: 100, bic: 50
12
+ });
13
+ const MAIL_FIELDS = ['name', 'email', 'favourite', 'groups', ...Object.keys(DETAIL_LIMITS), 'notes', 'emails', 'phones', 'addresses', 'paymentTerms'];
10
14
 
11
15
  export function normaliseMailContact(input, {allowJsonLists = false} = {}) {
12
16
  if (!input || typeof input !== 'object' || Array.isArray(input)) throw fail('Provide a contact.');
@@ -27,6 +31,29 @@ export function normaliseMailContact(input, {allowJsonLists = false} = {}) {
27
31
  try { url = new URL(details.website); } catch { throw fail('Use an absolute HTTP or HTTPS website address.'); }
28
32
  if (!['http:', 'https:'].includes(url.protocol) || url.username || url.password) throw fail('Use an HTTP or HTTPS website without embedded credentials.');
29
33
  }
34
+ if (details.billingEmail) {
35
+ details.billingEmail = details.billingEmail.toLowerCase();
36
+ if (!/^[^\s@<>,;:"\\]+@[^\s@<>,;:"\\]+\.[^\s@<>,;:"\\]+$/.test(details.billingEmail)) throw fail('Enter one billing email address.');
37
+ }
38
+ details.currency = details.currency.toUpperCase();
39
+ if (details.currency && !/^[A-Z]{3}$/.test(details.currency)) throw fail('Use a three-letter currency code.');
40
+ const terms = input.paymentTerms;
41
+ const paymentTerms = terms === undefined || terms === null || terms === '' ? '' :
42
+ (typeof terms === 'number' || (typeof terms === 'string' && /^\d+$/.test(terms))) ? Number(terms) : NaN;
43
+ if (paymentTerms !== '' && (!Number.isInteger(paymentTerms) || paymentTerms < 0 || paymentTerms > 365)) throw fail('Use payment terms between 0 and 365 days.');
44
+ let addresses = input.addresses === undefined ? [] : input.addresses;
45
+ if (allowJsonLists && typeof addresses === 'string') {
46
+ try {addresses = addresses.trim() ? JSON.parse(addresses) : [];} catch {throw fail('Provide addresses as a JSON array.');}
47
+ }
48
+ if (!Array.isArray(addresses) || addresses.length > 10) throw fail('Use at most ten addresses.');
49
+ addresses = addresses.flatMap(row => {
50
+ if (!row || typeof row !== 'object' || Array.isArray(row)) throw fail('Provide a valid address row.');
51
+ const out = Object.fromEntries(Object.entries({label: 40, line1: 200, line2: 200, city: 100, region: 100, postcode: 40, country: 100})
52
+ .map(([key, limit]) => [key, text(row[key] ?? '', limit, 'address ' + key)]));
53
+ if (row.isBilling !== undefined && typeof row.isBilling !== 'boolean' && !(allowJsonLists && ['true', 'false'].includes(row.isBilling))) throw fail('Choose whether this is a billing address.');
54
+ out.isBilling = row.isBilling === true || row.isBilling === 'true';
55
+ return Object.entries(out).some(([key, value]) => key !== 'label' && value !== '' && value !== false) ? [out] : [];
56
+ });
30
57
  const notes = input.notes ?? '';
31
58
  if (typeof notes !== 'string' || notes.length > 2000 || /[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/.test(notes)) throw fail('Use plain-text notes of at most 2,000 characters.');
32
59
  const seen = new Set([email]);
@@ -52,7 +79,7 @@ export function normaliseMailContact(input, {allowJsonLists = false} = {}) {
52
79
  return [{label, [key]: value}];
53
80
  });
54
81
  }
55
- const record = buildContact({name, email, favourite: input.favourite === true, groups, ...details, ...lists, notes: notes.replace(/\r\n?/g, '\n').trim()});
82
+ const record = buildContact({name, email, favourite: input.favourite === true, groups, ...details, ...lists, addresses, paymentTerms, notes: notes.replace(/\r\n?/g, '\n').trim()});
56
83
  return Object.fromEntries(MAIL_FIELDS.map(field => [field, record[field]]));
57
84
  }
58
85
 
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/contacts/model.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/contacts/model.js.
2
2
  // Update with domma-mail/scripts/sync-contacts.mjs; edit the shared source.
3
3
  /** Portable CMS contact records. Storage, access checks and identity belong to the host. */
4
4
  /**
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@domma-mail/core",
4
- "version": "0.26.2",
4
+ "version": "0.27.0",
5
5
  "files": {
6
- "admin/js/lib/contacts-arrange.js": "a14a352dcbe7090758701dd463fd65ace3629bc3d55771c85619b62be00111ae",
7
- "plugins/_lib/contacts/model.js": "aa3b0e4302dcfef55bf701290b6d72fbdfafaa5e3ad82d8913f0fedf0ff0eda5",
8
- "plugins/_lib/contacts/mailContact.js": "cfd90a67afd220f9f662de9777cd00d28b554c2ea0292ef227eebe7ab55176fc",
9
- "admin/js/lib/shared/contacts-view.js": "7cc748661f3768418785dc6d353a1ff928ca1f79a6534a6ea1032e19ac165951",
10
- "admin/js/templates/contacts.html": "50f62bbbeb5450ebd62d2aed2cfd2c2c0303796ab8f31353b2eebbd5e572a1ba",
11
- "admin/js/views/contacts.js": "9ea05f26505523e86c9d1523d28a402b3ed19f50a1446e96dc7c446a53aa844b"
6
+ "admin/js/lib/contacts-arrange.js": "a70a2692499be0a8691bbdeafb2f953c0f4ae3459956cfeaeba869c2557450d2",
7
+ "plugins/_lib/contacts/model.js": "635b18c0456ab008f01cfd1fddf6286cb90446a691d47cdc5eacb892494e1c7a",
8
+ "plugins/_lib/contacts/mailContact.js": "ea12c22f7a85038ca62c517293021d36ce0abdb9a70bc0b6ca0872fe2c312238",
9
+ "admin/js/lib/shared/contacts-view.js": "8590de00b792ff9490feec608addb5ca39303ef8e3d90506f642d77c3e95e8a4",
10
+ "admin/js/templates/contacts.html": "ac22a8d6a4fb573eb27bccf97713d85a87064de81a48c6be236b2ad1b516510b",
11
+ "admin/js/views/contacts.js": "32826ac8bbe1e5113749014f4b5782b0d37adc2c908f1aaaf0df10683a8adfad"
12
12
  }
13
13
  }
@@ -1,86 +1,86 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@domma-mail/core",
4
- "version": "0.26.2",
4
+ "version": "0.27.0",
5
5
  "files": {
6
- "plugins/_lib/mail/defaults.js": "4f6df34d105f5397846eece1abdae09caca7a748d2e5110b2e5b2b20804a2144",
7
- "plugins/_lib/mail/priority.js": "8813197b5bec0085da44a20a36a7df145c50e94c51b486c5704049f9aca715cc",
8
- "plugins/_lib/mail/envelope.js": "50dad39290b5384024845074c6582ecbbb25b323e9a0ddc340a6630c05825487",
9
- "plugins/_lib/mail/pollSchedule.js": "8642566924c7eb0b765209bafa4935b8095fa818270f9ec79266ecfcd9563759",
10
- "plugins/_lib/mail/syncPlan.js": "f2a2d9fe37ca92253c42c5b0124ea300e6cd2f2ccd5d424231e7192df80fb2f3",
11
- "plugins/_lib/admin/mail/threads.js": "87c009bec4d160d6b383ad7b00872baa523021bff29ad219404467a3d171a65e",
12
- "plugins/_lib/admin/mail/vacation.js": "3462020811521bbd2d9af92cd7483b95fcabb8783578f49447296409430e85d6",
13
- "plugins/_lib/mail/secretProvider.js": "e304cdd0c5cdd66aeb4b6e1f2dc50be351a535f266001047628cc2df046161d8",
14
- "plugins/_lib/mail/secretbox.js": "e5136138b526ee9e37b5bfceb8e24d0e6c2a853a150b4cc32674194b55949df8",
15
- "plugins/_lib/mail/bodyTokenProvider.js": "133a42bb20b73c8f3a57bd573604abab9021ea45e1aa6f6db35b58d064c6511f",
16
- "plugins/_lib/mail/bodyTokens.js": "4762175196cb358ea1590caa3bf774d15d5833d2ca5e141975fd1e46ac720f54",
17
- "plugins/_lib/mail/accountFileStore.js": "a4f9a36c5a25bdaf32bfa2c99f582277a42084fdc210d52d577722b5f3db3abe",
18
- "plugins/_lib/mail/accountRepository.js": "f786df2f6b52e6caf033e914130f9d59ae7e00047cd35c2b30bc14cf20254c64",
19
- "plugins/_lib/mail/accountRoutes.js": "bbe7f04b288576a8547c9c74822399648c2012b5afaf81f5469429b501091d43",
20
- "plugins/_lib/mail/networkAddresses.js": "b9a0eeaec9e7929f425a4f6dd3c7f946c88afd70f23e0d84e74e2e4298e09e14",
21
- "plugins/_lib/mail/networkPolicy.js": "a19a95b0ccfd6266c0fd13b4d19adcb1edf8aea28a242fd3aec06467c07e968a",
22
- "plugins/_lib/mail/imapPoolRuntime.js": "0a56d9cebf022bdcf4f1fe3082a8b89529ffbae5da1f766eaa74a175942d0aaa",
23
- "plugins/_lib/mail/publicMailbox.js": "c2c51cca6c456625d0ed38fa71b9a4fdbc632f6e12ac5db9a9895243bcd24e92",
24
- "plugins/_lib/mail/render.js": "50ea3edd41b321b37a79ba658e3bfd895f812fbbaec4da4a4202dc0a0953206a",
25
- "plugins/_lib/mail/unsubscribe.js": "ffa3500f530d6d63e89f5e40c56946bb3041753035242dcaec9c7c3f3b3b8d5f",
26
- "plugins/_lib/mail/unreadBadge.js": "e987619a5394e7cbad27f6bf336168e5a4981c6b40bcf27ecb1dec839f5035ac",
27
- "plugins/_lib/mail/message-action.js": "cf05208b7a38ebd5a79e1afc8c7272f41b7a8ff9930a548e122e341ec53c784b",
28
- "plugins/_lib/admin/mail/identity.js": "43afafabb93872ed02c05edb8e2dda32e0c8bada44d8d6a98c37d71c4e99aca6",
29
- "plugins/_lib/mail/messageSecurityProvider.js": "33e49c705d172c38518b463d17937d1ae3285e4ad98690760f82d0c35136940d",
30
- "plugins/_lib/mail/messageSecurity.js": "8c7356eef52ff4faf5b0713ce62b28632fb8bd78631a8f3178f5c3a854bea743",
31
- "plugins/_lib/mail/smtpService.js": "9bf610f49977ae628d73f443f65567799f2038eb393a3f910e0b41bd1c38d10b",
32
- "plugins/_lib/mail/subscriptions.js": "80808ddc846c2dc2effc0e64c9d627516cb15b9366be0167fc342bf2b4806765",
33
- "plugins/_lib/mail/senderAuth.js": "68c9cfda3c8b982b1758106c02273721c88a29ae82776a2dcd22c47169225364",
34
- "plugins/_lib/mail/readRuntime.js": "0ce54018ac5a126dd1a6afd4094ee58f35bfac40959b63ac7fe9179bdfb29880",
35
- "plugins/_lib/admin/mail/image-senders-section.js": "bc281ee1eac2405652403140553cd93dd541fec985caa039dbd269f755187836",
36
- "plugins/_lib/admin/mail/mail.html": "27eaf646be5a99d6d66f78bcf0b112921cd02b341d00290ea07c642c931ce3be",
37
- "plugins/_lib/admin/mail/section-kit.js": "b411f1ac5dfbfd1e4387d749e24df4bcb48cb291a6e7da3590f1dc954f04a2a2",
38
- "plugins/_lib/admin/mail/when-closed.js": "3579642c49125c6d38ec98f7e2201496fd21ce0312706d1ae0788a47995f90cc",
39
- "plugins/_lib/admin/mail/oauth-panel.js": "05097ff0b6aaead207d5e46341a3e025c7d1008370d3c4dff7edfacfeb85c619",
40
- "plugins/_lib/admin/mail/rules.js": "1b78f68a0f4ba7f7b861d5463adf3f830038f493fac849077b3bf9fe41f4686a",
41
- "plugins/_lib/admin/mail/reader-kit.js": "7fb170ed898b03a191d69b1a7d7b9d01d9baf4b85d99239c90f43dafefe0bee3",
42
- "plugins/_lib/admin/mail/panes.js": "8a8d0e6ae6d92473b0c2627c24647e2dafe0dcb35e4c092837b2e3839f2d5d42",
43
- "plugins/_lib/admin/mail/contacts.js": "73829c608a2f9551cc0becbd59e9cbf289eab448d9177f64dd90a9354e235b91",
44
- "plugins/_lib/admin/mail/message-actions.js": "8d03f5a6a50e0a71b465f0a6be382b145b92bd4f906489e290e4e9e17ac2d867",
45
- "plugins/_lib/admin/mail/resizable.js": "9ff6d75b4a8a468d69c8a578f6e345ab630f5166784511bb44635400d7c525ff",
46
- "plugins/_lib/admin/mail/settings-section.js": "c77b35cb0721208de8a1c8276e96ee33b211b271e503d40781360d67c7e60772",
47
- "plugins/_lib/admin/mail/compose-window.js": "df4ae62eb95fc5c351c70314888be116883dee5ddb2453054e5b602ddab9c6a7",
48
- "plugins/_lib/admin/mail/folder-tree.js": "5659816bf9153f4cd08027a880663dbb3284df41abc5a8cef9beb05f8be958a7",
49
- "plugins/_lib/admin/mail/body-menu.js": "8e1028ea86d47e82a83c85188402ad748c212aebbe2cafecb92fd8a646ead912",
50
- "plugins/_lib/admin/mail/diagnostics-section.js": "2d01896a7a513abdd566ce7aa5a1a9dd4e40aae9a2f41244bd0ff66926ccc867",
51
- "plugins/_lib/admin/mail/drag-drop.js": "a477db930d15d7d24b2a2afd3d65085cb1fb468e6233f0420929ad69d5fc6291",
52
- "plugins/_lib/admin/mail/scheduling.js": "4a5043f760cbe39055825b8aee145437de2d18ef4a2997d7658bfd2813ff112e",
53
- "plugins/_lib/admin/mail/font-controls.js": "1b23c9f6b8ea97be4270c57d725a974433b24f87f9462718616aeca988ec6098",
54
- "plugins/_lib/admin/mail/fonts.js": "32cb5bbde917176604e393e5199a47fab06f41bf119e970210c342ad45145b89",
55
- "plugins/_lib/admin/mail/keyboard.js": "a7801ed91e9d08ef68c1ccb75971959eaf636dc66edabe23b8086f7df13b4e3f",
56
- "plugins/_lib/admin/mail/mail.css": "b4813ea1a3f96cfe987512046011ff1e31586b45606eebba4f70ea5e88acb70c",
57
- "plugins/_lib/admin/mail/reader-view.js": "d9bd166bd91c81fec35d461e79a82f7c9ba8bcc6dccff4aad3713954cbdd53f9",
58
- "plugins/_lib/admin/mail/templates.js": "4afa9f830f779440fc1dfbfb348cdfbe43d0a9e9032bdc219e4e3d8c0cb7bac0",
59
- "plugins/_lib/admin/mail/security-note.js": "fd0fe6b7db375985d6b0efe4db350ab6f95d3f6a06b59f4de02796815f539a7e",
60
- "plugins/_lib/admin/ui/dates.js": "7e30cd1d5e350e4181176cfdc7a7531b898309345fe5c88bf430c040f361e5a4",
61
- "plugins/_lib/mail/compose.js": "21639fbd9e355a0d378d240914e485c68186d9519b6984a1b9a6aa4feebaa735",
62
- "plugins/_lib/admin/mail/reader-runtime.js": "20727bed7942ec43a7fdd566ee961d02db39b4454ee46c601a46b2e3e3ef859f",
63
- "plugins/_lib/admin/mail/host-context.js": "58f6c0d4e8920af3b75e3797742e3e60724f3c28e27d5ddd628bceef98e03401",
64
- "plugins/_lib/admin/mail/cms-host.js": "a1952faf698c0188fe2db1c94998d92547905afe8138496aa03f25137baf9f5f",
65
- "plugins/_lib/admin/ui/resizable.js": "32adea7f8102fd04092ed8f9925ebb127acd5ee0b08e1f17a1e2d9fe2de27213",
66
- "plugins/_lib/mail/store.js": "b7ac439e10f1f7f9d9a65456ef62092a572c24db09711da4bcafb600dd69b3b7",
67
- "plugins/_lib/mail/syncSelection.js": "b03b81ac911398248902edfad92ce77495ad2596e06e3fd52a010aa9bba0f76f",
68
- "plugins/_lib/mail/pollerRuntime.js": "3eb26a1f64b73aa935fbe7c0280c389b47b040e5699ccb0d72241eb37b267da6",
69
- "plugins/_lib/mail/poller.js": "bd8d45a55e94a7041d854f62ae94ba13756f555f11cba3c4dadd12e92e1a46a2",
70
- "plugins/_lib/mail/syncRuntime.js": "e7e36f4949f36a86a0d3b7b3f42c3683c59d126db8990e33b2ce2dcb8649589d",
71
- "plugins/_lib/mail/write.js": "c3eed5dd953c2bd57b5cf7f4c061b6ce6f992fa5d32f045b250f90b4f44b92c7",
72
- "plugins/_lib/admin/mail/restore-spam.js": "cd5f0f389e18ef9df7547b90b619d25e8339dfc8aa159e7e81a7d8d3e70d1efd",
73
- "plugins/_lib/mail/folders.js": "ea3aae26d429ac61dbe0ba52f098c40e08832af0259ce2477715c02277f80ef9",
74
- "plugins/_lib/mail/folderActions.js": "08f98bf2fe4770b25fab9e09cf280745cbfbc290619e8b68be3662aaa1ea519c",
75
- "plugins/_lib/mail/folderRuntime.js": "ad1616b8cd1d3d612d924a1f9f4266eaccde192d68c1e4fcfe23ab2a8c8dfd72",
76
- "plugins/_lib/mail/ruleRunner.js": "b1436a7bdd2b93b5b30ece35885123c6a7a5f6576d095b5d3e21e1230169132b",
77
- "plugins/_lib/mail/schedulerRuntime.js": "d4941dff360ac589fd04eaa2d7e23a983b866d22a70868de2950679af65d023c",
78
- "plugins/_lib/mail/snoozeRuntime.js": "7af0ca26f400eee28aced17ab4c22b67bf415d51f09fc9c843f80b10f75d861f",
79
- "plugins/_lib/mail/vacationRuntime.js": "5a4660c6c21f7b6ed31ba94b681f90ed70d525f30261121ccad96bd1974cae39",
80
- "plugins/_lib/mail/mbox.js": "95fdbffdc1177a80f90d59a8fc372b47e77927bd6897cdaecc8bf0b051338216",
81
- "plugins/_lib/mail/sieve.js": "a9cd3b40268c0179721c169e6e5f558d4b606997e0a51795059289585c9d26b7",
82
- "plugins/_lib/mail/oauthRuntime.js": "c173952422d5c3dca705ad0432f2cbf1eccc26876dcc94bac5d9797225426537",
83
- "plugins/_lib/mail/oauthRouteRuntime.js": "498fde5f1084ccc5f559ca48c925fb9ba29d36a2981861737d9ad333171ae88c",
84
- "plugins/_lib/mail/oauthAccounts.js": "1da1c126f417df37d8fb9280feab576952016c2293ed3e91eec0e72a5309ef7c"
6
+ "plugins/_lib/mail/defaults.js": "b38ef9e911a7c1f8608061e83af71f3eafbfca3b38c2c3bcc85c92c11442c38c",
7
+ "plugins/_lib/mail/priority.js": "19e688e8cca6c3784ed4bfe77f98742bfb57c49caca01ed5a49bf53fd3c0a6f2",
8
+ "plugins/_lib/mail/envelope.js": "2b9ff13456bcf332bdf81fcc2d1a1062371019bfddb4d9d854b8142a062de9d8",
9
+ "plugins/_lib/mail/pollSchedule.js": "f8dfe0838934bd79e429cda1f6595c6ce698fdb1b3a29d8cdf7c7f7ab84c1cf2",
10
+ "plugins/_lib/mail/syncPlan.js": "1f5d5691ea109cd920b4aa73be69d43159eed60e57851dd4bcc2efc69e0370e7",
11
+ "plugins/_lib/admin/mail/threads.js": "e2c77f11f1e48d42770dc2abcd2d4e894f53f728bb5f7e5397ecbfb249775c3f",
12
+ "plugins/_lib/admin/mail/vacation.js": "296ce290e1563d094ab3caab8f673a362a29c2732603371f0f6ec8975985901a",
13
+ "plugins/_lib/mail/secretProvider.js": "7db974b642f55b841409f387be01a51f944c2d4c45cedbe4a17cea9fb7a2c7e2",
14
+ "plugins/_lib/mail/secretbox.js": "a7c157701dad0688e89c9944ce951ef6f580d92d491f08688bec31e30bcdae89",
15
+ "plugins/_lib/mail/bodyTokenProvider.js": "7953699b24040e9a7fd3e45ebe5836ed8807589b05cc26e7a9a67a6488fb5f57",
16
+ "plugins/_lib/mail/bodyTokens.js": "0f93c885def7967164ef5cf05dd71089a2789e0e4a18415de19f6e82c2c34217",
17
+ "plugins/_lib/mail/accountFileStore.js": "4e81d3566a229962ce5d747a3840bda04bc43e31ac7ca45ba9c63a1092a41d49",
18
+ "plugins/_lib/mail/accountRepository.js": "ed03daebe71d764b41e2c8b3f04f486d7f417709d2b70a602342fc92241b0a68",
19
+ "plugins/_lib/mail/accountRoutes.js": "be50f98f29b1fd420c26d8eb1e398fffb42664be44f262ffdc0c9d1adff28ebb",
20
+ "plugins/_lib/mail/networkAddresses.js": "841cf6433a5c446693a82ff4328c2abd0e811882f91258168e6dc7a9fc83e1c7",
21
+ "plugins/_lib/mail/networkPolicy.js": "332434bba25d3d7250d6631263c7049414553d520408495f452c1ccb393d1092",
22
+ "plugins/_lib/mail/imapPoolRuntime.js": "74ea6d628e0cc33d02e70639c53dd539ca4dcf24cfe469d0dab58848f5a3ecf2",
23
+ "plugins/_lib/mail/publicMailbox.js": "ed495c896bca906cdda74228918dae791c348b4893d6df9c979f1d336ce9babb",
24
+ "plugins/_lib/mail/render.js": "7b20ad0c7c3de5d2aa267f5f692141dbf8cf16ad0b18119b0e04d113ef885e6f",
25
+ "plugins/_lib/mail/unsubscribe.js": "f4d834029f8938530f85bf9cb33eeebbf74e1229777f8ac842d36050f432859c",
26
+ "plugins/_lib/mail/unreadBadge.js": "9ae34601efd477e2285382f4f65c334a8ce929a7c5bcbf17676668b31ceabbe0",
27
+ "plugins/_lib/mail/message-action.js": "995aa44c40fbfbe0dd455a5890dac7fb5a9228f4ca69815b06035afb3d2dde6d",
28
+ "plugins/_lib/admin/mail/identity.js": "2afbe0b724d8f188d1b03945fe71ea23e1b82aa78cfc3e6d824ce255c0c4b2d5",
29
+ "plugins/_lib/mail/messageSecurityProvider.js": "9b63ed746d88a6062bf54c47d9939fd6c3adf5787c5d2d876d8f9469e0f3aa73",
30
+ "plugins/_lib/mail/messageSecurity.js": "8462c725bf3a902bf2e1e05d05f82672c53a50eb05f5cf6fe3999b4e0a252170",
31
+ "plugins/_lib/mail/smtpService.js": "71dbbdb65b09edc5e1614b6fca262be23c0c2619741f84bf90b4849cf149f0fa",
32
+ "plugins/_lib/mail/subscriptions.js": "6793127bd411174710363223c471dc62871c65ee2a0db32d0cde99040e58592f",
33
+ "plugins/_lib/mail/senderAuth.js": "1ed2ac6174eac1099fd3de6f35e7c7fa76f36c83115809334e9ef5693f94813d",
34
+ "plugins/_lib/mail/readRuntime.js": "8e0926a9eaf77306f9e5d29c4054f6eaccadcc43b577aa5613b0ac3e6d7f13d6",
35
+ "plugins/_lib/admin/mail/image-senders-section.js": "ea58daf545125890f67956f2ec085d1561c19c06326b24f0c62239a7667ed13d",
36
+ "plugins/_lib/admin/mail/mail.html": "51cd0444c5366508fbea2718bbbdf1d05db15bc5849304899fbc5fddabee39e1",
37
+ "plugins/_lib/admin/mail/section-kit.js": "f44fc2fe4480d162130a752adad65f86c0c94dda14ac43f9257266603ab91706",
38
+ "plugins/_lib/admin/mail/when-closed.js": "87fcce59b8902d955dbb34829e6b7de415832a90af5aa8a49d266e7bed35baeb",
39
+ "plugins/_lib/admin/mail/oauth-panel.js": "d74e3a8bafe76e9887f8db5b1dccbcfd983911423675fb0c49af9a4861fc5ea7",
40
+ "plugins/_lib/admin/mail/rules.js": "d24576253ee85746d5f77b5234373780b2d8ad668e2ce727f5c9a0a927e0a766",
41
+ "plugins/_lib/admin/mail/reader-kit.js": "ab7be9615c126a20cb869b846eab900a20320ef1081ca9874ed05f46e9180894",
42
+ "plugins/_lib/admin/mail/panes.js": "5ff188dc8f9f3d31556767fd919d4bdb19c4fb4fb16ad997edaedf691b380b54",
43
+ "plugins/_lib/admin/mail/contacts.js": "0671e3a25b1485afe037dee79363a7fe3b3f6652378478c0dd2fd1e419d2cf15",
44
+ "plugins/_lib/admin/mail/message-actions.js": "7fb6a3449976ac4189b0acc69f5debe93ab1970bcf84c3d5e917be5b7dc41f67",
45
+ "plugins/_lib/admin/mail/resizable.js": "10aeb297dd84e68ee91b33b7d050fc52ab63ed8ac2e2ebb05730470e3e93820c",
46
+ "plugins/_lib/admin/mail/settings-section.js": "1785688aa9633dc5892cda57a009e057dbf3c3f4a372709013ebb178c0402273",
47
+ "plugins/_lib/admin/mail/compose-window.js": "2b9bb876c700f59c1fc828b0ca1decde4e668ad5c350230b79aba3eb07892068",
48
+ "plugins/_lib/admin/mail/folder-tree.js": "e73cbba1e125b537ce012b1b264dc1469ff649834961d91a9ee2da98db8d7f64",
49
+ "plugins/_lib/admin/mail/body-menu.js": "aaf941842845bd1fafd013c27e947ef8cbd489f585af92709626a2f57a874c27",
50
+ "plugins/_lib/admin/mail/diagnostics-section.js": "e2fa99728932c711064869c62e779a6923c23b007aa30da1a6d39b6bef2b379b",
51
+ "plugins/_lib/admin/mail/drag-drop.js": "89559d320d8f589ea7d4da5050238ebc0ad8042580c8f9ed6d826e5bdbf3d2ab",
52
+ "plugins/_lib/admin/mail/scheduling.js": "dba4c1fde7022c27aa64fd6ff542d0715d5a8b7e46c52170ac02919ed83334d0",
53
+ "plugins/_lib/admin/mail/font-controls.js": "c81566a8e1abeb9e1f96d09f5e5674787a3e358ce775e4917f66552e2b83bbe8",
54
+ "plugins/_lib/admin/mail/fonts.js": "a673c84b419933bc0b4c5977818908506faf38eccaa9b463f3080f1329f0c238",
55
+ "plugins/_lib/admin/mail/keyboard.js": "10404803515819af80cd381c8ec88c9f15f2ca6d2d85ba91021cc167b308220a",
56
+ "plugins/_lib/admin/mail/mail.css": "d8a1c36ce743da9f32fc9ad08e8f4883fd5afd20eb227a41756102e4c0c19878",
57
+ "plugins/_lib/admin/mail/reader-view.js": "1da4f83b0b680e888b5fe3d0339c0a7b1499778c40b75d9048ffaaac1e304b67",
58
+ "plugins/_lib/admin/mail/templates.js": "58ac2f30aaf9980873671b83fca5fd328e8ed258a5e696355b76f71900fbc315",
59
+ "plugins/_lib/admin/mail/security-note.js": "2efa9aeb37dc6608cdef5a5742ca180e9854365ac3bc256088500f6477dc4fdf",
60
+ "plugins/_lib/admin/ui/dates.js": "b44a53de891b9bfc8ccf7dcbf7e711255936460157f17082b29d9b1156f13770",
61
+ "plugins/_lib/mail/compose.js": "2aec4612bde6ab65d28cf32fd9a1ce6cefb77a2c8495094d9156eee341a375df",
62
+ "plugins/_lib/admin/mail/reader-runtime.js": "f20bdd34e5330f9a47199eb48be5699659d3c030ca08fe4c28304b0cbe64532f",
63
+ "plugins/_lib/admin/mail/host-context.js": "47acdeea3722958c316d54bbd536a1d40e3677cb29d9e8cae26d8c7db5a3e410",
64
+ "plugins/_lib/admin/mail/cms-host.js": "185a6b00cd2feaeaecb38890a4d015675362347266a13f39472d59319f6bbb96",
65
+ "plugins/_lib/admin/ui/resizable.js": "e2856b72d091e6b20b8f24a0f193b2a117be5a2c9c14274ccf96f9cfae3aff31",
66
+ "plugins/_lib/mail/store.js": "32be294ac820931b691dfb769fa6ff0be9854fcbf94cda697f9800228e135bff",
67
+ "plugins/_lib/mail/syncSelection.js": "d269f03f1130eecb3e8ed4b04dfbbc142780ab0a65870ece268ba6c5e01e79c7",
68
+ "plugins/_lib/mail/pollerRuntime.js": "b4530cf2ebf84e97d3368d490b345678f125ba5ff9fd64689d0413f5e8206fb5",
69
+ "plugins/_lib/mail/poller.js": "b74d64c0db73b6594bbfdd603b9ae47b39ae150690b37fb648df0f9e6b174bf1",
70
+ "plugins/_lib/mail/syncRuntime.js": "7ec77f97d69028594fb5de9b6d14f81866bed94cc66938cece20741a60449647",
71
+ "plugins/_lib/mail/write.js": "34eb8bc31f02d53f65c316f428ca077aa24b3b7820b0a4df4f3fdf7d90ab05c5",
72
+ "plugins/_lib/admin/mail/restore-spam.js": "fdde685e3cfc909db94805d4b8f9b80c246a1330a8511101d927007ab0bd1fab",
73
+ "plugins/_lib/mail/folders.js": "4c06fd44f35d12bc4b2d1e0947bfde2b3a1dcfe38d80169f20ffd845aff20c35",
74
+ "plugins/_lib/mail/folderActions.js": "d84fd400b23536651120f8dc4f170bd7c28a88ab50ab3631d17859dc12aa36a2",
75
+ "plugins/_lib/mail/folderRuntime.js": "65e246a5ca529ad027c02d61958aff9fd525962ab67f919d2a8df49ee60e7955",
76
+ "plugins/_lib/mail/ruleRunner.js": "225ddbe5b4dc9315c5b4b82d6685afe387188e336e5af1a9133882e0be063f1d",
77
+ "plugins/_lib/mail/schedulerRuntime.js": "2d862c7f5a711c619b7ec231a8f84c7727fabc23dfef9681c9af0dc19055271f",
78
+ "plugins/_lib/mail/snoozeRuntime.js": "04e4f63f15fb222943e8171cdf9a70b9c96ca91cf66aa0d3c1001f6cc0824729",
79
+ "plugins/_lib/mail/vacationRuntime.js": "56252245b1030d4c674a71d1a0ce423341bab6bfe545f8f215f3bfa5d6d9708d",
80
+ "plugins/_lib/mail/mbox.js": "4cef69bfc25ba6de4cb9614a99b947cb9d1432d8f2147f3d035a0ac69b20140d",
81
+ "plugins/_lib/mail/sieve.js": "48d3c5132cbf27c55d55176abc6732d72f1ed072bcf1687dc35a9127b70f7ac8",
82
+ "plugins/_lib/mail/oauthRuntime.js": "877a42fd78ce0191ba91b7e7fbc35da32cd13d42f577a65dddad49c2ec63e2a6",
83
+ "plugins/_lib/mail/oauthRouteRuntime.js": "752f0eec5e8f71dfd0fdcb332fb4e8258650b9ef840986af25d68c6fa6d07ae6",
84
+ "plugins/_lib/mail/oauthAccounts.js": "42642351339f09d9ae62945c8bdf59efebbb541542e8234370e21ab2eefc819c"
85
85
  }
86
86
  }
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/accountFileStore.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/accountFileStore.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {randomUUID} from 'node:crypto';
4
4
  import fs from 'node:fs/promises';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/accountRepository.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/accountRepository.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  export const POLL_INTERVALS = Object.freeze([3, 5, 10, 15]);
4
4
  import {randomUUID} from 'node:crypto';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/accountRoutes.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/accountRoutes.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {MailKeyError} from './secretProvider.js';
4
4
 
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/bodyTokenProvider.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/bodyTokenProvider.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {createHmac, timingSafeEqual} from 'node:crypto';
4
4
 
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/bodyTokens.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/bodyTokens.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** CMS compatibility entry point for the existing iframe grant API. */
4
4
  import {resolveKeySource} from './secretbox.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/compose.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/compose.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Turning a message into a reply, and a reply into something sendable.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/defaults.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/defaults.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Reading defaults, shared by every edition.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/envelope.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/envelope.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The shape the mirror holds one message in.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/folderActions.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/folderActions.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Whole-folder operations use a snapshot of UIDs, never the visible page or a moving '*'. */
4
4
  import {moveBulk, setFlagsBulk} from './write.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/folderRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/folderRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Portable folder operations. Hosts supply ownership, serialization and metadata updates. */
4
4
  import {validateFolderName, buildFolderPath, renameTarget, canModifyFolder, descendantsOf, moveTarget, resolveSubscriptions} from './folders.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/folders.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/folders.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {resolveSubscriptions} from './subscriptions.js';
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/imapPoolRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/imapPoolRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * IMAP connection pool for the Mail Reader plugin.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/mbox.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/mbox.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Exporting a folder as mbox.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/message-action.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/message-action.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Remember replies and forwards on the original message after delivery. */
4
4
  export const SOURCE_HEADER = 'X-Domma-Message-Source';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/messageSecurity.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/messageSecurity.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {createMessageSecurity} from './messageSecurityProvider.js';
4
4
  export const {setMessageSecurity, canProtect, protectRaw, protectDraftRaw, unwrapRaw, parseReadable} = createMessageSecurity();
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/messageSecurityProvider.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/messageSecurityProvider.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Where signing and encryption plug into the mail core.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/networkAddresses.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/networkAddresses.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Address classification from the CMS outbound policy, MIT licensed. */
4
4
  import net from 'node:net';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/networkPolicy.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/networkPolicy.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import dns from 'node:dns/promises';
4
4
  import net from 'node:net';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/oauthAccounts.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/oauthAccounts.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {randomUUID} from 'node:crypto';
4
4
  import {MailKeyError} from './secretProvider.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/oauthRouteRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/oauthRouteRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The OAuth2 sign-in routes for mailboxes: Connect, the provider's callback,
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/oauthRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/oauthRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * OAuth2 sign-in for mailboxes (XOAUTH2) - Microsoft 365 / Outlook.com and Gmail.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/pollSchedule.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/pollSchedule.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Deciding which mailboxes are due a poll.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/poller.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/poller.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Compatibility entry point for the shared mail poller. */
4
4
  export {createPoller} from './pollerRuntime.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/pollerRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/pollerRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The background poller.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/priority.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/priority.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * How urgent a sender said a message was.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/publicMailbox.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/publicMailbox.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** Standalone mailbox summary. Explicit fields keep credentials out of responses. */
4
4
  export function publicMailbox(account) {
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/readRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/readRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {registerAccountRoutes} from './accountRoutes.js';
4
4
  import {ENVELOPE_QUERY, hasAttachment, parseHeaderBlock} from './envelope.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/render.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/render.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Message rendering for the Mail Reader plugin.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/ruleRunner.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/ruleRunner.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Carrying out what the rules decided.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/schedulerRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/schedulerRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The worker behind "send later", "undo send" and "snooze".
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/secretProvider.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/secretProvider.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {createCipheriv, createDecipheriv, createHash, randomBytes, scryptSync} from 'node:crypto';
4
4
  import fs from 'node:fs';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/secretbox.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/secretbox.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** CMS compatibility entry point. Standalone hosts create their own secret box. */
4
4
  import path from 'node:path';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/senderAuth.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/senderAuth.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Did this message really come from the address in its From line?
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/sieve.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/sieve.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /** ManageSieve (RFC 5804). One bounded, TLS-verified session per operation. */
4
4
  import net from 'node:net';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/smtpService.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/smtpService.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Sending, and keeping a copy where the rest of your clients will find it.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/snoozeRuntime.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/snoozeRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {safeWritePool, moveMessage} from './write.js';
4
4
 
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/store.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/store.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The synchronised message store.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/subscriptions.js.
1
+ // Source: @domma-mail/core 0.27.0, packages/core/src/mail/subscriptions.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  export function resolveSubscriptions(boxes) {
4
4
  const list = boxes ?? [];