domma-cms 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/CLAUDE.md +5 -2
- package/admin/js/lib/plugins-arrange.js +1 -1
- package/docs/DommaFeatures.md +4 -2
- package/package.json +1 -1
- package/public/css/site.css +1 -1
- package/server/server.js +4 -0
- package/server/services/markdown.js +64 -41
- package/server/services/notification-sources.js +5 -2
- package/server/services/pluginEntitlement.js +46 -2
- package/server/services/pluginInstaller.js +31 -0
- package/server/services/request-log.js +3 -1
- package/server/services/storeClient.js +52 -3
- package/server/templates/page.html +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.45.0] - 2026-11-08
|
|
4
|
+
|
|
5
|
+
- Request logs hide `hub.verify_token`, the verify token Meta (WhatsApp, Facebook) sends when it checks a webhook (`server/services/request-log.js`).
|
|
6
|
+
- An outline button on a dark hero uses the hero's light text colour, so it can be read (it took the theme's primary, which can be nearly as dark as the hero). The new starter home page's "Browse Tools" button was the case in point.
|
|
7
|
+
- **A bought Tool's updates end when its support does, on the site too.** The store already refused newer downloads after support ended, but a newer copy dropped in by hand still ran. Once a perpetual licence's support has ended, a version above what the licence covers (its `versions`, `<=X.Y.Z`, written with each download) is now refused at install and upgrade, with the old version left in place, and does not load if it is already there (Marketplace chip "Renew to run", plus a critical licence notification). The version the licence covers keeps running for good, and during support any version runs as before.
|
|
8
|
+
- **A self-hosted site proves it is the address its licence is for.** Checkout, claim and every paid download from the Domma store now carry a short-lived proof token, and the site answers it at `/.well-known/domma-store/<token>` (ten minutes, no sign-in, only while the store is on). The store fetches that back from the licensed address, so a key bought for a site the buyer does not run, or copied to another site, cannot be used. Needs the matching Domma CMS Manager release, which this must ship before.
|
|
9
|
+
|
|
10
|
+
## [1.44.1] - 2026-11-08
|
|
11
|
+
|
|
12
|
+
- **A shortcode inside an effect, tabs or an accordion keeps its settings.** `[reveal]`, `[ambient]` and the other effects, `[tabs]`, `[accordion]`, `[carousel]` and the cards render their body before the shortcodes inside it run, and that turned the inner tag's quotes into `"` and its web addresses into links. So `[hero size="md"]` inside `[reveal]` got the class `hero-"md"`, `[embed url="https://…"]` said "Invalid embed URL", and `[spacer size="24" /]` was drawn at the default 40px. Tags with settings are now held back from that pass and put back as written (`markedBody()` in markdown.js). Effects also escape their own `data-fx-*` values.
|
|
13
|
+
|
|
3
14
|
## [1.44.0] - 2026-11-08
|
|
4
15
|
|
|
5
16
|
- **New self-hosted sites look like domma-cms.com.** What `npx domma-cms <name>` makes:
|
package/CLAUDE.md
CHANGED
|
@@ -199,8 +199,11 @@ numerically (1.10.0 > 1.2.0). Unsigned installs and downgrades each need their o
|
|
|
199
199
|
`buy` starts a checkout and keeps the CLAIM secret in `config/store.json` (0600, gitignored, with the licence keys) -
|
|
200
200
|
the browser only ever gets the payment URL; `claim` swaps it for the key once paid and installs through
|
|
201
201
|
`installPlugin` with the envelope's entitlement. Bought outright (perpetual): the entitlement's `supportExpiresAt`
|
|
202
|
-
is the licence's and the store refuses a NEWER version after it (`mayDownload` on the manager); one licence per site
|
|
203
|
-
address (`self:<host>`), so localhost/IP/.local addresses are refused there.
|
|
202
|
+
is the licence's and the store refuses a NEWER version after it (`mayDownload` on the manager), and so does this engine: once support has ended, a version above the entitlement's `versions` ceiling (`<=X.Y.Z`, minted per download) neither installs nor loads (`coveredVerdict()` in pluginEntitlement.js, state `not-covered`); one licence per site
|
|
203
|
+
address (`self:<host>`), so localhost/IP/.local addresses are refused there. The site proves it IS that address:
|
|
204
|
+
checkout, claim and every paid download carry a fresh `proof` token (`newProof()`, ten minutes), and the store fetches
|
|
205
|
+
`/.well-known/domma-store/<token>` back from the licence's host (`storeProofRoutes`, no auth, only while `storeOpen()`),
|
|
206
|
+
so a key bought for an address the buyer does not run, or copied to another site, downloads nothing.
|
|
204
207
|
|
|
205
208
|
**Signed-only sites (hosted) - `server/services/codePolicy.js`.** `signedOnly()` is true when the environment has
|
|
206
209
|
`DOMMA_SIGNED_ONLY=1` (the Manager sets it on sites it forks, after the site's .env), when server.json had
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const FILTERS=["all","on","off","attention"],BROWSE_FILTERS=["all","installed","available","updates"],BLOCKING=new Set(["expired","unlicensed"]);const
|
|
1
|
+
export const FILTERS=["all","on","off","attention"],BROWSE_FILTERS=["all","installed","available","updates"],BLOCKING=new Set(["expired","unlicensed","not-covered"]);const h={grace:{text:"Renew",tone:"warn",title:"The rental term has ended - still running during the grace period"},"support-ended":{text:"Support ended",tone:"muted",title:"Owned outright and still running, but no longer entitled to updates"},expired:{text:"Expired",tone:"danger",title:"The rental term and grace period have ended - this plugin is not running"},unlicensed:{text:"Unlicensed",tone:"danger",title:"No valid entitlement for this site - this plugin is not running"},"not-covered":{text:"Renew to run",tone:"danger",title:"This version came out after the licence's updates ended - renew it, or go back to the version it covers"}};export function compareVersions(e,r){const t=a=>String(a??"").split(".").map(o=>parseInt(o,10)||0),n=t(e),s=t(r);for(let a=0;a<Math.max(n.length,s.length);a++){const o=(n[a]??0)-(s[a]??0);if(o)return o>0?1:-1}return 0}export function pluginStatus(e){return e.core?{key:"core",text:"Built in",tone:"info",running:!0}:e.enabled&&BLOCKING.has(e.entitlement)?{key:"blocked",text:"Not running",tone:"danger",running:!1}:e.enabled&&e.supersededBy?{key:"replaced",text:"Replaced",tone:"muted",running:!1}:e.enabled&&e.blockedBy?{key:"blocked",text:`Needs ${e.blockedBy}`,tone:"danger",running:!1}:e.enabled?{key:"on",text:"On",tone:"ok",running:!0}:{key:"off",text:"Off",tone:"muted",running:!1}}export function updateFor(e,r){const t=r?.get?.(e.name);return t&&compareVersions(t,e.version)>0?t:""}export function needsAttention(e,r){return pluginStatus(e).key==="blocked"||e.entitlement==="grace"||!!updateFor(e,r)}export function fmtReleased(e){if(!e||!/^\d{4}-\d{2}-\d{2}/.test(String(e)))return"";const r=new Date(e);if(Number.isNaN(r.getTime()))return"";const t=n=>String(n).padStart(2,"0");return`${t(r.getDate())}.${t(r.getMonth()+1)}.${r.getFullYear()}`}export function arrangePlugins(e,{filter:r="all",query:t="",latest:n=new Map}={}){const s=String(t).trim().toLowerCase(),a={all:()=>!0,on:i=>pluginStatus(i).running,off:i=>!pluginStatus(i).running,attention:i=>needsAttention(i,n)}[r]||(()=>!0),o=i=>needsAttention(i,n)?0:pluginStatus(i).running?1:2;return[...e||[]].filter(a).filter(i=>!s||[i.name,i.displayName,i.description,i.author].some(c=>String(c||"").toLowerCase().includes(s))).sort((i,c)=>o(i)-o(c)||String(i.displayName||i.name).localeCompare(String(c.displayName||c.name)))}export function pluginRow(e,r=new Map){const t=pluginStatus(e),n=h[e.entitlement]||null,s=updateFor(e,r),a=fmtReleased(e.date);return{name:e.name,displayName:e.displayName||e.name,icon:e.icon||"package",meta:[`v${e.version}`,e.author?`by ${e.author}`:"",a?`released ${a}`:"",e.supersededBy?`replaced by ${e.supersededBy}`:"",e.locked?"locked by your manager":""].filter(Boolean).join(" \xB7 "),description:e.description||"",statusText:t.text,statusCls:`is-${t.tone}`,licensed:e.closedSource===!0,entText:n?.text||"",entCls:n?`is-${n.tone}`:"",entTitle:n?.title||"",update:s,updateText:s?`Update to ${s}`:"",configurable:settingsFields(e).length>0,locked:e.locked===!0,rowCls:[t.running?"":"is-off",needsAttention(e,r)?"is-attention":""].filter(Boolean).join(" ")}}export function formatMoney(e,r="GBP"){const t={GBP:"\xA3",USD:"$",EUR:"\u20AC"}[String(r||"GBP").toUpperCase()],n=(Number(e)/100).toFixed(2);return t?`${t}${n}`:`${n} ${r}`}export function formatPrice(e){if(e?.tier!=="paid")return"Free";if(e.store)return e.owned?e.canRenew&&Number.isFinite(Number(e.renewal))&&e.renewal>0?`Renew ${formatMoney(e.renewal,e.currency)}`:"Owned":e.forSale&&Number(e.price)>0?formatMoney(e.price,e.currency):"Not on sale";const r=e.terms?.managed?.monthly;return r==null||!Number.isFinite(Number(r))?"Paid":`${e.terms?.currency==="GBP"?"\xA3":`${e.terms?.currency||""} `}${(Number(r)/100).toFixed(2)}/mo`}export function catalogueAction(e){return e.store&&e.pending?"waiting":e.installed&&e.updatable&&e.entitled?e.needsCms?"needs-cms":"update":e.store&&e.owned&&e.updatable&&e.canRenew||e.store&&e.installed&&e.tier==="paid"&&!e.owned&&!e.licensedHere&&e.forSale?"buy":e.installed?"installed":e.entitled?e.needsCms?"needs-cms":"install":e.store?(e.owned?e.canRenew:e.forSale)?"buy":"locked":e.buyUrl?"buy":"locked"}export function arrangeCatalogue(e,{filter:r="all",query:t=""}={}){const n=String(t).trim().toLowerCase(),s={all:()=>!0,installed:o=>o.installed,available:o=>catalogueAction(o)==="install",updates:o=>catalogueAction(o)==="update"}[r]||(()=>!0),a={waiting:0,update:1,install:2,buy:3,installed:4,"needs-cms":5,locked:6};return[...e||[]].filter(s).filter(o=>!n||[o.slug,o.displayName,o.description].some(i=>String(i||"").toLowerCase().includes(n))).sort((o,i)=>a[catalogueAction(o)]-a[catalogueAction(i)]||String(o.displayName||o.slug).localeCompare(String(i.displayName||i.slug)))}function x(e,r){return{update:"Update",install:"Install",installed:"Installed","needs-cms":"Needs newer CMS",waiting:"Paid? Check\u2026",buy:(e.store?e.owned:e.licenceStatus==="expired")?"Renew\u2026":"Buy\u2026",locked:e.store?e.owned?"Updates ended":"Not on sale":e.licenceStatus==="expired"?"Licence expired":"Not licensed"}[r]}function b(e){return e.tier!=="paid"?{licText:"",licCls:"is-ok"}:e.store?e.owned?e.updates?{licText:"Licensed",licCls:"is-ok"}:{licText:"Updates ended",licCls:"is-warn"}:{licText:"",licCls:"is-ok"}:e.entitled?e.licenceStatus==="grace"?{licText:"Renew",licCls:"is-warn"}:{licText:"Licensed",licCls:"is-ok"}:{licText:"",licCls:"is-ok"}}export function supportText(e,r=Date.now()){if(!e?.store||!e.owned||!e.supportEnds)return"";const t=Date.parse(e.supportEnds);if(!Number.isFinite(t))return"";const n=new Date(t).toLocaleDateString("en-GB",{day:"numeric",month:"short",year:"numeric"});return t>=r?`updates until ${n}`:`updates ended ${n}`}export function catalogueRow(e){const r=catalogueAction(e);return{slug:e.slug,displayName:e.displayName||e.slug,icon:e.icon||"package",meta:[e.installed&&e.installedVersion&&e.installedVersion!==e.version?`v${e.installedVersion} \u2192 v${e.version}`:`v${e.version}`,e.installed?"installed":"",supportText(e),e.store&&e.note?e.note:"",r==="waiting"?"waiting for payment":"",r==="needs-cms"&&e.minCmsVersion?`needs Domma CMS ${String(e.minCmsVersion).replace(/^[^\d]+/,"")} or later`:""].filter(Boolean).join(" \xB7 "),description:e.description||"",price:formatPrice(e),...b(e),action:r,actionText:x(e,r),rowCls:r==="locked"||r==="needs-cms"?"is-off":r==="update"||r==="waiting"?"is-attention":""}}export function storeBuyLines(e,{site:r="",email:t=""}={}){const n=e.displayName||e.slug;return e.owned?{title:`Renew ${n}`,lines:[`${e.renewalPeriodMonths||12} more months of updates for ${n} on ${r||"this site"}: ${formatMoney(e.renewal,e.currency)}, paid once.`,"The version you have keeps working either way.",`Payment opens in a new tab. The receipt goes to ${t||"your email address"}.`]}:{title:`Buy ${n}`,lines:[`${n} for ${r||"this site"}: ${formatMoney(e.price,e.currency)}, paid once. It is yours to keep, with ${e.supportMonths||12} months of updates - renew them later if you like.`,"One licence covers one site address.",`Payment opens in a new tab. The receipt and licence key go to ${t||"your email address"}, and ${n} installs here as soon as the payment is through.`]}}export const isSecretKey=e=>/pass(word)?|secret|token|api[-_]?key|private|credential|uri$|dsn/i.test(String(e));export function labelFor(e){const r=String(e).replace(/[_-]+/g," ").replace(/([a-z0-9])([A-Z])/g,"$1 $2").trim().toLowerCase();return r?r[0].toUpperCase()+r.slice(1):String(e)}export function settingsFields(e){const r=e?.settings||{},t={...e?.effectiveSettings||{},...r};return Array.isArray(e?.settingsSchema)&&e.settingsSchema.length?e.settingsSchema.filter(n=>n&&n.key).map(n=>{const s=n.type==="select"?"select":n.type==="number"?"number":n.type==="boolean"||n.type==="checkbox"?"checkbox":n.type==="textarea"?"textarea":"text",a=t[n.key]??n.default??(s==="checkbox"?!1:"");return{key:n.key,label:n.label||labelFor(n.key),type:s,value:s==="checkbox"?a===!0:String(a??""),options:(n.options||[]).map(o=>typeof o=="object"?{value:String(o.value),label:String(o.label??o.value)}:{value:String(o),label:String(o)}),min:n.min,max:n.max,help:n.help||"",secret:n.secret===!0||isSecretKey(n.key)}}):Object.entries(t).map(([n,s])=>{const a=isSecretKey(n);if(typeof s=="boolean")return{key:n,label:labelFor(n),type:"checkbox",value:s,secret:a};if(typeof s=="number")return{key:n,label:labelFor(n),type:"number",value:String(s),secret:a};if(s!==null&&typeof s=="object")return{key:n,label:labelFor(n),type:"json",value:JSON.stringify(s,null,2),secret:a};const o=String(s??"");return{key:n,label:labelFor(n),type:o.includes(`
|
|
2
2
|
`)||o.length>80?"textarea":"text",value:o,secret:a}})}export function readSettings(e,r){const t={},n={};for(const s of e){const a=r[s.key];if(s.type==="checkbox"){!!a!=!!s.value&&(n[s.key]=!!a);continue}const o=String(a??"");if(o!==String(s.value))if(s.type==="number"){const i=Number(o);if(o.trim()===""||!Number.isFinite(i)){t[s.key]="A number, please.";continue}if(s.min!=null&&i<s.min){t[s.key]=`At least ${s.min}.`;continue}if(s.max!=null&&i>s.max){t[s.key]=`At most ${s.max}.`;continue}n[s.key]=i}else if(s.type==="json")try{n[s.key]=JSON.parse(o)}catch{t[s.key]="Not valid JSON."}else n[s.key]=o}return{errors:t,changed:n}}export function slugifyPlugin(e){return String(e??"").toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^[^a-z]+/,"").replace(/-+$/g,"").slice(0,40).replace(/-+$/,"")}export function checkScaffold(e,r=[]){const t=o=>String(e?.[o]??"").trim(),n={displayName:t("displayName"),slug:t("slug"),description:t("description"),author:t("author"),icon:t("icon")||"box"},s={},a=/[<>"\\]|\*\//;n.displayName?n.displayName.length>60&&(s.displayName="60 characters at most."):s.displayName="A plugin needs a name.",/^[a-z][a-z0-9-]{1,39}$/.test(n.slug)?r.includes(n.slug)&&(s.slug=`"${n.slug}" is already installed.`):s.slug="2-40 characters: lowercase letters, digits and hyphens, starting with a letter.",n.description.length>300&&(s.description="300 characters at most."),n.author.length>80&&(s.author="80 characters at most."),/^[a-z][a-z0-9-]{0,39}$/.test(n.icon)||(s.icon="A lowercase icon name (letters, digits, hyphens).");for(const o of["displayName","description","author"])!s[o]&&a.test(n[o])&&(s[o]='No <, >, ", backslash or */.');return{errors:s,payload:n}}export function planLines(e){const r=[];for(const t of e?.cascaded||[])r.push(`${t.displayName||t.name} is switched ${t.enabled?"on":"off"} too - ${t.enabled?`${t.becauseName||t.because} needs it`:`it needs ${t.becauseName||t.because}`}.`);for(const t of e?.losses||[])r.push(`${t.displayName||t.name} stays on without ${t.toolName||t.tool}${t.reason?`, but loses: ${t.reason.replace(/\.$/,"")}`:""}.`);return r}export function dependencyRows(e,{plugins:r=[],tools:t=[],catalogue:n=[]}={}){const s={on:["On","is-ok"],off:["Off","is-muted"],missing:["Not installed","is-warn"]},a=l=>{const u=t.find(d=>d.name===l);if(u)return{displayName:u.displayName||l,state:u.enabled===!1?"off":"on"};const p=r.find(d=>d.name===l);return p?{displayName:p.displayName||l,state:pluginStatus(p).running?"on":"off"}:{displayName:n.find(d=>d.slug===l)?.displayName||l,state:"missing"}},o=(l,u="")=>{const{displayName:p,state:f}=a(l),[d,y]=s[f];return{name:l,displayName:p,reason:u,state:f,stateText:d,stateCls:y}},i=Array.isArray(e?.requires)?e.requires.filter(l=>typeof l=="string"&&l):[],c=e?.uses,g=Array.isArray(c)?c.filter(l=>typeof l=="string").map(l=>[l,""]):Object.entries(c&&typeof c=="object"?c:{}).map(([l,u])=>[l,typeof u=="string"?u:""]);return{needs:i.map(l=>o(l)),worksWith:g.map(([l,u])=>o(l,u))}}export function dependencyText(e){return(e||[]).map(r=>`${r.displayName} (${r.stateText.toLowerCase()})`).join(", ")}
|
package/docs/DommaFeatures.md
CHANGED
|
@@ -74,7 +74,7 @@ Code was treated as the truth. Where docs disagree with it, the disagreement is
|
|
|
74
74
|
| `shopping-cart-pro` | paid | 0.3.2 | More for the Shop: discount codes (other Tools such as Prize Wheel can make single-use ones), 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. |
|
|
75
75
|
| `sliding-puzzle` | paid (giftable) | 1.0.0 | The tile-sliding puzzle, 3x3 to 6x6, numbers or a Media picture. Same board for everyone, a new board each go, or a daily puzzle; every move checked by the server. Fewest moves or fastest time wins. |
|
|
76
76
|
| `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. |
|
|
77
|
-
| `surveys` | paid | 1.
|
|
77
|
+
| `surveys` | paid | 1.10.0 | Targeted surveys over the Forms engine: shared audiences, tokenised invites, reminders, and per-survey statistics. |
|
|
78
78
|
| `sweepstake` | paid (giftable) | 1.0.0 | Office, pub and club sweepstakes for any event: picks, entry fee and prizes, entrants by name with paid ticks, and one recorded, repeatable draw revealed live on the page, then who has what and the money. |
|
|
79
79
|
| `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. |
|
|
80
80
|
| `timeline` | paid (giftable) | 1.0.0 | Put events in date order: all at once (Sort) or one at a time into a growing timeline with lives (Place). Years, months or full dates, BC too; dates stay on the server until a card is placed. Shortcode `[timeline-game]`. |
|
|
@@ -2399,7 +2399,7 @@ Control how every page looks when it is shared, and post it. Social Media Pro ed
|
|
|
2399
2399
|
|
|
2400
2400
|
### Surveys (`surveys`)
|
|
2401
2401
|
|
|
2402
|
-
Tier: paid (closed source) · Version: 1.
|
|
2402
|
+
Tier: paid (closed source) · Version: 1.10.0 · Requires: nothing declared; collections declare MongoDB (`storage.adapter: "mongodb"`) and fall back to files when `config/connections.json` is absent · Uses: `contacts` ("Import an audience from Contacts"); notes say core 0.88 · Built over core Forms
|
|
2403
2403
|
|
|
2404
2404
|
Targeted surveys on top of the Forms engine. Pick any form, choose an audience from your own contact list and groups, send tokenised email invitations and reminders, and watch response rates and per-question statistics - identified or anonymous. Surveys can also be embedded in any page or opened from a hosted survey page with a code.
|
|
2405
2405
|
|
|
@@ -2411,6 +2411,8 @@ Targeted surveys on top of the Forms engine. Pick any form, choose an audience f
|
|
|
2411
2411
|
- Hosted page `/survey/:slug` (token in `?t=` or typed code), 404 unknown / 403 before its Opens day / 410 closed; submit at `POST /api/plugins/surveys/submit/:slug`.
|
|
2412
2412
|
- **Theme per survey (1.9.0)** - Survey page > Theme picks the hosted page's colour theme (any built-in palette or a Theme Roller custom theme); "Use site theme" follows Content > Theme. Before 1.9.0 the hosted page ignored the site theme entirely. Embeds take the host page's theme. Stored as `theme` on the survey (theme id or blank) and carried by JSON export/import.
|
|
2413
2413
|
- **Wizard steps scroll to the top (1.9.0)** - Next, Back and logic step jumps on a multi-page survey jump to the top of the hosted page, or to the top of an embedded survey (clear of a sticky navbar), so the next step starts at its first question.
|
|
2414
|
+
- **Results by section and view switches (1.10.0)** - Results' Show card: Split into sections (the form's wizard pages, each with title, description and "N questions · M answered", plus Jump to buttons), Hide questions nobody answered, Show free-text answers. Kept on the survey (`results`), `PUT /api/plugins/surveys/surveys/:slug/results-view`; the cog's Split results into sections (`resultsBySection`, on) is the starting point. Read-only users' flips stay on screen only.
|
|
2415
|
+
- **Results exports (1.10.0)** - Export JSON is a full report (`format: domma-surveys-results`, v1: survey, summary, sections or questions with counts/percentages/averages, every response keyed by question label) instead of a bare array of rows. Export CSV adds Submitted and heads columns with question labels (`Section: Question` when split); headings are formula-defused like cells.
|
|
2414
2416
|
- Opens/Closes are days in the site's time zone (`timeZone` setting, default `Europe/London`): a survey takes answers from the start of its Opens day to the END of its Closes day. The hosted page, submissions, scheduler reminders, Send (409 once closed), the list chip, the badge and the closing notices all use the same rule (1.4.4).
|
|
2415
2417
|
- Shortcode `[survey slug="..." /]` - embeds the survey on any page; Copy embed shortcode copies exactly this, and the page gets the survey script added automatically (1.4.4).
|
|
2416
2418
|
- Results (`#/plugins/surveys/results/:slug`): invited, answered, response rate, per-question aggregates (only this survey's responses, tagged `survey:<slug>`); Export CSV and Export JSON; anonymous flag.
|