domma-cms 1.46.1 → 1.47.1
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 +15 -0
- package/admin/css/admin.css +1 -1
- package/admin/js/lib/api-tokens-arrange.js +2 -2
- package/admin/js/lib/dashboard-arrange.js +1 -1
- package/admin/js/lib/dashboards-arrange.js +3 -3
- package/admin/js/lib/whatsapp-call.js +1 -0
- package/admin/js/templates/contacts.html +2 -0
- package/admin/js/views/api-tokens.js +9 -4
- package/admin/js/views/contacts.js +12 -11
- package/admin/js/views/dashboard-board.js +6 -6
- package/admin/js/views/form-editor.js +5 -5
- package/docs/api-reference.md +22 -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 +1 -1
- 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 +7 -6
- 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/domma-mail.lock.json +80 -80
- 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 +1 -1
- 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/blog/CHANGELOG.md +5 -0
- package/plugins/blog/plugin.js +3 -0
- package/plugins/blog/plugin.json +2 -2
- package/plugins/free-tier.lock.json +37 -16
- package/plugins/security/CHANGELOG.md +6 -0
- package/plugins/security/admin/lib/health.js +4 -1
- package/plugins/security/plugin.json +2 -2
- package/plugins/security/server/facts.js +2 -1
- package/plugins/security/tests/security.test.js +5 -0
- package/plugins/shopping-cart/CHANGELOG.md +7 -0
- package/plugins/shopping-cart/admin/views/orders.js +3 -4
- package/plugins/shopping-cart/lib/summary.js +1 -1
- package/plugins/shopping-cart/plugin.json +2 -2
- package/plugins/shopping-cart/public/lib/orders.js +16 -0
- package/plugins/shopping-cart/public/shop.css +1 -1
- package/plugins/shopping-cart/tests/pure.test.js +16 -0
- package/plugins/whatsapp-calling/CLAUDE.md +12 -0
- package/plugins/whatsapp-calling/admin/css/index.css +22 -0
- package/plugins/whatsapp-calling/admin/templates/index.html +56 -0
- package/plugins/whatsapp-calling/admin/views/connection-help.js +55 -0
- package/plugins/whatsapp-calling/admin/views/index.js +275 -0
- package/plugins/whatsapp-calling/config.js +7 -0
- package/plugins/whatsapp-calling/docs/guide.md +70 -0
- package/plugins/whatsapp-calling/lib/calls.js +156 -0
- package/plugins/whatsapp-calling/lib/meta.js +55 -0
- package/plugins/whatsapp-calling/lib/recipients.js +26 -0
- package/plugins/whatsapp-calling/plugin.js +123 -0
- package/plugins/whatsapp-calling/plugin.json +86 -0
- package/plugins/whatsapp-calling/tests/calling.test.js +254 -0
- package/server/routes/api/api-tokens.js +2 -2
- package/server/routes/api/chat.js +10 -2
- package/server/routes/api/collections.js +27 -6
- package/server/routes/api/content-public.js +6 -4
- package/server/services/apiTokens.js +59 -4
- package/server/services/presetCollections.js +1 -0
package/docs/api-reference.md
CHANGED
|
@@ -1005,6 +1005,28 @@ or the verb is disabled).
|
|
|
1005
1005
|
|
|
1006
1006
|
Entries created via token auth are attributed `meta.createdBy: "token:<token-id>"`, `meta.source: "api"`.
|
|
1007
1007
|
|
|
1008
|
+
**Drafts only (optional):** `draftsOnly: true` on a token (the **Drafts only** switch in the token
|
|
1009
|
+
editor) is for a bot or another system writing on someone's behalf - nothing it writes reaches the
|
|
1010
|
+
public until a person publishes it. Enforced on the server, whatever the caller sends:
|
|
1011
|
+
|
|
1012
|
+
- **create** - the entry is saved with `status: "draft"` (a `published` or `scheduled` status sent is replaced);
|
|
1013
|
+
- **update** - only an entry whose `status` is `draft` now, and it stays `draft`; any other entry is `403`;
|
|
1014
|
+
- **delete** - only a draft; any other entry is `403`;
|
|
1015
|
+
- a collection with no draft status (a field named `status` whose options include `draft`, as Blog posts
|
|
1016
|
+
have) refuses the token's writes with `403`. Reads are unaffected.
|
|
1017
|
+
|
|
1018
|
+
Example - a draft blog post, from a token scoped `blog-posts: create` with Drafts only on (the
|
|
1019
|
+
collection's `api.create` set to `{enabled: true, access: "token"}`):
|
|
1020
|
+
|
|
1021
|
+
```bash
|
|
1022
|
+
curl -X POST https://example.com/api/v1/blog-posts \
|
|
1023
|
+
-H "Authorization: Bearer dcms_…" -H "Content-Type: application/json" \
|
|
1024
|
+
-d '{"data": {"title": "Hello", "slug": "hello", "content": "…", "status": "draft"}}'
|
|
1025
|
+
```
|
|
1026
|
+
|
|
1027
|
+
Send `slug` and `status` yourself - the v1 write saves the entry as given. `authorId` (a user id)
|
|
1028
|
+
credits a person; without it the post has no author.
|
|
1029
|
+
|
|
1008
1030
|
### Token management (`/api/api-tokens/*`)
|
|
1009
1031
|
|
|
1010
1032
|
| Method | Path | Auth | Description |
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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);
|
|
@@ -111,6 +111,7 @@ function formatSize(bytes) {
|
|
|
111
111
|
* function given the reader's `view` handle (see `extensionView()`):
|
|
112
112
|
* - `paneActions(view)` -> `[{id, label, icon, onClick, haspopup?}]`, buttons
|
|
113
113
|
* in the Folders pane head beside New folder;
|
|
114
|
+
* - `messageItems(message, view)` -> menu items for the selected message;
|
|
114
115
|
* - `folderItems(folder, view)` -> Domma menu items, added to a folder's
|
|
115
116
|
* menu (right-click, ⋮, Shift+F10);
|
|
116
117
|
* - `mailboxItems(account, view)` -> the same, on a mailbox row's menu.
|
|
@@ -3961,7 +3962,7 @@ return {
|
|
|
3961
3962
|
{type: 'divider'},
|
|
3962
3963
|
{label: 'Add sender to contacts', icon: 'user-plus', disabled: () => senderKnown || !sender, action: () => addSender(message)}
|
|
3963
3964
|
] : []),
|
|
3964
|
-
...(messageActions.length ? [{type: 'divider'}, ...toolActionItems(message)] : [])
|
|
3965
|
+
...((messageActions.length || typeof extensions.messageItems === 'function') ? [{type: 'divider'}, ...toolActionItems(message)] : [])
|
|
3965
3966
|
];
|
|
3966
3967
|
}
|
|
3967
3968
|
|
|
@@ -3974,7 +3975,6 @@ return {
|
|
|
3974
3975
|
* @returns {object[]}
|
|
3975
3976
|
*/
|
|
3976
3977
|
function toolActionItems(message) {
|
|
3977
|
-
if (!messageActions.length) return [];
|
|
3978
3978
|
const facts = messageFacts(message);
|
|
3979
3979
|
const items = messageActions.map(action => {
|
|
3980
3980
|
const {label, hash} = fillMessageAction(action, facts);
|
|
@@ -3985,7 +3985,8 @@ return {
|
|
|
3985
3985
|
action: () => { location.hash = hash.replace(/^#/, ''); }
|
|
3986
3986
|
};
|
|
3987
3987
|
});
|
|
3988
|
-
|
|
3988
|
+
items.push(...extensionItems('messageItems', message));
|
|
3989
|
+
return features.write && items.length ? [...items, {type: 'divider'}] : items;
|
|
3989
3990
|
}
|
|
3990
3991
|
|
|
3991
3992
|
/**
|
|
@@ -5191,8 +5192,8 @@ return {
|
|
|
5191
5192
|
/**
|
|
5192
5193
|
* The menu items an extension adds for one row.
|
|
5193
5194
|
*
|
|
5194
|
-
* @param {'folderItems'|'mailboxItems'} name
|
|
5195
|
-
* @param {object} subject - the folder or
|
|
5195
|
+
* @param {'folderItems'|'mailboxItems'|'messageItems'} name
|
|
5196
|
+
* @param {object} subject - the folder, mailbox or message
|
|
5196
5197
|
* @returns {object[]}
|
|
5197
5198
|
*/
|
|
5198
5199
|
function extensionItems(name, subject) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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,86 +1,86 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.2",
|
|
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": "
|
|
6
|
+
"plugins/_lib/mail/defaults.js": "ef104203b77e7aad7485166237d6226e2fc7a2b81aa5db916d4c8d9b52fb392a",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "d2c6c6d8540eb87497a4be785055f63d9b5d07bd3573a4652e1f321c1ac6c99a",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "eb34b05f57701d2d0efe0f608fb82f1aa99e6b8b9dbc67f4b44fc0e46c18f552",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "81328c57eecde7c591ed7b7b192029ef3349776df6b5ae2a76cd4ccb6410f871",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "4a3a57e632d8c6e8bd434f36390855ce28333c3ebae179aaa55b841e55ccab4f",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "4bede0944384f082ce328959ffdb54dcab0e1ff7c53547d18a775bb9038de0c7",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "781bdaccc84e34a009dc03831fa15555aa27a1cd69a1663c8624c581692fba27",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "2cdd38e7ac45e4187fc84c6d657455e585961ad1daab4ffe61ce1a3d2fd248d8",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "a063f03ae4c80fe1d89e6695adf04b8cddfdaae580312b7f450ac0776e8a8c08",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "226608036cc57d925740365b7ef0dacfd3b2b9ca66863bcae48a93b49ab848ef",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "c14f38a29193fc91fe2db3d34542019416022a6a4f3e2456a95e0aa4149938da",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "b744e70b7b8650065d4c2337ba386bc00e268b9e487d1099c42b6d4a31952198",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "e8513b27a9d5d0c4a823af6d6bf2f26b0ad4e872624ac269747bffccfd023578",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "f1437fe8a09628b0d7837880f3c89d5475768f981287a5ecd5d94f945987ffdd",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "400386977b22af9dc5a308f1692b52ffbfb99e6ca50a47e174cebfca47d9ff31",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "5fcff4d9de97786957e8d5240cf4fe9c98d93672fd436ef1e46568384e1e29a5",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "8ae1c28ca0e925507c21b016ac6b666988bf1ff11ccee42e23ce0ea49703b9c3",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "e28b1d691582da0d92f0b6171bcba6d116aada3cf688b0d3c4ed3255b0e0bba2",
|
|
24
|
+
"plugins/_lib/mail/render.js": "b6d303eea8469f4ca1de834872c3ae9834f41968a7731809a64b26f9a2f4359f",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "6ad376ebbbe4701e82a7a7e018ec4550a358164ced7c8d2917c7d5a203c94cb3",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "acc0b2ba9aabefe9bf4db610a2ef3eaece635fd41d236a7eb165721d35a2f00c",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "5219056d89d4fd531c410ac9a399a5b60fcd0e44b4a75a005ac57b3fc77971b4",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "ed58751304f14b0187244fe9bd44edde4c475479bbd53bc5062d6925ad523afd",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "52e46acb600e5ea916966fe6509ee065567d889652ca8da6b8839ec1ea3d6396",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "e3513e9a7f494ce9e702ed2955349b2bc8bccb8ab001c243dee73eb0d950f92d",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "6e5f7d6b4344f3d7e489b80dfd735ca1f694b3061ce0e63594003003ceaf1ab4",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "46ebe788c36990fccb034fe3b0de23896cc21c71c83712bed7b08a3670cbdcd7",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "300daf38c49ca103b37d2fd7cef334a568a88fc09f15fc2164fca7c3ddc08e71",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "9084a4feebff49f8ac26d43b3f56b288c3a1ca30f484c1214e60b1a7bd3ec7b9",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "a7354c792db20c83230e1aaf7d4199b02d46e634a1ca9589e1da008a1d5dc0c9",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "08400400f737caa45f52744da04afd43dfed7b3a8d008bfef47e6624535a2ace",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "e8200175aeaafebefc5a6c1df001b5aaf31ae1a3650fd511734ec8dca927ee63",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "975427adedd8984e476635281000e6252405e1dea940d9009a858840da9dd532",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "5cd2b24c6c3affb069a45776005a3ddf0245ab2a87f4d0b876e3de1d17a942b5",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "77a135f082a6ba6df9170cb3171b9762f0ddac3fb5c28eefa842fd4712134104",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "629a34adc42be69b165d5a90a676f715f808b9b045eba82ffc567fdac4f9ffc1",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "5743db6c7f2a54c0a7a770d75f4cb1ee771fb09bf9b9bff1ba794f031efc8e77",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "845193bdb07a7006efd64736ddc3e85825628e3f3c56e5519d55523c7a3cff2f",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "8ae7ae4828d43729568a7c4f9cd404f10709c9a39bd08c00a60196d4a1229fb4",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "24687a9f21a2d0e68b8fdcf4866cc246cd57d2bc2d93100bf40c6917083fa664",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "acdf88cd2c490a4e6a04ae8e7b41df9a528c49b4c670c5fedbcd0549d41973cb",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "9fbc8e17ce1c91fad5cfced7c0fa97a8d254ede8f59c7eab5f1458d741590e2b",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "7f7e5faed1880f10401a78bfada0e2090f209cec534fcda6eecba0b978c40f07",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "b35d482fb098efe045dd2d25cebf03eba50318801f7786022f28d854bd1b375a",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "1ba8b63b57fbda070e3f9040d8d3996ee26dd8ccf5031dd6df7b8589d0b01128",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "2e38e57c7bd774585a04f28c98a5a27b9a922af286c9e49ab8948c723d7fc3c9",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "45a03abd340c698c298741ec6366d5998bcf0b82676252586c5235aab1d01d6c",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "52335ec7f5dc9354426e689c2f0832ecc66c82e70447cab5b57cf734d3787483",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "c778476005977d82e555bef0d1dcda5a7bf51b5af0bda3df7cba247d60bfcc77",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "aab067c1795915e478c4b0d6e9db3e08ca75ab6f9eaae3684d727e7ffb7e8f8d",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "681f887abd82599f4d3dd028be3ae5ed79b9988f762b707c02568b0fb0068a56",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "059f98d2cec645ea5b6a20b5ed40734b15a30be566dbdddc09b9098b394e2a80",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "88b838f80756a7930d17e8ef2e8aed2dc6651ee4375b540715bcc35792a21931",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "0977496cb3cd7ff75e9aea17eb97d3cab72e5070ad2c6e7c76d0f54c33f37693",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "255e8260e2b6963181ff1aefbde41c92c97c68a4f9fb01730156e0d44cb58b69",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "4cd34277473963005d07297ebe108b1cb931fbaeccacd4901be5a40547242e9e",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "249a40b8a9183735105fd301eed8a2bdafdc2975777ea1464e8217128f0dfdf3",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "5b4bafb36e5e8c0832b1896ead2824d45c306c0272ba605e1fb20aea6fac03a7",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "58c434839f0a45b1553a63136cf20b0a79d80dc2566b884c5a461ebb078774bf",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "53ccc0ad2440d260d1a9426e29739329467ea0723549e6e3b249dd810d0552a6",
|
|
66
|
+
"plugins/_lib/mail/store.js": "a5fb2ba8ff13b8a8ba9920fa54814c0865a4686923a94b78d0a2682ec8645af7",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "6874e1a6415733ab2aa9aa9b60560b6fec3e6ed3ed73d05f738cb496aa030dc8",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "284eedd0c68def8418806c68c12e8f4ba83b8a7208fa7eb5060b158f33a4e626",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "a9dec61a0cc9f975edcf67851e601c127a5256782b7a7d7619284211d2b3102f",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "b1d24cdbacc854ecfd1a917a99677cd2c0db10c892ed3adf455ebd95a5d8678e",
|
|
71
|
+
"plugins/_lib/mail/write.js": "41401fb3b429cccd7e928919c0d6595ec9ee4ce11e1bbaf4ebc6470006b6d7eb",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "daf4dabd67ea5ec8823b08157b634a9b1e54347b972ef5e04bbb095df3c31664",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "b7360933e47853eda091e6f8686c1b1fd0ca1ea15fbfc198b6140611a4a3e071",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "3088bb1c8000d2cadd934a1ef9ec9f33bfc01a81d590fc620b49553ecec91f3c",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "3b1ab5eafd10022ce78b346a9df77fd1d7430bceb71cfb777f5358c7e62cfb3f",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "ea502476d0b80cdc03e0255bb87b7d34b1131515bb4a04ff719727c340df03b2",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "2c755967377539a0bbe2bd97d4965f2e6cfc32d7271abd2d136a8dc705093782",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "9c2059ff3b8fdf71acfb44ed6e04a85b3e63a46805cd7826c087686ed09b6f89",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "3ab21639c76babbe3627115ebe759eace12391574b98b98e968ddb19dafab020",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "74601cb8833a1e2462451b37099ce8b4ee4eb75545651bac88fb24dcaf0cfacc",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "4dcac8b69e88c0a77457bad86c7fab3044cd4714177c78d27508ac6f609029d7",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "ed3fca453c1f05875a2eeff228608cd7f80f88080ca44c80935c591341feb849",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "00f399bb0fb8fb704948edcae491696ce052f7bbba67421e037e16715113b0fa",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "e0b901efb3aefc330230006edefcac3acfb82fa821009315ad0ff57083697708"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.2, 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';
|