domma-cms 1.28.4 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/admin/js/lib/contacts-arrange.js +1 -1
- package/docs/DommaFeatures.md +15 -9
- package/docs/plugin-development.md +1 -1
- package/package.json +4 -1
- package/plugins/_lib/admin/mail/body-menu.js +2 -0
- package/plugins/_lib/admin/mail/cms-host.js +22 -0
- package/plugins/_lib/admin/mail/compose-window.js +1027 -1021
- package/plugins/_lib/admin/mail/contacts.js +10 -8
- package/plugins/_lib/admin/mail/diagnostics-section.js +2 -0
- package/plugins/_lib/admin/mail/drag-drop.js +46 -0
- package/plugins/_lib/admin/mail/folder-tree.js +2 -0
- package/plugins/_lib/admin/mail/font-controls.js +6 -4
- package/plugins/_lib/admin/mail/fonts.js +1 -1
- package/plugins/_lib/admin/mail/host-context.js +87 -0
- package/plugins/_lib/admin/mail/identity.js +2 -0
- package/plugins/_lib/admin/mail/image-senders-section.js +2 -0
- package/plugins/_lib/admin/mail/keyboard.js +2 -0
- package/plugins/_lib/admin/mail/mail.css +1 -1
- package/plugins/_lib/admin/mail/mail.html +4 -0
- package/plugins/_lib/admin/mail/message-actions.js +2 -0
- package/plugins/_lib/admin/mail/oauth-panel.js +2 -0
- package/plugins/_lib/admin/mail/panes.js +2 -0
- package/plugins/_lib/admin/mail/reader-kit.js +2 -0
- package/plugins/_lib/admin/mail/reader-runtime.js +6534 -0
- package/plugins/_lib/admin/mail/reader-view.js +9 -6380
- package/plugins/_lib/admin/mail/resizable.js +2 -0
- package/plugins/_lib/admin/mail/restore-spam.js +13 -0
- package/plugins/_lib/admin/mail/rules.js +14 -0
- package/plugins/_lib/admin/mail/scheduling.js +4 -1
- package/plugins/_lib/admin/mail/section-kit.js +4 -1
- package/plugins/_lib/admin/mail/security-note.js +2 -0
- package/plugins/_lib/admin/mail/settings-section.js +11 -10
- package/plugins/_lib/admin/mail/templates.js +5 -2
- package/plugins/_lib/admin/mail/threads.js +2 -0
- package/plugins/_lib/admin/mail/vacation.js +16 -2
- package/plugins/_lib/admin/mail/when-closed.js +24 -2
- package/plugins/_lib/admin/ui/dates.js +2 -0
- package/plugins/_lib/admin/ui/resizable.js +7 -5
- package/plugins/_lib/contacts/mailContact.js +69 -0
- package/plugins/_lib/contacts/model.js +199 -0
- package/plugins/_lib/domma-mail-contacts.lock.json +10 -0
- package/plugins/_lib/domma-mail.lock.json +85 -0
- package/plugins/_lib/mail/accountFileStore.js +66 -0
- package/plugins/_lib/mail/accountRepository.js +617 -0
- package/plugins/_lib/mail/accountRoutes.js +130 -0
- package/plugins/_lib/mail/accounts.js +66 -940
- package/plugins/_lib/mail/automationLock.js +10 -0
- package/plugins/_lib/mail/bodyTokenProvider.js +36 -0
- package/plugins/_lib/mail/bodyTokens.js +5 -99
- package/plugins/_lib/mail/compose.js +5 -3
- package/plugins/_lib/mail/defaults.js +2 -0
- package/plugins/_lib/mail/envelope.js +3 -1
- package/plugins/_lib/mail/folderActions.js +83 -0
- package/plugins/_lib/mail/folderRuntime.js +109 -0
- package/plugins/_lib/mail/folders.js +4 -9
- package/plugins/_lib/mail/imapPool.js +11 -389
- package/plugins/_lib/mail/imapPoolRuntime.js +396 -0
- package/plugins/_lib/mail/mbox.js +2 -0
- package/plugins/_lib/mail/message-action.js +2 -0
- package/plugins/_lib/mail/messageSecurity.js +4 -111
- package/plugins/_lib/mail/messageSecurityProvider.js +116 -0
- package/plugins/_lib/mail/networkAddresses.js +77 -0
- package/plugins/_lib/mail/networkPolicy.js +62 -0
- package/plugins/_lib/mail/oauth.js +3 -451
- package/plugins/_lib/mail/oauthAccounts.js +178 -0
- package/plugins/_lib/mail/oauthRouteRuntime.js +282 -0
- package/plugins/_lib/mail/oauthRoutes.js +7 -289
- package/plugins/_lib/mail/oauthRuntime.js +456 -0
- package/plugins/_lib/mail/pollSchedule.js +2 -0
- package/plugins/_lib/mail/poller.js +4 -136
- package/plugins/_lib/mail/pollerRuntime.js +150 -0
- package/plugins/_lib/mail/priority.js +2 -0
- package/plugins/_lib/mail/publicMailbox.js +27 -0
- package/plugins/_lib/mail/readRoutes.js +14 -827
- package/plugins/_lib/mail/readRuntime.js +701 -0
- package/plugins/_lib/mail/render.js +2 -0
- package/plugins/_lib/mail/ruleRunner.js +27 -10
- package/plugins/_lib/mail/scheduler.js +11 -279
- package/plugins/_lib/mail/schedulerRuntime.js +259 -0
- package/plugins/_lib/mail/secretProvider.js +112 -0
- package/plugins/_lib/mail/secretbox.js +12 -225
- package/plugins/_lib/mail/send.js +21 -537
- package/plugins/_lib/mail/sieve.js +211 -0
- package/plugins/_lib/mail/sieveHost.js +24 -0
- package/plugins/_lib/mail/smtpService.js +553 -0
- package/plugins/_lib/mail/snoozeRuntime.js +60 -0
- package/plugins/_lib/mail/store.js +122 -64
- package/plugins/_lib/mail/subscriptions.js +11 -0
- package/plugins/_lib/mail/sync.js +64 -290
- package/plugins/_lib/mail/syncPlan.js +2 -0
- package/plugins/_lib/mail/syncRuntime.js +255 -0
- package/plugins/_lib/mail/syncSelection.js +2 -0
- package/plugins/_lib/mail/unreadBadge.js +2 -0
- package/plugins/_lib/mail/unsubscribe.js +2 -0
- package/plugins/_lib/mail/vacationRunner.js +3 -116
- package/plugins/_lib/mail/vacationRuntime.js +70 -0
- package/plugins/_lib/mail/write.js +44 -13
- package/server/routes/api/contacts.js +2 -196
- package/server/routes/api/forms.js +8 -1
- package/server/services/viewerSession.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.29.1] - 2026-11-02
|
|
4
|
+
|
|
5
|
+
- Forms: the `form:submitted` hook now also carries the visitor's IP address (`ip`) and their cookies (`cookies`, parsed, without the `dm_session` sign-in cookie), so a Tool acting for the visitor can honour their cookie choice. Social Media Pro 0.4.0 uses it to send LinkedIn conversions only for visitors who accepted marketing cookies.
|
|
6
|
+
|
|
7
|
+
## [1.29.0] - 2026-11-02
|
|
8
|
+
|
|
9
|
+
- Mail: the shared mail library (`plugins/_lib/mail`, `plugins/_lib/admin/mail`) is now the Domma Mail core 0.18.0 build, with a hash lock (`plugins/_lib/domma-mail.lock.json`); shared code is authored in domma-mail and copied here by its `sync:cms`. It brings folder actions (create, rename, move and empty folders, drag mail and folders), snoozed mail, server-side filtering (Sieve) alongside rules, rule groups, and a single host policy for mail connections (`networkPolicy.js`; `hostGuard.js` `pinMailHost` still wins where it is defined). The CMS keeps its own host adapters (`accounts.js`, `send.js`, `imapPool.js`, `readRoutes.js`, `sync.js`, `scheduler.js`, `vacationRunner.js`), now thin over the shared runtimes; compose options (receipts, signing, encryption, replies filed beside the message, secure delivery only) are kept. Mail Reader, Email Pro 0.12 and the Email Pro builds from Domma Mail all run on it. Previously these files only reached a site by hand, so an engine update removed them.
|
|
10
|
+
- Contacts: the shared contact model (`plugins/_lib/contacts`, Domma Mail 0.18.0) behind `/api/contacts`, with additional email addresses and phones.
|
|
11
|
+
|
|
3
12
|
## [1.28.4] - 2026-11-01
|
|
4
13
|
|
|
5
14
|
- Games: the goes-per-name limit can no longer be beaten by starting several goes at once under one name. The shared Games library now counts a name's goes in the same turn that saves the new go (`PlayStore.start(play, {maxGoes})`), where before two starts sent together could both pass the check. Quiz 1.6.1, Crossword 1.5.1 and Word Search 1.2.1 use it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SORTS=["name","company","added","updated"],DENSITIES=["comfortable","compact"],COLUMNS=["company","email","phone","groups"],DEFAULT_SETTINGS=Object.freeze({sort:"name",favouritesFirst:!0,density:"comfortable",confirmDelete:!0,showCompany:!0,showEmail:!0,showPhone:!0,showGroups:!0});const f=(r,
|
|
1
|
+
export const SORTS=["name","company","added","updated"],DENSITIES=["comfortable","compact"],COLUMNS=["company","email","phone","groups"],DEFAULT_SETTINGS=Object.freeze({sort:"name",favouritesFirst:!0,density:"comfortable",confirmDelete:!0,showCompany:!0,showEmail:!0,showPhone:!0,showGroups:!0});const f=(e,r,t)=>r.includes(e)?e:t,u=(e,r)=>typeof e=="boolean"?e:r;export function normaliseSettings(e){const r=e&&typeof e=="object"?e:{},t=DEFAULT_SETTINGS;return{sort:f(r.sort,SORTS,t.sort),favouritesFirst:u(r.favouritesFirst,t.favouritesFirst),density:f(r.density,DENSITIES,t.density),confirmDelete:u(r.confirmDelete,t.confirmDelete),showCompany:u(r.showCompany,t.showCompany),showEmail:u(r.showEmail,t.showEmail),showPhone:u(r.showPhone,t.showPhone),showGroups:u(r.showGroups,t.showGroups)}}export function primaryEmail(e){if(e?.email)return String(e.email);const r=(Array.isArray(e?.emails)?e.emails:[]).find(t=>t?.address);return r?String(r.address):""}export function primaryPhone(e){if(e?.phone)return String(e.phone);const r=(Array.isArray(e?.phones)?e.phones:[]).find(t=>t?.number);return r?String(r.number):""}export function initials(e){const r=String(e??"").trim().split(/\s+/).filter(Boolean);return r.length?r.length===1?r[0].slice(0,2).toUpperCase():(r[0][0]+r[r.length-1][0]).toUpperCase():"?"}function h(e){const r=[...Array.isArray(e.emails)?e.emails.map(t=>t?.address):[],...Array.isArray(e.phones)?e.phones.map(t=>t?.number):[]];return[e.name,e.email,e.phone,e.company,e.jobTitle,e.notes,...e.groups||[],...r].filter(Boolean).join(" ").toLowerCase()}const l=(e,r)=>String(e.name??"").localeCompare(String(r.name??""),void 0,{sensitivity:"base"});export function arrangeContacts(e,{query:r="",filter:t={kind:"all"},sort:s="name",favouritesFirst:i=!0}={}){const a=String(r??"").trim().toLowerCase(),c=a?a.split(/\s+/):[],d=(e||[]).filter(o=>{if(t?.kind==="fav"&&o.favourite!==!0||t?.kind==="group"&&!(Array.isArray(o.groups)&&o.groups.includes(t.value)))return!1;if(!c.length)return!0;const n=h(o);return c.every(p=>n.includes(p))}),y={name:l,company:(o,n)=>{const p=String(o.company??""),m=String(n.company??"");return!p!=!m?p?-1:1:p.localeCompare(m,void 0,{sensitivity:"base"})||l(o,n)},added:(o,n)=>String(n.createdAt??"").localeCompare(String(o.createdAt??""))||l(o,n),updated:(o,n)=>String(n.updatedAt??"").localeCompare(String(o.updatedAt??""))||l(o,n)}[f(s,SORTS,"name")];return[...d].sort((o,n)=>i&&o.favourite===!0!=(n.favourite===!0)?o.favourite===!0?-1:1:y(o,n))}export function countContacts(e,r=[]){const t={all:0,fav:0,groups:Object.fromEntries(r.map(s=>[s,0]))};for(const s of e||[]){t.all++,s.favourite===!0&&t.fav++;for(const i of Array.isArray(s.groups)?s.groups:[]){const a=Object.hasOwn(t.groups,i)?t.groups[i]:0;Object.defineProperty(t.groups,i,{value:a+1,writable:!0,enumerable:!0,configurable:!0})}}return t}export function withGroup(e,r,t){const s=Array.isArray(e)?e.filter(i=>i!==r):[];return t?[...s,r]:s}export function duplicateBody(e){const{id:r,userId:t,createdAt:s,updatedAt:i,...a}=e||{};return{...JSON.parse(JSON.stringify(a)),name:`${e?.name||"Contact"} (copy)`,favourite:!1}}
|
package/docs/DommaFeatures.md
CHANGED
|
@@ -36,14 +36,14 @@ Code was treated as the truth. Where docs disagree with it, the disagreement is
|
|
|
36
36
|
| `booking` | free | 1.6.3 | Let people book appointments with you or your team, and rooms or equipment, from a booking page on your site (`/booking`, or the `[booking /]` shortcode). Opening hours, days off, buffers and notice; confirmation and reminder emails with a link to move or cancel; a Diary in the admin; an online booking's call chat kept on the booking, and Add people during its call. Book straight from a contact or an email; bookings show in the Calendar. |
|
|
37
37
|
| `booking-pro` | paid | 0.4.1 | More for Booking: online appointments as a video call on your site (optional host recording), Call now - open a booking's call at once or call anyone from a contact or an email (switches on the CMS's instant calls), a person and a room together, classes with places and a waiting list that fills a freed place by itself, repeat bookings, questions on the booking form, a daily limit and one booking per customer every N days. A lapse leaves Booking and every booking as they were. |
|
|
38
38
|
| `calendar` | paid | 1.15.4 | Events calendar - month, day and list views, online meetings as a video call on your site (with the call's chat kept, and Add people during the call), call anyone now from a contact or an email, all-day and recurring events, sharing with people and roles, RSVPs and an iCal feed. |
|
|
39
|
-
| `campaigns-pro` | paid | 1.0
|
|
40
|
-
| `contacts-pro` | paid | 0.
|
|
39
|
+
| `campaigns-pro` | paid | 1.6.0 | Marketing campaigns, one paid Tool: compose a message, send it to Contacts groups (read live when it sends) or an audience of its own (shared with Surveys), from the site's sending or your own Email mailbox (small lists), schedule sends, attach an offer that closes by a date or a claim limit. Opens and clicks (cookieless), links tagged for Analytics, a linked Shop discount code, send a survey as a campaign, follow-up sequences, resend to non-openers, A/B subject tests, and a version-1 stats feed other Tools read. |
|
|
40
|
+
| `contacts-pro` | paid | 0.13.0 | Contacts, with more to them: send a campaign to a group or the selected contacts (with Campaigns Pro), your own custom fields, birthdays and ages with the ones coming up and a reminder in the sidebar, and groups with their own emblem and colours. Share a contact, several, or a whole group with people or roles - to view, or to edit. Call a contact now on a video call on your site. Works over the same contacts as the built-in Tool, so nothing moves and nothing is lost. |
|
|
41
41
|
| `crossword` | paid (giftable) | 1.5.0 | Crosswords on your site: type the answers and clues and the grid lays itself out (live preview, Another layout). Players type a name and race the server's clock, checks and wrong guesses cost time, fastest solvers on a leaderboard. Hints for a time penalty, personal best and Share, animations, export and import. Test it from the Tool - a test go never reaches the board. Rotation (a new quiz every day or week from a queue, off by default) and fresh quizzes from Domma for review. |
|
|
42
42
|
| `daily-word` | paid (giftable) | 1.3.0 | One hidden word a day, the same for everyone: six guesses, each letter marked right place, in the word or not; real words only (a bundled dictionary, switchable), an archive of past days, streaks, Share as coloured squares, a calendar of what is coming. Fewest guesses tops the day's board, then the fastest. |
|
|
43
43
|
| `data-transfer` | paid | 1.3.3 | Move collections between file and MongoDB storage, back them up and restore them (all or some, merged or replaced) - keeping every entry's id - and clone them (cloned entries get new ids, so references stay unambiguous). Every restore and transfer takes a safety snapshot first. |
|
|
44
44
|
| `docs` | paid | 2.13.1 | Document editor: Home and editor screens, sharing with Viewers/Editors, public links, import/export, send to page/blog/email, edit lock, Trash, version history, templates. PDF documents (2.13): a PDF kept as it is, shown in the browser's viewer, searchable inside, versioned on replace. |
|
|
45
45
|
| `docs-pro` | paid | 0.11.0 | Domma Spaces (publish a Docs folder at `/spaces` with a Kindle-style reader), Cloud copies (Google Drive, OneDrive, Dropbox, S3), Signatures (emailed signing links, typed or drawn, signed copy with a certificate page; 0.10: boxes placed on a PDF document's pages, the signed PDF stamped with pdf-lib), PDF tools (0.11: fill the PDF's own form, annotate, pages) and protected public links (expiry date, password). Adds to Docs. |
|
|
46
|
-
| `email-pro` | paid | 0.
|
|
46
|
+
| `email-pro` | paid | 0.13.0 | Full mail (and Campaigns Pro's "send from my mailbox"): read, write, send and search, over a synchronised store. Search, threads, rules, scheduled sends, snooze and vacation replies need MongoDB; without it, reading, filing and sending still work. |
|
|
47
47
|
| `feedback` | free | 1.1.4 | Tell Domma what is broken, missing or good - straight from your admin - and see what became of it: seen, planned, in progress, done, with Domma's reply. |
|
|
48
48
|
| `garage` | paid | 1.4.3 | UK vehicle management with DVLA API lookup, save vehicles, and search history. |
|
|
49
49
|
| `invoice` | paid | 1.7.1 | Invoices and quotes. Issuer profiles, receivers importable from Contacts, line items, optional VAT, payments, archiving, CSV/Excel export, and a print-ready invoice you can email or download as a PDF. Quotes with a validity date and an emailed accept link - the client accepts or declines online, and one click turns an accepted quote into a draft invoice. Self-billing too: invoices raised on a supplier's behalf, marked and numbered their own way, with agreement review reminders. |
|
|
@@ -59,7 +59,7 @@ Code was treated as the truth. Where docs disagree with it, the disagreement is
|
|
|
59
59
|
| `sheets` | paid | 0.4.1 | A spreadsheet in your admin: workbooks with formulas, sorting and filters; import CSV, JSON or Excel, export CSV or Excel, print. Feed a sheet live from Contacts, collections, forms, Surveys, Campaigns, Analytics or the Shop - rows kept even if the source goes away. |
|
|
60
60
|
| `shopping-cart` | free | 1.6.1 | Sell from your site: products with options, stock and pictures, a storefront and a cart that follows shoppers from page to page, and checkout with Stripe, PayPal or payment offline. Orders to fulfil in the sidebar, refunds from the order. |
|
|
61
61
|
| `shopping-cart-pro` | paid | 0.2.2 | More for the Shop: discount codes, shipping zones with rates by weight or order value, tax by country and class, branded order emails from confirmation to dispatch, and Insights - takings by week, best sellers, repeat customers and abandoned checkouts you can nudge. Adds to the free Shopping Cart; a lapsed licence leaves the Cart and every order just as they were. |
|
|
62
|
-
| `social-media-pro` | paid | 0.
|
|
62
|
+
| `social-media-pro` | paid | 0.4.0 | How the site looks when it is shared, and posting it: share cards per page for Facebook, X, LinkedIn, WhatsApp and Slack with previews; a share image drawn for every page that has none, in the site's colours; share and follow buttons; posting to Bluesky, Mastodon and LinkedIn (through the site's own LinkedIn app, with a reminder before its 60-day sign-in runs out) - now, scheduled, or drafted automatically for every new blog post or page - with links tagged for Analytics and the posts on the Calendar; and LinkedIn conversions - chosen forms reported to LinkedIn's Conversions API when a visitor who accepted marketing cookies sends one. Sold with SEO Pro. |
|
|
63
63
|
| `surveys` | paid | 1.5.1 | Targeted surveys over the Forms engine: shared audiences, tokenised invites, reminders, and per-survey statistics. |
|
|
64
64
|
| `theme-roller` | paid | 1.1.3 | Make your own themes: start from any built-in theme, change its colours, fonts, spacing and borders with a live preview, and save it. Saved themes join the built-in ones everywhere a theme is chosen - the site, the admin, day and night, a region of a page. Needs Domma CMS 0.73 or later to use them. |
|
|
65
65
|
| `waypoint-pro` | paid | 1.3.1 | Plan and track work: projects with their own workflows, issues on a board or in a list, a backlog planned into sprints with a burndown, and comments, mentions and watchers that tell the right people. |
|
|
@@ -992,7 +992,7 @@ Where: `server/services/presetCollections.js` (`PRESETS`, `seedAll()`), `server/
|
|
|
992
992
|
Where: **Data > API Builder** (`#/api-endpoints`); `/api/api-endpoints`; `server/services/apiEndpoints.js`, `server/routes/api/endpoints-public.js`; permission family `api-endpoints.*`. Since: 0.25.0; 0.33.x (query filters, paging); 0.77.0 (editor Tool).
|
|
993
993
|
- **In-admin API reference**. **Documentation > API Reference** has pages for Authentication, Pages, Settings, Layouts, Navigation, Media, Users, Plugins, Collections, Views and Actions, and points to API Tokens, API Builder and the Content API for the external surface. The full reference is `docs/api-reference.md`.
|
|
994
994
|
Where: `#/docs/api/<area>`; `admin/js/templates/docs/api-*.html`.
|
|
995
|
-
- **Hooks for developers**. `collection:entryCreated`, `collection:entryUpdated`, `collection:entryDeleted` and `form:submitted` are emitted for plugins to listen to.
|
|
995
|
+
- **Hooks for developers**. `collection:entryCreated`, `collection:entryUpdated`, `collection:entryDeleted` and `form:submitted` are emitted for plugins to listen to. `form:submitted` carries `{slug, entryId, data, formTitle, ended, ip, cookies}` - the visitor's IP and cookies (without the `dm_session` sign-in cookie) since 1.29.1, so a Tool acting for the visitor can honour their cookie choice (Social Media Pro's LinkedIn conversions).
|
|
996
996
|
|
|
997
997
|
---
|
|
998
998
|
|
|
@@ -2341,12 +2341,12 @@ An add-on for the free Shopping Cart that adds what a growing shop needs: discou
|
|
|
2341
2341
|
|
|
2342
2342
|
### Social Media Pro (`social-media-pro`)
|
|
2343
2343
|
|
|
2344
|
-
Tier: paid (closed source) · Version: 0.
|
|
2344
|
+
Tier: paid (closed source) · Version: 0.4.0 · Requires: nothing declared (share cards need the core `seo:meta` transform, core 0.89+/0.90+; LinkedIn conversions need core 1.29.1+, whose `form:submitted` carries the visitor's cookies) · Uses: `seo` ("Share cards start from each page's SEO title, description and image"), `calendar` (scheduled and sent posts on the Calendar), `blog` and `blog-pro` (a post drafted for each new blog post) · No MongoDB
|
|
2345
2345
|
|
|
2346
2346
|
Control how every page looks when it is shared, and post it. Social Media Pro edits share cards for Facebook, X, LinkedIn, WhatsApp and Slack with previews, draws a share image in the site's colours for any page without one, adds share and follow buttons, and posts to Bluesky, Mastodon and LinkedIn - straight away, scheduled, or drafted automatically for each new blog post or page - with links tagged for analytics and posts shown on the calendar. Sold together with SEO Pro.
|
|
2347
2347
|
|
|
2348
2348
|
**Features**
|
|
2349
|
-
- Tabs: Cards, Posts, Accounts (`#/plugins/social`, `/posts`, `/accounts`), settings slideover.
|
|
2349
|
+
- Tabs: Cards, Posts, Accounts, Conversions (`#/plugins/social`, `/posts`, `/accounts`, `/conversions`), settings slideover.
|
|
2350
2350
|
- Cards: every page listed (All / Changed here); per page Open Graph (Facebook, LinkedIn, WhatsApp, Slack) and X card fields, empty falling back to the page's SEO values; live platform previews; links to Facebook and LinkedIn debuggers to refresh their cache. Saving clears that page's cache.
|
|
2351
2351
|
- Drawn share images: 1200x630 PNG for pages without an image, three designs (bold, minimal, split), colours, font, logo (from SEO organisation settings or site brand) and URL toggles, live preview; served publicly at `/api/plugins/social-media-pro/og.png?p=<path>` only for real pages; cached.
|
|
2352
2352
|
- Shortcodes:
|
|
@@ -2359,10 +2359,13 @@ Control how every page looks when it is shared, and post it. Social Media Pro ed
|
|
|
2359
2359
|
- Auto-posting: every 5 minutes new sitemap URLs from chosen sources (blog, blog-pro, pages) become a draft or scheduled post per network after a delay (10 min); template default `{title}\n\n{description}\n\n{url}` (must contain `{url}`).
|
|
2360
2360
|
- UTM tagging (`utm_source=<network>`, `utm_medium=social`, campaign `social`) so posts show in Analytics.
|
|
2361
2361
|
- Calendar source `social-posts` ("Social posts") shows scheduled and sent posts on the Calendar.
|
|
2362
|
-
-
|
|
2362
|
+
- LinkedIn conversions (0.4.0): chosen forms reported server-to-server to LinkedIn's **Conversions API** (not the Insight Tag - that is SEO Pro's, for page visits). A Direct API access token from Campaign Manager (Data > Signals Manager > Direct API; no developer app, never expires), the ad account (listed from the token, or typed), and rows of form (or "Every form") -> Conversions API rule, with an optional value and currency; rules can be made from the tab (`autoAssociationType=OBJECTIVE_BASED` attaches suitable campaigns).
|
|
2363
|
+
- Only visitors who accept marketing cookies: while on, the cookie banner is forced on with its Marketing category and `consentVersion` gains `+capi` (everyone re-asked); `public/capture.js` records the answer as the `smp_mkt` cookie and keeps an ad's `li_fat_id` click ID 30 days; withdrawal removes both.
|
|
2364
|
+
- Matched by hashed email (SHA-256), hashed first/last name, the click ID and - only if switched on - the IPv4 address. Events queue and go in batches within seconds; a refused token keeps them waiting (notice `social-media-pro:conversions`) until a new one is pasted; LinkedIn's 90-day limit drops older ones. "Recent" logs sent / skipped (why) / failed (LinkedIn's reason) with no email or hash.
|
|
2365
|
+
- Notifications: `social-media-pro:failed` (warning), `social-media-pro:drafted` (off by default), `social-media-pro:linkedin-expiry` (0.2.0), `social-media-pro:conversions` (0.4.0).
|
|
2363
2366
|
- Sidebar badge: failed posts and drafts waiting (red when any failed).
|
|
2364
2367
|
- Permission `social` with `read` (View) and `manage` (Manage), granted to `admin`.
|
|
2365
|
-
- Injects `public/share.css` in the head and `public/share.js` at body end on every public page.
|
|
2368
|
+
- Injects `public/share.css` in the head and `public/share.js` at body end on every public page; `public/capture.js` only while LinkedIn conversions are on.
|
|
2366
2369
|
|
|
2367
2370
|
**Where:** Admin sidebar "Social" (`#/plugins/social`).
|
|
2368
2371
|
|
|
@@ -2440,6 +2443,8 @@ Measurement and automation: a Performance screen per campaign - reached, opened
|
|
|
2440
2443
|
|
|
2441
2444
|
**Unsubscribe outlives the licence (engine 1.6.35+, Campaigns Pro 1.0.1).** The engine owns the unsubscribe secret (`config/outreach.json`, adopting the one Campaigns Pro kept before) and answers `/campaign-unsubscribe` itself (`server/routes/outreach-public.js`, signing in `plugins/_lib/outreach/unsubscribe.js`), so a link in an email already sent still opts the reader out after the licence lapses or the Tool is removed (PECR). Campaigns Pro keeps its own route only on older engines; the engine stands aside if a plugin already holds the path.
|
|
2442
2445
|
|
|
2446
|
+
**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.
|
|
2447
|
+
|
|
2443
2448
|
**Where:** Admin sidebar "Campaigns Pro" (`#/plugins/campaigns-pro`); Performance per campaign at `#/plugins/campaigns-pro/performance/:slug`; the audience screen is shared with Surveys.
|
|
2444
2449
|
|
|
2445
2450
|
### Onboard Pro (`onboard-pro`)
|
|
@@ -2800,6 +2805,7 @@ Later changes to these features are in the CHANGELOG (for example 0.92.1: row-le
|
|
|
2800
2805
|
- Adding `[share]` and `[follow]` to a blog template.
|
|
2801
2806
|
- Posting to LinkedIn (0.2.0): creating your own LinkedIn app, the two products to add, pasting the redirect URI, connecting, and posting as yourself or a company page.
|
|
2802
2807
|
- Keeping LinkedIn connected: the 60-day sign-in, the expiry warning and reconnecting in one click.
|
|
2808
|
+
- Counting enquiries from LinkedIn ads (0.4.0): the Direct API token, a conversion rule, choosing the forms, the marketing-cookie banner, and reading Recent.
|
|
2803
2809
|
|
|
2804
2810
|
### Campaigns Pro (`campaigns-pro`)
|
|
2805
2811
|
|
|
@@ -409,7 +409,7 @@ options.hooks.on('content:pageCreated', ({ page, urlPath }) => {
|
|
|
409
409
|
|
|
410
410
|
| Event | Payload | Fired when |
|
|
411
411
|
|------------------|--------------------------------------|------------------------------------------------------------------------------------------------------------------|
|
|
412
|
-
| `form:submitted` | `{ slug, entryId, data, formTitle }` | A public form submission passes validation and is stored. `entryId` is `null` if collection storage is disabled. |
|
|
412
|
+
| `form:submitted` | `{ slug, entryId, data, formTitle, ended, ip, cookies }` | A public form submission passes validation and is stored. `entryId` is `null` if collection storage is disabled. `ip` and `cookies` (parsed, without the `dm_session` sign-in cookie) are the visitor's, since 1.29.1. |
|
|
413
413
|
|
|
414
414
|
In `data`, a file field is `{url, name, size, mime}`, a list of them when the field is `multiple`, or `''`;
|
|
415
415
|
`fileRefs(value)` from `public/js/form-files.mjs` reads any of the three as a list.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "domma-cms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "File-based CMS powered by Domma and Fastify. Run npx domma-cms my-site to create a new project.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server/server.js",
|
|
@@ -111,5 +111,8 @@
|
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"esbuild": "^0.27.3"
|
|
114
|
+
},
|
|
115
|
+
"allowScripts": {
|
|
116
|
+
"esbuild@0.27.7": true
|
|
114
117
|
}
|
|
115
118
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Source: @domma-mail/core 0.18.0, packages/core/src/admin/mail/cms-host.js.
|
|
2
|
+
// Update with domma-mail/scripts/sync-cms.mjs; edit the shared source.
|
|
3
|
+
/** The CMS shell boundary. Standalone never imports this adapter. */
|
|
4
|
+
const version = new URL(import.meta.url).searchParams.get('v') ?? '1';
|
|
5
|
+
const {createMailHost} = await import(new URL(`./host-context.js?v=${version}`, import.meta.url).href);
|
|
6
|
+
|
|
7
|
+
const [toolKit, help, loading, chrome, mailCompose, notifications, smoothCaret] = await Promise.all([
|
|
8
|
+
import('/admin/js/lib/tool-kit.js').catch(() => ({})),
|
|
9
|
+
import('/admin/js/lib/help-popover.js').catch(() => ({})),
|
|
10
|
+
import('/admin/js/lib/loading.js').catch(() => null),
|
|
11
|
+
import('/admin/js/lib/plugin-chrome.js').catch(() => ({})),
|
|
12
|
+
import('/admin/js/lib/mail-compose.js').catch(() => null),
|
|
13
|
+
import('/admin/js/lib/sidebar-notify.js').catch(() => null),
|
|
14
|
+
import('/admin/js/lib/smooth-caret.js').catch(() => ({}))
|
|
15
|
+
]);
|
|
16
|
+
|
|
17
|
+
export function createCmsMailHost({pluginName}) {
|
|
18
|
+
return createMailHost({
|
|
19
|
+
pluginName, framework: globalThis.Domma, storage: globalThis.S,
|
|
20
|
+
helpers: {...toolKit, ...help, loading, chrome, mailCompose, notifications, ...smoothCaret}
|
|
21
|
+
});
|
|
22
|
+
}
|