Skip to content

Soba 0.8.0

Latest

Choose a tag to compare

@jacksonvw jacksonvw released this 23 Nov 22:52

Soba 0.8.0

The CMS now has a name, Soba, and a licence: it is free software under the GNU General Public License, version 3 or later. A new site sets itself up in the browser and opens with something in it. Each account chooses its own admin theme, and Settings → Branding puts the site's logo on the admin and its sign-in pages.

Soba

  • The packages are named for it: soba-standalone-0.8.0-install.tar.gz and the rest. Earlier releases keep their names.
  • The admin, a site's pages and its mail name the site, as before, and never Soba.
  • The licence's text ships in every installation, at admin/LICENSE, and admin/NOTICE gives the copyright and the components that keep their own licences.

Setting up a new site

  • Open a new site's address and it asks for the database, then the Site title and your own account. It writes admin/config/config.php with a long random app_secret of its own. Where the server will not let it write that file, it shows the text to save there yourself.
  • A new site starts with a Posts type, a first post on the front page and an About page, each edited or deleted like anything else.
  • The dashboard of a new site lists its next steps: write a post, edit the About page, put words on the front page, name the site. Hide these removes them for good.
  • An empty front page, list or category page shows someone signed in who can write a link to add the first entry. Visitors see the site's own words for it, as before.
  • Only a site that has never been set up opens the set-up. One that has run with a config.php and loses it answers with an error instead.
  • The command-line install works as before, and a site that keeps its own router is installed that way.

The admin's look

  • Each account chooses its own admin theme on its account page, and an administrator can set anyone's. Tuxedo is the default, with Midnight and Pearl.
  • A site can add an admin theme of its own as one stylesheet in www/site/admin-themes/. php admin/bin/admin-theme.php check says whether it is ready.
  • 'admin_themes' => ['clientname', 'tuxedo'] in config.php offers only the themes named, in that order. The first is the theme of every account that has not chosen one.
  • Settings → Branding sets the site's logo, in a version for light backgrounds and one for dark, on the admin's top bar and its sign-in pages. It also sets the sign-in pages' theme.

Removed

  • Appearance → Themes and Appearance → Customizer are removed. A site's public theme is set when the site is built. Public pages show the site's name in their header, and fonts, a header logo or a site icon set in the Customizer no longer show. Appearance now holds Menus alone.
  • The palettes and the square or rounded corners are removed.
  • The assistant is switched off: its screen and its spend limit no longer show in the admin. Its past conversations stay in the database.
  • www/site/admin.css is no longer read. A site's admin styling is an admin theme in www/site/admin-themes/.
  • The CMS no longer answers to the names it had before 0.7.0, and 'old_class_names' in config.php is no longer read. The address /site is the site's own folder.

Two-step sign-in starts over

  • The way authenticator secrets and backup codes are kept has changed, so the ones kept before cannot be used. Everyone who signed in with an authenticator app sets it up again on their account, with new backup codes, and the site's two-step policy gives them its full grace period to do it. A code by email and a remembered browser carry on as before.

Updating

Update from 0.7.x with the update package as usual: check, then apply. Before updating a site that used the Customizer, note its fonts, header logo and site icon: its theme has to carry them from now on. Tell the people who sign in to it with an authenticator app that they will set it up again.