domma-cms 1.73.0 → 1.75.0
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/docs/DommaFeatures.md +1 -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 +95 -6
- 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.css +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 +100 -20
- 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 +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/_lib/public/rich-text.mjs +1 -1
- package/plugins/_lib/rich-text.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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);
|
|
@@ -118,10 +118,12 @@ function formatSize(bytes) {
|
|
|
118
118
|
* menu (right-click, ⋮, Shift+F10);
|
|
119
119
|
* - `mailboxItems(account, view)` -> the same, on a mailbox row's menu.
|
|
120
120
|
* - `compose(context)` -> `{fields?(), identityChanged?(identity),
|
|
121
|
-
* recipientsChanged?(recipients), close?()}`, an edition's part of every
|
|
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
123
|
* `context.show()`), and `fields()` is added to what Save and Send post.
|
|
124
124
|
* `context.identities` / `setIdentity(id)` / `hideFrom()` let it offer the senders itself.
|
|
125
|
+
* `preview(message)` -> `{html, note?}`: the message as the edition would send it, for the
|
|
126
|
+
* compose window's Preview (without it, Preview shows the message as written).
|
|
125
127
|
* Optional, checked and feature-detected: an edition that passes it to an
|
|
126
128
|
* older reader just does not get the entries. Item actions run on the next
|
|
127
129
|
* task, so one picked with Enter cannot hand its own Enter to a dialog.
|
|
@@ -514,7 +516,10 @@ return {
|
|
|
514
516
|
function openCompose(options) {
|
|
515
517
|
// `extensions.compose`: an edition's part of every compose window
|
|
516
518
|
// (Email Pro's branding picker). See compose-window.js.
|
|
517
|
-
|
|
519
|
+
// Where it opens: the place picked from a menu, else the last one
|
|
520
|
+
// used (a keyboard shortcut, Contacts' Email…, a reopened draft).
|
|
521
|
+
const handle = openComposeWindow({placement: lastPlacement(), ...options, host: mailHost,
|
|
522
|
+
onPlacement: rememberPlacement,
|
|
518
523
|
composeExtension: typeof extensions.compose === 'function' ? extensions.compose : null});
|
|
519
524
|
if (handle) {
|
|
520
525
|
composeHandles.add(handle);
|
|
@@ -522,6 +527,61 @@ return {
|
|
|
522
527
|
}
|
|
523
528
|
return handle;
|
|
524
529
|
}
|
|
530
|
+
/**
|
|
531
|
+
* Where a message is written: the side panel or the whole screen.
|
|
532
|
+
* Remembered in this browser, so the shortcuts and the windows other
|
|
533
|
+
* screens open go where the last one went.
|
|
534
|
+
*/
|
|
535
|
+
const PLACEMENT_KEY = 'domma-mail.compose-placement';
|
|
536
|
+
function lastPlacement() {
|
|
537
|
+
try { return S.get(PLACEMENT_KEY) === 'full' ? 'full' : 'side'; } catch { return 'side'; }
|
|
538
|
+
}
|
|
539
|
+
function rememberPlacement(placement) {
|
|
540
|
+
try { S.set(PLACEMENT_KEY, placement === 'full' ? 'full' : 'side'); } catch { /* not remembered */ }
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/** The placement menus: the banner's (until the screen is left) and the reader header's (per message). */
|
|
544
|
+
const placementMenus = new Set();
|
|
545
|
+
const headMenus = new Set();
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* The New message, Reply, Reply all and Forward buttons: a click
|
|
549
|
+
* offers where to write it. A script's click (Email Pro's Suggest a
|
|
550
|
+
* reply presses Reply) opens straight away in the last place used,
|
|
551
|
+
* since nobody is there to pick. Without E.dropdown, every click does.
|
|
552
|
+
*
|
|
553
|
+
* @param {HTMLElement} button
|
|
554
|
+
* @param {string} verb - "Write", "Reply", "Forward"...
|
|
555
|
+
* @param {(placement: 'side'|'full') => void} start
|
|
556
|
+
* @param {Set} [into] - where the menu is kept for teardown
|
|
557
|
+
* @returns {void}
|
|
558
|
+
*/
|
|
559
|
+
function withPlacementMenu(button, verb, start, into = placementMenus) {
|
|
560
|
+
const dropdown = typeof E?.dropdown === 'function' ? E.dropdown(button, {
|
|
561
|
+
items: [
|
|
562
|
+
{label: `${verb} in the side panel`, value: 'side'},
|
|
563
|
+
{label: `${verb} full screen`, value: 'full'}
|
|
564
|
+
],
|
|
565
|
+
itemTemplate: item => `<span class="mail-place-item">${esc(item.label)}</span>`,
|
|
566
|
+
onSelect: ({value}) => {
|
|
567
|
+
const placement = value === 'full' ? 'full' : 'side';
|
|
568
|
+
rememberPlacement(placement);
|
|
569
|
+
start(placement);
|
|
570
|
+
}
|
|
571
|
+
}) : null;
|
|
572
|
+
if (dropdown) into.add(dropdown);
|
|
573
|
+
// Capture, so it runs before the dropdown's own click listener.
|
|
574
|
+
button.addEventListener('click', (event) => {
|
|
575
|
+
if (dropdown && event.isTrusted) return;
|
|
576
|
+
event.stopImmediatePropagation();
|
|
577
|
+
start(lastPlacement());
|
|
578
|
+
}, true);
|
|
579
|
+
}
|
|
580
|
+
function dropHeadMenus() {
|
|
581
|
+
for (const menu of [...headMenus]) { try { menu.destroy?.(); } catch { /* gone */ } }
|
|
582
|
+
headMenus.clear();
|
|
583
|
+
}
|
|
584
|
+
|
|
525
585
|
/**
|
|
526
586
|
* Settings and mailbox panels open from this visit: closed without
|
|
527
587
|
* asking when the screen is left (the lifetime), and removed from the
|
|
@@ -697,6 +757,8 @@ return {
|
|
|
697
757
|
function teardown() {
|
|
698
758
|
if (teardownPromise) return teardownPromise;
|
|
699
759
|
disposed = true;
|
|
760
|
+
for (const menu of [...placementMenus]) { try { menu.destroy?.(); } catch { /* gone */ } }
|
|
761
|
+
placementMenus.clear();
|
|
700
762
|
const saves = [];
|
|
701
763
|
for (const handle of [...composeHandles]) {
|
|
702
764
|
if (handle.dirty?.()) {
|
|
@@ -3447,6 +3509,7 @@ return {
|
|
|
3447
3509
|
cancelMarkRead();
|
|
3448
3510
|
// A message still on its way must not land in the cleared pane.
|
|
3449
3511
|
openSeq += 1;
|
|
3512
|
+
dropHeadMenus();
|
|
3450
3513
|
readerHeadEl.textContent = '';
|
|
3451
3514
|
showEmpty(readerBodyEl, 'mail', 'Select a message to read it.');
|
|
3452
3515
|
}
|
|
@@ -3527,6 +3590,7 @@ return {
|
|
|
3527
3590
|
* @returns {void}
|
|
3528
3591
|
*/
|
|
3529
3592
|
function renderMessage(message) {
|
|
3593
|
+
dropHeadMenus();
|
|
3530
3594
|
readerHeadEl.textContent = '';
|
|
3531
3595
|
|
|
3532
3596
|
const subject = document.createElement('h2');
|
|
@@ -3570,12 +3634,16 @@ return {
|
|
|
3570
3634
|
}
|
|
3571
3635
|
|
|
3572
3636
|
if (features.send) {
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3637
|
+
// Each asks where to write: the side panel or full screen.
|
|
3638
|
+
for (const [label, icon, mode, hint] of [
|
|
3639
|
+
['Reply', 'corner-up-left', 'reply', 'Reply to the sender (r)'],
|
|
3640
|
+
['Reply all', 'corner-up-right', 'replyAll', 'Reply to everyone (Shift-R)'],
|
|
3641
|
+
['Forward', 'send', 'forward', 'Forward to someone else (f)']
|
|
3642
|
+
]) {
|
|
3643
|
+
const button = actionButton(label, icon, () => {}, hint);
|
|
3644
|
+
withPlacementMenu(button, label, placement => compose(message, mode, {placement}), headMenus);
|
|
3645
|
+
actions.appendChild(button);
|
|
3646
|
+
}
|
|
3579
3647
|
}
|
|
3580
3648
|
|
|
3581
3649
|
if (canSnooze(message)) {
|
|
@@ -4139,9 +4207,11 @@ return {
|
|
|
4139
4207
|
] : []),
|
|
4140
4208
|
// The reading pane's three, without opening the message first.
|
|
4141
4209
|
...(features.send && !isDraft(target) ? [
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4210
|
+
...[['Reply', 'corner-up-left', 'reply'], ['Reply all', 'corner-up-right', 'replyAll'],
|
|
4211
|
+
['Forward', 'send', 'forward']].map(([label, icon, mode]) => ({label, icon, submenu: [
|
|
4212
|
+
{label: 'In the side panel', icon: 'panel-right', action: () => { rememberPlacement('side'); compose(target, mode, {placement: 'side'}); }},
|
|
4213
|
+
{label: 'Full screen', icon: 'maximize-2', action: () => { rememberPlacement('full'); compose(target, mode, {placement: 'full'}); }}
|
|
4214
|
+
]})),
|
|
4145
4215
|
{type: 'divider'}
|
|
4146
4216
|
] : []),
|
|
4147
4217
|
{
|
|
@@ -6432,7 +6502,7 @@ return {
|
|
|
6432
6502
|
* @param {'reply'|'replyAll'|'forward'} mode
|
|
6433
6503
|
* @returns {Promise<void>}
|
|
6434
6504
|
*/
|
|
6435
|
-
async function compose(message, mode, {quote = null} = {}) {
|
|
6505
|
+
async function compose(message, mode, {quote = null, placement} = {}) {
|
|
6436
6506
|
const accountId = currentAccountId;
|
|
6437
6507
|
const profile = identitySoon();
|
|
6438
6508
|
try {
|
|
@@ -6447,7 +6517,8 @@ return {
|
|
|
6447
6517
|
// Quote in reply: just the selected text under the
|
|
6448
6518
|
// attribution line, not the whole message.
|
|
6449
6519
|
draft: quote ? quoteSelection(result.draft, quote) : result.draft,
|
|
6450
|
-
mode
|
|
6520
|
+
mode,
|
|
6521
|
+
...(placement ? {placement} : {})
|
|
6451
6522
|
}));
|
|
6452
6523
|
} catch (err) {
|
|
6453
6524
|
E.toast(err.message || 'That reply could not be started.', {type: 'error'});
|
|
@@ -6818,12 +6889,20 @@ return {
|
|
|
6818
6889
|
try {
|
|
6819
6890
|
const chrome = mailHost.helpers.chrome ?? {};
|
|
6820
6891
|
if (features.send) {
|
|
6821
|
-
|
|
6892
|
+
// The click is the menu's (below); an admin whose banner hands
|
|
6893
|
+
// back no button keeps the plain click.
|
|
6894
|
+
let menued = false;
|
|
6895
|
+
const composeButton = chrome.addBannerAction?.($container, {
|
|
6822
6896
|
id: `${pluginName}-compose`,
|
|
6823
6897
|
icon: 'edit-3',
|
|
6824
6898
|
title: 'New message',
|
|
6825
|
-
onClick: () => startNewMessage()
|
|
6826
|
-
})
|
|
6899
|
+
onClick: () => { if (!menued) startNewMessage(); }
|
|
6900
|
+
});
|
|
6901
|
+
bannerCompose = Boolean(composeButton);
|
|
6902
|
+
if (composeButton?.nodeType === 1) {
|
|
6903
|
+
withPlacementMenu(composeButton, 'Write', placement => startNewMessage(undefined, placement));
|
|
6904
|
+
menued = true;
|
|
6905
|
+
}
|
|
6827
6906
|
}
|
|
6828
6907
|
const refreshPlaced = chrome.addBannerAction?.($container, {
|
|
6829
6908
|
id: `${pluginName}-refresh`,
|
|
@@ -6883,9 +6962,10 @@ return {
|
|
|
6883
6962
|
*
|
|
6884
6963
|
* @param {object} [draft] - `{to, cc, bcc, subject, body}`
|
|
6885
6964
|
*/
|
|
6886
|
-
async function startNewMessage(draft) {
|
|
6965
|
+
async function startNewMessage(draft, placement) {
|
|
6887
6966
|
try {
|
|
6888
|
-
openCompose(composeOptions(await identitySoon(), {mode: 'new', ...(draft ? {draft} : {})
|
|
6967
|
+
openCompose(composeOptions(await identitySoon(), {mode: 'new', ...(draft ? {draft} : {}),
|
|
6968
|
+
...(placement ? {placement} : {})}));
|
|
6889
6969
|
} catch (err) {
|
|
6890
6970
|
E.toast(err.message || 'Compose could not be opened.', {type: 'error'});
|
|
6891
6971
|
}
|
|
@@ -6951,7 +7031,7 @@ return {
|
|
|
6951
7031
|
if (compose && bannerCompose) compose.remove();
|
|
6952
7032
|
else if (compose) {
|
|
6953
7033
|
compose.hidden = false;
|
|
6954
|
-
compose
|
|
7034
|
+
withPlacementMenu(compose, 'Write', placement => startNewMessage(undefined, placement));
|
|
6955
7035
|
}
|
|
6956
7036
|
}
|
|
6957
7037
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/admin/mail/when-closed.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Run code when a Domma modal or slideover actually closes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/admin/ui/dates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Dates as a plugin shows them to a person: dd/mm/yyyy, and dd/mm/yyyy HH:mm
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, 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.
|
|
4
|
+
"version": "0.34.0",
|
|
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": "ee9a757b318e4d90277bfd7b1201100a94700e08db5878052f5c459ab2d0a449",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "8c4c127cce53115dcf56afda8bd467a5a5b46ab1c71d3163373c87223476aab5",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "66ed6fdb72f90a3cf5744ff9a5dc78f2ab2e2e77f4fc0c1044b191dce8727220",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "a1c3bfd0c8418da774cf6e55b37fb51fba9ee71ec0b69a7852732a9276760da6",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "977042eefdd7a273f4943b02a95294bd4e9f820857222b3597be0049dead449c",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "043749fcb1e3a5ac1f8f6a49a4d26377c06e1742f25b0496c6103cf1626bf972",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "9d385d4970666f034de1fb1985fe70656b2ff0ce8352c5f28a5b860726c2935b",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "23152079c06b02bbee9503b1689f03a6438e4b4ba05410150724afc0517bef5a",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "e3e8804d0caa03110b562749f180105f77952efe486d39bb726224d9ac97e75e",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "6edd4e5bbeca3cc0e72339782c823e3e70ea0332d6085d6f3e410ea326b7e615",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "a5fe9ce042ce9740b5fe8ad25613f92e9f27dcd4bc7c6a6af9a5028b46250dab",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "083786ca7bdd558fcc41fc383f344861c983db389639bcc76d0557b645c02eed",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "c94fabac9a35d62b7f168380db371c2a8d47fff7f781731f958a5226efed0ba0",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "c22b8f1db406c6ece118684a6edf191e75b011efbd67f94984219ea857276ecd",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "63a6be576ffa984acb704650399dd2f7ed12bf52b1bc52fd957efb8aec5f41dc",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "0ada06b0ebbac3048ac9fdaaccab023e4d9dcc0a2b7c6360d3e16a5c1d714f45",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "eb4e3c4e4757c1219315db849787109a977fa95e240712bcec7add3c9fc60413",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "148920a5293a756db6d332f9d037a4b7cbecaeea7859906a9a6def0cf4c48b55",
|
|
24
|
+
"plugins/_lib/mail/render.js": "380beae0815b95ef41486133c0255992c0b4846ae0d5412771b2f14cecdca38a",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "63d5165b522e1895f7a45063adf972265a3949da53c479f290d90c57298515ad",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "c41aa978177affab6855fc4908565de66fc9a913fcc75c896e8a991e6dbb6637",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "6e8897990b1f5eb597d0b211cae1f726b2a65501beac4426a4d41c932536bd7b",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "73cb10461d197085ad521c7e821a3a70d34e35036f51b7d773d9c598fe2623a3",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "d8010b38ff2e9da80a1d40f0b2a23c3ccebe073a526481defde4174317765a71",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "5dbe2ab1bcdfeba8e4d7a0569a602021637f50d41a5393c4d8f9767643466fd3",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "d7c96a1a32b9b02a163a884685d04da5e2f40239d6bc45aacc5144228d67d202",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "f82549e0594331b1dcfd589983823462db581a47530af9059df9b35049dbf203",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "f13629f215b6ddd18e20210bf5896ec0ccc45b9b08a1ffb485de4c48ca68209b",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "57cf3c4a3ff09586c60507b62341584802280bd234560fc58034e89b3c7cdf02",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "7489f7eca6d094150fac72c2c2712fa8062362a4ec860057ec1a3febb229336b",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "a9c854723147507a0a7443acd5c6432742488ba536bb1e1c47b13daa38e96056",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "2f42a2e63f513a053475c132d6b4ad8b31920c0d8f05f2e518b47891bbb4ab35",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "1757f861e9dfcfefb98c7c492fcb13c676c03bd88c400083c80361a3b5cb3b6c",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "022e159fea3c4a404b44b489efbe1aa5ce65ba0a50c162089fd490a1adaeab1b",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "6171ef057aee4ab35e7cf28191822fac81a8cf26d79058bfc6843f14877824fd",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "13230744981fac3a7e486168b31cb4c2749512bac5f0fce5cf5d05760b695688",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "961b0585ec90d3db2683d05a7de1ba0e16d413a6d83799cf47f6e0220ace4eac",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "096ef66d68dfe1a8a4644e1569ea70aa7adafcc66676ac2e9d5c9ace95ab1db3",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "a3d557a6358168f1e58e0a5b7e4358d1e8877851db22d3afc1b0f2fe08e4a9b8",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "92918e37f1d817823c2d5975e81abd67ea0785c7cd67beb085c4fa7662875734",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "239147e18f21de921a80a022f022cc11219c365cc9057989390d28834524382a",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "9da8a73f4c1c73c281ddbed9b66c69897e4bbf83059840f8d2f8b1836598c12c",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "be2c8b23be036c98593d5bf1aaadc1ec76fb8165a280dc01f23de95438c51043",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "4774534f3b1a1fe9aedb05587eed438a0da675fe9908938153ade14f6e6238dc",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "00e823ad2ebe8fd1c6c1b5d8271a6a05893a2978fed3aba727d707153665f620",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "b5e2a15430fc7177461a1609bb2a5f0423a4dc78e4920b7d33eaf42423ce85fb",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "bb8647337dba625960d91ab26a9253aef0d468369c716c9a26572d00b5e28e11",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "bb85ef6d37695225a68a3363d4297000040555a1cec5b2e6e7789210ee214179",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "5920484822303c118d19d5aaf5b70985f265beef448657196100e36e43a4fd8d",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "a6bc7bfbeb341adfb8cfa55fe2f034f64e1072ba01e63b67baaf457630e3220a",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "5856a71bab8592f4bdf79b3040541e60c3d88bf4257d072fea8652257ebfefb2",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "305f4552480f1388d0b97461cf9e0ce803a7675691ffb3fc001287c28360c8ed",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "f29b8390a6d71bc3a224571f561fcc84606279b56d973d0d966bfe2582b90070",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "754cd22c22ecee69d95eb2a2bf7d0fa75afc9389538b184424b1ad1eb64b1af4",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "754d507e1e60d5740f2a04b3610c3824d5fe69e83c8242b45328efdfe9a2dbe1",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "1d0234b7db865d1220696b7eaf18fd0fef2da2438be08cea7f3886ef946ec889",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "1a789f378dbf5363d9f19748f94d983d2f0a60162c867c0f5ce07af283369506",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "55bc8d4a5e7da944ed8291756df66568451f0a2dc397f9638a39ba338736252f",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "154d1ecd58dcd36d2459bba7bbf426f266a174f139e63fd0a29cbff5b1419471",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "f7dc3be7afe000dc87fc868b0a81f0b1731a594180bd56e16a8c5706e6a476db",
|
|
66
|
+
"plugins/_lib/mail/store.js": "4472fa590f41dfa03068bcb845c6ba8c2d66b69af7804f0407f59b9fd19e19a1",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "f5c175ea707c8ae6ac072ef0211122adcaaa1019465b45730f65c53247f85be7",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "552c184f0551f1fa5a87d5ed745e30b25fd831a9b837c18d28f1e3a46428ecb0",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "532ede4ccdd75f74cabcd846648572faa122304583dd77993bb6cc92857f1401",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "ba918812143086e78ebd3957e17ce2001aa6ac9477ca69525da00e61e4a6a391",
|
|
71
|
+
"plugins/_lib/mail/write.js": "47f30b9156d47f66536428d26e928bdf517eccd0a52b2daf6b86ce219e527ca7",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "56e704665dc60b39154d42ec3c3bdc7b216f59bfc09e80dcbb9be6db9af0a802",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "39a8456c713cdb159fd79d5b26553ab367e0d6acaa26c00f939ecd0823a09cd0",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "436f4fc57cbb2cae148db9566f3f380136862837250e274a49d1d2ffee6abe57",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "9120d5fbec506003a2902e5b092a9a730eb3036533e7fb6731b0899d96edc8d3",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "6e3cbea7850226add94c38ef12f6fbddb4634b628eb573a03d3ac123e316193f",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "f0494b56426d25dad5969562b8d86333e93efb4d0051f3b077d038b4c15efe34",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "58b67fab81f0596e83b852f90e23e60251dfd133daa3f9697cf61fa480ac1984",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "a3443e618e2c6efa34c96af26cd005c6256786927ac383ff534cbb13c3811a90",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "19369007c4a9900de56a9998d100c2f342e13542a5e5c166090129c1f5dff044",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "854ae0090f6c96faba015de0c975d74e1136b6f21ba413662d768d27b63f062d",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "a172b3043f0abc491eb2622cc775b983e3848da167c4531f9d4b1fcf85c17b45",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "1958c9563f8c1b325e7c682f597aae89c4ee774bc78204624ba76a9676b9edd5",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "75ed048b1fd0c2796ef721a15d4d3bec77f88fd515c6788ceb4d25fb144c285c",
|
|
85
|
+
"plugins/_lib/public/rich-text.mjs": "9c127ad0c20c7895145d9cf0cf7e0bf71177462323ce5e70784484c17167cebc",
|
|
86
|
+
"plugins/_lib/rich-text.js": "a5fb7f7438980bf2d2a251859d621bfb23455ad2d74c2d0c858238ec574cfb53",
|
|
87
|
+
"plugins/_lib/admin/ui/rich-field.js": "6c387520843ace8230ee59ea854ff10c2b920b8f86c7384ce1302407d3e44f9c"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/accountFileStore.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {randomUUID} from 'node:crypto';
|
|
4
4
|
import fs from 'node:fs/promises';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/accountRepository.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
export const POLL_INTERVALS = Object.freeze([3, 5, 10, 15]);
|
|
4
4
|
import {randomUUID} from 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/accountRoutes.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {MailKeyError} from './secretProvider.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/bodyTokenProvider.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {createHmac, timingSafeEqual} from 'node:crypto';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/bodyTokens.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** CMS compatibility entry point for the existing iframe grant API. */
|
|
4
4
|
import {resolveKeySource} from './secretbox.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/compose.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Turning a message into a reply, and a reply into something sendable.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/defaults.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Reading defaults, shared by every edition.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/envelope.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The shape the mirror holds one message in.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/folderActions.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Whole-folder operations use a snapshot of UIDs, never the visible page or a moving '*'. */
|
|
4
4
|
import {moveBulk, setFlagsBulk} from './write.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/folderRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Portable folder operations. Hosts supply ownership, serialization and metadata updates. */
|
|
4
4
|
import {validateFolderName, buildFolderPath, renameTarget, canModifyFolder, descendantsOf, moveTarget, resolveSubscriptions} from './folders.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.34.0, packages/core/src/mail/folders.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {resolveSubscriptions} from './subscriptions.js';
|
|
4
4
|
/**
|