domma-cms 1.62.0 → 1.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/admin/js/lib/page-editor-reference.js +5 -5
- package/admin/js/lib/shortcode-registry.js +3 -3
- 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 +18 -1
- package/plugins/_lib/admin/mail/reader-runtime.js +7 -7
- package/plugins/_lib/admin/mail/reader-view.js +1 -1
- package/plugins/_lib/admin/mail/resizable.js +1 -1
- package/plugins/_lib/admin/mail/restore-spam.js +1 -1
- package/plugins/_lib/admin/mail/rules.js +1 -1
- package/plugins/_lib/admin/mail/scheduling.js +1 -1
- package/plugins/_lib/admin/mail/section-kit.js +1 -1
- package/plugins/_lib/admin/mail/security-note.js +1 -1
- package/plugins/_lib/admin/mail/settings-section.js +1 -1
- package/plugins/_lib/admin/mail/templates.js +1 -1
- package/plugins/_lib/admin/mail/threads.js +1 -1
- package/plugins/_lib/admin/mail/vacation.js +1 -1
- package/plugins/_lib/admin/mail/when-closed.js +1 -1
- package/plugins/_lib/admin/ui/dates.js +1 -1
- package/plugins/_lib/admin/ui/resizable.js +1 -1
- package/plugins/_lib/domma-mail.lock.json +80 -80
- package/plugins/_lib/mail/accountFileStore.js +1 -1
- package/plugins/_lib/mail/accountRepository.js +1 -1
- package/plugins/_lib/mail/accountRoutes.js +1 -1
- package/plugins/_lib/mail/bodyTokenProvider.js +1 -1
- package/plugins/_lib/mail/bodyTokens.js +1 -1
- package/plugins/_lib/mail/compose.js +1 -1
- package/plugins/_lib/mail/defaults.js +1 -1
- package/plugins/_lib/mail/envelope.js +1 -1
- package/plugins/_lib/mail/folderActions.js +1 -1
- package/plugins/_lib/mail/folderRuntime.js +1 -1
- package/plugins/_lib/mail/folders.js +1 -1
- package/plugins/_lib/mail/imapPoolRuntime.js +1 -1
- package/plugins/_lib/mail/mbox.js +1 -1
- package/plugins/_lib/mail/message-action.js +1 -1
- package/plugins/_lib/mail/messageSecurity.js +1 -1
- package/plugins/_lib/mail/messageSecurityProvider.js +1 -1
- package/plugins/_lib/mail/networkAddresses.js +1 -1
- package/plugins/_lib/mail/networkPolicy.js +1 -1
- package/plugins/_lib/mail/oauthAccounts.js +1 -1
- package/plugins/_lib/mail/oauthRouteRuntime.js +1 -1
- package/plugins/_lib/mail/oauthRuntime.js +1 -1
- package/plugins/_lib/mail/pollSchedule.js +1 -1
- package/plugins/_lib/mail/poller.js +1 -1
- package/plugins/_lib/mail/pollerRuntime.js +1 -1
- package/plugins/_lib/mail/priority.js +1 -1
- package/plugins/_lib/mail/publicMailbox.js +1 -1
- package/plugins/_lib/mail/readRuntime.js +1 -1
- package/plugins/_lib/mail/render.js +1 -1
- package/plugins/_lib/mail/ruleRunner.js +1 -1
- package/plugins/_lib/mail/schedulerRuntime.js +1 -1
- package/plugins/_lib/mail/secretProvider.js +1 -1
- package/plugins/_lib/mail/secretbox.js +1 -1
- package/plugins/_lib/mail/senderAuth.js +1 -1
- package/plugins/_lib/mail/sieve.js +1 -1
- package/plugins/_lib/mail/smtpService.js +1 -1
- package/plugins/_lib/mail/snoozeRuntime.js +1 -1
- package/plugins/_lib/mail/store.js +1 -1
- package/plugins/_lib/mail/subscriptions.js +1 -1
- package/plugins/_lib/mail/syncPlan.js +1 -1
- package/plugins/_lib/mail/syncRuntime.js +1 -1
- package/plugins/_lib/mail/syncSelection.js +1 -1
- package/plugins/_lib/mail/unreadBadge.js +1 -1
- package/plugins/_lib/mail/unsubscribe.js +1 -1
- package/plugins/_lib/mail/vacationRuntime.js +1 -1
- package/plugins/_lib/mail/write.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.62.2] - 2026-11-12
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Grid, Row and Column explain their settings.** In the Page Editor, every field on the Grid, Row and Column forms now has a line under it saying what it does and what an empty value means - how a grid stacks on phones, what the gap numbers are, that a column's span only works in a grid. The Editor Reference's Grid & Columns table gains the settings it left out (responsive, align, reveal, tilt, id).
|
|
8
|
+
|
|
9
|
+
## [1.62.1] - 2026-11-12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Show headers lists full addresses.** In Mail Reader and Email Pro, the header details now show From, Reply to, To, Cc and Bcc as Name <address>, not the name alone (Mail core 0.24.4).
|
|
14
|
+
|
|
3
15
|
## [1.62.0] - 2026-11-12
|
|
4
16
|
|
|
5
17
|
### Added
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{onceClosed as p}from"./tool-kit.js";const u=([o,a,n])=>n===void 0?{code:o,where:"",text:a}:{code:o,where:a,text:n},e=(o,a,n="")=>({title:o,code:a,note:n||""}),t=(o,{intro:a="",head:n=null,rows:s=[],block:l="",examples:r=[],outro:i=""}={})=>({title:o,intro:a,head:(n||[]).map((d,c)=>({i:c,text:d})),rows:s.map(u),block:l,examples:r,outro:i}),m=[t("Markdown Basics",{head:["Syntax","Result"],rows:[["**bold**","bold (rendered bold)"],["_italic_","italic (rendered italic)"],["## Heading","Heading (h2)"],["[text](url)","Link"],["","Image"],["- item","Bullet list"],["`code`","Inline code"],["---","Divider"]]}),t("Keyboard Shortcuts",{rows:[["Ctrl + /","Toggle a comment around selected text or the current paragraph"],["Ctrl + B","Bold selected text"],["Ctrl + I","Italic selected text"],["Ctrl + K","Insert link dialog"],["Shift + Alt + F","Format: tidy the page body (trailing spaces, blank lines, tables lined up), or re-indent a block's or component's HTML, CSS, JS or JSON"],["Enter","New line at the same indent; carries a list or quote on (Enter on an empty item ends it); in code, one deeper after { ( [ or an opening tag"],["Tab / Shift + Tab","Indent or outdent - every selected line when the selection spans lines (indent size, tabs or spaces: Editor settings)"],["Ctrl + X","Cut current line (no selection) or cut selection"],["Ctrl + C","Copy current line (no selection) or copy selection"],["Ctrl + V","Paste from clipboard"],["Ctrl + Z","Undo"],["Ctrl + Y","Redo"]]}),t("Tips",{rows:[['class="text-center"',"Centre text and inline elements on any shortcode"],['class="mx-auto"',"Centre a block element horizontally"],["[center]...[/center]","Shorthand wrapper for centred content"]],outro:"Most shortcodes accept a class attribute for custom styling."})],
|
|
1
|
+
import{onceClosed as p}from"./tool-kit.js";const u=([o,a,n])=>n===void 0?{code:o,where:"",text:a}:{code:o,where:a,text:n},e=(o,a,n="")=>({title:o,code:a,note:n||""}),t=(o,{intro:a="",head:n=null,rows:s=[],block:l="",examples:r=[],outro:i=""}={})=>({title:o,intro:a,head:(n||[]).map((d,c)=>({i:c,text:d})),rows:s.map(u),block:l,examples:r,outro:i}),m=[t("Markdown Basics",{head:["Syntax","Result"],rows:[["**bold**","bold (rendered bold)"],["_italic_","italic (rendered italic)"],["## Heading","Heading (h2)"],["[text](url)","Link"],["","Image"],["- item","Bullet list"],["`code`","Inline code"],["---","Divider"]]}),t("Keyboard Shortcuts",{rows:[["Ctrl + /","Toggle a comment around selected text or the current paragraph"],["Ctrl + B","Bold selected text"],["Ctrl + I","Italic selected text"],["Ctrl + K","Insert link dialog"],["Shift + Alt + F","Format: tidy the page body (trailing spaces, blank lines, tables lined up), or re-indent a block's or component's HTML, CSS, JS or JSON"],["Enter","New line at the same indent; carries a list or quote on (Enter on an empty item ends it); in code, one deeper after { ( [ or an opening tag"],["Tab / Shift + Tab","Indent or outdent - every selected line when the selection spans lines (indent size, tabs or spaces: Editor settings)"],["Ctrl + X","Cut current line (no selection) or cut selection"],["Ctrl + C","Copy current line (no selection) or copy selection"],["Ctrl + V","Paste from clipboard"],["Ctrl + Z","Undo"],["Ctrl + Y","Redo"]]}),t("Tips",{rows:[['class="text-center"',"Centre text and inline elements on any shortcode"],['class="mx-auto"',"Centre a block element horizontally"],["[center]...[/center]","Shorthand wrapper for centred content"]],outro:"Most shortcodes accept a class attribute for custom styling."})],h=[t("Grid & Columns",{intro:"[grid] is a set number of equal columns that stacks on small screens. [row] shares its width equally between however many columns it holds. Both hold [col] cells.",rows:[['cols="N"',"[grid] only","Number of columns (1-12). Up to 6 stack to one column on phones; 7 or more keep their count"],['gap="N"',"[grid], [row]","Gap between columns/rows: 0 (none) to 6 (2rem)"],['responsive="false"',"[grid] only","Keep exactly cols columns on every screen, phones included"],['fullwidth="true"',"[grid] only","Break out of page container to span full viewport"],['span="N"',"[col] in a [grid]","How many columns this cell spans. No effect in a [row]"],['align="left|center|right"',"[col] only","Line up the text in this column"],["reveal","[row] only","Columns appear as the row scrolls into view (see the example for its settings)"],["reveal-replay","[row] only","Reveal again each time the row scrolls back into view"],["tilt","[row] only","Columns (cards) lean toward the pointer"],['class="x"',"[grid], [row]","Add extra CSS classes"],['id="x"',"all","A name for links (#x) and your own CSS"]],examples:[e("Equal columns",`[grid cols="3" gap="4"]
|
|
2
2
|
[col]One[/col]
|
|
3
3
|
[col]Two[/col]
|
|
4
4
|
[col]Three[/col]
|
|
@@ -12,7 +12,7 @@ import{onceClosed as p}from"./tool-kit.js";const u=([o,a,n])=>n===void 0?{code:o
|
|
|
12
12
|
[col]First[/col]
|
|
13
13
|
[col]Second[/col]
|
|
14
14
|
[col]Third[/col]
|
|
15
|
-
[/row]`,'Columns reveal one by one as the row scrolls into view. reveal-direction="rtl" reverses the order. Animations: slide-up, slide-down, slide-left, slide-right, fade, zoom, flip.'),e("Card in a grid",`[grid cols="3" gap="4"]
|
|
15
|
+
[/row]`,'Columns reveal one by one as the row scrolls into view. reveal-direction="rtl" reverses the order. reveal-mode="sequence" drops the wait between columns. Animations: slide-up, slide-down, slide-left, slide-right, fade, zoom, flip, swoosh, swoosh-sides.'),e("Card in a grid",`[grid cols="3" gap="4"]
|
|
16
16
|
[col]
|
|
17
17
|
[card title="One"]Content[/card]
|
|
18
18
|
[/col]
|
|
@@ -30,7 +30,7 @@ Any content - text, buttons, a grid or a card.
|
|
|
30
30
|
Lifted off the page.
|
|
31
31
|
[/box]`,"Title, icon and image are ignored - a box never has a header. A [card] can go inside a [box], and a [box] inside a [card].")]}),t("Spacer",{intro:"Self-closing shortcode that inserts a fixed-height blank gap.",rows:[['size="N"',"Height in px (default: 8)"],['class="..."',"Extra CSS class on the spacer div"]],examples:[e("32px gap",'[spacer size="32" /]')]}),t("Center",{intro:"Wraps content in a centred div. Works with any content including cards, grids, and text.",examples:[e("Example","[center]Centred content here[/center]",'Accepts an optional class="..." attribute for extra styling.')]}),t("Hero",{intro:"Full-width hero sections - no plugin required. Uses Domma's built-in Hero CSS component.",rows:[['title="..."',"Heading text"],['tagline="..."',"Subtitle text"],['size="sm|lg|full"',"Height variant (default: normal)"],['variant="dark|primary|gradient-blue|gradient-purple|gradient-sunset|gradient-ocean"',"Colour / gradient preset"],['image="url"',"Background image URL (adds cover mode)"],['overlay="light|dark|darker|gradient|gradient-reverse"',"Image overlay style"],['align="center|left"',"Content alignment (default: center)"],['fullwidth="true"',"Break out of the page container to span full viewport width"],['bg="..."',"Background colour CSS value"],["twinkle","Flag: adds particle overlay (requires Effects plugin)"],['twinkle-count="N"',"Number of particles"],['twinkle-colour="..."',"Particle colour CSS value"],["blobs","Flag: adds ambient blob background"],['blobs-type="..."',"Blob animation type (default: float-blobs)"],['class="..."',"Extra CSS classes"],['id="..."',"Element id"]],examples:[e("Basic hero",'[hero title="Welcome" tagline="Build something great"][/hero]'),e("Gradient with body content",`[hero title="Get Started" tagline="Everything you need." size="lg" variant="gradient-blue" align="center"]
|
|
32
32
|
Some introductory **Markdown** content here.
|
|
33
|
-
[/hero]`),e("Background image with overlay",'[hero title="Our Story" image="/media/hero.jpg" overlay="dark" size="full"][/hero]',"Combine image + overlay for text legibility over photos.")]})],
|
|
33
|
+
[/hero]`),e("Background image with overlay",'[hero title="Our Story" image="/media/hero.jpg" overlay="dark" size="full"][/hero]',"Combine image + overlay for text legibility over photos.")]})],g=[t("Cards",{examples:[e("Basic card",`[card title="Optional Title"]
|
|
34
34
|
Markdown **works** here.
|
|
35
35
|
[/card]`,"Omit title for a card with no header."),e("Icon - inline (default)",`[card title="Feature" icon="star"]
|
|
36
36
|
Icon sits left of the title in a flex row.
|
|
@@ -100,7 +100,7 @@ Markdown content here.
|
|
|
100
100
|
[undo all="true" /]
|
|
101
101
|
[/scribe]`,'Use [render]...[/render] to type text, [wait]Ms[/wait] to pause, and [undo /] to delete. loop="true" replays the sequence. Only [render], [wait], and [undo] shortcodes are parsed - plain text between actions is ignored.'),e("Christmas",'[christmas intensity="medium" snowmen="off" trees="off" wreaths="off" northStars="off" sleigh="off" train="off" elf="off" robin="off" firework="off" /]',"intensity: light | medium | heavy. Count-based (off disables entirely): snowmen, trees, wreaths, northStars. Probability-based specials (off prevents spawning): sleigh, train, elf, robin, firework. Snowflakes always fall."),e("Halloween",'[halloween intensity="medium" gravestones="off" jackOLanterns="off" spiders="off" scarecrows="off" twinklingStars="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): gravestones, jackOLanterns, spiders, scarecrows, twinklingStars. Particles: bats, ghosts, pumpkins (always on). Fixed decorations: haunted-house, cauldron (always present)."),e("St Patrick's Day",'[st-patricks intensity="medium" pots="off" twinklingStars="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): pots (pots of gold), twinklingStars. Particles: shamrocks, clover petals, gold coins, sparkles (always on). Fixed decorations: rainbow, harp, moon. Leprechaun appears randomly - more likely at higher intensity."),e("Valentine's Day",'[valentines intensity="medium" garlands="off" butterflies="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): garlands (heart garlands), butterflies. Particles: hearts, rose petals, sparkles, lips (always on). Fixed decorations: envelopes (always present). Cupid appears randomly - more likely at higher intensity."),e("Guy Fawkes Night",'[guy-fawkes intensity="medium" bonfires="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): bonfires. Particles: embers, fireworks, sparks, rockets, bursts, trails (always on). Fixed decorations: guy-effigy, catherine-wheel, roman-candle, sparkler-bundle, moon. Starts at 25% particle density and builds up gradually."),e("St Andrew's Day",'[st-andrews intensity="medium" thistles="off" twinklingStars="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): thistles, twinklingStars. Particles: heather petals, saltire sparkles (always on). Fixed decorations: bagpiper, saltire-flag, tartan-pattern, highland-scene (always present). Bagpiper probability increases with intensity."),e("St David's Day",'[st-davids intensity="medium" daffodilFields="off" twinklingStars="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): daffodilFields, twinklingStars. Particles: daffodil petals, spring sparkles (always on). Fixed decorations: welsh-dragon, harp, leek-bundle, flag (always present). Flying dragon appears randomly - more likely at higher intensity."),e("St George's Day",'[st-georges intensity="medium" roses="off" twinklingStars="off" /]',"intensity: light | medium | heavy. Decoration toggles (off disables): roses (English roses), twinklingStars. Particles: rose petals, Tudor roses, oak leaves, sparkles (always on). Fixed decorations: st-georges-cross, dragon, shield, castle (always present). Knight appears randomly - more likely at higher intensity.")],outro:"Enable the Domma Effects plugin to activate these shortcodes on your site."}),t("DConfig - Declarative Behaviour",{intro:"Define click handlers and class toggles without writing JavaScript. Use the DConfig section above or embed inline with [dconfig]...[/dconfig] in the content body. Inline shortcodes win on selector conflict.",examples:[e("Toggle a class on click",'{ "#my-btn": { "events": { "click": { "target": "#panel", "toggleClass": "hidden" } } } }','Selector keys use standard CSS selectors. "target" is optional - defaults to the element itself.'),e("Inline shortcode syntax",`[dconfig]
|
|
102
102
|
{ "#my-btn": { "events": { "click": { "target": "#panel", "toggleClass": "hidden" } } } }
|
|
103
|
-
[/dconfig]`)]}),t("CSS Editor",{intro:"The toolbar's </> button (left of the Split View icon) swaps the left pane between Markdown and Custom CSS. Edits are saved together with the page - one Save, one toast.",rows:[["</> button","Toggle between Markdown editor and Custom CSS editor"],["Split / Write / Preview","Standard view mode buttons to the right of </>"],["Save","Saves both page content and CSS in a single operation"]]}),t("Colour Picker",{intro:"Insert \u2192 Colour Picker opens a centred colour picker. Pick a colour, then use Copy to copy the hex code to the clipboard or Insert to drop it at the cursor. Click outside the panel to dismiss."})];export const REFERENCE=[{id:"basics",label:"Basics",sections:m},{id:"layout",label:"Layout",sections:
|
|
103
|
+
[/dconfig]`)]}),t("CSS Editor",{intro:"The toolbar's </> button (left of the Split View icon) swaps the left pane between Markdown and Custom CSS. Edits are saved together with the page - one Save, one toast.",rows:[["</> button","Toggle between Markdown editor and Custom CSS editor"],["Split / Write / Preview","Standard view mode buttons to the right of </>"],["Save","Saves both page content and CSS in a single operation"]]}),t("Colour Picker",{intro:"Insert \u2192 Colour Picker opens a centred colour picker. Pick a colour, then use Copy to copy the hex code to the clipboard or Insert to drop it at the cursor. Click outside the panel to dismiss."})];export const REFERENCE=[{id:"basics",label:"Basics",sections:m},{id:"layout",label:"Layout",sections:h},{id:"components",label:"Components",sections:g},{id:"data",label:"Data",sections:b},{id:"advanced",label:"Advanced",sections:f}];const w=`
|
|
104
104
|
<div class="per">
|
|
105
105
|
<div class="per-tabs" role="tablist" data-each="tabs key=id">
|
|
106
106
|
<button type="button" class="per-tab" role="tab" data-on-click="$root.show(id)"
|
|
@@ -166,4 +166,4 @@ pre.per-block { padding-right: .75rem; margin-bottom: .5rem; }
|
|
|
166
166
|
.per-copy { position: absolute; top: .3rem; right: .3rem; background: none; border: none; cursor: pointer; opacity: .45; padding: .15rem;
|
|
167
167
|
line-height: 1; color: inherit; }
|
|
168
168
|
.per-copy:hover, .per-copy:focus-visible { opacity: 1; }
|
|
169
|
-
</style>`;async function
|
|
169
|
+
</style>`;async function y(o){try{return await navigator.clipboard.writeText(o),!0}catch{const a=document.createElement("textarea");a.value=o,a.style.cssText="position:fixed;opacity:0;",document.body.appendChild(a),a.select();let n=!1;try{n=document.execCommand("copy")}catch{}return a.remove(),n}}export function openEditorReference(){const o=E.slideover({title:"Editor Reference",size:"md",position:"right"}),a=document.createElement("div");a.innerHTML=w;const n=M.observable("basics"),s=M.applyBindings({tabs:REFERENCE,tab:n,show:r=>{n.value=r},copy:async r=>{const i=await y(r);E.toast(i?"Copied!":"Could not copy - select the code and copy it.",{type:i?"success":"warning",duration:1200})}},a);o.element.appendChild(a);const l=M.effect(()=>{n.value,requestAnimationFrame(()=>I.scan(a))});p(o,()=>{try{l()}catch{}try{s.dispose()}catch{}}),o.open()}
|
|
@@ -9,16 +9,16 @@ Left
|
|
|
9
9
|
[col]
|
|
10
10
|
Right
|
|
11
11
|
[/col]
|
|
12
|
-
[/grid]`,children:{name:"col",min:2,max:6},attrs:[{name:"cols",type:"number",label:"Columns"},{name:"gap",type:"number",label:"Gap"},{name:"responsive",type:"select",label:"Responsive stacking",options:[["","On (default)"],["false","Off"]]},{name:"fullwidth",type:"checkbox",label:"Break out full-width"},{name:"class",type:"text",label:"CSS class"},{name:"id",type:"text",label:"ID"}]},{name:"row",label:"Row",icon:"layout",category:"Layout",selfClosing:!1,container:!0,wrappable:!1,template:`[row gap="3"]
|
|
12
|
+
[/grid]`,children:{name:"col",min:2,max:6},attrs:[{name:"cols",type:"number",label:"Columns",help:"How many equal columns, 1 to 12. Up to 6, the grid stacks to one column on phones and steps up on wider screens; 7 or more keep their count on every screen."},{name:"gap",type:"number",label:"Gap",help:"Space between cells, across and down: 0 (none) to 6 (2rem). 3 is 0.75rem, 4 is 1rem."},{name:"responsive",type:"select",label:"Responsive stacking",options:[["","On (default)"],["false","Off"]],help:"Off keeps exactly the number of columns on every screen, phones included. Use it for small things that fit side by side anywhere, such as icons or figures."},{name:"fullwidth",type:"checkbox",label:"Break out full-width",help:"The grid leaves the page's text column and runs the width of the window."},{name:"class",type:"text",label:"CSS class",help:"Extra CSS classes on the grid itself, separated by spaces."},{name:"id",type:"text",label:"ID",help:"A name for links (#name) and your own CSS or scripts. One per page."}]},{name:"row",label:"Row",icon:"layout",category:"Layout",selfClosing:!1,container:!0,wrappable:!1,template:`[row gap="3"]
|
|
13
13
|
[col]
|
|
14
14
|
Left
|
|
15
15
|
[/col]
|
|
16
16
|
[col]
|
|
17
17
|
Right
|
|
18
18
|
[/col]
|
|
19
|
-
[/row]`,children:{name:"col",min:2,max:6},attrs:[{name:"gap",type:"number",label:"Gap"},{name:"class",type:"text",label:"CSS class"},{name:"id",type:"text",label:"ID"},{name:"reveal",type:"checkbox",label:"Scroll reveal"},{name:"reveal-mode",type:"select",label:"Reveal mode",options:[["stagger","Stagger"],["sequence","Sequence"]]},{name:"reveal-animation",type:"select",label:"Reveal animation",options:[["slide-up","Slide up"],["slide-down","Slide down"],["slide-left","Slide left"],["slide-right","Slide right"],["fade","Fade"],["zoom","Zoom"],["flip","Flip"],["swoosh","Swoosh"],["swoosh-sides","Swoosh from the sides"]]},{name:"reveal-duration",type:"number",label:"Reveal duration (ms)"},{name:"reveal-stagger",type:"number",label:"Reveal stagger (ms)"},{name:"reveal-delay",type:"number",label:"Reveal delay (ms)"},{name:"reveal-direction",type:"select",label:"Reveal direction",options:[["ltr","Left to right"],["rtl","Right to left"]]},{name:"reveal-replay",type:"checkbox",label:"Reveal again each time it scrolls back into view"},{name:"tilt",type:"checkbox",label:"Cards lean toward the pointer"}]},{name:"col",label:"Column",icon:"columns",category:"Layout",child:!0,selfClosing:!1,container:!0,wrappable:!0,template:`[col]
|
|
19
|
+
[/row]`,children:{name:"col",min:2,max:6},attrs:[{name:"gap",type:"number",label:"Gap",help:"Space between columns: 0 (none) to 6 (2rem). 3 is 0.75rem, 4 is 1rem."},{name:"class",type:"text",label:"CSS class",help:"Extra CSS classes on the row itself, separated by spaces."},{name:"id",type:"text",label:"ID",help:"A name for links (#name) and your own CSS or scripts. One per page."},{name:"reveal",type:"checkbox",label:"Scroll reveal",help:"The columns appear as the row scrolls into view. The settings below shape it and do nothing without this."},{name:"reveal-mode",type:"select",label:"Reveal mode",options:[["stagger","Stagger"],["sequence","Sequence"]],help:"Stagger brings the columns in one after another. Sequence shows each as soon as it is in view, with no wait between them."},{name:"reveal-animation",type:"select",label:"Reveal animation",help:"How each column arrives. Slide up when empty. The swooshes are left out for visitors who ask for reduced motion.",options:[["slide-up","Slide up"],["slide-down","Slide down"],["slide-left","Slide left"],["slide-right","Slide right"],["fade","Fade"],["zoom","Zoom"],["flip","Flip"],["swoosh","Swoosh"],["swoosh-sides","Swoosh from the sides"]]},{name:"reveal-duration",type:"number",label:"Reveal duration (ms)",help:"How long each column takes to arrive, in milliseconds. Empty: 400 (700 for a swoosh)."},{name:"reveal-stagger",type:"number",label:"Reveal stagger (ms)",help:"The wait between one column and the next, in milliseconds. Empty: 60 (90 for a swoosh). Stagger mode only."},{name:"reveal-delay",type:"number",label:"Reveal delay (ms)",help:"A pause before the first column starts, in milliseconds. Empty: none."},{name:"reveal-direction",type:"select",label:"Reveal direction",options:[["ltr","Left to right"],["rtl","Right to left"]],help:"Which end starts in Stagger mode: the first column, or the last."},{name:"reveal-replay",type:"checkbox",label:"Reveal again each time it scrolls back into view",help:"Off, the row reveals once. On, it hides again when it drops below the window and reveals on the way back."},{name:"tilt",type:"checkbox",label:"Cards lean toward the pointer",help:"Each column lifts and leans toward the pointer while it is over it, and settles flat after. Meant for a row of cards."}]},{name:"col",label:"Column",icon:"columns",category:"Layout",child:!0,selfClosing:!1,container:!0,wrappable:!0,template:`[col]
|
|
20
20
|
Content
|
|
21
|
-
[/col]`,attrs:[{name:"span",type:"number",label:"Span"},{name:"align",type:"select",label:"Content alignment",options:[["","Inherit"],["left","Left"],["center","Centre"],["centre","Centre (alias)"],["right","Right"]]},{name:"id",type:"text",label:"ID"}]},{name:"slideover",label:"Slideover",icon:"panel-right",category:"Layout",selfClosing:!1,container:!0,wrappable:!0,template:`[slideover title="More information" trigger="Read more"]
|
|
21
|
+
[/col]`,attrs:[{name:"span",type:"number",label:"Span",help:"How many of the grid's columns this cell takes: 8 of 12 is two thirds. Empty: one. Only works in a [grid]; a [row] shares its width equally."},{name:"align",type:"select",label:"Content alignment",options:[["","Inherit"],["left","Left"],["center","Centre"],["centre","Centre (alias)"],["right","Right"]],help:"Lines up the text and inline content in this column. Inherit leaves it as the page has it."},{name:"id",type:"text",label:"ID",help:"A name for links (#name) and your own CSS or scripts. One per page."}]},{name:"slideover",label:"Slideover",icon:"panel-right",category:"Layout",selfClosing:!1,container:!0,wrappable:!0,template:`[slideover title="More information" trigger="Read more"]
|
|
22
22
|
Content
|
|
23
23
|
[/slideover]`,attrs:[{name:"title",type:"text",label:"Title",domma:"slideover.title"},{name:"trigger",type:"text",label:"Trigger label"},{name:"size",type:"select",label:"Size",options:[["sm","Small"],["md","Medium"],["lg","Large"],["xl","Extra large"],["full","Full width"]],domma:"slideover.size"},{name:"position",type:"select",label:"Position",options:[["right","Right"],["left","Left"],["bottom","Bottom"],["top","Top"]],domma:"slideover.position"}]},{name:"center",label:"Centre",icon:"text-center",category:"Layout",selfClosing:!1,container:!0,wrappable:!0,template:`[center]
|
|
24
24
|
Centred content
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/body-menu.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The reading pane's right-click menu - the pure parts.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/cms-host.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** The CMS shell boundary. Standalone never imports this adapter. */
|
|
4
4
|
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/compose-window.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
const {createMailHost} = await import(new URL(`./host-context.js?v=${MAIL_MODULE_VERSION}`, import.meta.url).href);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/contacts.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Recipient suggestions from the host address book.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/diagnostics-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The settings section that answers "which build is this, and what went wrong".
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/drag-drop.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Drag identities include the mailbox and source folder: UIDs alone are not unique. */
|
|
4
4
|
const PROTECTED_USES = new Set(['\\Inbox', '\\Sent', '\\Drafts', '\\Trash', '\\Junk', '\\Archive', '\\All', '\\Flagged']);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/folder-tree.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Mail folder presentation, shared by the Mail Reader and Email Pro.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/font-controls.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/fonts.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The fonts and sizes the mail editor offers - pure, so both the compose
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/host-context.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Services supplied by the application that hosts the shared mail interface. */
|
|
4
4
|
export function createMailApi({getToken, fetch: request = globalThis.fetch, onUnauthorized = () => {}}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/identity.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Who a mailbox sends as, and what it signs off with.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/image-senders-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The settings section for senders whose images always load.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/keyboard.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Keyboard navigation for the reader.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/message-actions.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* What other Tools add to a message's menu - Booking's "Book Sam...".
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/oauth-panel.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* "Sign in with Microsoft / Google" for a mailbox - the part of the mailbox
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/panes.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Pane sizing for the mail reader, shared by the Mail Reader and Email Pro.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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
|
|
@@ -28,6 +28,23 @@ export function esc(value) {
|
|
|
28
28
|
.replace(/'/g, ''');
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* An address list in full, as the header details show it: `Name <address>`,
|
|
33
|
+
* or the bare address when there is no name. The one-line summary keeps
|
|
34
|
+
* names alone; the details are where people go to see who really sent it.
|
|
35
|
+
*
|
|
36
|
+
* @param {{name?: string, address?: string}[]} list
|
|
37
|
+
* @returns {string}
|
|
38
|
+
*/
|
|
39
|
+
export function fullAddresses(list) {
|
|
40
|
+
return (list ?? []).map(a => {
|
|
41
|
+
const name = String(a?.name ?? '').trim();
|
|
42
|
+
const address = String(a?.address ?? '').trim();
|
|
43
|
+
if (name && address && name.toLowerCase() !== address.toLowerCase()) return `${name} <${address}>`;
|
|
44
|
+
return address || name;
|
|
45
|
+
}).filter(Boolean).join(', ');
|
|
46
|
+
}
|
|
47
|
+
|
|
31
48
|
// ---------------------------------------------------------------------------
|
|
32
49
|
// The mailbox form's draft
|
|
33
50
|
// ---------------------------------------------------------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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);
|
|
@@ -73,7 +73,7 @@ const {
|
|
|
73
73
|
esc, mailboxDraftsKey, mailboxDraftId, mailboxDraftData, mailboxFingerprint, normaliseDraftMap,
|
|
74
74
|
pruneDraftMap, mailboxDraftDecision, mailboxRestoreQuestion, RESTORE_BUTTONS, settingsDiscardQuestion,
|
|
75
75
|
onceOnly, accountMenuModel, folderReadMenuModel, mailboxRowMenuModel, menuItems, sidebarUrl, hasNewMail,
|
|
76
|
-
holdEscapeOn, extensionMenuItems, extensionPaneActions, mergeExtensionItems
|
|
76
|
+
holdEscapeOn, extensionMenuItems, extensionPaneActions, mergeExtensionItems, fullAddresses
|
|
77
77
|
} = await import(versioned('reader-kit.js'));
|
|
78
78
|
|
|
79
79
|
/**
|
|
@@ -4855,13 +4855,13 @@ return {
|
|
|
4855
4855
|
details.className = 'mail-header-details';
|
|
4856
4856
|
|
|
4857
4857
|
const rows = [
|
|
4858
|
-
['From',
|
|
4859
|
-
['Reply to',
|
|
4860
|
-
['To',
|
|
4861
|
-
['Cc',
|
|
4858
|
+
['From', fullAddresses(message.from)],
|
|
4859
|
+
['Reply to', fullAddresses(message.replyTo)],
|
|
4860
|
+
['To', fullAddresses(message.to)],
|
|
4861
|
+
['Cc', fullAddresses(message.cc)],
|
|
4862
4862
|
// Only ever present on your own copy in Sent; a received
|
|
4863
4863
|
// message carries none, which is the whole point of it.
|
|
4864
|
-
['Bcc',
|
|
4864
|
+
['Bcc', fullAddresses(message.bcc)],
|
|
4865
4865
|
// Omitted when normal, like every other absent header: saying
|
|
4866
4866
|
// "Priority: Normal" is saying nothing at length.
|
|
4867
4867
|
['Priority', message.priority === 'high' ? 'High'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/reader-view.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Existing CMS entry point for the shared mail view. */
|
|
4
4
|
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/resizable.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The mail reader's resizable slideovers.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/restore-spam.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Undo restores both junk status and the original folder, following each UID remap. */
|
|
4
4
|
export async function restoreSpam({api, base, account, from, destination, uids, spam}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/scheduling.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/section-kit.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/security-note.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* What the reader says about a signed or encrypted (S/MIME) message.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/settings-section.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Browser preferences for the shared mail reader. */
|
|
4
4
|
export const READ_DELAY_KEY = 'domma-mail.mark-read-seconds';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/templates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
const MAIL_MODULE_VERSION = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/threads.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Grouping messages into conversations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/vacation.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The automatic reply, and everything that must stop it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/mail/when-closed.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Run code when a Domma modal or slideover actually closes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/admin/ui/dates.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Dates as a plugin shows them to a person: dd/mm/yyyy, and dd/mm/yyyy HH:mm
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@domma-mail/core",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.4",
|
|
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": "e601cff5c10cb4538083a3d51fe71398540716dcc26d51060008f7ac6807a33f",
|
|
7
|
+
"plugins/_lib/mail/priority.js": "7c60a66ecf50d03874bffe24a45a95b9f8463e7e39a43c41abbfad694771173e",
|
|
8
|
+
"plugins/_lib/mail/envelope.js": "b2a9a29a07ab3959fb14bcdde37d2bc9bcd84e01353adbc93a61c0ab5c7a87bb",
|
|
9
|
+
"plugins/_lib/mail/pollSchedule.js": "0e16d1c4f6aa17c89b57cf867d50ce51084a380fbf4bca0511619f1e69121c1a",
|
|
10
|
+
"plugins/_lib/mail/syncPlan.js": "c6342b3fdde78f9a54561a895644e5232e9e410ed7fe4a1287940eaa69b252cf",
|
|
11
|
+
"plugins/_lib/admin/mail/threads.js": "64c03692ed57b5d483e2ceb42b9da04814c77e9d29725ae2b9c1680e0c84e53f",
|
|
12
|
+
"plugins/_lib/admin/mail/vacation.js": "88dd39f1fa27ac31b5bd4072ecad55aca0a675abf9e595473cbd1eea8a4ebba5",
|
|
13
|
+
"plugins/_lib/mail/secretProvider.js": "338b013669e691965acee37c1e8ef343d433d00777572a260fa322f447eb1fe3",
|
|
14
|
+
"plugins/_lib/mail/secretbox.js": "baff29c271266016301017172a0c3591ec4aa5fb212503c67c773244c04329a7",
|
|
15
|
+
"plugins/_lib/mail/bodyTokenProvider.js": "b216969e829d997f0b24b12c29b3af5ffbd0c905680f376f794f4d0fb9224dd8",
|
|
16
|
+
"plugins/_lib/mail/bodyTokens.js": "7ca7f6c3deaca5c21c9a4ec7b439df0b165e82fe4ff881bf86fa025cf81e584c",
|
|
17
|
+
"plugins/_lib/mail/accountFileStore.js": "1f58bdcdd771d92abbbfa1b88f33741798255e29cb42a22ffe6887820acea6c1",
|
|
18
|
+
"plugins/_lib/mail/accountRepository.js": "892977f4d790f9738975c78d709840bde4dd3ea6a4234186cbc8538fb95bdc8e",
|
|
19
|
+
"plugins/_lib/mail/accountRoutes.js": "e678057eb1dc4db4eca12e185a231fba6571f32fdbe6e5ac04d80d3365f381bf",
|
|
20
|
+
"plugins/_lib/mail/networkAddresses.js": "c126c9419ce7adf09cdc8548b3042155ee745d7edb262113b6d2577372f72908",
|
|
21
|
+
"plugins/_lib/mail/networkPolicy.js": "afd587b75aef3f6cae558f1514a7e3ff1232b3fa43950267d3437eefe8814e1a",
|
|
22
|
+
"plugins/_lib/mail/imapPoolRuntime.js": "1f97cfa8ab8cafdd013dc62db95ef814eee561821caf415273807c16dfdb9433",
|
|
23
|
+
"plugins/_lib/mail/publicMailbox.js": "5d47c481fe37c8ab7a1edbf69fae6303972ceac0bb75687342d80d54abe0a022",
|
|
24
|
+
"plugins/_lib/mail/render.js": "7205a80a3c1b4e7a8d48355f5103566581d87a96f3ec21f57898fa21766b02ce",
|
|
25
|
+
"plugins/_lib/mail/unsubscribe.js": "5fe8acb7ae12e81b9b8e5929115855024fab59fa9140fa8d49b610450801eb12",
|
|
26
|
+
"plugins/_lib/mail/unreadBadge.js": "222ea24ddcaeef5a3cb1b5465f14322e1920868470e59b746e7b5a6f1bec42c1",
|
|
27
|
+
"plugins/_lib/mail/message-action.js": "fc761a8a23551ee3534f9141ad3b3eb18a700064febe0f2c7ad52067b019a87c",
|
|
28
|
+
"plugins/_lib/admin/mail/identity.js": "96918dfe439ddc72d38714e0255d3ac22a1a20ead28253e4f9977e5321cd5379",
|
|
29
|
+
"plugins/_lib/mail/messageSecurityProvider.js": "6360840e9ffa45dae970e12c86d5e91c014ded298f0120a071778c21c08e78e2",
|
|
30
|
+
"plugins/_lib/mail/messageSecurity.js": "36c07bf7300fcb742b24068801c6c3726804a75ea0c57d3e391587dc924f8ec8",
|
|
31
|
+
"plugins/_lib/mail/smtpService.js": "c081f8f16af0ee13a860606d4df6bd26c28353ed8d3a69da414aa3df71cd554a",
|
|
32
|
+
"plugins/_lib/mail/subscriptions.js": "ed4ef2cd4dd6c3ad445b006c3c4371e66940d9d494b5d5f940b1695ea7012aaa",
|
|
33
|
+
"plugins/_lib/mail/senderAuth.js": "2a7a2b503655f905382f84aee0e623e03f8308712058221e284ca24f835d4afb",
|
|
34
|
+
"plugins/_lib/mail/readRuntime.js": "f6d2fd96c1eb7f0997c022c68847eb8df96b817c8f947215514a228383bfae5b",
|
|
35
|
+
"plugins/_lib/admin/mail/image-senders-section.js": "d0105fbebbed278a586cf4dcf0e06ae6862065d05d35d747313a01fb9d9d4c98",
|
|
36
|
+
"plugins/_lib/admin/mail/mail.html": "86ca2839f0fb935380b3aaba6559567e6eaad38ebf2667667c0913b1d8a96c60",
|
|
37
|
+
"plugins/_lib/admin/mail/section-kit.js": "0fbbb0e8975368c90ea1437c3782f6189f2a5aa2463743eef982cb01e0d6b9e1",
|
|
38
|
+
"plugins/_lib/admin/mail/when-closed.js": "b78fae5a10a3e1e68ca7584192d56af803bddd4d2e499568b713af87949a63b8",
|
|
39
|
+
"plugins/_lib/admin/mail/oauth-panel.js": "1dfd641ec862ad3bafef1b324ad542d74d8bd6df71b25cc7a2a50e27ddcc0c38",
|
|
40
|
+
"plugins/_lib/admin/mail/rules.js": "a78c934a54de0bab4486fac03e55a89d103f3bfe92137e00f4952539eee2cd03",
|
|
41
|
+
"plugins/_lib/admin/mail/reader-kit.js": "801b9d2f44d7b4e3a39d75e43c230efc4282b3f0cab6f671e72fb26c72d2158a",
|
|
42
|
+
"plugins/_lib/admin/mail/panes.js": "b9ec7ef65cf656f37704ff747c211d024191c2d805d30d4bab05d02f20be6805",
|
|
43
|
+
"plugins/_lib/admin/mail/contacts.js": "578d511264857ef2358a713c95eb3fbb78a89e1e33a2d656b19c5960378f9cd3",
|
|
44
|
+
"plugins/_lib/admin/mail/message-actions.js": "0bc3285de151d64a2ce580006d121397315aa1137ded15959f96c73042fa08f3",
|
|
45
|
+
"plugins/_lib/admin/mail/resizable.js": "5663f461ba43f90af38ab368a46e84b34df9877bb3a4918cc0df07610397243d",
|
|
46
|
+
"plugins/_lib/admin/mail/settings-section.js": "f2571cb9332dab6ff529dff97ed79edca200e5b10db187df7cd19875ccd86365",
|
|
47
|
+
"plugins/_lib/admin/mail/compose-window.js": "b700bb45ff70e329accca1c4861b4ae611fdc5bed7f2b18d1cfa8233ce0183be",
|
|
48
|
+
"plugins/_lib/admin/mail/folder-tree.js": "bbbfe51eb3813c868d584218c340180ccc51f9c5aa368bafe78228a55da826b5",
|
|
49
|
+
"plugins/_lib/admin/mail/body-menu.js": "626224c24b14555f25215e8262fcf9643389f5f35b7d920144ee0252e572fecd",
|
|
50
|
+
"plugins/_lib/admin/mail/diagnostics-section.js": "83222b040d99732d52a2848194db9e17be7fd1117b90a11e1bc7b4d7b6fa8ba7",
|
|
51
|
+
"plugins/_lib/admin/mail/drag-drop.js": "98ab512cf504942d9759f13a90f923ac38b30a14871d29a906a613aef62b2dde",
|
|
52
|
+
"plugins/_lib/admin/mail/scheduling.js": "59b4cd32108e04bdfeb16ab1e0fe6ba34e5cf3e2f6939b58b709809c79b8eca4",
|
|
53
|
+
"plugins/_lib/admin/mail/font-controls.js": "b9e1cdfe87f94542a9a33044e129990c3b8d2026e9b00584bd302b79f6574598",
|
|
54
|
+
"plugins/_lib/admin/mail/fonts.js": "299d1ae559a4c5c55e593e001b53f7bd60f2effa15c8e11c9aadd0b35f3e64a8",
|
|
55
|
+
"plugins/_lib/admin/mail/keyboard.js": "68fe37d09a800171452c0f38b14c193a587b8c13f6cf221134bfb3baf3aac695",
|
|
56
|
+
"plugins/_lib/admin/mail/mail.css": "1d20ce14c837af32a1c7f44df1599664e57ab490c57782e151a95f1ec4764d63",
|
|
57
|
+
"plugins/_lib/admin/mail/reader-view.js": "4d03df4dcb643bead33b619d264409a1961559f803793834c8658b20690755cb",
|
|
58
|
+
"plugins/_lib/admin/mail/templates.js": "eb756e822f581b2e552ff7c29ef6144cad518f427b063427c783c59864239586",
|
|
59
|
+
"plugins/_lib/admin/mail/security-note.js": "15ab48f54e0375a83d24a12ba65763b4661ae3705cb718d5b9d3723bf57bf167",
|
|
60
|
+
"plugins/_lib/admin/ui/dates.js": "91caa019d7be75330172a3177c041dbc52698cfb127b65efe9127c329bd4dc68",
|
|
61
|
+
"plugins/_lib/mail/compose.js": "b84b8eaef395577cc768778820fecc16aafcdb5d5f1f7c841984a0b0c46d981a",
|
|
62
|
+
"plugins/_lib/admin/mail/reader-runtime.js": "becb8a04e9aad065f80417a9be16c022278e7cfa9eff9337c6c021927b4b6935",
|
|
63
|
+
"plugins/_lib/admin/mail/host-context.js": "91ff40df3cc4fc0c0f8f5624d21939f0242769cec02999c32e8ebee27267fcac",
|
|
64
|
+
"plugins/_lib/admin/mail/cms-host.js": "1bb93326120e503383860867c2d7d03a504224813d9cbdf5fa43ea6594476d3b",
|
|
65
|
+
"plugins/_lib/admin/ui/resizable.js": "ae9dc8140718318ee234fb64a36067430ce33960f1bdf85ef21dddf35e050cef",
|
|
66
|
+
"plugins/_lib/mail/store.js": "4a6b9cfdd30f7f0ab1f4bf9ee42af090ea159e80a78944ceeef6081ae97eeabb",
|
|
67
|
+
"plugins/_lib/mail/syncSelection.js": "78971a7370697d2fdb9d9bd9b7f69b63d258690b489695fc0ab28499b1321fdc",
|
|
68
|
+
"plugins/_lib/mail/pollerRuntime.js": "83d0bb5e02a106aefc175812587da90a581ba458d38b1d55e0764cb42a93c38a",
|
|
69
|
+
"plugins/_lib/mail/poller.js": "1d8f0704454ea9f184878094c665ffb8677b640501208d3b1478de6a96751627",
|
|
70
|
+
"plugins/_lib/mail/syncRuntime.js": "979a42c4991d3bd58ef12eec4bd624b88b305dc1ae3a8b1e9c81bd83801156d4",
|
|
71
|
+
"plugins/_lib/mail/write.js": "c2ee903608f5a7689799042f15a5c768118f25dce743cefc8c2cadfad90d9bf2",
|
|
72
|
+
"plugins/_lib/admin/mail/restore-spam.js": "86468a404271fc5db12017b5023b74890f3a170ec5d14cdb21ff5cf60f08547c",
|
|
73
|
+
"plugins/_lib/mail/folders.js": "ca43b7546f0e16b1e643a165c5cf1916eb20c400304f6c18a41e152e0ececa4a",
|
|
74
|
+
"plugins/_lib/mail/folderActions.js": "33af19a8128437ddab4cd2227459bd9ca7179bfb0781eca86310a341ed1edca0",
|
|
75
|
+
"plugins/_lib/mail/folderRuntime.js": "c9bf6122a463ab5e444f2149f54d30159b141e5d231997654e997aaf19ed8b52",
|
|
76
|
+
"plugins/_lib/mail/ruleRunner.js": "00e16285bbc972021eb623dcb2f21ad02ab4ca96464297db209583b11efe9721",
|
|
77
|
+
"plugins/_lib/mail/schedulerRuntime.js": "fe7381d62f58a4894e793755fcfe77983eb3aa7328f09180fef3cece475fe77c",
|
|
78
|
+
"plugins/_lib/mail/snoozeRuntime.js": "a8235fc03e0d0777d7e01de488893efe2940782ea50cee27bd19d4624ed9b6e6",
|
|
79
|
+
"plugins/_lib/mail/vacationRuntime.js": "b7331f07d6598abd13bd12fc91146dab2668f007f328d37ef7b90161de342766",
|
|
80
|
+
"plugins/_lib/mail/mbox.js": "30ec71124a71c37de58b89b0f45db6810a9fcaed39f4fe5efae34472c93a89f8",
|
|
81
|
+
"plugins/_lib/mail/sieve.js": "3c0c16b446dbb14bda3ac7843c9ba617b8b4771ff6a760575005658aa78f8495",
|
|
82
|
+
"plugins/_lib/mail/oauthRuntime.js": "af7c96f728aebeab1337c5e4670bcdcc7435862b5836c5f2b16e9a2684d65b26",
|
|
83
|
+
"plugins/_lib/mail/oauthRouteRuntime.js": "a05a14dcdfb50d2d0c922c2a388846b5d0a10bc53f88713d7a77393c05cecb4b",
|
|
84
|
+
"plugins/_lib/mail/oauthAccounts.js": "33c497bfa178ded8a1a826186ea3276a703c871f435dbb90949d5d6a3f63814f"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/accountFileStore.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {randomUUID} from 'node:crypto';
|
|
4
4
|
import fs from 'node:fs/promises';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/accountRepository.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
export const POLL_INTERVALS = Object.freeze([3, 5, 10, 15]);
|
|
4
4
|
import {randomUUID} from 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/accountRoutes.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {MailKeyError} from './secretProvider.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/bodyTokenProvider.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
import {createHmac, timingSafeEqual} from 'node:crypto';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/bodyTokens.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** CMS compatibility entry point for the existing iframe grant API. */
|
|
4
4
|
import {resolveKeySource} from './secretbox.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/compose.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Turning a message into a reply, and a reply into something sendable.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/defaults.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* Reading defaults, shared by every edition.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/envelope.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/**
|
|
4
4
|
* The shape the mirror holds one message in.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, packages/core/src/mail/folderActions.js.
|
|
2
2
|
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
3
|
/** Whole-folder operations use a snapshot of UIDs, never the visible page or a moving '*'. */
|
|
4
4
|
import {moveBulk, setFlagsBulk} from './write.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Source: @domma-mail/core 0.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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.24.
|
|
1
|
+
// Source: @domma-mail/core 0.24.4, 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';
|