domma-cms 1.75.0 → 1.75.2
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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/plugins/_lib/admin/mail/body-menu.js +1 -1
- package/plugins/_lib/admin/mail/cms-host.js +1 -1
- package/plugins/_lib/admin/mail/compose-window.js +4 -2
- package/plugins/_lib/admin/mail/contacts.js +1 -1
- package/plugins/_lib/admin/mail/diagnostics-section.js +1 -1
- package/plugins/_lib/admin/mail/drag-drop.js +1 -1
- package/plugins/_lib/admin/mail/folder-tree.js +1 -1
- package/plugins/_lib/admin/mail/font-controls.js +1 -1
- package/plugins/_lib/admin/mail/fonts.js +1 -1
- package/plugins/_lib/admin/mail/host-context.js +1 -1
- package/plugins/_lib/admin/mail/identity.js +1 -1
- package/plugins/_lib/admin/mail/image-senders-section.js +1 -1
- package/plugins/_lib/admin/mail/keyboard.js +1 -1
- package/plugins/_lib/admin/mail/mail.html +1 -1
- package/plugins/_lib/admin/mail/message-actions.js +1 -1
- package/plugins/_lib/admin/mail/oauth-panel.js +1 -1
- package/plugins/_lib/admin/mail/panes.js +1 -1
- package/plugins/_lib/admin/mail/reader-kit.js +1 -1
- package/plugins/_lib/admin/mail/reader-runtime.js +4 -2
- package/plugins/_lib/admin/mail/reader-view.js +1 -1
- package/plugins/_lib/admin/mail/resizable.js +1 -1
- package/plugins/_lib/admin/mail/restore-spam.js +1 -1
- package/plugins/_lib/admin/mail/rules.js +1 -1
- package/plugins/_lib/admin/mail/scheduling.js +1 -1
- package/plugins/_lib/admin/mail/section-kit.js +1 -1
- package/plugins/_lib/admin/mail/security-note.js +1 -1
- package/plugins/_lib/admin/mail/settings-section.js +1 -1
- package/plugins/_lib/admin/mail/templates.js +1 -1
- package/plugins/_lib/admin/mail/threads.js +1 -1
- package/plugins/_lib/admin/mail/vacation.js +1 -1
- package/plugins/_lib/admin/mail/when-closed.js +1 -1
- package/plugins/_lib/admin/ui/dates.js +1 -1
- package/plugins/_lib/admin/ui/resizable.js +1 -1
- package/plugins/_lib/admin/ui/rich-field.js +1 -1
- package/plugins/_lib/domma-mail.lock.json +83 -83
- package/plugins/_lib/mail/accountFileStore.js +1 -1
- package/plugins/_lib/mail/accountRepository.js +1 -1
- package/plugins/_lib/mail/accountRoutes.js +1 -1
- package/plugins/_lib/mail/bodyTokenProvider.js +1 -1
- package/plugins/_lib/mail/bodyTokens.js +1 -1
- package/plugins/_lib/mail/compose.js +1 -1
- package/plugins/_lib/mail/defaults.js +1 -1
- package/plugins/_lib/mail/envelope.js +1 -1
- package/plugins/_lib/mail/folderActions.js +1 -1
- package/plugins/_lib/mail/folderRuntime.js +1 -1
- package/plugins/_lib/mail/folders.js +1 -1
- package/plugins/_lib/mail/imapPoolRuntime.js +1 -1
- package/plugins/_lib/mail/mbox.js +1 -1
- package/plugins/_lib/mail/message-action.js +1 -1
- package/plugins/_lib/mail/messageSecurity.js +1 -1
- package/plugins/_lib/mail/messageSecurityProvider.js +1 -1
- package/plugins/_lib/mail/networkAddresses.js +1 -1
- package/plugins/_lib/mail/networkPolicy.js +1 -1
- package/plugins/_lib/mail/oauthAccounts.js +1 -1
- package/plugins/_lib/mail/oauthRouteRuntime.js +1 -1
- package/plugins/_lib/mail/oauthRuntime.js +1 -1
- package/plugins/_lib/mail/pollSchedule.js +1 -1
- package/plugins/_lib/mail/poller.js +1 -1
- package/plugins/_lib/mail/pollerRuntime.js +1 -1
- package/plugins/_lib/mail/priority.js +1 -1
- package/plugins/_lib/mail/publicMailbox.js +1 -1
- package/plugins/_lib/mail/readRuntime.js +1 -1
- package/plugins/_lib/mail/render.js +1 -1
- package/plugins/_lib/mail/ruleRunner.js +1 -1
- package/plugins/_lib/mail/schedulerRuntime.js +1 -1
- package/plugins/_lib/mail/secretProvider.js +1 -1
- package/plugins/_lib/mail/secretbox.js +1 -1
- package/plugins/_lib/mail/senderAuth.js +1 -1
- package/plugins/_lib/mail/sieve.js +1 -1
- package/plugins/_lib/mail/smtpService.js +24 -3
- package/plugins/_lib/mail/snoozeRuntime.js +1 -1
- package/plugins/_lib/mail/store.js +1 -1
- package/plugins/_lib/mail/subscriptions.js +1 -1
- package/plugins/_lib/mail/syncPlan.js +1 -1
- package/plugins/_lib/mail/syncRuntime.js +1 -1
- package/plugins/_lib/mail/syncSelection.js +1 -1
- package/plugins/_lib/mail/unreadBadge.js +1 -1
- package/plugins/_lib/mail/unsubscribe.js +1 -1
- package/plugins/_lib/mail/vacationRuntime.js +1 -1
- package/plugins/_lib/mail/write.js +1 -1
- package/plugins/_lib/public/rich-text.mjs +1 -1
- package/plugins/_lib/rich-text.js +1 -1
- package/server/services/plugins.js +29 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.75.2] - 2026-11-18
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **Manager-only plugins stay off sites.** A plugin whose plugin.json says `"managerOnly": true` (Site Manager, Customer Registration, Site Wizard) is skipped on a site the Manager runs, or anywhere without Site Manager beside it. A stray copy is not listed, enabled or loaded, and gets no collections, forms or pages. Before this, a hand-copied Site Wizard switched on in a site would still create its SiteDesigns collection.
|
|
8
|
+
|
|
9
|
+
## [1.75.1] - 2026-11-18
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Email: drafts keep their branding** (Domma Mail core 0.34.1). A saved draft keeps an edition's private X-Domma-* headers, so Email Pro reopens it with the branding you picked. Changing an edition's compose fields now counts as an unsaved change.
|
|
14
|
+
|
|
3
15
|
## [1.75.0] - 2026-11-17
|
|
4
16
|
|
|
5
17
|
### Added
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/body-menu.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The reading pane's right-click menu - the pure parts.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/cms-host.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** The CMS shell boundary. Standalone never imports this adapter. */
|
|
4
4
|
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/compose-window.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
const {createMailHost} = await import(new URL(`./host-context.js?v=${MAIL_MODULE_VERSION}`, import.meta.url).href);
|
|
@@ -675,7 +675,9 @@ export function createComposeWindow(mailHost) {
|
|
|
675
675
|
function snapshot() {
|
|
676
676
|
const current = editor ? editor.getText() : bodyInput.value;
|
|
677
677
|
return JSON.stringify([subjectInput.value.trim(), current.trim(), toInput.value.trim(),
|
|
678
|
-
ccInput.value.trim(), bccInput.value.trim(), attachments.peek().length
|
|
678
|
+
ccInput.value.trim(), bccInput.value.trim(), attachments.peek().length,
|
|
679
|
+
// An edition's fields too (Email Pro's branding), so choosing one counts as a change.
|
|
680
|
+
extensionFields()]);
|
|
679
681
|
}
|
|
680
682
|
let savedSnapshot = null; // set once the window is built (below)
|
|
681
683
|
// The last state written to Drafts by either kind of save, so the timer
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/contacts.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Recipient suggestions from the host address book.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/diagnostics-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The settings section that answers "which build is this, and what went wrong".
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/drag-drop.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Drag identities include the mailbox and source folder: UIDs alone are not unique. */
|
|
4
4
|
const PROTECTED_USES = new Set(['\\Inbox', '\\Sent', '\\Drafts', '\\Trash', '\\Junk', '\\Archive', '\\All', '\\Flagged']);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/folder-tree.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Mail folder presentation, shared by the Mail Reader and Email Pro.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/font-controls.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/fonts.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The fonts and sizes the mail editor offers - pure, so both the compose
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/host-context.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Services supplied by the application that hosts the shared mail interface. */
|
|
4
4
|
export function createMailApi({getToken, fetch: request = globalThis.fetch, onUnauthorized = () => {}}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/identity.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Who a mailbox sends as, and what it signs off with.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/image-senders-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The settings section for senders whose images always load.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/keyboard.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Keyboard navigation for the reader.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/message-actions.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* What other Tools add to a message's menu - Booking's "Book Sam...".
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/oauth-panel.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* "Sign in with Microsoft / Google" for a mailbox - the part of the mailbox
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/panes.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Pane sizing for the mail reader, shared by the Mail Reader and Email Pro.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/reader-kit.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The reader view's decisions that need no DOM - escaping, the mailbox form's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/reader-runtime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
const {createMailHost} = await import(new URL(`./host-context.js?v=${MAIL_MODULE_VERSION}`, import.meta.url).href);
|
|
@@ -120,7 +120,9 @@ function formatSize(bytes) {
|
|
|
120
120
|
* - `compose(context)` -> `{fields?(), identityChanged?(identity),
|
|
121
121
|
* recipientsChanged?(recipients), preview?(message), close?()}`, an edition's part of every
|
|
122
122
|
* compose window: it may draw into `context.slot` (shown with
|
|
123
|
-
* `context.show()`), and `fields()` is added to what Save and Send post
|
|
123
|
+
* `context.show()`), and `fields()` is added to what Save and Send post (and counts
|
|
124
|
+
* towards "changed"; a reopened draft brings back only what the edition's server
|
|
125
|
+
* stored, e.g. as a private header through `saveDraft({headers})`, into `context.draft`).
|
|
124
126
|
* `context.identities` / `setIdentity(id)` / `hideFrom()` let it offer the senders itself.
|
|
125
127
|
* `preview(message)` -> `{html, note?}`: the message as the edition would send it, for the
|
|
126
128
|
* compose window's Preview (without it, Preview shows the message as written).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/reader-view.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Existing CMS entry point for the shared mail view. */
|
|
4
4
|
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/resizable.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The mail reader's resizable slideovers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/restore-spam.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Undo restores both junk status and the original folder, following each UID remap. */
|
|
4
4
|
export async function restoreSpam({api, base, account, from, destination, uids, spam}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/scheduling.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/section-kit.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/security-note.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* What the reader says about a signed or encrypted (S/MIME) message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/settings-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Browser preferences for the shared mail reader. */
|
|
4
4
|
export const READ_DELAY_KEY = 'domma-mail.mark-read-seconds';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/templates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/threads.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Grouping messages into conversations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/mail/vacation.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The automatic reply, and everything that must stop it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/admin/ui/rich-field.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* A Description field as a rich text editor, and a description shown in the admin.
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.34.
|
|
4
|
+
"version": "0.34.1",
|
|
5
5
|
"files": {
|
|
6
|
-
"plugins/_lib/mail/defaults.js": "
|
|
7
|
-
"plugins/_lib/mail/priority.js": "
|
|
8
|
-
"plugins/_lib/mail/envelope.js": "
|
|
9
|
-
"plugins/_lib/mail/pollSchedule.js": "
|
|
10
|
-
"plugins/_lib/mail/syncPlan.js": "
|
|
11
|
-
"plugins/_lib/admin/mail/threads.js": "
|
|
12
|
-
"plugins/_lib/admin/mail/vacation.js": "
|
|
13
|
-
"plugins/_lib/mail/secretProvider.js": "
|
|
14
|
-
"plugins/_lib/mail/secretbox.js": "
|
|
15
|
-
"plugins/_lib/mail/bodyTokenProvider.js": "
|
|
16
|
-
"plugins/_lib/mail/bodyTokens.js": "
|
|
17
|
-
"plugins/_lib/mail/accountFileStore.js": "
|
|
18
|
-
"plugins/_lib/mail/accountRepository.js": "
|
|
19
|
-
"plugins/_lib/mail/accountRoutes.js": "
|
|
20
|
-
"plugins/_lib/mail/networkAddresses.js": "
|
|
21
|
-
"plugins/_lib/mail/networkPolicy.js": "
|
|
22
|
-
"plugins/_lib/mail/imapPoolRuntime.js": "
|
|
23
|
-
"plugins/_lib/mail/publicMailbox.js": "
|
|
24
|
-
"plugins/_lib/mail/render.js": "
|
|
25
|
-
"plugins/_lib/mail/unsubscribe.js": "
|
|
26
|
-
"plugins/_lib/mail/unreadBadge.js": "
|
|
27
|
-
"plugins/_lib/mail/message-action.js": "
|
|
28
|
-
"plugins/_lib/admin/mail/identity.js": "
|
|
29
|
-
"plugins/_lib/mail/messageSecurityProvider.js": "
|
|
30
|
-
"plugins/_lib/mail/messageSecurity.js": "
|
|
31
|
-
"plugins/_lib/mail/smtpService.js": "
|
|
32
|
-
"plugins/_lib/mail/subscriptions.js": "
|
|
33
|
-
"plugins/_lib/mail/senderAuth.js": "
|
|
34
|
-
"plugins/_lib/mail/readRuntime.js": "
|
|
35
|
-
"plugins/_lib/admin/mail/image-senders-section.js": "
|
|
36
|
-
"plugins/_lib/admin/mail/mail.html": "
|
|
37
|
-
"plugins/_lib/admin/mail/section-kit.js": "
|
|
38
|
-
"plugins/_lib/admin/mail/when-closed.js": "
|
|
39
|
-
"plugins/_lib/admin/mail/oauth-panel.js": "
|
|
40
|
-
"plugins/_lib/admin/mail/rules.js": "
|
|
41
|
-
"plugins/_lib/admin/mail/reader-kit.js": "
|
|
42
|
-
"plugins/_lib/admin/mail/panes.js": "
|
|
43
|
-
"plugins/_lib/admin/mail/contacts.js": "
|
|
44
|
-
"plugins/_lib/admin/mail/message-actions.js": "
|
|
45
|
-
"plugins/_lib/admin/mail/resizable.js": "
|
|
46
|
-
"plugins/_lib/admin/mail/settings-section.js": "
|
|
47
|
-
"plugins/_lib/admin/mail/compose-window.js": "
|
|
48
|
-
"plugins/_lib/admin/mail/folder-tree.js": "
|
|
49
|
-
"plugins/_lib/admin/mail/body-menu.js": "
|
|
50
|
-
"plugins/_lib/admin/mail/diagnostics-section.js": "
|
|
51
|
-
"plugins/_lib/admin/mail/drag-drop.js": "
|
|
52
|
-
"plugins/_lib/admin/mail/scheduling.js": "
|
|
53
|
-
"plugins/_lib/admin/mail/font-controls.js": "
|
|
54
|
-
"plugins/_lib/admin/mail/fonts.js": "
|
|
55
|
-
"plugins/_lib/admin/mail/keyboard.js": "
|
|
56
|
-
"plugins/_lib/admin/mail/mail.css": "
|
|
57
|
-
"plugins/_lib/admin/mail/reader-view.js": "
|
|
58
|
-
"plugins/_lib/admin/mail/templates.js": "
|
|
59
|
-
"plugins/_lib/admin/mail/security-note.js": "
|
|
60
|
-
"plugins/_lib/admin/ui/dates.js": "
|
|
61
|
-
"plugins/_lib/mail/compose.js": "
|
|
62
|
-
"plugins/_lib/admin/mail/reader-runtime.js": "
|
|
63
|
-
"plugins/_lib/admin/mail/host-context.js": "
|
|
64
|
-
"plugins/_lib/admin/mail/cms-host.js": "
|
|
65
|
-
"plugins/_lib/admin/ui/resizable.js": "
|
|
66
|
-
"plugins/_lib/mail/store.js": "
|
|
67
|
-
"plugins/_lib/mail/syncSelection.js": "
|
|
68
|
-
"plugins/_lib/mail/pollerRuntime.js": "
|
|
69
|
-
"plugins/_lib/mail/poller.js": "
|
|
70
|
-
"plugins/_lib/mail/syncRuntime.js": "
|
|
71
|
-
"plugins/_lib/mail/write.js": "
|
|
72
|
-
"plugins/_lib/admin/mail/restore-spam.js": "
|
|
73
|
-
"plugins/_lib/mail/folders.js": "
|
|
74
|
-
"plugins/_lib/mail/folderActions.js": "
|
|
75
|
-
"plugins/_lib/mail/folderRuntime.js": "
|
|
76
|
-
"plugins/_lib/mail/ruleRunner.js": "
|
|
77
|
-
"plugins/_lib/mail/schedulerRuntime.js": "
|
|
78
|
-
"plugins/_lib/mail/snoozeRuntime.js": "
|
|
79
|
-
"plugins/_lib/mail/vacationRuntime.js": "
|
|
80
|
-
"plugins/_lib/mail/mbox.js": "
|
|
81
|
-
"plugins/_lib/mail/sieve.js": "
|
|
82
|
-
"plugins/_lib/mail/oauthRuntime.js": "
|
|
83
|
-
"plugins/_lib/mail/oauthRouteRuntime.js": "
|
|
84
|
-
"plugins/_lib/mail/oauthAccounts.js": "
|
|
85
|
-
"plugins/_lib/public/rich-text.mjs": "
|
|
86
|
-
"plugins/_lib/rich-text.js": "
|
|
87
|
-
"plugins/_lib/admin/ui/rich-field.js": "
|
|
6
|
+
"plugins/_lib/mail/defaults.js": "4df52ee5d8f1324f954dc0d679dc89a31783813d9ce3d5524c675fd03f746d49",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "44443cd31324e35e8aba87ff313da055c3116aa7f05ee6bbbf561ec472782b28",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "00e61f97f2138af2ed982ae43302d2ac9e347fd085d9e7917a1043cfc5d8f1fc",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "d5a56ca9990c10fa0871fead56f613ab454e0547e8e1956647491526039e3e3d",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "6e96c599994cda3c3c13c41426e99bcecb9a7622d479f4e8c623fc526c18f077",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "bd5bf38d117525157480acb2691ba1ac6009cf3cf9279f3a256b848eda56b193",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "451da4dab55dcf4a86b1c4b378192dc0e891317f3fed9dac26fe0f7ddd64e6d7",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "58161b46d0fad664ab1deb49f23e76cab31f9b87fac52322adaf64bf1667fe8a",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "8f7e37d10801f7624cef39d5009bdab21e4a71ad5f22ded90a5ebb083493c052",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "e0c8b82b16c5be309494b1147562da077abe6b9017175097ca759977526ddabd",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "97f004516b775d62a0ef91c2e2b72cd0f2154560137268ea8b32a27f0050823c",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "aff08610c5df04ccefdb6cf2be0033c1b92f533775e7ccd404b895d56b00980c",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "59819ea4b938d77c27c8ab8d4f73a1814a45ffc22cc650d6724b6f912fa68735",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "144e135c0d09611f9adcb28f355b64ee66b2b5c68430348fcd40c243f71e99f0",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "2b8bc5c1cb4a186c35445d29b8e0a62764cc2b65745fa166d75e020cd94e54f1",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "061c1846e4c9dd6567f31e4a478c2062c3471d14093cb2e414d445da1c0eaf8c",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "f89f12008a5ee3258717a268edf4631e2ac9b736fa8b2b49dbd2c0d1fea42db7",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "118dc56b4ad5a567a9a13813f0b7595f9a85cfa07d63b3e7a3c8c5d9a143a709",
|
|
24
|
+
"plugins/_lib/mail/render.js": "2ab317429cdc78064d55b43e3a6eccce9e1f1ead60c89328f021298e6b1559b2",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "6bc8cdbc2811481669d25445a402470a3f6013701c5fc51aceeff7b95d37df9b",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "22bbae1d81ee8cce5ebc9385eca2edbbda2db3bd49b994ce0e631300898de622",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "044efd55a166a77e5b3e9bb4292cbe49fed23c950b4ca638721815cfb0897956",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "eea084a94c744c77b788f37219e907055cc1a21758c73397b988c37e16e0b5ee",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "1b44c10887cf043ece72eb6fe6b60c03e6997bfc2c01f397013b5de5b292dad8",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "aad372453958ca98aedbb943e8e1b601b5099d3da7e1e72f5eec13e19a87147f",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "d42c5e8918cae1a7175c0e44191c32b81315cabc1e45ce36e5c24d0117782d20",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "fcab80c11542e7f54c19cef0e40fe4d6a73a4d27e26615eabee61f562214a0f9",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "18e28581f585fe00fd0016120f95fcca22b649ffc544407eebb5d404882c19b0",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "114d15df6f4275d96b44d1a36825b7416da141ec0c6cabb36b7470468bbde76e",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "e6b796d45ee7b2b0aaba09e52f02d86c70798bf437088670e01da7a2738a5c8b",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "6e82740dffd0bb3a211aba038faa2d9d55363f2b933016ebd50c5a6e87be4b66",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "26d89b854f73fa3e53c16d89b6b06488367a0793636833a8dd9c0af656668842",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "85c39ecb38691c013a1ab0183be701895714aea149ccacefe9f339f2c645aa88",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "d6162ac6b24385cb1428082a34c8f8b4d0874dd35a7ee7e9a262b782787aa9cf",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "d6424b513016c0e43df48b4372ae504934e8044f541e546b0be12819471fcea9",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "f3a5395fb08d2eb778f249cc62783ff0d8402499a0f78bb4eb790e50edc3338c",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "060eccb9d49413f2209bdb1cb1781a4a5810622677d92b06598accb189eb9ca5",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "eaed90160f0185a75fc0df9f3bd87b3c331a8b810bc66a93342db5e7487883e9",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "080aa200d5a6eaa346862f95feae50b061cfe3cd2e4df6ae96f9872665498bfc",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "e7f922b87f3e9143484f4925b3cf12b57840c340f699f7bf7d72fca419cd4cf0",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "f7d3dc9c6d67b6e7e0fe22f428bb04c876ed91a41920b584325487d6b4684472",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "cf8eb2761e1db4a475764280ac9ed634da9d468a2cb00403ceec2e9f4b4aafa5",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "159d99e526dd4b301d4338cd22085275831e2c7fc5d429d3de4a00c4fd487416",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "f00b54006ecf2c69df8b8c023cd890d91d916a45ae44e87f2fabd667c6fb50ef",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "380c31a42067c3d4941e2e42a4cf59292cc549d7be7bbb4f2c48bee47e10a6a0",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "8a4b23e6e6425fa150f5bd1dfcc3750ee77aa170d2447524fdde8cb870669ddb",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "f253e2957e692663be5efb0c72e1d9bfc3f44ff3dbf1255d5e49ed03a8e64fbc",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "fcf2a0a839a6771689b152b63028d6d6b8836fb28e78716db79bdff870f82a4c",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "4b39032f69b05a18fcbc564ba2df1fcbde659299234005811f89c3e38c400feb",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "ebecf483f08a9e6e2562902590b4d8c6af35ac49df2366916b126895b575b629",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "fe963b7ad5eb11ee4aa4937778341f44f689ea872cd1cc8ed84f744ceef5c5f4",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "998771f1e4221b1213ee3d297a1a6cfbb8aac4654fff64aa3508b0b13f78601a",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "d458549131a1c5b72e7ddc13b3599b909c5e04869cf5c3b0e1ed74bf0796e122",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "19149183e388bcee8825091bb1d8208e165643d7004859555188ae6b482587de",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "0df52c71a7fbb95e5501969b5906dcf00f60371d980634428c59ba3c22da3f50",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "5503ff0d69b1bd5bb6336097c743b6f922955dc049a3d6d1a1943df1146dce0c",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "d83cce1f72b0b1cafc7025de308fa79d1e0cdb40de7ed0460dea4ccfcc7b05e4",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "678f832dde7e36f2f47b29cac0a8aff9813b0bb8756045c8c385c188e538470a",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "a85ad28fc0cc0a3fe8ebc2cf16405338160f9168fe1acc0464b791faba4fe555",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "459b5e62693ff21e6a5df6d572ad9acf543048ef8c2af86797e8bdaca9afa340",
|
|
66
|
+
"plugins/_lib/mail/store.js": "80a634cace0e5142b5922451b8e66fdbbf67cb8883356d09cd2842544b27bb0c",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "4a57b7a1a02e4fff5ce1a99f9aded11f97abb5dbf33b2a36567d21a2a3324c56",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "bf0128c08d530b1a8069c1fa45a6ffefc08a29ef2e95ba17e14e09443f044e4e",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "225868449d6387ebdfbf47256d3f9727485fc37947d74a5a2b4feed26f08e538",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "f66d12ab122f1fce3fc31058d5febdd64e5ba72a3f651b3c4edc53880dea3c1d",
|
|
71
|
+
"plugins/_lib/mail/write.js": "07ac06e3017d7317d4f77afc922ca514368aecdf6465fe9568c8c04ce27a2bba",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "ad205f533834f50c0761cc96a16aaf789c3ef80ae93394e50bb0c8bf94f04833",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "50104618551cc3160af8f8e5f5ec8af343db8d1088e6f74e8acd98c60621896e",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "4d78f7572da26541a5a79989458dae2b1841875efdc2d71ea941ecc023a04f0f",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "1f13128e9aab6e5f372d5c10ee8fb42952c0473c0f5536d9da5cd07b3c8cbf18",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "494642ebc0619d116b183a500ae8b45326e34a7938011a9a6f53da1b4c84338b",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "a31d4d67d0658ea5b142e0a0523b34c97232ebc660e7e8653ef8cb1cf0756803",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "be716fdcc9f086a3d62476b391ca65a888daa3a9ed60620586c4acbfff8cfac9",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "6f0f97243733a8d844f79cfcb24a7f372897196c9d1130312506a7479286ef9b",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "efb4d13fd13a98b258af32a8e3e89786beeaae470dbb648459e807617a560796",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "821730dbc7ded49e83c978be329a580d05317bdb2f4f061dbeeb585b78beb3b5",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "adbac9bcae52e63a1c097ccbafdbf54dc487fe21751328e81ce166defd2193a8",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "6c5ddd985e1663874c9dc3dab75b3f2a1af5e5900456f34eecc54eaaf3c3e43b",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "8db9bddee8d818e6c92dfd36c6cc2515babbb8ead45e8f1ebf4da2c05c8a0231",
|
|
85
|
+
"plugins/_lib/public/rich-text.mjs": "2193d496d2d9111134bc65c7cd4272cd7c62f2c09eb6a99e55b7818b992b3d9a",
|
|
86
|
+
"plugins/_lib/rich-text.js": "7a33e9176fa4a26837d114af0af4172fb4fd5f877746b5aae67797ad9291e8ac",
|
|
87
|
+
"plugins/_lib/admin/ui/rich-field.js": "8d025872fcde681eb4dcd89e6228716b8578a7c1c54c65fd568fcf70e533b7ac"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.
|
|
@@ -400,6 +400,22 @@ export function createSmtpService({pinMailHost, composeOptions = () => ({}), mes
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
/**
|
|
404
|
+
* The extra private headers a caller may write into a draft. Only names
|
|
405
|
+
* under X-Domma- (never the two this file owns), short single-line values:
|
|
406
|
+
* anything else is dropped rather than written.
|
|
407
|
+
*
|
|
408
|
+
* @param {object|null} headers
|
|
409
|
+
* @returns {object}
|
|
410
|
+
*/
|
|
411
|
+
function draftHeaders(headers) {
|
|
412
|
+
if (!headers || typeof headers !== 'object') return {};
|
|
413
|
+
const owned = new Set([SOURCE_HEADER.toLowerCase(), COMPOSE_HEADER.toLowerCase()]);
|
|
414
|
+
return Object.fromEntries(Object.entries(headers).filter(([name, value]) =>
|
|
415
|
+
/^X-Domma-[A-Za-z0-9-]{1,40}$/i.test(name) && !owned.has(name.toLowerCase())
|
|
416
|
+
&& typeof value === 'string' && value.length > 0 && value.length <= 512 && !/[\r\n]/.test(value)));
|
|
417
|
+
}
|
|
418
|
+
|
|
403
419
|
/**
|
|
404
420
|
* Save a draft to the Drafts folder.
|
|
405
421
|
*
|
|
@@ -412,11 +428,14 @@ export function createSmtpService({pinMailHost, composeOptions = () => ({}), mes
|
|
|
412
428
|
* the new one is stored, so an interruption loses nothing.
|
|
413
429
|
*
|
|
414
430
|
* @param {{draft: object, from: string, replyTo?: string, pool: object, poolKey: string,
|
|
415
|
-
* connection: object, draftsFolder?: string|null, replaces?: number|null
|
|
431
|
+
* connection: object, draftsFolder?: string|null, replaces?: number|null,
|
|
432
|
+
* headers?: object|null}} options - `headers`: private X-Domma-* headers to keep
|
|
433
|
+
* in the draft (read back by the caller from the reopened draft's headers)
|
|
416
434
|
* @returns {Promise<{savedTo: string, uid: number|null, replaced: number|null}>}
|
|
417
435
|
*/
|
|
418
436
|
async function saveDraft({
|
|
419
|
-
draft, from, replyTo = '', pool, poolKey, connection, draftsFolder = null, replaces = null, account = null
|
|
437
|
+
draft, from, replyTo = '', pool, poolKey, connection, draftsFolder = null, replaces = null, account = null,
|
|
438
|
+
headers = null
|
|
420
439
|
}) {
|
|
421
440
|
// Written into the draft, not applied when it is eventually sent: a draft
|
|
422
441
|
// opened on the phone should show the same headers it will go out with.
|
|
@@ -428,6 +447,8 @@ export function createSmtpService({pinMailHost, composeOptions = () => ({}), mes
|
|
|
428
447
|
readReceiptTo: draft.readReceipt ? (replyTo || bareAddress(from)) : '',
|
|
429
448
|
// Private draft metadata: it is omitted from SMTP and the Sent copy.
|
|
430
449
|
headers: {
|
|
450
|
+
// An edition's own (Email Pro's branding choice): X-Domma-* only, one line each.
|
|
451
|
+
...draftHeaders(headers),
|
|
431
452
|
...(source ? {[SOURCE_HEADER]: Buffer.from(JSON.stringify(source)).toString('base64url')} : {}),
|
|
432
453
|
...(flags ? {[COMPOSE_HEADER]: flags} : {})
|
|
433
454
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, 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.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/public/rich-text.mjs.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Rich text in a Description field - the pure part, shared by the server, the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.34.
|
|
1
|
+
// Source: @domma-mail/core 0.34.1, packages/core/src/rich-text.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Rich text Description fields - cleaning what is saved and what is shown.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* plugins/{name}/data/ - optional plugin-specific data store
|
|
12
12
|
*/
|
|
13
13
|
import fs from 'fs/promises';
|
|
14
|
-
import {readFileSync} from 'fs';
|
|
14
|
+
import {existsSync, readFileSync} from 'fs';
|
|
15
15
|
import path from 'path';
|
|
16
16
|
import matter from 'gray-matter';
|
|
17
17
|
import {getConfig, saveConfig} from '../config.js';
|
|
@@ -238,6 +238,24 @@ export const RETIRED_PLUGINS = Object.freeze({
|
|
|
238
238
|
seo: 'Built in since 0.90.0 (server/services/seo) - its data moves to content/seo and config/seo.json.'
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
+
/**
|
|
242
|
+
* A manager-only plugin (`"managerOnly": true` in plugin.json - Site Manager, Customer Registration, Site Wizard)
|
|
243
|
+
* belongs to the Manager and nowhere else. The Manager never copies one into a site, but a stray copy (a hand copy,
|
|
244
|
+
* an older Manager) must stay inert: not discovered, so not listed, enabled, loaded, injected or given its
|
|
245
|
+
* collections, forms or pages. A site the Manager forked carries `SITE_SLUG`; the Manager has none and has Site
|
|
246
|
+
* Manager beside the plugin. Site Wizard seeded a collection on a new site on 2026-11-18 this way.
|
|
247
|
+
*
|
|
248
|
+
* @param {object} manifest
|
|
249
|
+
* @param {{env?: object, pluginsDir?: string}} [o]
|
|
250
|
+
* @returns {string|null} why it may not run here, or null when it may
|
|
251
|
+
*/
|
|
252
|
+
export function managerOnlyRefusal(manifest, {env = process.env, pluginsDir = PLUGINS_DIR} = {}) {
|
|
253
|
+
if (manifest?.managerOnly !== true) return null;
|
|
254
|
+
if (env.SITE_SLUG) return `manager-only, and this is the managed site "${env.SITE_SLUG}"`;
|
|
255
|
+
if (!existsSync(path.join(pluginsDir, 'site-manager', 'plugin.json'))) return 'manager-only, and this is not the Manager';
|
|
256
|
+
return null;
|
|
257
|
+
}
|
|
258
|
+
|
|
241
259
|
/**
|
|
242
260
|
* Scan the plugins/ directory and return all valid manifests.
|
|
243
261
|
* Validates mandatory fields and required files (plugin.js, config.js).
|
|
@@ -281,6 +299,13 @@ export async function discoverPlugins() {
|
|
|
281
299
|
}
|
|
282
300
|
if (!valid) continue;
|
|
283
301
|
|
|
302
|
+
// Not recorded as a load failure: on a site a manager-only plugin is not there at all, not broken.
|
|
303
|
+
const notHere = managerOnlyRefusal(manifest);
|
|
304
|
+
if (notHere) {
|
|
305
|
+
console.warn(`Plugin "${dir}": ${notHere} - skipping`);
|
|
306
|
+
continue;
|
|
307
|
+
}
|
|
308
|
+
|
|
284
309
|
// Validate required files
|
|
285
310
|
const pluginJsPath = path.join(pluginDir, 'plugin.js');
|
|
286
311
|
const configJsPath = path.join(pluginDir, 'config.js');
|
|
@@ -803,6 +828,9 @@ async function walkMdFiles(dir) {
|
|
|
803
828
|
export async function setupPlugin(pluginName, services) {
|
|
804
829
|
const result = {collections: [], forms: [], pages: [], roles: []};
|
|
805
830
|
const pluginDir = path.join(PLUGINS_DIR, pluginName);
|
|
831
|
+
let ownManifest = null;
|
|
832
|
+
try { ownManifest = JSON.parse(await fs.readFile(path.join(pluginDir, 'plugin.json'), 'utf8')); } catch { /* none */ }
|
|
833
|
+
if (managerOnlyRefusal(ownManifest)) return result;
|
|
806
834
|
|
|
807
835
|
// Collections
|
|
808
836
|
if (services.collections) {
|