Skip to content

Releases

Soba 0.8.0

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.

CMS 0.7.9

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:56

CMS 0.7.9

A second language; a site's own contact form drawn and run by the CMS in its own markup, with each email's record, numbers that carry on, and spam rules of its own; files stored and renamed under their own names, and a picture a site already has, in the library where it is; embeds from four more providers; text kept exactly as written; and a site's own setup: a mail log, a safer config.php with a command to change it, one reading of app_env, paging and old class names of its own choosing.

A second language

  • Settings → General → Second language gives each page and entry a version at the same address under the language's prefix (/fr/about, /fr/news/…, the front page at /fr). Translate, on a page's or an entry's screen, makes it: a Private copy linked to the original, with its words, picture, date, fields and categories, to write in the language and publish. The page and entry lists say each translation's language and filter by it.
  • A page in the second language is drawn in it: its <html lang>, its menus (each menu location has a twin, Primary Navigation (French), with a menu of its own), the site's title, tagline and footer text as Settings → General gives them in it, and the theme's own words: a list's links, search, the not-found page, the password gate, the menu's button, the cookie banner, opening hours, and the months and days in its dates. French ships with English; Settings → Words changes any word in either language and names each translated type in the second.
  • Archives, category pages, search, feeds, calendars and sitemaps each hold one language. A page and its translation name each other for search engines (hreflang, in the head and in the sitemap), and the header links to the page in the other language, written in that language's own name, or to that language's front page.
  • The shop, forms and the admin stay in the site's own language, and a type that sells (a product, or events that sell tickets) has no translation.
  • A translation renamed leaves its redirect; an export and an import carry translations and link each to its original; a static copy carries each language; a site beside its own router hands the CMS the second language's addresses of its types and categories.
  • A site whose own language is French now says the theme's words, and its dates' months and days, in French.

A site's own contact form, drawn and run by the CMS

  • A form's Settings → On the page sets how it is drawn: its element's id and classes, its button's classes, each field's name as its id, its messages above or below it, and its words while sending, when answers need fixing and when it cannot be sent. Its status region speaks (role="status", aria-live="polite").
  • "Check each answer on the page, in its field's own words" checks each field as it is left and as the form is sent, with the field's own messages: each shows under its field, the first wrong field takes the focus, and nothing is sent.
  • Each field can name what a browser may fill it with, a textarea how many lines it shows, a select the words of its empty choice, and an answer over its Maximum characters can be refused in words of its own.
  • A required field's * is no longer read aloud; its box says it is required and names its message, a span under it hidden until the answer is wrong. Every group of a form's controls (radios, boxes, a scale, a grid, a name's or an address's boxes, a signature) is named by its label.
  • A refusal by script names each field with its message, and the page puts each under its field. Without JavaScript, a refused form comes back to its page with everything typed and each message in place, carried for ten minutes by a cookie of its own and taken once.
  • A field shown only for a choice (Please specify, for Other) is hidden on the first draw whether or not the page runs a script.
  • A page left open longer than its form's token lasts still sends: the token is renewed while the page is open.
  • What became of each email a submission sends is kept with it and shown on its page: sent, with the id the mail service gave it (Brevo's messageId), or not sent and why. A history import can bring each lead's own record.
  • php admin/bin/form-numbers.php next 1001 makes the next new submission #1001, refused at or below a number in use.
  • A form sets the fewest seconds its page must be open before it sends (3 when blank). "Answer spam as though it was sent" answers a post turned away for its speed or its content exactly as a sent one, with no email and no conversion, and keeps it with its reason. A site adds rules of its own in form-spam.php.
  • A form keeps a file only once its post is accepted, and deleting a submission, spam or a whole form deletes the private files its submissions held.
  • A form's empty value="" and placeholder="" attributes are no longer drawn.

Writing and media

  • A site whose theme loads an icon font keeps the icons written into an entry's text ('icon_classes' in config.php).
  • Every name HTML5 gives a character is read as that character (&frac18; is ⅛).
  • A page or an entry saved without a change is stored exactly as it was: no moved "last updated", no revision.
  • A file is stored under its own name: "Garden Path.JPG" is kept as garden-path.webp, with -2 where the name is taken, and no unique prefix.
  • A library file can be renamed in the library's panel: the file and its widths move, every address the site keeps for it follows (bodies, fields, settings, forms, menus, earlier revisions, redirects), and the old address sends a visitor on.
  • php admin/bin/media-site-files.php add puts a picture the site already has under its web root into the library where it is, with its narrower copies as its widths; Media::image() gives a template any picture's address and widths as paths.
  • Settings → SEO's default sharing image and organisation logo are pictures from the library, chosen with its picker, so neither breaks when a file is renamed or carries a development address into a launch. An address stored there before stays until it is emptied.
  • Embeds from four more providers, each pasted as the provider's code gives it: a Google map, a Calendly booking page, a Brevo sign-up form and a Kit sign-up form.
  • The front page's own words run their shortcodes, as a page's do.
  • An import can keep what a move needs: each row's status, an entry's date and a page's or entry's password, and each featured image found in the library by its contents or a name only one picture has.

A site's own setup

  • 'mail_transport' => 'log' in config.php keeps every message in admin/logs/mail.log instead of sending it, for a staging copy.
  • A site's own files in admin/config/ are read inside an output buffer, and update.php and migrate.php refuse one that does not compile, naming it.
  • php admin/bin/config.php set <key> <value> changes one setting in config.php and keeps the rest of the file, its comments included.
  • app_env is read one way everywhere: left out it is production; every copy but a development one hides its errors, only production sends Google's tags, and the admin names any other copy in its top bar. A config.php without app_env now sends Google's tags.
  • A module switched off with a word (false, no, off, 0) is off, and System health names a switch that is neither.
  • A site that draws its own head gets an entry's head and text from SEO\Head::forEntry() and Post::renderedContent(), and a whole-page theme can draw a password-protected entry's gate with a template of its own.
  • 'paging_parameter' => 'p' numbers archives, term pages, the front page and a static copy the site's own way.
  • 'old_class_names' => false stops the CMS writing its old class names beside the new, in its pages, stylesheets and scripts alike, and update.php check names a site's own files that still use one.
  • /account is one of the site's own addresses: a page, a type or a redirect there is refused.

Migrations 121 to 125: each email's record, a site's own files in the library, a form's return without JavaScript, each page's and entry's language, and Settings → SEO's two pictures by their library id.

CMS 0.7.8

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:56

CMS 0.7.8

A static copy of the site; a Customizer for the public site's look; backups on a timetable; an import of a WordPress site; pages and entries that come off the site on a date and drafts shared by a link; feeds, calendars and business details; a cookie question before Google measures anything; forms and mail for a site that sends its own conversions and its mail through Brevo; a site with its own router in front that keeps its pages through a fault or an update; and a pass over the admin's layout, with fixes across the site.

A static copy

  • Tools → Static copy makes the whole site as files for a web host that runs no CMS, as one file to download: every public page as the site draws it, with its pictures and files, its paged lists and sitemap, and a page at each old address that sends the visitor on.
  • "Links that work anywhere" makes every link relative, so the copy works at any address, or opened from a folder with no web server. Its canonicals and sitemap still name the address it was made for.
  • Its search runs in the visitor's browser, by the site's rules. Its shop is a catalogue, with no basket, checkout or accounts, and a page behind a password is left out.
  • On a host with PHP, its forms are sent by a small handler of its own, checked for spam by the site's rules and mailed through the host's mail program with the visitor's files attached. On a host without PHP, each form's place shows words of your choosing. No password leaves the CMS with a copy.
  • What the copy could not take is listed when it is made.
  • The same from the command line, for a host that does not let the admin start PHP: php admin/bin/export-static.php.

Publishing

  • A page or an entry comes off the site on its Unpublish date, as Private would, with nothing that has to run at that moment. The admin says Ended.
  • A page or an entry not yet on the site can be shared by a link from its screen, for a day, a week or a month: whoever has it sees it without signing in, and search engines and caches are told to keep it. Stop sharing ends it at once.
  • A page, a form or any entry can be copied from its row to start the next one: a Private copy at its address plus -copy, holding what the original held, opened on its own screen. A form's copy has none of its submissions.
  • An editor says who else has the same page or entry open, and since when, and says when someone else has saved since the screen was drawn. It tells; it does not lock.

Forms and conversions

  • A form can go to its after-sending page when it is sent by script too: "Go there after a send by script too", off on every existing form. The JSON answer then carries redirect, the page as a path, besides success and message.
  • A site whose own header prints its Google tags sets 'site_sends_conversions' => true in config.php. The CMS then prints nothing of Google's, and each real submission's conversion is still carried to the form's after-sending page.
  • \Cms\Site\Google::conversion() also returns the stored submission's ID. The conversion is signed and given once: a reload, another tab or a direct visit gets null.
  • A test address can be set on a form, or on Settings → Email for every form. A submission whose reply-to address is the test address is handled as a real one, but its email goes to the test inbox alone. The inbox marks tests and can show only them or leave them out, and the CSV export has a Test column when it holds one.
  • A site bringing in its form history by code keeps each submission's ID: FormSubmission::create() takes one, refuses one already taken, and can mark what it brings in as a test. New submissions continue after the highest.
  • A form with a captcha shows its thank-you again. Since 0.7.4 the form disappeared after sending and no thank-you appeared.
  • A form's email names an upload or a drawn signature by its file's name and address, as the inbox does, not by a media number, and says where the submission is in the inbox.
  • A form can send a confirmation to whoever sent it: its own subject and message, with their answers filled in where the message names a field in braces, to the address in the form's Reply-to field. It goes only once a submission has passed the spam checks, so the site writes to no address a bot typed in, and a test's goes to the test inbox. A blank message sends none.
  • A picture sent through a form is turned upright and loses its metadata (where and when it was taken, and the phone) as it is stored or mailed. A file field has its own File types box: the server takes only those kinds, and the picker offers only them.
  • The site's form handler and a static copy's read and check a submission through the same code (Forms\Answers), so the two cannot differ.

Mail

  • Brevo's API can send every message the CMS sends, chosen in config.php with its key ('mail_transport' => 'brevo'). The key is kept there and nowhere else, and Settings → Email says when Brevo is in use. A message Brevo refuses is logged with Brevo's answer, never the key.
  • A site's own form-mail.php, which writes a form's whole email, can now return it as fields: the subject, the text, the Reply-To, and if wanted the From name and the recipients' names. It is then sent the way the site sends everything else. A message returned whole works as before.
  • Settings → Email → Send a test email sends one message to the address typed, and the screen says where it went, or why it was not sent.
  • A submission whose email could not be sent says "Email not sent" in the inbox, and can be sent again from its own screen or ticked in bulk. It keeps its own submitted time, and a test goes to its test inbox only.

Asking before measuring

  • With a GA4 or Tag Manager ID typed on Settings → SEO → Google, "Ask visitors before measuring" shows visitors a question with Accept and Decline drawn alike, and nothing loads from Google until they accept (Google's Consent Mode: denied, then granted on Accept). The answer is kept for a year in a cookie of the site's own, and a Cookie settings link in the footer asks again. The words and the page the question links to are the owner's. Untick the box and the tags print as before.

The site

  • Every date on the site is written in the formats chosen on Settings → General, as in the admin: a story's date, the cards in a list, an event's day and time, a date field, and a booking form's days and times.
  • Site search matches the words a visitor reads, not the HTML they are stored in, so a search for "strong" no longer finds every page with bold text. Capitals and accents make no difference.
  • An events list is in the order of its dates across every page: what is still to come first, the soonest first, then what is over under Past events, the latest first.
  • Settings → General → Site language: public pages say the language they are written in, for screen readers, hyphenation and translation. Every public page also opens with a skip link past the header.
  • Appearance → Customizer: the public site's palette (one of the design language's 21) and corners, its text and heading fonts (Inter, or the visitor's own sans-serif or serif), a logo in the header with or without the site's name beside it, and a site icon of its own, which falls back to Branding's. The home page beside the controls shows each choice as it is made; Save keeps them for every visitor. The admin keeps its own look.
  • Each type of entry with public pages has a feed of its newest entries (RSS, at /news/feed.xml and the like), named in the head of the home page and of the type's own pages. A type that is only products has none: its catalogue is the product feed.
  • An event has "Add to calendar", a file of it alone, and an events list has "Subscribe in your calendar", one calendar of every event that a calendar app keeps up to date (/events/calendar.ics). Times are the site's own, as typed.
  • Settings → Business details: the business's name, phone numbers, email, opening hours, place, service areas and social profiles, kept once. [phone], [sms], [email] and [hours] print them in a page's text, the footer and a card's summary, as links to call, text and write, and the site's structured data carries them. A theme reads them with \Cms\Site\Business::get().
  • A public picture is kept at smaller widths too (300 to 2048 pixels, as WebP), and the site's pictures offer them, so a phone no longer downloads the whole file. A theme uses Media\Sizes::srcset() or Sizes::img().
  • A type of entry with no public address has no sitemap, where it listed entries at addresses that were not found.
  • A visit that arrives while another process is still applying migrations, an update's or another visit's, is told to come back (503, with Retry-After) instead of shown an error.

A site with its own router in front

  • \Cms\Site\Front::owns() never throws. A missing config.php or a database that does not answer is logged, the CMS's fixed addresses (/admin, /api/v1, /files, /forms, /assets/theme) are still its own, and the site's own pages carry on.
  • During an update it reads no database: the home page and the addresses in admin/config/site-addresses.php stay the site's, and every other address is the CMS's, which answers 503 until the update is done.
  • Tools → Redirects works at any address of such a site, the site's own included: owns() hands the CMS an address a rule sends on, and the CMS follows it as it does everywhere else.
  • The site's own addresses stay its own. The Content Types and Taxonomies screens refuse to publish at one, and a type or taxonomy at one that arrived another way, an import or a row written by hand, never takes it.
  • site-addresses.php is read quietly: a blank line before its <?php no longer prints before every page.

Files and media

  • A folder is chosen from a row of chips over the library (All, Unfiled, then each folder) and made, renamed and deleted on Manage folders.
  • The library sorts by date added or taken, name, size, type or d...
Read more

CMS 0.7.7

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:56

CMS 0.7.7

Google's measurement tags from the admin, forms that work under a strict Content-Security-Policy, and four fixes to the editor.

Google's measurement tags

  • Settings → SEO → Google takes a GA4 measurement ID, a Tag Manager container ID and a Search Console verification code. Each is checked as Google writes it, and Search Console's whole meta tag may be pasted.
  • Google's own code for each is printed once on every public page, and never in the admin or on the sign-in page. With none entered, a page loads nothing from Google.
  • Only a site whose app_env is production sends anything. A copy anywhere else shows the same tags inside a comment, to compare with the live site.
  • Nothing is inline, so a page under a Content-Security-Policy that allows the site's own scripts and Google's needs no change. A site whose policy asks for a nonce can hand it over.
  • Each form sends one conversion event for each real submission: generate_lead, another name set on the form, or none. It is sent whether the form finishes by script, by its redirect or on the CMS's "Sent" page. Spam, a refused submission, a reload and a direct visit send nothing.
  • Clicks on phone numbers and email addresses can be sent as phone_call_click and email_click.

Forms

  • A form posts to, and comes back to, the address the visitor used, so a site that answers on both www. and its bare name takes forms on both.
  • A form's script and its hidden spam fields' styling come from the site's own files, with nothing inline.

The editor

  • HTML typed in the HTML view with line breaks between paragraphs no longer leaves empty paragraphs.
  • Backspace or Delete beside an embed selects it first, then removes only it, keeping the lines either side apart.
  • A post from X or Instagram pasted without its script gets the provider's script.
  • A post's words hold its place until the provider's frame has drawn, and stay if the provider is blocked.

Updating

  • There are no database migrations.
  • A whole-page theme, or a site that keeps its own router, prints the tags by calling \Cms\Site\Google::head() in its <head> and \Cms\Site\Google::body() straight after <body>, as the README says.
  • After a redirect, a form's conversion waits for the next page in a cookie that lasts five minutes. Ordinary visits set none.

CMS 0.7.6

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:56

CMS 0.7.6

Everything a shop needs behind the counter, after the storefront in 0.7.5: orders, stock, customers, reports, other programs, and the assistant. Posts from X can now be embedded, and a Markdown document can be imported into any text.

Orders

  • The customer is emailed when an order is paid and when it goes, with its tracking. Any email can be sent again, and a note can go to the customer.
  • Refunds by the line, with the stock put back and the customer told. An option can be exchanged for another, and the addresses corrected.
  • Orders taken by the shop, on the telephone or at a stall.
  • Several moved at once, a month at a time, a spreadsheet for the bookkeeper, and packing slips and invoices on paper.
  • An unpaid order is cancelled after the days the shop allows, its customer reminded the day before.

Stock and products

  • Every count on one screen, each change recorded with its reason.
  • Mail to the shop when a size runs low or sells out, and a list for customers who want telling when it is back.
  • Each product's price, code and stock on its line in the list, which narrows to what is sold out or running low. Products can be copied.
  • Prices, sales and counts changed across a selection, and products out to a spreadsheet and back in.

Customers

  • Who has bought, what, how much, and how to reach them.
  • Customers see their orders by signing in from a link sent to their inbox, with no password to keep.
  • What is kept about a customer can be downloaded or erased on request. Erasing keeps what the books need.

Reports

  • What sold, by day or month, by product and by size and colour, and the tax collected by province. Each downloads as a spreadsheet.

Other programs

  • A product feed for Google Merchant Center and Meta's catalogue.
  • An API with keys, for bookkeeping, a shipping service or a till, and webhooks that tell another program when an order is placed, paid, completed, cancelled or refunded.

The assistant

  • It reads the shop: a product's options and counts, the orders, what sold, the discount codes, what is running low.
  • It proposes a new count, an order's move with its tracking, a discount code or a new option. As with every change, a person approves the rendered difference first. Undo puts it back, leaving and naming anything that has moved on since.

Embeds

  • Vimeo, Facebook, Instagram and X join YouTube.

Import Markdown

  • A button on the editor takes a Markdown document, pasted or chosen as a file, and puts it in the body where the cursor is, with its headings, lists, tables, quotes and links. An empty body becomes the document, and an empty title box is filled with the document's own title.
  • Nothing is saved until the entry is. Pictures that are only on the writer's computer are named so they can be added.

Not in this release

  • Card payment online and shipping labels. Payment is still by bank transfer, cheque or on delivery.

Updating

  • Seven database migrations run during the update. The updater backs up first and rolls back if a step fails.
  • Unpaid orders are checked on visits, at most every ten minutes. Where the host has cron, php admin/bin/run-due.php does it on a timetable.
  • A site updated from an earlier release keeps its own www/.htaccess. Send API keys in the X-Api-Key header. Authorization: Bearer works on a new install where the server passes that header on.
  • Webhooks need allow_url_fopen.

CMS 0.7.5

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:56

CMS 0.7.5

The shop

  • Products in sizes and colours. Mark Size and Colour as what a customer chooses, tick a product's sizes and colours, and Make options adds every combination, named and coded. A price, a sale price, a stock count or a photo can be set on every option at once, or on every option of one colour.
  • Each option can have its own photo and its own sale price. A sale can run between two dates. A product can have more photos than its main one.
  • The product page offers a choice for each of size and colour, shows a sold-out combination as sold out, and changes to a colour's photo as it is chosen.
  • The shop's list can be sorted by price or newest and narrowed by size and colour.
  • Tax by province. Rates are set for each place, and a button fills in Canada's GST and HST to check and save; Quebec's 9.975% QST can be entered. The checkout asks for the province, and each tax has its own line on the order and the receipt.
  • Delivery by where it goes, with a place the shop does not deliver to refused at the checkout, and orders collected in person.
  • Discount codes can start on a date, make delivery free, take off only named products or categories, leave sale items alone, and be used a number of times per customer.
  • The checkout can ask the customer to agree to a page such as a returns policy, and can offer a box for news and offers, which starts unticked. Receipts and confirmation emails end with the business's name, address and GST/HST number.
  • A Shop manager role: orders and discount codes, without users, security or settings.
  • Exports and imports carry a product's options and categories.
  • Deleting an order puts back the stock and the discount code use it held.
  • A product's structured data gives the shop's currency, the price charged and whether it is in stock.

Fixes

  • Discount codes, sales and order emails go by the site's own time zone: a code no longer stops working at 5 pm in Vancouver on its last day.
  • A product's SKU, and each option's, must be its own; a refused save keeps the options as typed.
  • Settings → Shop keeps everything typed when a save is refused.
  • Form notifications give the time in the site's zone.
  • Public pages no longer carry a sign-in name in their structured data.
  • The admin shows the CMS version on System Health and at the foot of every screen.
  • The database backup an update takes, and a signature drawn on a form, can be read by the site's group.
  • A site whose only sitemap is its pages now serves it at /sitemap.xml directly, and an index again once it has a second.

Updating

Migrations 094 to 099 run on the first request after the update. A shop's single tax rate becomes a rate for everywhere, and a flat delivery rate becomes a delivery rate for everywhere, so every order is charged as before until the owner adds provinces.

Sites updating from before 0.7: the CMS's form markup carries both class names, cms-form__x and imprint-form__x. A site template that matches a whole class attribute, such as class="imprint-form__choice", no longer finds it; match the class name as one word instead.

Card payments are not part of this release.

CMS 0.7.4

Choose a tag to compare

@jacksonvw jacksonvw released this 19 Nov 20:49

The first release published on this repository. A site already running the CMS updates with the update package; see Updating below.

What's new

A new site's first password is its own. A new install no longer starts with a password everyone knows. php admin/bin/migrate.php run prints a random password for the first sign-in, once, with the address of the sign-in page. The first sign-in asks for a name and password of your own. Until that command has run, nobody can sign in, even if the site has already been visited. Sites already running keep their passwords.

A way back in from the server. php admin/bin/security.php password <name> prints a new password for an account whose owner cannot sign in: the first password was lost, say, or a reset email never arrives. The account is signed out everywhere, and its owner chooses their own password at the next sign-in.

The front page has one address. The page whose words appear on the front page now answers at / only. The sitemap lists /, and /home redirects there permanently (301), so search engines see one page instead of two. A site that runs the CMS behind its own router keeps its addresses.

Sitemaps list only what can be found. The sitemap index no longer names a sitemap that would come back empty. Two cases are left out: a content type whose entries are all hidden from search results, and the pages sitemap while no page is published.

PHP 8.5. Under PHP 8.5, the security alerts code no longer logs a deprecation warning on every request. The updater treats a logged warning as a failed update, so until now an update could not finish on PHP 8.5. Updating to 0.7.4 works there.

Smaller changes

  • The packages no longer include the test files of the bundled FastRoute library. An update moves them into the site's update backup.
  • The README lists every PHP extension the CMS needs, and says where to report a security problem.

Updating

Put the update package in the site's root and unpack it. Then check what will change, and apply it:

tar -xzf cms-standalone-0.7.4-update.tar.gz --keep-old-files
php admin/updates/incoming/0.7.4/admin/bin/update.php check
php admin/updates/incoming/0.7.4/admin/bin/update.php apply

apply backs up the database and every file it replaces, and rolls everything back if a step fails. A site that keeps its own router uses the router packages instead. The README has the details.

Downloads

Package Use it for
cms-standalone-0.7.4-install.tar.gz a new site
cms-standalone-0.7.4-update.tar.gz updating a site
cms-router-0.7.4-install.tar.gz a new site behind its own router
cms-router-0.7.4-update.tar.gz updating a site behind its own router

Check a download against its .sha256 file before you use it:

sha256sum -c cms-standalone-0.7.4.sha256

The SHA-256 sums:

8464fb5fdeb2b5bdabf4b6598a2d49ccbc8a22756b3b1b3ff1277592c7d4997b  cms-standalone-0.7.4-install.tar.gz
66fbdb4e69f5d9750647886c533dffa64639afed7125d343f6e111e9f50e34d0  cms-standalone-0.7.4-update.tar.gz
106009255497072417da79d644c458af08b94c6f5860a1f5e4464963466a5431  cms-router-0.7.4-install.tar.gz
bcf1eb1ac7fd7fbcfd4d8523127f284b52414b6e1ed229f7c85e18783604604e  cms-router-0.7.4-update.tar.gz

Reporting a security problem

Email support@silverservers.com rather than opening a public issue.