A room or user name with a tab, a newline, an escape or some emoji was
drawn wider than measured, so the terminal wrapped and scrolled, and
going on to Users kept Rooms' header and keys on screen. Names from
Synapse and log lines are made printable, cutting to fit counts screen
cells (CJK and emoji take two), the coloured title keeps an emoji whole,
and changing screens repaints the terminal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-plain promises ASCII, but the menu's and actions' icons (▦ ◷ ⚑ ...)
and the new ▲/▼ more lines were left as they were. Decorative icons
become spaces; ▲ ▼ ◂ ⊘ become ^ v < x.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hosts was written with YAML quoting ('' for a quote), but Ansible splits
inventory lines like a shell, so it read it'' as its and becoming root
failed. Values are now shell-quoted, the SSH host, user, port and key
too, and the importer reads lines back the same way Ansible does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An answers file passed with --config (or an imported one) could set the
SSH user to -oProxyCommand=... and run it on this machine. '--' before
the destination and the repository stops ssh and git reading them as
options.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
check, dns, status, images, changes and self-update printed Go's bare
'Usage of X:', and import/unbundle/restore with a wrong path printed the
raw 'stat ...: no such file or directory'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A form given a negative height panicked (Backups, Alerts, Move, Server
in a small window), and a forced wide layout overflowed below 60x17.
TestTinyWindows opens every screen at small sizes in all layouts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 'interzone rollback N' with no history ended mid-sentence.
- Restore and Roll back offered enter with nothing to pick.
- The typed confirmations (Uninstall, deleting a room) showed what to
type as a hint, which plain mode can't tell from typed text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With several menu sections open in a short window the sidebar grew
taller than the screen, which pushed the whole layout up a line and
hid the header. It now shows the part around the current entry, with
more-above and more-below marks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since v0.5.26 the status play's shell block, which grew the stats
script, tripped Ansible's free-form argument splitter, so the Dashboard
and 'interzone status' failed on every server with only "^ column 7"
to show for it. The script now goes in as cmd:, a test runs
ansible-playbook --syntax-check on every play interzone writes, and an
Ansible error shows its [ERROR] line rather than the last line of its
output.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paths under the home folder are written ~/…, the start-fresh line no
longer runs off the screen with two full paths, and the errors met most
(no install yet, a service stopped) open with what to do about them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The checks can take 40 seconds behind one spinner that said only
"checking the server and DNS…". Now each stage's results appear as it
finishes, the line says which stage runs and for how long, and c stops
them, keeping what's found and saying they stopped early.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each confirm panel wrote its keys its own way ("enter delete", "enter
again to restore", "x again to forget"), and start fresh took only R.
They now share one line, y and enter confirm everywhere, and deleting a
room, the one action besides Uninstall that can't be undone, asks for
the word delete to be typed instead of a second key press.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Updates" opened "What an update brings" from "See what an update
brings", "Tokens" was "Sign-up tokens", "Rollback" was "Roll back"
and Maintenance's "Disk" was "Disk space". Each now has one name, and
ctrl+k lists each place once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thirty-odd places spread over a sidebar, a Manage list and Maintenance
tabs are hard to find by browsing. Type a few letters of one and enter
goes there, the way the menu would: a running deploy or a server not
installed yet stops it with the same message, and an action that
changes the server waits for a second enter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alerts, Rooms, Disk, Vacuum, Postgres, Compress, the database shell,
self-update and uninstall had no shortcut, and the wide layout had no
way to see keys the footer cut off. ? now opens the key sheet in any
layout (Manage's actions included), and the footer keeps "? all keys"
while the screen's last hints give way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One enter started a deploy on a screen where enter opens things
everywhere else. Now it shows what the deploy will do (install or
update, where, how long, what changes, which checks failed) and only y
starts it.
The preview had its own scroll box that vanished once the checks grew,
while ↑↓ kept scrolling it unseen. The page (summary, checks, ports and
the preview) now scrolls as one, and x and z scroll to the preview.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In plain mode, for screen readers, or in a terminal without colours,
every option looked the same.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the checks, ports and estimate Review got tall enough that the
vars.yml preview doesn't fit a 45-row window and is hidden. ↑↓ still
scrolled it, at a negative height, past its end, and the next taller
window panicked drawing it. Its height and offset are now kept in range.
z put the DNS records into that hidden preview, so it seemed to do
nothing; now the left column is cut short to show them.
choiceField panics when labels and choices differ in number, so an
option that can't be picked (as Matrix room was) fails every test that
opens its screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The format field got the Matrix room label but not its choice, so the
screen offered only text and JSON and the Matrix fields never showed.
The script and its tests were fine; nothing tested the screen picking
it, which the new test does from the keyboard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new menu section takes one or more server names (or user IDs, or
URLs) and tests each from this computer as servers and apps would:
delegation (port, well-known, SRV, then 8448), signing keys and
software over federation, the client well-known and its CORS header,
the client API, login flows, the support file and Element X's needs.
The federation and client checks Review ran for this server now take
any domain, so both share them; Review also gains SRV delegation, key
expiry, the software, and login flows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--reset only showed empty answers for the active server; its history,
locks, the other servers and the playbook copies stayed, so it was never
a clean start. Now both move the config and data folders to
*.old-<time> and open the wizard. Nothing is deleted: the folders hold
every server's secrets and downloaded backups, so they can be put back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Matrix room is where a Matrix admin already looks. The alerts account
joins the room by its address or ID and posts m.text (so it notifies)
with an HTML body: the headline coloured red, green or purple by what it
says, problems and changelog entries as a list, and a footer naming the
server and time. The token travels in the 0600 vars file and env file
like the URL does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changing the domain, the homeserver, or MAS on Synapse after install
ruins the server: IDs end in the domain, no homeserver reads another's
database, and MAS holds (or would need migrated) every account. The
config now records what the server was installed or imported as
(backfilled from the deploy history for older installs). The Server,
Homeserver and Components steps mark those choices locked and say why,
presets keep them, and writing vars.yml refuses answers that differ.
Uninstalling clears the record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Screen readers read every box-drawing character and re-read the screen
on each spinner frame, and recorded sessions fill with colour codes.
Plain mode drops colour, swaps box, bar, sparkline and marker
characters for ASCII ones of the same width in the final frame, so
layouts don't move, and keeps the spinner still.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Onboarding a group meant registering people one by one. Add users can
now read a CSV (username, optional password, optional admin), generate
missing passwords, save them all owner-only beside it, and create the
accounts in one run through the playbook's matrix_user_creator, which
every homeserver and MAS supports and which leaves existing accounts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dashboard only knew the moment it was open, so slow trouble (a disk
filling with media) went unseen. The status query now installs a tiny
interzone-stats timer when missing, which notes a sample every 10
minutes and keeps 30 days; every few minutes the dashboard reads them
at 30-minute steps, draws sparklines and estimates when the disk is
full from the last week's growth.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A mirror going down only showed when the next update failed, and new
changelog entries only when someone opened Updates. The alert timer now
checks every mirror the server uses (any answer below 500 counts as up)
and, once a day, sends the changelog entries newer than the ones
interzone seeded from the local checkout, the server's own first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spam and abandoned rooms had to be handled with curl against the admin
API. The Rooms screen lists every room biggest first, through the same
in-container admin script as Users, and blocks, deletes (block + purge)
or purges history older than N days, keeping local events.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A 2 GB server passes the old fixed checks and then swaps itself to death
running Jitsi; the estimate grows with what's turned on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Typing every hostname into a DNS provider by hand is where setups go
wrong; most providers import zone-file lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A wrong /.well-known/matrix/client or a missing CORS header breaks apps
quietly, and Element X needs sliding sync, OAuth 2.0 logins and a call
server where older apps didn't.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shows what an update would change on the server before it does. The new
playbook goes in a copy beside yours, borrowing its git objects, so a dry
run never leaves your checkout half-updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Private and small servers often want to talk to a few others, not the
whole federation; the playbook has the settings, but only as variables.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The changelog is where the playbook says what breaks and what to do; the
commit list doesn't. Entries that name your homeserver or link an enabled
component's doc page are marked and shown with their first paragraph.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Health only helps when someone is looking. A timer on the server, like
scheduled backups, checks for failed services, the homeserver not
answering, a certificate about to expire and a full disk, and sends once
when something breaks and once when it's fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A full disk is how small Matrix servers usually die, mostly from media
cached from other servers. Choice rows now wrap onto as many lines as
they need instead of going one per line, so the seventh tab fits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The port list now reads the playbook's port variables (vars.yml, extra
vars, its defaults), so a moved port shows as moved. Review and
interzone check connect to each TCP port, telling a firewall that drops
it from a server with nothing listening, and once installed check
federation as a federation tester would, which also works in a blackout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docker opens them on the server, but a provider's firewall or a router in
front of it doesn't, and the playbook's docs spread them over each
component's page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
just.md, playbook-tags.md, maintenance-postgres.md, maintenance-synapse.md
and uninstalling.md describe runs interzone had no way to start. A new
Maintenance screen (Manage's menu) has one tab each:
- Services: start, stop or reinstall everything or one service group
(start-all, stop-group, install-X,start-group); reinstalling everything
is setup-all, which removes turned-off components that install-all
leaves behind.
- Vacuum with any of the five presets, Upgrade Postgres (the old data dir
kept), Compress Synapse's state with its threshold.
- Tags: any tags with key=value extra vars, as just run-tags.
- Uninstall: the playbook's remove-all, after typing the domain.
Manage lists each under its group and opens the tab, and its Database
shell runs psql on the server in this terminal. Runs go through the new
ActionTags (tags checked against a safe character set, vars as JSON) and
ActionUninstall.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Choosing blackout on the Server step now points every source at the
in-country defaults (playbook and roles on Forgejo, images from zot,
packages and PyPI from infamous), not only the empty mirror fields.
A blackout deploy then checks them before using them and swaps in the
first known mirror that has everything: PyPI before installing Ansible,
the registry against every image the enabled services use (the one
missing fewest when none has all), the OS and Docker package mirrors
against the server's distro and release. Each switch is logged and sent
back as a Sources event, which the UI saves; vars.yml is rewritten when
it names the mirror. The run works on a copy of the config, as migrations
already did, so the UI never reads it mid-change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The playbook fails a deploy whose vars.yml still uses an old name, e.g.
matrix_livekit_jwt_service_container_additional_arguments. interzone now
reads the playbook's own old → new lists from its roles' tasks and moves
values, Fine-tune overrides and extra vars to the current names: when a
config is loaded (so the saved one is fixed) and when vars.yml is written
after the playbook update (for renames the update just brought).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Advanced now sorts the extra vars by the playbook role that defines
each one (read from the roles' defaults, as Fine-tune does), so
Traefik, Docker, LiveKit and the rest get boxes too, named after
interzone's component where there is one. Name prefixes are the
fallback without a playbook. Only roles that hold vars get a box, plus
Other for new ones. ctrl+o, or the button above the boxes, switches to
one box of plain text and back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Advanced moves to the right half of Settings, beside the details;
tab runs off one side onto the other, and narrow screens show one side
at a time with tabs. The extra vars are split into a box per component
(homeserver first, Other last) by the longest matching variable
prefix, comments going with the key under them, and joined back on
leave. The wheel scrolls through boxes too, now that the last one no
longer moves on to Review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fill in the details was a second page inside Components. It is now a
step of its own between Components and Review, so it shows in the
sidebar and esc goes back to Components.
Down on the last line of the last box (Advanced's extra vars) counted
as finishing the form and moved on to Review. The wheel sends down,
so scrolling to the bottom jumped steps. It now stays on the box;
enter, tab and ctrl+n still move on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Components with their own subdomain get a field under Addresses on
the settings page, showing the default; any hostname can go there and
the DNS check follows it. Imports fill it from vars.yml.
A key in the hand-written extra vars that interzone also writes (the
MAS sign-up switches on servers imported before interzone handled
them) was written twice. That made vars.yml unreadable to the DNS
check, which then asked for element.~ and the like and reported
them as not resolving. Hand-written keys now win and appear once,
which is also what Ansible did with the duplicate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop mergeKeys and sameValue in favour of maps.Clone/Copy and
reflect.DeepEqual; drop duplicate keys with slices.DeleteFunc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Deploy screen had its own copy of FailureMessage's JSON "msg"
parsing. Using the shared one also drops MDAD's "Full error:" dump from
the failure shown under the error, as the self-check already did.
users.go names its "seen in the last 30 days" check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>