domma-cms 1.66.4 → 1.66.6
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/admin/css/shared/tools.css +1 -1
- package/admin/js/lib/related.js +1 -1
- package/admin/js/lib/shared/related-runtime.js +1 -0
- package/admin/js/templates/contacts.html +1 -1
- package/docs/DommaFeatures.md +4 -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 +1 -1
- 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/contacts/mailContact.js +1 -1
- package/plugins/_lib/contacts/model.js +1 -1
- package/plugins/_lib/domma-mail-contacts.lock.json +18 -16
- 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/server/server.js +3 -9
- package/server/services/mediaTypes.js +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.66.6] - 2026-11-14
|
|
4
|
+
|
|
5
|
+
- Pictures in Media now show in emails read in webmail. They are sent with `Cross-Origin-Resource-Policy: cross-origin`, so a campaign's or survey's banner and footer no longer arrive as alt text only. Every other response keeps `same-origin`.
|
|
6
|
+
|
|
7
|
+
## [1.66.5] - 2026-11-13
|
|
8
|
+
|
|
9
|
+
- Contacts related records and the shared Tool styles come from Domma Mail 0.92.0 (shared mail core 0.29.0). Nothing changes on a site.
|
|
10
|
+
|
|
3
11
|
## [1.66.4] - 2026-11-13
|
|
4
12
|
|
|
5
13
|
- Contacts and the shared Tool helpers (tool kit, draft recovery and Trash, loading, help popovers) now come from Domma Mail 0.91.0 (shared mail core 0.28.0). Every Tool behaves as before; Domma Mail runs the same Contacts Tool.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dm-help-btn{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:.3rem;padding:0;border:0;background:none;line-height:1;color:var(--dm-text-muted);opacity:.75;cursor:pointer}.dm-help-btn:hover,.dm-help-btn:focus-visible{color:var(--dm-primary);opacity:1}.dm-popover.dm-help-popover{--dm-popover-max-width: 300px;font-size:.85rem;line-height:1.45;font-weight:400}.dm-help-pop{position:fixed;z-index:10050;max-width:300px;padding:.6rem .75rem;background:var(--dm-surface, var(--dm-background));color:var(--dm-text);border:1px solid var(--dm-border);border-radius:var(--dm-radius-md);box-shadow:0 8px 24px #00000040;font-size:.85rem;line-height:1.45;text-align:left;font-weight:400}.dm-help-pop strong{display:block;margin-bottom:.2rem;font-weight:600}.dm-help-pop p{margin:0}
|
|
1
|
+
.dm-help-btn{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:.3rem;padding:0;border:0;background:none;line-height:1;color:var(--dm-text-muted);opacity:.75;cursor:pointer}.dm-help-btn:hover,.dm-help-btn:focus-visible{color:var(--dm-primary);opacity:1}.dm-popover.dm-help-popover{--dm-popover-max-width: 300px;font-size:.85rem;line-height:1.45;font-weight:400}.dm-help-pop{position:fixed;z-index:10050;max-width:300px;padding:.6rem .75rem;background:var(--dm-surface, var(--dm-background));color:var(--dm-text);border:1px solid var(--dm-border);border-radius:var(--dm-radius-md);box-shadow:0 8px 24px #00000040;font-size:.85rem;line-height:1.45;text-align:left;font-weight:400}.dm-help-pop strong{display:block;margin-bottom:.2rem;font-weight:600}.dm-help-pop p{margin:0}.related-box{display:flex;flex-direction:column;gap:.6rem;border-top:1px solid var(--dm-border);padding-top:.75rem}.related-box[hidden]{display:none}.related-head{display:flex;align-items:center;gap:.4rem}.related-head strong{flex:1}.related-list{list-style:none;margin:.3rem 0 0;padding:0;display:flex;flex-direction:column;gap:.25rem}.related-list li{display:flex;flex-direction:column}.related-list li.is-past{opacity:.7}.related-meta,.related-note,.related-loading{color:var(--dm-text-muted);font-size:var(--dm-text-xs);margin:0}
|
package/admin/js/lib/related.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{apiRequest as
|
|
1
|
+
import{createRelatedTools as e}from"./shared/related-runtime.js";import{apiRequest as t}from"../api.js";import{fmtDate as r,fmtDateTime as o}from"./dates.js";const a=Object.assign(Object.create(globalThis),{apiRequest:t,fmtDate:r,fmtDateTime:o});export const{relatedProviders,relatedMenuItems,relatedWhen,transcriptOf,mountRelated}=e(a);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function createRelatedTools(d){const{apiRequest:u,fmtDate:I,fmtDateTime:$}=d,p=new Map;function w(e){return p.has(e)||p.set(e,u(`/related/providers?kind=${encodeURIComponent(e)}`,{method:"GET"}).then(t=>Array.isArray(t)?t:[]).catch(()=>[])),p.get(e)}function N(e,t,a=n=>n.label){return e.flatMap(n=>n.actions||[]).map(n=>({label:a(n),icon:n.icon||"arrow-right",action:()=>{location.hash=n.url.replace(/\{id\}/g,encodeURIComponent(t)).replace(/^#/,"")}}))}function m(e){if(e?.when)return String(e.when);if(!e?.startAt)return"";const t=new Date(e.startAt);return Number.isNaN(t.getTime())?"":e.allDay?I(t.toISOString().slice(0,10)):$(t)}const r=(e,t,a)=>{const n=document.createElement(e);return t&&(n.className=t),a!=null&&(n.textContent=a),n};function y(e){const t=e?.transcript;if(!t||typeof t.url!="string"||!/^\/[\w\-/%.]+$/.test(t.url)||t.url.includes(".."))return null;const a=Math.max(0,Number(t.count)|0);return a?{url:t.url,count:a,title:String(t.title||"Call chat").slice(0,160)}:null}function U(e,t){const a=r("button","btn btn-sm btn-ghost related-chat",`${e.count} message${e.count===1?"":"s"}`);return a.type="button",a.title="Read the chat from this call",a.addEventListener("click",async()=>{a.disabled=!0;try{const[n,f]=await Promise.all([u(e.url,{method:"GET"}),import("/plugins/_lib/admin/ui/transcript.js")]);await f.openTranscript({title:e.title,subtitle:t?`Call started ${t}`:"",items:n?.items||[]})}catch(n){d.E?.toast?.(n?.status===404?"That chat is not available.":"The chat could not be loaded just now.",{type:"warning"})}finally{a.disabled=!1}}),a}async function L(e,t,a,{onOpen:n,name:f=""}={}){e.hidden=!0;const v=await w(t);if(!v.length||!e.isConnected)return;e.hidden=!1,e.replaceChildren(r("p","related-loading","Loading\u2026"));let R;try{R=await u(`/related?kind=${encodeURIComponent(t)}&id=${encodeURIComponent(a)}`,{method:"GET"})}catch{e.replaceChildren(r("p","related-note","Could not be loaded just now."));return}const S=(R?.providers||[]).map(o=>{const s=r("section","related-section"),h=r("div","related-head"),b=r("span");b.dataset.icon=o.icon||"link",b.dataset.iconSize="14",h.append(b,r("strong","",o.label));const g=(v.find(i=>i.id===o.id)?.actions||[])[0];if(g){const i=r("button","btn btn-sm btn-ghost related-add",g.label.replace(/\{name\}/g,f||"them"));i.type="button",i.addEventListener("click",()=>{n?.(),location.hash=g.url.replace(/\{id\}/g,encodeURIComponent(a)).replace(/^#/,"")}),h.append(i)}if(s.append(h),o.error)s.append(r("p","related-note",o.error));else if(!o.items?.length)s.append(r("p","related-note",`No ${o.label.toLowerCase()} yet.`));else{const i=r("ul","related-list");for(const l of o.items){const c=r("li",l.past?"is-past":""),C=r(l.url?"a":"span","related-title",l.title||"Untitled");l.url&&(C.href=l.url,C.addEventListener("click",()=>n?.())),c.append(C);const T=[m(l),l.meta].filter(Boolean).join(" \xB7 ");T&&c.append(r("small","related-meta",T));const E=y(l);E&&c.append(U(E,m(l))),i.append(c)}s.append(i)}return s});e.replaceChildren(...S),d.I?.scan?.(e)}return{relatedProviders:w,relatedMenuItems:N,relatedWhen:m,transcriptOf:y,mountRelated:L}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Source: @domma-mail/core 0.
|
|
1
|
+
<!-- Source: @domma-mail/core 0.29.0, packages/core/src/admin/contacts/view.html. -->
|
|
2
2
|
<!-- No heading: the banner above (admin/js/lib/plugin-chrome.js) is the title.
|
|
3
3
|
Everything that changes is bound (M.applyBindings) - see admin/js/views/contacts.js, which also
|
|
4
4
|
inserts the row and chip templates: the router renders this file through _.render, eating any {{…}}.
|
package/docs/DommaFeatures.md
CHANGED
|
@@ -2535,6 +2535,10 @@ Measurement and automation: a Performance screen per campaign - reached, opened
|
|
|
2535
2535
|
|
|
2536
2536
|
**Contacts groups and Send from (1.6.0, 2026-11-01).** A campaign can pick Contacts groups (and people handed over from Contacts) directly; they are read when it sends, so whoever is in the group then gets it - no import step. They are the saver's own contacts (not ones shared with them); each member gets an outreach row by email so the ledger, tracking, A/B and sequences work unchanged. **Send from** picks the site's sending or one of the author's Email (`email-pro` 0.13+) mailboxes: each person still gets their own copy with their own links and unsubscribe, but from the author's address, filed in their Sent folder, replies to them - at most 50 people (`mailboxMaxRecipients`). Only the mailbox owner may send or change a mailbox campaign, and only the Contacts owner (whoever last saved) may send to those contacts. Email switched off or the mailbox gone: the campaign refuses with a reason, never a silent fallback. Contacts Pro 0.13 adds "Send a campaign to this group…" (group chip menu), a bulk-bar "Campaign…" and a row-menu item.
|
|
2537
2537
|
|
|
2538
|
+
**Pictures and files from Media and the File Store (unreleased, 2026-11-13).** Insert picture in the campaign editor takes a picture from Media or the File Store as well as an upload, and Link a file (body, header, footer) links to a document in either - a link, never an attachment, so the email stays small and the click is counted. A File Store file goes into an email only as its public link (`/_f/<code>`, `?inline=1` for a picture): a private one is made public when chosen, after a confirm, and needs to be the person's own file plus the File Store's "Public links" permission. Making it private again or trashing it stops the link in emails already sent. The File Store is optional - without it only Media is offered. Every field of the editor now carries a full help popover.
|
|
2539
|
+
|
|
2540
|
+
**Blocks and tags in campaign emails (unreleased, 2026-11-13).** Insert block or tag in the campaign editor (body, header, footer) writes a page tag into the message: a site block, or one of the static tags (button, link, card, box, banner, badge, grid, row, spacer, center, text, hero, table, listgroup). At send time, in Preview email and in a test send, each tag is rendered by the engine's own renderer and then turned into email HTML: styles inlined from a small email stylesheet plus the block's own CSS, theme tokens resolved against the site's light theme, grids and flex rows made into tables, icons, scripts and forms removed. Interactive tags (tabs, carousels, forms, collections, embeds, effects) are never rendered - typed by hand they stay as text. Merge fields work inside tags (`[button href="{{link}}" … /]`). The email sanitiser still runs per recipient. Also: right-click or double-click a picture in the message to edit or remove it.
|
|
2541
|
+
|
|
2538
2542
|
**Where:** Admin sidebar "Campaigns Pro" (`#/plugins/campaigns-pro`); Performance per campaign at `#/plugins/campaigns-pro/performance/:slug`; the audience screen is shared with Surveys.
|
|
2539
2543
|
|
|
2540
2544
|
### Onboard Pro (`onboard-pro`)
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, 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.
|
|
1
|
+
// Source: @domma-mail/core 0.29.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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.0, packages/core/src/contacts/mailContact.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-contacts.mjs; edit the shared source.
|
|
3
3
|
import {buildContact} from './model.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/contacts/model.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-contacts.mjs; edit the shared source.
|
|
3
3
|
/** Portable CMS contact records. Storage, access checks and identity belong to the host. */
|
|
4
4
|
/**
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.29.0",
|
|
5
5
|
"files": {
|
|
6
|
-
"admin/js/lib/contacts-arrange.js": "
|
|
7
|
-
"plugins/_lib/contacts/model.js": "
|
|
8
|
-
"plugins/_lib/contacts/mailContact.js": "
|
|
9
|
-
"admin/js/lib/shared/contacts-view.js": "
|
|
10
|
-
"admin/js/templates/contacts.html": "
|
|
11
|
-
"admin/js/views/contacts.js": "
|
|
12
|
-
"admin/js/lib/shared/tool-kit-runtime.js": "
|
|
13
|
-
"admin/js/lib/tool-kit.js": "
|
|
14
|
-
"admin/js/lib/shared/tool-recovery-runtime.js": "
|
|
15
|
-
"admin/js/lib/tool-recovery.js": "
|
|
16
|
-
"admin/js/lib/shared/help-popover-runtime.js": "
|
|
17
|
-
"admin/js/lib/help-popover.js": "
|
|
18
|
-
"admin/js/lib/shared/loading-runtime.js": "
|
|
19
|
-
"admin/js/lib/loading.js": "
|
|
20
|
-
"admin/css/shared/tools.css": "
|
|
6
|
+
"admin/js/lib/contacts-arrange.js": "1bd7fa74d1344105b72d7aaf3a7c11431e0424eeda4d22920726ca896c668a82",
|
|
7
|
+
"plugins/_lib/contacts/model.js": "f374017906264ca0f4ad6feef16f9133ae895db1bd66117f586d211ebb07c7e0",
|
|
8
|
+
"plugins/_lib/contacts/mailContact.js": "ff22f01e050cc9255b67e1297203eadaf9c5320afbacbf5cc5855c49df485ea2",
|
|
9
|
+
"admin/js/lib/shared/contacts-view.js": "ccaea62c2461a693cffa5927a6d4fd1bb2fc300e0ba017bc41295974150db63e",
|
|
10
|
+
"admin/js/templates/contacts.html": "dd8d98063f5b8c1502276f810f71031c0d8196fe330574ca462947bb158d5b03",
|
|
11
|
+
"admin/js/views/contacts.js": "68e091718060fe862c2d20f9c96b6988b837d69d81678c31a4ac8960e2a18ac4",
|
|
12
|
+
"admin/js/lib/shared/tool-kit-runtime.js": "758a5f7520b4cde79533855424c89c0d9f1283afa62418d63b5ef2ce54c27cfd",
|
|
13
|
+
"admin/js/lib/tool-kit.js": "e549dd2bb6dba9442a32a6789031259e6181f57e922fbbd8e8c3bd562bad344c",
|
|
14
|
+
"admin/js/lib/shared/tool-recovery-runtime.js": "6c67db04bbd37f80b274f3a4039b81cd0465498721c17cfeb14031af3d608be0",
|
|
15
|
+
"admin/js/lib/tool-recovery.js": "17ca0499aa9db419fe97b1f52419ff30d1ce567329569fb5ef51a9f2b846b414",
|
|
16
|
+
"admin/js/lib/shared/help-popover-runtime.js": "18b1482fb1e1aa1399806d886b74d2ddaa6e56191c0c865aadd87271d4a7660d",
|
|
17
|
+
"admin/js/lib/help-popover.js": "0b9c5ddca7ba4501e06a721eacdee40ddf5bfb2471a3b83d11be7c4404b0ba44",
|
|
18
|
+
"admin/js/lib/shared/loading-runtime.js": "b82e0bf60c8161913e1588aa5cfe2ab4130aa4388887bbeeae18800808ac0f11",
|
|
19
|
+
"admin/js/lib/loading.js": "511dc27caa75606ffa45f1768ca2b382dc067dfe9c0c2b8deacf5b0b62a4801f",
|
|
20
|
+
"admin/css/shared/tools.css": "332481aeb0dbf90a2286fce448e52966a4cbc5dcf562805c17cb3a77f497072e",
|
|
21
|
+
"admin/js/lib/shared/related-runtime.js": "399ae49a903b861c2a58787ef57f416061afd040113c94d8ea6fd050cbb44d12",
|
|
22
|
+
"admin/js/lib/related.js": "1b31e487a13ce861b6de56164bdb4e8cab1888d6a5141089d6d33d31f52a436e"
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.29.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": "
|
|
6
|
+
"plugins/_lib/mail/defaults.js": "3a9ceef8ed0b226318c592746663430d35fd76eb743ef59d48c8deda284aa220",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "4b67130c39d8ac20a16add23c00d280196c9f735a9b4e08200f7f3ece86ff91b",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "95bee9565336fc8229b6e304d0432763934b698ec2031096acc3c2a3799f4c03",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "40976c9538df070ba49c136b64bf80353352cdca8a153e292bc011b2e9b956ac",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "73753ce6f609dc0ce5f555a8184c6c9acd0f55080cc2a4e2a51ea73c30beccc1",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "bed2c808aab84ea9320c8a7f732ff763e258db4c20d67baf4f215050e2020d6b",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "85c90eda914c01eca25eea570acd246c17fc786932c2bdcf83f76b757d6fe414",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "673a482ff9ee9694b8ed02b261fd012d55522e8bf4184529acccd77e6fa56585",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "239188d3504c95af90951ba840d6f0b02097b85ea6c855924620595703bf40be",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "d07e2add484e81628682821b93a317f78c30583381efa22c5fa84976d1f73dae",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "e9bfd4dc2f9e7b5eee13b440a6f2aa50cd613d6d93a275d93814d527b9b10479",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "449cbec96de32fdec0316022051ed3fd8b1920e36658e076bc4a65ca40babc5a",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "77ab760451e04f1c963818dd4202015f5d3b58ef07ffb5605bba402d6e99e9bb",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "fa7a31ba40a1c36ed32b7b5b51fa6dc99075090606646e7e3895dd14e0eee71d",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "eb08f792255b7d9c27bfbf1abb843ecd8814ec665ad03ba149bc4220c420a73c",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "58a27209e659035fc7953eb2593174c9037113e4b4ec56dbf4a724ab36102102",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "14c5e77c3ea0021d97e4a980c965806724530b01895daa4b2ab2c7b747213a4b",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "ba4b1d0a9ab1a92f2156cd46531a2b8dccf0cff74d6d7edad9c053d6429d2948",
|
|
24
|
+
"plugins/_lib/mail/render.js": "898f83ab301ec6e22706d2b85c4fc18e56005a7df892bf9a82bccc1209973da7",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "80d0d507b6dacc65ad809e50f3d29d70bd2ee3d5750466544873b8b27d727fef",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "fbb8faafc68060d96baaa6e00da79fab1937c76f4116f2e762c80136145ff12a",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "fff575bca5e0ddac2b848c51e6757ffc7970b5426dbdbe27710c52da21d9e033",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "99959a91969c292a71b3533e7ef614f44b217da347da4c024998d3b3dcec6e69",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "ccfdf3b578a57474158d082d7e8d5dc782b4ade4598450eb4aa30e713281063e",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "de2078d88077ba6e676298816dd2d421b756af79a065a728ef6916d232efbf87",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "1266b4078b8ce939fe31ad515c876e5f6b4d0574bd39cfad9bf5c1d69eacb0a6",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "17a179a25369e4f5de033eef569a5999e1b5ffe09459aebc426501645513fd53",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "5ebfa69e924803b91edf1e417abbe94f0399c6f84bf64d69082e9faf9995a537",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "b2853bab4ff624f336b3b97800abfe37990b26f96e7c1cb2bdb093eb71c4b974",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "cd19d5a5943667d6d1960692c1ebf881952260eaefcdf840618bcf6d92eba58e",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "53733122c31ac86d36a6ca1fe861ef7b2c21ad36bdb60719d755e8070f770209",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "2d94fc07bde7a33cd845a6ee017bf615ba392667746a38d31d79eae98db0867c",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "b474ba4cca8461cb230530f44ee91f7e80ed4e5e5a7d84caa78cdf820a203d81",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "9e6452bc1b9bf8ef86495bca167cbebcc13d7ef077f7b57421505f83e7332650",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "6ad701385e91dcc5e8dd3099a497102fa3eee4797f2c75bf0383797f9899005c",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "50de68cd7867badcd0776376a9a976157dc9fd74b97d6777c193e9699a9e7d1c",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "9c403815792a4b292e520d216ade95dc5c6162d35ee79c226feb2e8eced16433",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "a3a1a862c9f0242f269fec7d37eb6d56c481c853d29607098248380b576309c9",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "7995fe9e9f87da3c653a6146b699d4c11399546b73de4cfbe03d4a373a8681d9",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "41ef5e1ee26ef99243f7ee7bf63613064ab81b48245c7889fdfb0f6ab2a10d60",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "dc3690509edd8235b5efd1cb85e33e29803d785b39e94c0d2bd2f9679efabaaa",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "1e9151bccf04b42e3b550e1947954c8040fe9e9e2b65b1930ef24b75fec6beb0",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "3def41326d5bb1ab0713fea1a55e573cb52b0db71586b08b3015a12192623657",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "1aed86bd71744ed965cf026b3f39e97645006467d1896473c48ecd1e8d403f66",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "f803b5c467cb21e7d67458faf55eef1338c16412c3c9f8022a34be8b21959c87",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "4bf50a1dfd86469f98cfd16a9ff6527fee9033354950fbc6915db60ba71f8818",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "aeb2193751e35fe7e10626100217991777d1d7fa623975c29dd4e6fb9bd5c29c",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "a03a9f14cf9df546a0994aaa396ef9d991b5ec1ed45bbaf93cc80ae32c473305",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "0840658611ea4aec7069745e8bc7396c24dc6ef2f643dac5a7109998690e4743",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "add0d4a77fdb7d224c12fef3738494cddeba5aaf1c4369d2e43e1a7cd323f431",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "c74a7750ef6b987bb5fb9df109bb8daec73b1fddc1030fbfb4effb8453eff99d",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "69005fa0dfe47174ed8ef66679c693bfdc1c17af329b82c31d1b12046586b63a",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "00f53fb32b7e3b7bfe93cc8645b1e875ab3764bdf7ae33f6194f7ab459af05d1",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "b327875f39758cb4a29d6937d6e4fd645127a02f8dbadb1c6e7b2160f1e6ebd2",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "f401e81003e9805d05791a693925681c1f05b346023d819eb8445a66ea1b7041",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "3950016f3b20fbcc377dccedefa2cc488bf28b110355614119be538dc54630fc",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "80ec39070b62f806efc28b2f07c926e4763bfe07890e58f9973f0ae84975c189",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "b832523a100ff3d687c6d20c548ebd211365d662663afef96813a00e604d81e9",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "e7521101a66b69905d9f6315e7a16161d1ad76543c304fd34c5d78b769c19a83",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "b5abaeae638ba995a2ea71a2702888913840d8c409c0dd1917beed9c4267cfc1",
|
|
66
|
+
"plugins/_lib/mail/store.js": "0788666e1678713323243215e81d867b0e2beec13cec5305820a5854f3cdb66e",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "cee488be1b921d099b3b1eeec778c0c51f58a01977daf08b934bb18d3d5d802f",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "bddbc138b1747b824a0cda0a8829db5c646ed19ddacb04aeb1d8689e3923d7e1",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "c7446f9ba065a6b4e7e7fda758af785efd17db5ece7ee70bc462de5669d68f33",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "f66e7640c6472d9759c417e399c5b248011c55caf4fcfc7805acaaef90344c57",
|
|
71
|
+
"plugins/_lib/mail/write.js": "1bf9f86c569a498c35ec3832d5e3fdaabd08ce130c221fd059ad04a485b56843",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "546a0f080e0f57aadb0ecf97ce852abbd004176b9c66c2d303a9cddd133a40f8",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "3f2835a7b4b1b20795b620fb6df647c0f65aa8764b642b6e5e42f77f73bc4d8d",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "ba09eec5f7796957002582b200c93867d50664268ef77c708476cce2277d84bc",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "7924cacc21add898a57752cf663aa79c76eacdc0cd4183ebb3a4f41bc901aa39",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "0d938fe9526408f71c9f087cb1cd88bb09af667083c61eaa650407ff08aecdcc",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "83107dd4d04148690c2d3e5ef559ced59be601e1a92172278d379c71f4225c8d",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "8acd4f5104ccbdf00528d3ebc202d73f4bcab7da97c2b10cb8d9d9c033623e01",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "573268d58386f1d2a3e0f9251fb53ed772e4ce264bf3bf2ea0504c89fe393933",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "ff403e596bdccf4ad69b431ab5254ba88b4d6728a6a9d57553e288d1e4a1004d",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "0941de0e1898d86f6e48f0954187b10be24ab70b5657f6bbf9d3abdaff18cd40",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "3ecdf667b083bd1d1ee9b80e75e5934ecd0599a300e604c686835b14b6f48dc1",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "fa088cad96fded2338c3cfe21f4e7ba69bbbee073f4f5505e0275ce56a9e8aee",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "9068ad15337c23ed61b0f768fd9d9a0d5ec29dfb28ed1deeea7c1dddff233b7d"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.0, packages/core/src/mail/publicMailbox.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Standalone mailbox summary. Explicit fields keep credentials out of responses. */
|
|
4
4
|
export function publicMailbox(account) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/readRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {registerAccountRoutes} from './accountRoutes.js';
|
|
4
4
|
import {ENVELOPE_QUERY, hasAttachment, parseHeaderBlock} from './envelope.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/schedulerRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The worker behind "send later", "undo send" and "snooze".
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/secretProvider.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {createCipheriv, createDecipheriv, createHash, randomBytes, scryptSync} from 'node:crypto';
|
|
4
4
|
import fs from 'node:fs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/secretbox.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** CMS compatibility entry point. Standalone hosts create their own secret box. */
|
|
4
4
|
import path from 'node:path';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/senderAuth.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Did this message really come from the address in its From line?
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/sieve.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** ManageSieve (RFC 5804). One bounded, TLS-verified session per operation. */
|
|
4
4
|
import net from 'node:net';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/smtpService.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Sending, and keeping a copy where the rest of your clients will find it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/snoozeRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {safeWritePool, moveMessage} from './write.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/subscriptions.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
export function resolveSubscriptions(boxes) {
|
|
4
4
|
const list = boxes ?? [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/syncRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {missingUids, planFolderSync} from './syncPlan.js';
|
|
4
4
|
import {resolveSyncFolders} from './syncSelection.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/syncSelection.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Which folders a mailbox keeps mirrored.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/unreadBadge.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The free reader's sidebar badge - unread mail in each mailbox's INBOX.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.
|
|
1
|
+
// Source: @domma-mail/core 0.29.0, packages/core/src/mail/vacationRuntime.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {randomUUID} from 'node:crypto';
|
|
4
4
|
import {autoReplyHeaders, isActive, normaliseVacation, replySubject, shouldAutoReply, replyHistory} from '../admin/mail/vacation.js';
|
package/server/server.js
CHANGED
|
@@ -35,7 +35,7 @@ import {requestSerializer} from './services/request-log.js';
|
|
|
35
35
|
import {rateLimitOptions} from './services/rate-limit.js';
|
|
36
36
|
import {registerAdminAssets} from './services/adminAssets.js';
|
|
37
37
|
import {registerPublicAssets} from './services/publicAssets.js';
|
|
38
|
-
import {
|
|
38
|
+
import {mediaHeaders} from './services/mediaTypes.js';
|
|
39
39
|
import {connectSources, frameSources, imageSources} from './services/embedCsp.js';
|
|
40
40
|
import {cspSources as gaSources} from './services/googleAnalytics.js';
|
|
41
41
|
|
|
@@ -433,14 +433,8 @@ await app.register(staticPlugin, {
|
|
|
433
433
|
root: mediaDir,
|
|
434
434
|
prefix: '/media/',
|
|
435
435
|
decorateReply: false,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
// A file a browser would run as a document (HTML, any XML, SVG, script) is
|
|
439
|
-
// served sandboxed: shown, never able to script this site's address.
|
|
440
|
-
if (isActiveType(servedType(filePath))) {
|
|
441
|
-
reply.header('Content-Security-Policy', "sandbox; default-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'");
|
|
442
|
-
}
|
|
443
|
-
}
|
|
436
|
+
// nosniff, sandboxed documents, and pictures other sites' pages (webmail) may show - services/mediaTypes.js.
|
|
437
|
+
setHeaders: (reply, filePath) => reply.headers(mediaHeaders(filePath))
|
|
444
438
|
});
|
|
445
439
|
|
|
446
440
|
// Fingerprinted public assets are cached for good, and the site's custom CSS is
|
|
@@ -42,3 +42,18 @@ export function formMayCollect(type) {
|
|
|
42
42
|
export function refusedExtensions() {
|
|
43
43
|
return Object.entries(mime._types).filter(([, type]) => !formMayCollect(type)).map(([ext]) => ext).sort();
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The headers /media/ adds to a file it serves. nosniff always; a file a browser would run as a document (HTML, any
|
|
48
|
+
* XML, SVG, script) is sandboxed - shown, never able to script this site's address. A picture may be shown from
|
|
49
|
+
* another site's page: Media is public, and an email is read on someone else's page (webmail), where helmet's
|
|
50
|
+
* same-origin left a campaign's banner and footer as alt text. Everything else keeps helmet's same-origin.
|
|
51
|
+
*/
|
|
52
|
+
export function mediaHeaders(filePath) {
|
|
53
|
+
const type = servedType(filePath);
|
|
54
|
+
return {
|
|
55
|
+
'X-Content-Type-Options': 'nosniff',
|
|
56
|
+
...(isActiveType(type) ? {'Content-Security-Policy': "sandbox; default-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'"} : {}),
|
|
57
|
+
...(/^image\//.test(type) ? {'Cross-Origin-Resource-Policy': 'cross-origin'} : {})
|
|
58
|
+
};
|
|
59
|
+
}
|