Skip to content

Releases

MultiContactForm 1.0.2

Choose a tag to compare

@SalvatoreNoschese SalvatoreNoschese released this 20 Nov 12:58
Immutable release. Only release title and notes can be modified.
v1.0.2
83c79cc

Changed

  • ALTCHA widget updated from 3.5.0 to 3.7.0.
  • altcha-lib-php updated from 2.3.0 to 2.4.0.

Fixed

  • README: Ubuntu Sans and Ubuntu Sans Mono are licensed under the Ubuntu Font Licence 1.0, not the SIL OFL 1.1.

MultiContactForm 1.0.1

Choose a tag to compare

@SalvatoreNoschese SalvatoreNoschese released this 11 Nov 18:15
Immutable release. Only release title and notes can be modified.
v1.0.1
329c847

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|dark is 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 new public/assets/js/theme.js keeps it in sessionStorage for this tab and removes it before the page is drawn (other parameters and the #fragment are 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_url accepts {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-color follows 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.php and the data folder are not in the package and stay as they are.
  • No configuration change is required. Optionally, add {theme} (and {lang}) to site_url to pass the theme to your site.
  • If you added or customised a language file, translate the new keys back, privacy.storage_visit_duration and privacy.storage_visit_purpose (until then they fall back to English).
  • If you modified app/views/topbar.php or app/views/privacy.php, merge your changes by hand.

Full details in CHANGELOG.md.

MultiContactForm 1.0.0

Choose a tag to compare

@SalvatoreNoschese SalvatoreNoschese released this 31 Oct 17:23
39e058f

First public release of MultiContactForm: a self-hosted, multilingual contact form shared by several websites. One form, one backend, one anti-spam system, one mail pipeline.

Each site links to the form with the project preselected by the URL hash. No database, no Composer, no npm, no build step.

Requires PHP 8.1 or later, HTTPS, and an SMTP account or a Brevo API key.

Source code (zip) is the package to install: it holds the site only. Copy config-sample.php to config.php and projects-sample.php to projects.php, fill them in, and open the site. The steps are in the README.

To update, replace app/, public/ and the root .htaccess, and keep config.php, projects.php and the _app-data folder.