The marketing CMS where agents draft and people publish
Menu

Spillway 0.1.7

0.1.7

A host's default mail relay; Account section lookups; spillway set-password, and 2 more.

Added

  • A host's default mail relay. SMTP_DEFAULT_URL (with SMTP_DEFAULT_FROM) is the relay a site uses until its admin sets one under Site settings → Mail, which replaces it; removing theirs goes back to it. Unlike SMTP_URL it does not lock the Mail tab, which shows it as Your host's relay without its credentials. Hosted sites on spillwaycms.com use it so password resets, invitations and form emails work from the start.
  • Account section lookups. A module's account section can answer read-only JSON to a script in its HTML: GET /account/section/<id>/<name> reaches the section's lookups[name] for the signed-in member, with a limit of its own (120 a minute per member) so checks made while typing do not use up the account forms' limit. spillwaycms.com uses it to check a new site's address while the member types it.
  • spillway set-password. Sets a user's password from the first line on stdin (never on the command line) and signs them out everywhere, audited as auth.password_set: for an administrator locked out of a site that cannot send email. Hosting platforms pipe it in to give a site's owner a new admin password.

Changed

  • A value shown once appears where you asked for it. A new API token or a site's admin password from an account section now shows inside that section, focused and selected, instead of at the top of the account page, where it was easy to miss.

Fixed

  • Mail with a display name in its From. A From such as Spillway <hello@example.org> (in Site settings → Mail, SMTP_URL's ?from= or SMTP_DEFAULT_FROM) put the whole value in the SMTP envelope, which relays refuse, so nothing was sent. The envelope and the EHLO name now use the bare address, and a display name outside ASCII is encoded in the From header.