domma-cms 1.29.0 → 1.30.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 +8 -0
- package/docs/DommaFeatures.md +10 -6
- package/docs/plugin-development.md +1 -1
- 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 +22 -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 +68 -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 +91 -5
- 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 +6 -2
- 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 -79
- package/plugins/_lib/mail/accountFileStore.js +1 -1
- package/plugins/_lib/mail/accountRepository.js +36 -2
- package/plugins/_lib/mail/accountRoutes.js +1 -1
- package/plugins/_lib/mail/accounts.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 +57 -3
- 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 +113 -0
- package/plugins/_lib/mail/sieve.js +7 -2
- 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 +4 -2
- package/server/routes/api/forms.js +8 -1
- package/server/services/viewerSession.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.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.19.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.19.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.19.0, packages/core/src/admin/mail/rules.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Filing rules.
|
|
@@ -97,7 +97,11 @@ export function validateRuleFolders(rules, sources, folders, mirrored = null) {
|
|
|
97
97
|
if (!Array.isArray(sources) || sources.length > 100 || sources.some(path => typeof path !== 'string' || !path || path.length > 500 || /[\x00-\x1f\x7f]/.test(path))) return {ok: false, error: 'Choose valid source folders.'};
|
|
98
98
|
if (sources.some(path => (mirrored && !mirrored.has(path)) || !folders.some(box => box.path === path && !box.flags?.has('\\Noselect') && !badSourceUses.has(box.specialUse)))) return {ok: false, error: 'Rule sources must be mirrored incoming folders. Sent, Drafts, Trash, Junk and archive views cannot be sources.'};
|
|
99
99
|
for (const rule of (rules ?? []).filter(rule => rule?.enabled !== false)) for (const action of rule.actions ?? []) {
|
|
100
|
-
|
|
100
|
+
// Named, rule and folder both: with dozens of rules, "a destination
|
|
101
|
+
// is wrong" sends someone looking through every one of them.
|
|
102
|
+
const named = `"${String(rule.name ?? '').trim() || 'A rule'}"`;
|
|
103
|
+
if (action?.folder && !folders.some(box => box.path === action.folder && !box.flags?.has('\\Noselect'))) return {ok: false, error: `${named} files into "${action.folder}", which is not a folder on the server. Choose another folder, or switch the rule off.`};
|
|
104
|
+
if (action?.folder && sources.includes(action.folder)) return {ok: false, error: `${named} files into "${action.folder}", which rules also read from, so it could loop. Choose another folder.`};
|
|
101
105
|
if (action?.type === 'delete' && !folders.some(box => box.specialUse === '\\Trash')) return {ok: false, error: 'This mailbox needs a Trash folder for a delete rule.'};
|
|
102
106
|
}
|
|
103
107
|
return {ok: true};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.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.19.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.19.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.19.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.19.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.19.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.19.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.19.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.19.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,85 +1,86 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.19.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/
|
|
34
|
-
"plugins/_lib/
|
|
35
|
-
"plugins/_lib/admin/mail/
|
|
36
|
-
"plugins/_lib/admin/mail/
|
|
37
|
-
"plugins/_lib/admin/mail/
|
|
38
|
-
"plugins/_lib/admin/mail/
|
|
39
|
-
"plugins/_lib/admin/mail/
|
|
40
|
-
"plugins/_lib/admin/mail/
|
|
41
|
-
"plugins/_lib/admin/mail/
|
|
42
|
-
"plugins/_lib/admin/mail/
|
|
43
|
-
"plugins/_lib/admin/mail/
|
|
44
|
-
"plugins/_lib/admin/mail/
|
|
45
|
-
"plugins/_lib/admin/mail/
|
|
46
|
-
"plugins/_lib/admin/mail/
|
|
47
|
-
"plugins/_lib/admin/mail/
|
|
48
|
-
"plugins/_lib/admin/mail/
|
|
49
|
-
"plugins/_lib/admin/mail/
|
|
50
|
-
"plugins/_lib/admin/mail/
|
|
51
|
-
"plugins/_lib/admin/mail/
|
|
52
|
-
"plugins/_lib/admin/mail/
|
|
53
|
-
"plugins/_lib/admin/mail/
|
|
54
|
-
"plugins/_lib/admin/mail/
|
|
55
|
-
"plugins/_lib/admin/mail/
|
|
56
|
-
"plugins/_lib/admin/mail/
|
|
57
|
-
"plugins/_lib/admin/mail/
|
|
58
|
-
"plugins/_lib/admin/mail/
|
|
59
|
-
"plugins/_lib/admin/
|
|
60
|
-
"plugins/_lib/
|
|
61
|
-
"plugins/_lib/
|
|
62
|
-
"plugins/_lib/admin/mail/
|
|
63
|
-
"plugins/_lib/admin/mail/
|
|
64
|
-
"plugins/_lib/admin/
|
|
65
|
-
"plugins/_lib/
|
|
66
|
-
"plugins/_lib/mail/
|
|
67
|
-
"plugins/_lib/mail/
|
|
68
|
-
"plugins/_lib/mail/
|
|
69
|
-
"plugins/_lib/mail/
|
|
70
|
-
"plugins/_lib/mail/
|
|
71
|
-
"plugins/_lib/
|
|
72
|
-
"plugins/_lib/mail/
|
|
73
|
-
"plugins/_lib/mail/
|
|
74
|
-
"plugins/_lib/mail/
|
|
75
|
-
"plugins/_lib/mail/
|
|
76
|
-
"plugins/_lib/mail/
|
|
77
|
-
"plugins/_lib/mail/
|
|
78
|
-
"plugins/_lib/mail/
|
|
79
|
-
"plugins/_lib/mail/
|
|
80
|
-
"plugins/_lib/mail/
|
|
81
|
-
"plugins/_lib/mail/
|
|
82
|
-
"plugins/_lib/mail/
|
|
83
|
-
"plugins/_lib/mail/
|
|
6
|
+
"plugins/_lib/mail/defaults.js": "e1c927b565bb5fb854ef93d6180c42f1a9383836a5793391578b4b9b69024c84",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "b71f42335ef7977711c243e038643df1c6c7c5d59f1918e85fdd781e36ebc46f",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "5befc589b9550652e0ce8225f9ec2d48d243df62af5db42eab3ff0f17f6f86d7",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "7b0de70bd4cc3b1e3e98c5d0ce5dc310f4b71a725cc619fdbaa0826d5acfbde3",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "d03a751ccb1120a104f0db45c3aa874c2abeb364ea603cbfe9ceddad023444ea",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "77dac9b2ac13662e5368118cc35de24a7eaf4fa4fda3889e8c869a1875765bb4",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "d8d04952f627dce06828b75dda85a4ca132d1b59e4b9bcb638883896a474c2aa",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "fbc390d0d471e1999b63af6602ee18cacec11e616324a05a928f86f7f5b3fa84",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "502134d0a13c5094f9f008a7b5c0edf6d87148b410211639e0ae8e9fc5813287",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "c86614a8220df6051cb4124a9ab9feeae27bae2061096dab1ef34dfcb9b0e5e3",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "6de4b2df13e775c30b331356779f5e97231055fae4b7a721bf7e6baeb70895bb",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "32347141d0938d1f15dae789b0a20c2f50bc4d449f2448363ea36c5a083bb3fd",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "dd1f3f0001bb3760f3ebffbde8ea269805a56cb703a8714b29ac0f69033e76e0",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "20031ce8e432f6570d7ef95acb33de0ccf88517c0cf2934d00a04175a6337cfc",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "5f8f9f02888bd71f4ed1b4b454f2e76c5fd9eced4307fe6736ccc584cf71e5ca",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "47c00e5eea8e01e1baebbd7ac403af5f7f6bb17dc2551dacc424ac8b123b490b",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "5d2c5eac4fddfb634ed098edae1effb80cf92958f9d8b2696be2ae073c339cf7",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "6263fdafdbd77a3f69f8e1095f1904e045a84a2814fac37af9883a69950178bf",
|
|
24
|
+
"plugins/_lib/mail/render.js": "029dcce15d3612ad2a3c604ca555150645574693a55b91e2cb2c0245f4c30168",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "ac95cd956fc6eb4c628de1d9b55d8a71005dec5a080687e64eaeaf374c74b24b",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "1b951e53d67ad56934c63b896259a6a89ecd886e19a52b710afda60f4fc474b0",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "4a3d615709714c80b482fc4cef80ba5abbb9dbdfe5716db8c30bc4874f178c89",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "4ba3bc6e2bcbb30b1b36cb1b4a25fde24b1f04c67dd4921b6bb33b630ddd77be",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "58cdfcaed8695d8c5fcd83e1496bd63e5b15983a48a5a30e55d495d3a33296f0",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "d55ede3826f55706f5a57fb39b0519d03100c253b13859272831542e4248c391",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "ff6804b549beab82260d83d5f197ce3a6cce63a1a0d6aaf1070e7ce3ff6491c8",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "bb88beed027d26f65614f2a3e0feaed26f74b1a0406a73b224f23e36e2db1e8c",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "9106b3c9789d7d00b0ea9c43d59eacfbed83cde9374989ee5627b92a6cea2148",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "53500083d87b52ae4b4872089d300907daf9d3208aafed1d0dcc8325ccbc83cc",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "d68701467842ccea75a535e3c28ba4b90c06baef70e68479fbca0b4cbfe7f95c",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "a2ee887689ec4b6e0051201695eec802bd7f3b2f0bf64fa51832eba9f74b9f99",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "17eadcc465aea5f0e926b0580a1e2d7993bfa6a85c30939d7607e32f6ac94222",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "e14aafad990506d458b1e31d6a0d16355ab7107cbf3b250296ec3b35e85414e4",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "db8a79e0986c587dcae2d2bce48fd7fb3335fbcd1dff8bdedaa7c0c2dc279d84",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "b7b509eb06c8b99b9e3f3ac2c6bba6cad6c3b62218d8f270f806555418acd15d",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "d6c3ebe62351d6f57080a9e7b2eac5fa35950bfaeef501934957588a925d585c",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "b482d24027041c9c2102368ac68cd662eb5d45e27b8f4db5fd6ca7b2587d2260",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "36c04484892482f373affc4461e22a0b69d31928a4b2f4ec7475c6c7b15505e9",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "5155536314c49eccb4607bf29c64721d1d5fb66106392222dc16e9a921408ecc",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "bc61419731ae07b9a393246dfabe111e345cc605b89847ee86622e72c34ee2cf",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "4514372e73e8d355c7a7c87ef1bdd0169a1435299e2903cafe285d176672f922",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "3e6fad24f1d73012099c5044d9191ddef9dadf88158d5948f92aa1cff29f28b3",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "6ebe6a2a0c9eda1640b464a5f0d9009b4d73d4dc64e29a37cf113ac00bb1a8e2",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "f02a42771e754ac6524614e0a398a0532987817771ec22b2eddd624ca2eb2e3a",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "d2e5ecde52a942580b1009543b5848f4d3df65be3017aa6e59112563acec55a4",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "6b88f09da498e50088838c584e00f1e3e75af2d299d8abe6390225dfe2b776a9",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "496514dd8bd201c89843d97fc6325cb7f29fda6d3cb6bec2d12b3219067bdb74",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "53b7076df25c2f3b287b24beb9afbde1dc27ad31b07d59af77de88bb980fe86f",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "5867c0ed85428e3cfe52b6a10ebf937a14ffec63ec43cad5749b51b5d18f89af",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "cef1145402abcb586c852dd68743bce07ba3d415331d632224b51d5ccf45a40f",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "bd133f990429c64f943a53110305e17edc9b1edd95ea1f443e4a0a1df312078b",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "208e6268997a4d6c9916680e3e024abd195f07b0612f8c94a5dbe00322c6e83b",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "c437b2a7b9a718424f4f0f897c1ac75c20ae812c9a67d39a9893007d7a18cd54",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "35aa92493b9001376f1b2d416553728ecde31eb1268970f473145a1ed0e73bf4",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "18a555cdf0e05dbf4925d6f4936fa976de2e8f05e166989b06c855fe3aaa7410",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "93f85fa6fd05f521c686c2895fa62407ec876bb072677a6f9581d7df8b4bcbff",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "eb7992a4b201c033ccfa61062b0fa888dbfb41d4dc3b0dfcabc00788bc4572b5",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "e8e5b4b226f3ce5ab4b163e3de3803c0cad733b37f07ab5ef8c79907d4a91b90",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "4c76a476360cb88cfcd99d9f7eca7080bb8c0556cebd254edbba1b1d276994be",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "7c3ea9c2b57466b3836ce888622663ff67365c4449d63f50b8e760e202263b37",
|
|
66
|
+
"plugins/_lib/mail/store.js": "f516d3476d592148b05272da5cfb64f090d7d939100328b03ffa91173720d8db",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "e83af585c099999ac09bfc04977a60a688ffddabd7a483ede1c926dedf25ce99",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "de02a783f1a36b2b2c3e11b7af1432f37a67f2e69eaedec34fe4f1aa4054432b",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "b4f7ba745fd7212d2ddb1bb123d7f44c5752691f75a3db7fdf1517915cef6b5d",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "e389fe5b73209c3f58ac0cca80e999514a2158dbd3807f660de7ef852258edd3",
|
|
71
|
+
"plugins/_lib/mail/write.js": "bdf41568adfd9b23d04154b00dd2ac83753d3a26fc63b4ccc2f3c2e8aece0568",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "9988951ac61cc562eb1c87877e50125fc92ab151601bec5407a95552f7ed1a5c",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "e6ca17581b543a8463d3221985138ebdc373ab3da35d579df033065de2926850",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "d362c4ecf98d53ab07d06f51d3c7389514afda7bb079995ba76e1f197cce26cf",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "97648f917e8dc976c0847e6a1673759aab275b11e499fc813bfa5cc29706ffb6",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "dff450506cd48dfcbd4cde9dcd9d5dad46dec7264dddf282ee1bead270666909",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "6b97c85f1dd720c0f3e45ddbc1dc36d2bcf769f24b491f1ce3a40875acceb252",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "fb8fbc195a22195fad29572abb6b23350c5ac49555a38f17ba0f998439a82ef1",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "6e3050b8abb5a12a22704e93564f650df509ffa41500df02bd1cb2cb19ecae98",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "d2d7d52f4552c7abf18a15026fb88e6f3d2d4963875a7a09013327b397cd6ee9",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "d69e92e99ec8397f72959b30849752f4c3364efd9b8d43cac14e61a4adc48713",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "0c30fb7145ff81f8003d9f329c7fbdcfa4daad7b3f0f444973782de14f29c64a",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "3b0f6e9a86a871374a069b665f355fbf2ad51f2c8b39bcd79af98269fa79a34a",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "4a715ef06976b839e4dfce8ddf310d835abeeb215390f1105ac556d0622f9ecd"
|
|
84
85
|
}
|
|
85
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.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.19.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';
|
|
@@ -454,6 +454,40 @@ export function createAccountRepository({store, secrets, isOAuth = account => ac
|
|
|
454
454
|
return (from ?? []).some(entry => trusted.includes(String(entry?.address ?? '').trim().toLowerCase()));
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
+
/**
|
|
458
|
+
* Images from people in the user's contacts: the switch (on unless set
|
|
459
|
+
* off) and the senders excepted from it ("Block for this sender").
|
|
460
|
+
*
|
|
461
|
+
* @param {string} userId
|
|
462
|
+
* @param {string} accountId
|
|
463
|
+
* @param {{enabled?: boolean, block?: string, unblock?: string}} change
|
|
464
|
+
* @returns {Promise<object|null>}
|
|
465
|
+
*/
|
|
466
|
+
async function setContactImages(userId, accountId, {enabled, block, unblock} = {}) {
|
|
467
|
+
return withStoreLock(async () => {
|
|
468
|
+
const all = await readAll();
|
|
469
|
+
const index = all.findIndex(a => a.id === accountId && a.userId === userId);
|
|
470
|
+
if (index === -1) return null;
|
|
471
|
+
const next = {...all[index]};
|
|
472
|
+
if (typeof enabled === 'boolean') next.contactImages = enabled;
|
|
473
|
+
let blocked = Array.isArray(next.contactImageBlocks) ? next.contactImageBlocks : [];
|
|
474
|
+
const clean = value => String(value ?? '').trim().toLowerCase();
|
|
475
|
+
if (clean(block) && !blocked.includes(clean(block))) blocked = [...blocked, clean(block)].slice(-500);
|
|
476
|
+
if (clean(unblock)) blocked = blocked.filter(a => a !== clean(unblock));
|
|
477
|
+
next.contactImageBlocks = blocked;
|
|
478
|
+
all[index] = {...next, updatedAt: new Date().toISOString()};
|
|
479
|
+
await writeAll(all);
|
|
480
|
+
return all[index];
|
|
481
|
+
});
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/** May a contact's images load for this sender at all (switch on, not excepted)? */
|
|
485
|
+
function contactImagesAllowed(account, address) {
|
|
486
|
+
if (account?.contactImages === false) return false;
|
|
487
|
+
const blocked = Array.isArray(account?.contactImageBlocks) ? account.contactImageBlocks : [];
|
|
488
|
+
return !blocked.includes(String(address ?? '').trim().toLowerCase());
|
|
489
|
+
}
|
|
490
|
+
|
|
457
491
|
async function setPollInterval(userId, accountId, minutes) {
|
|
458
492
|
return withStoreLock(async () => {
|
|
459
493
|
if (minutes !== null && !POLL_INTERVALS.includes(minutes)) {
|
|
@@ -613,5 +647,5 @@ export function createAccountRepository({store, secrets, isOAuth = account => ac
|
|
|
613
647
|
return all[index];
|
|
614
648
|
});
|
|
615
649
|
}
|
|
616
|
-
return {sieveToPublic, setSieve, vacationToPublic, sendingAddresses, setVacation, snoozeFolder, undoSendSeconds, setSendingOptions, rulesToPublic, ruleGroupsToPublic, rulesToRun, ruleFolders, setRules, rewriteFolderPaths, setIdentities, setTemplates, listAllAccounts, setPollInterval, setSyncFolders, isOAuth, validate, listAccounts, setDefaultAccount, getAccount, saveAccount, deleteAccount, deleteAccountsForUser, pruneOrphans, toConnection, setSmtp, toSmtpConnection, smtpToPublic, trustImageSender, untrustImageSender, setRememberImageSenders, sendersImagesTrusted};
|
|
650
|
+
return {sieveToPublic, setSieve, vacationToPublic, sendingAddresses, setVacation, snoozeFolder, undoSendSeconds, setSendingOptions, rulesToPublic, ruleGroupsToPublic, rulesToRun, ruleFolders, setRules, rewriteFolderPaths, setIdentities, setTemplates, listAllAccounts, setPollInterval, setSyncFolders, isOAuth, validate, listAccounts, setDefaultAccount, getAccount, saveAccount, deleteAccount, deleteAccountsForUser, pruneOrphans, toConnection, setSmtp, toSmtpConnection, smtpToPublic, trustImageSender, untrustImageSender, setRememberImageSenders, sendersImagesTrusted, setContactImages, contactImagesAllowed};
|
|
617
651
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.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
|
|
|
@@ -474,5 +474,5 @@ export async function setComposeOptions(userId, accountId, options) {
|
|
|
474
474
|
export const {
|
|
475
475
|
sieveToPublic, setSieve, vacationToPublic, sendingAddresses, setVacation, snoozeFolder, undoSendSeconds, setSendingOptions, rulesToPublic, ruleGroupsToPublic, rulesToRun, ruleFolders, setRules, rewriteFolderPaths, setIdentities, setTemplates, listAllAccounts, setPollInterval, setSyncFolders, validate, listAccounts, setDefaultAccount, getAccount, saveAccount,
|
|
476
476
|
deleteAccount, deleteAccountsForUser, pruneOrphans, toConnection,
|
|
477
|
-
setSmtp, toSmtpConnection, smtpToPublic, trustImageSender, untrustImageSender, setRememberImageSenders, sendersImagesTrusted
|
|
477
|
+
setSmtp, toSmtpConnection, smtpToPublic, trustImageSender, untrustImageSender, setRememberImageSenders, sendersImagesTrusted, setContactImages, contactImagesAllowed
|
|
478
478
|
} = baseAccounts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.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.19.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.19.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.19.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.19.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.19.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.19.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.19.0, packages/core/src/mail/folders.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {resolveSubscriptions} from './subscriptions.js';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/imapPoolRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* IMAP connection pool for the Mail Reader plugin.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/message-action.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Remember replies and forwards on the original message after delivery. */
|
|
4
4
|
export const SOURCE_HEADER = 'X-Domma-Message-Source';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/messageSecurity.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {createMessageSecurity} from './messageSecurityProvider.js';
|
|
4
4
|
export const {setMessageSecurity, canProtect, protectRaw, protectDraftRaw, unwrapRaw, parseReadable} = createMessageSecurity();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/messageSecurityProvider.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Where signing and encryption plug into the mail core.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/networkAddresses.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Address classification from the CMS outbound policy, MIT licensed. */
|
|
4
4
|
import net from 'node:net';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/networkPolicy.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import dns from 'node:dns/promises';
|
|
4
4
|
import net from 'node:net';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/oauthAccounts.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {randomUUID} from 'node:crypto';
|
|
4
4
|
import {MailKeyError} from './secretProvider.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/oauthRouteRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The OAuth2 sign-in routes for mailboxes: Connect, the provider's callback,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/oauthRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* OAuth2 sign-in for mailboxes (XOAUTH2) - Microsoft 365 / Outlook.com and Gmail.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/pollSchedule.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Deciding which mailboxes are due a poll.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/poller.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Compatibility entry point for the shared mail poller. */
|
|
4
4
|
export {createPoller} from './pollerRuntime.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.19.0, packages/core/src/mail/publicMailbox.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Standalone mailbox summary. Explicit fields keep credentials out of responses. */
|
|
4
4
|
export function publicMailbox(account) {
|