domma-cms 1.66.2 → 1.66.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.
Files changed (96) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/admin/css/shared/tools.css +1 -0
  3. package/admin/js/lib/help-popover.js +1 -1
  4. package/admin/js/lib/loading.js +1 -1
  5. package/admin/js/lib/shared/contacts-view.js +33 -33
  6. package/admin/js/lib/shared/help-popover-runtime.js +1 -0
  7. package/admin/js/lib/shared/loading-runtime.js +1 -0
  8. package/admin/js/lib/shared/tool-kit-runtime.js +1 -0
  9. package/admin/js/lib/shared/tool-recovery-runtime.js +12 -0
  10. package/admin/js/lib/tool-kit.js +1 -1
  11. package/admin/js/lib/tool-recovery.js +1 -12
  12. package/admin/js/templates/contacts.html +2 -1
  13. package/docs/DommaFeatures.md +1 -1
  14. package/package.json +1 -1
  15. package/plugins/_lib/admin/mail/body-menu.js +1 -1
  16. package/plugins/_lib/admin/mail/cms-host.js +1 -1
  17. package/plugins/_lib/admin/mail/compose-window.js +1 -1
  18. package/plugins/_lib/admin/mail/contacts.js +1 -1
  19. package/plugins/_lib/admin/mail/diagnostics-section.js +1 -1
  20. package/plugins/_lib/admin/mail/drag-drop.js +1 -1
  21. package/plugins/_lib/admin/mail/folder-tree.js +1 -1
  22. package/plugins/_lib/admin/mail/font-controls.js +1 -1
  23. package/plugins/_lib/admin/mail/fonts.js +1 -1
  24. package/plugins/_lib/admin/mail/host-context.js +1 -1
  25. package/plugins/_lib/admin/mail/identity.js +1 -1
  26. package/plugins/_lib/admin/mail/image-senders-section.js +1 -1
  27. package/plugins/_lib/admin/mail/keyboard.js +1 -1
  28. package/plugins/_lib/admin/mail/mail.html +1 -1
  29. package/plugins/_lib/admin/mail/message-actions.js +1 -1
  30. package/plugins/_lib/admin/mail/oauth-panel.js +1 -1
  31. package/plugins/_lib/admin/mail/panes.js +1 -1
  32. package/plugins/_lib/admin/mail/reader-kit.js +1 -1
  33. package/plugins/_lib/admin/mail/reader-runtime.js +3 -1
  34. package/plugins/_lib/admin/mail/reader-view.js +1 -1
  35. package/plugins/_lib/admin/mail/resizable.js +1 -1
  36. package/plugins/_lib/admin/mail/restore-spam.js +1 -1
  37. package/plugins/_lib/admin/mail/rules.js +1 -1
  38. package/plugins/_lib/admin/mail/scheduling.js +1 -1
  39. package/plugins/_lib/admin/mail/section-kit.js +1 -1
  40. package/plugins/_lib/admin/mail/security-note.js +1 -1
  41. package/plugins/_lib/admin/mail/settings-section.js +1 -1
  42. package/plugins/_lib/admin/mail/templates.js +1 -1
  43. package/plugins/_lib/admin/mail/threads.js +1 -1
  44. package/plugins/_lib/admin/mail/vacation.js +1 -1
  45. package/plugins/_lib/admin/mail/when-closed.js +1 -1
  46. package/plugins/_lib/admin/ui/dates.js +1 -1
  47. package/plugins/_lib/admin/ui/resizable.js +1 -1
  48. package/plugins/_lib/contacts/mailContact.js +31 -4
  49. package/plugins/_lib/contacts/model.js +1 -1
  50. package/plugins/_lib/domma-mail-contacts.lock.json +16 -7
  51. package/plugins/_lib/domma-mail.lock.json +80 -80
  52. package/plugins/_lib/mail/accountFileStore.js +1 -1
  53. package/plugins/_lib/mail/accountRepository.js +1 -1
  54. package/plugins/_lib/mail/accountRoutes.js +1 -1
  55. package/plugins/_lib/mail/bodyTokenProvider.js +1 -1
  56. package/plugins/_lib/mail/bodyTokens.js +1 -1
  57. package/plugins/_lib/mail/compose.js +1 -1
  58. package/plugins/_lib/mail/defaults.js +1 -1
  59. package/plugins/_lib/mail/envelope.js +1 -1
  60. package/plugins/_lib/mail/folderActions.js +1 -1
  61. package/plugins/_lib/mail/folderRuntime.js +1 -1
  62. package/plugins/_lib/mail/folders.js +1 -1
  63. package/plugins/_lib/mail/imapPoolRuntime.js +1 -1
  64. package/plugins/_lib/mail/mbox.js +1 -1
  65. package/plugins/_lib/mail/message-action.js +1 -1
  66. package/plugins/_lib/mail/messageSecurity.js +1 -1
  67. package/plugins/_lib/mail/messageSecurityProvider.js +1 -1
  68. package/plugins/_lib/mail/networkAddresses.js +1 -1
  69. package/plugins/_lib/mail/networkPolicy.js +1 -1
  70. package/plugins/_lib/mail/oauthAccounts.js +1 -1
  71. package/plugins/_lib/mail/oauthRouteRuntime.js +1 -1
  72. package/plugins/_lib/mail/oauthRuntime.js +1 -1
  73. package/plugins/_lib/mail/pollSchedule.js +1 -1
  74. package/plugins/_lib/mail/poller.js +1 -1
  75. package/plugins/_lib/mail/pollerRuntime.js +1 -1
  76. package/plugins/_lib/mail/priority.js +1 -1
  77. package/plugins/_lib/mail/publicMailbox.js +1 -1
  78. package/plugins/_lib/mail/readRuntime.js +1 -1
  79. package/plugins/_lib/mail/render.js +1 -1
  80. package/plugins/_lib/mail/ruleRunner.js +1 -1
  81. package/plugins/_lib/mail/schedulerRuntime.js +1 -1
  82. package/plugins/_lib/mail/secretProvider.js +1 -1
  83. package/plugins/_lib/mail/secretbox.js +1 -1
  84. package/plugins/_lib/mail/senderAuth.js +1 -1
  85. package/plugins/_lib/mail/sieve.js +1 -1
  86. package/plugins/_lib/mail/smtpService.js +1 -1
  87. package/plugins/_lib/mail/snoozeRuntime.js +1 -1
  88. package/plugins/_lib/mail/store.js +1 -1
  89. package/plugins/_lib/mail/subscriptions.js +1 -1
  90. package/plugins/_lib/mail/syncPlan.js +1 -1
  91. package/plugins/_lib/mail/syncRuntime.js +1 -1
  92. package/plugins/_lib/mail/syncSelection.js +1 -1
  93. package/plugins/_lib/mail/unreadBadge.js +1 -1
  94. package/plugins/_lib/mail/unsubscribe.js +1 -1
  95. package/plugins/_lib/mail/vacationRuntime.js +1 -1
  96. package/plugins/_lib/mail/write.js +1 -1
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/messageSecurity.js.
1
+ // Source: @domma-mail/core 0.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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 ?? [];
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/syncPlan.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/syncPlan.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Deciding what a folder sync needs to do.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/syncRuntime.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/syncRuntime.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  import {missingUids, planFolderSync} from './syncPlan.js';
4
4
  import {resolveSyncFolders} from './syncSelection.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/syncSelection.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/syncSelection.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Which folders a mailbox keeps mirrored.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/unreadBadge.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/unreadBadge.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * The free reader's sidebar badge - unread mail in each mailbox's INBOX.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/unsubscribe.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/unsubscribe.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Getting off a mailing list.
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/vacationRuntime.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/vacationRuntime.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 {autoReplyHeaders, isActive, normaliseVacation, replySubject, shouldAutoReply, replyHistory} from '../admin/mail/vacation.js';
@@ -1,4 +1,4 @@
1
- // Source: @domma-mail/core 0.26.2, packages/core/src/mail/write.js.
1
+ // Source: @domma-mail/core 0.28.0, packages/core/src/mail/write.js.
2
2
  // Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
3
3
  /**
4
4
  * Changing mail, rather than reading it.