Changelog

0.13

A site in a box

One program is now the whole site. Visitors see the published pages, people sign in at /edit and change them from any browser, and Publish is live in about a second. Nobody who edits needs a terminal.

Until now, editing a Verso site meant running it on your own computer. That suits the person who builds a site and nobody else. This release is for everyone else: host the site once, and the people it belongs to edit it where it lives.

The box

  • npm start runs the site and its editor as one program, at one address. Visitors get the published pages as plain files; anyone signed in gets the editor.
  • Publish is live at once. A restore point is saved under the publisher's name and the pages are rebuilt, usually in under a second.
  • Drafts stay private. Visitors only ever see what was published, even after a restart.
  • No repository needed. The history lives in the box. A git remote, if there is one, gets a copy of every publish.
  • A kept disk: point VERSO_DATA at a disk that lasts and the site moves onto it. Each start says how many restarts its files have been kept through. New sites come with a Dockerfile that does this.

People

  • Signing in at /edit, with pages for setting up the first owner, joining from an invite and choosing a new password.
  • Invites are links you send yourself. Each works once and lasts seven days.
  • Owners and editors: editors change words, pictures, blocks and pages, and publish. Owners can also change the design, build blocks and manage people. Editors aren't shown the tools they can't use.
  • Several people at once: you see who else is on your page, their saved changes appear on yours without interrupting your typing, and everyone hears when someone publishes.

Safety

  • Passwords are kept as salted hashes, in a folder that never goes into the site's history.
  • Every editor request is checked for a signed session, the person's role and where it came from.
  • Wrong passwords lock an address for fifteen minutes after five tries.
  • verso owner makes a new owner's link from the server, for when everyone is locked out.