domma-cms 1.26.1 → 1.26.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.26.2] - 2026-10-31
4
+
5
+ - Documentation: the Form Follow-Up tutorial covers file fields (drop area, Several files and Most files, the size cap and accepted types) and copying forms between sites; Blocks covers Convert selection to Domma Block; Site Settings > Theme covers the searchable font pickers, separate site and admin fonts, and licensed Cera Pro and Euclid fonts.
6
+
3
7
  ## [1.26.1] - 2026-10-31
4
8
 
5
9
  - SEO: a redirect's "To" box (Add a redirect and the redirect panel) has a drop menu of the site's pages beside it, arranged as a tree by address - pick one, or keep typing any address. Typing filters it; arrow keys and Enter pick. The menu is `plugins/_lib/admin/ui/page-menu.js`, which SEO Pro 0.7.1 uses in its own redirect boxes too.
@@ -117,6 +117,30 @@ Subject Prefix: [Contact Form]</code></pre>
117
117
  <strong>Preview</strong> to play it on a sample. Visitors who ask their device to reduce motion see the
118
118
  field switch straight away.</p>
119
119
 
120
+ <h3>File uploads</h3>
121
+ <p>A <strong>File</strong> field is a drop area: visitors drop a file on it, browse for one or paste it, and
122
+ pictures show a preview. A file of the wrong type or size is refused as soon as it is added, with the
123
+ reason. Multi-step forms keep the file when the visitor goes back a step.</p>
124
+ <ul>
125
+ <li><strong>Several files</strong> lets one field take more than one file; <strong>Most files</strong> sets
126
+ how many (5 unless you change it, up to 20). Every file appears in the submission, the collection entry,
127
+ the email notification and the CSV export.</li>
128
+ <li>The page adds up a submission's files and warns before they pass the server's limit
129
+ (<code>uploads.maxSubmissionBytes</code>, at least 50 MB by default), so a visitor is not refused at the
130
+ end of a long form.</li>
131
+ <li>Forms accept pictures (not SVG), audio, video, PDFs, Office and OpenDocument files, text and CSV, and
132
+ archives. Web pages, SVG files and scripts are always refused. Files are only saved once the submission
133
+ has passed its spam and validation checks.</li>
134
+ </ul>
135
+
136
+ <h3>Copying a form to another site</h3>
137
+ <p>In <a href="#/forms">Data &gt; Forms</a>, choose <strong>Export JSON</strong> from a form's menu. On the
138
+ other site, use <strong>Import</strong> in the banner. The imported form gets its own new, private
139
+ submissions collection; existing forms and collections are never changed, and a form whose address is
140
+ already taken gets a new one. Surveys and Campaigns Pro import and export their definitions the same way,
141
+ without responses or recipients.</p>
142
+ <p>Every setting in the form editor has a <strong>(?)</strong> beside it. Click it for an explanation.</p>
143
+
120
144
  <hr>
121
145
  <p class="text-muted" style="font-size:.9rem;">
122
146
  <a href="#/tutorials">Back to all tutorials</a>
@@ -238,6 +238,13 @@
238
238
  and component. A block used elsewhere changes there too - you are asked the first time. Closing a tab, or
239
239
  leaving with unsaved changes, keeps your work as a draft for that block until you open it again.</p>
240
240
 
241
+ <h3>Making a block from part of a page</h3>
242
+ <p>In the page editor, select the markup you want to reuse, right-click and choose <strong>Convert selection
243
+ to Domma Block...</strong>. Give the block a name (lowercase letters, digits and hyphens). Once the block is
244
+ saved, the selection is replaced with <code>[block template="your-name" /]</code>. A name that is already
245
+ taken is refused rather than overwritten, and the page itself is left unsaved so you can check it before
246
+ you save.</p>
247
+
241
248
  <h3>Copying blocks between sites</h3>
242
249
  <p><strong>Export</strong> on a block's right-click menu downloads it as a <code>&lt;name&gt;.dmblock.json</code>
243
250
  file, with its HTML and CSS. On the other site, use <strong>Import</strong> in the Blocks banner. If a block
@@ -126,6 +126,15 @@
126
126
  Page Details. Picking an admin theme shows it at once so you can try them on - Save makes it
127
127
  everyone's, and leaving without saving puts the saved theme back.</p>
128
128
 
129
+ <p>Every font choice (the site font, the admin font, your editor lettering, Highlight text, Scribe
130
+ and a menu's font) is a searchable picker that shows each font's name and a sample in that
131
+ font. The site font and the admin font are set separately. Fonts such as Urbanist, Nunito
132
+ Sans and Mulish load from Google Fonts when chosen. <strong>Cera Pro</strong> and the
133
+ <strong>Euclid</strong> families are licensed fonts: put your own font files and a stylesheet
134
+ under <code>/public/fonts/</code>, enter the stylesheet in <strong>Licensed font
135
+ stylesheet</strong>, then pick them like any other font. They are never requested from Google
136
+ Fonts, updates leave them alone, and no commercial font files are bundled.</p>
137
+
129
138
  <h3>Dates and times</h3>
130
139
  <p>The admin shows dates as dd/mm/yyyy and times on a 24-hour clock (dd/mm/yyyy HH:mm), whatever
131
140
  the browser's language. Recent items may read "3 days ago" or "tomorrow at 09:00". Stored
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-cms",
3
- "version": "1.26.1",
3
+ "version": "1.26.2",
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",