Repository navigation
MultiContactForm 1.0.1
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
Self-hosted fonts, a cleaner way to pass the theme between your sites, and a handful of interface fixes.
Highlights
- Ubuntu Sans and Ubuntu Sans Mono, self-hosted (OFL-1.1): the same look on every device, nothing loaded from third parties. The CSP now allows
font-src 'self'. ?view=light|darkis the theme for this visit only. A linking site can still open the form in its own theme, but the parameter no longer stays in the address or travels through internal links: the newpublic/assets/js/theme.jskeeps it insessionStoragefor this tab and removes it before the page is drawn (other parameters and the#fragmentare kept). It never becomes a saved choice: only the 🌓 toggle saves one, and using it ends the visit's theme. Theme shown: this visit's › the saved choice › the device's.site_urlaccepts{lang}and{theme}, e.g.https://example.com/{lang}/?view={theme}: the link in the page stays clean, and the theme on screen is added only when it is followed.- The privacy page lists the visit's theme (
mcf.view, sessionStorage) next to the cookies, with its state and a delete link.
Fixes
- "Back to …" from a site that is not one of your projects now says "Go back" instead of a long host name.
- "Reset" is grey and inactive until there is something to reset (before, it reloaded the page for nothing).
- The German and English flags now fill their frame (they were drawn 5:3 and 2:1 in a 3:2 box).
theme-colorfollows a device theme change while the page is open, and a page restored with the Back button re-aligns its theme without reloading.
Upgrading from 1.0.0
- Upload the release over your installation:
config.php,projects.phpand the data folder are not in the package and stay as they are. - No configuration change is required. Optionally, add
{theme}(and{lang}) tosite_urlto pass the theme to your site. - If you added or customised a language file, translate the new keys
back,privacy.storage_visit_durationandprivacy.storage_visit_purpose(until then they fall back to English). - If you modified
app/views/topbar.phporapp/views/privacy.php, merge your changes by hand.
Full details in CHANGELOG.md.