Commit Graph
45 Commits
Author SHA1 Message Date
vvvomitandClaude Opus 5.5 77f8335e6b Rooms: names can't garble the screen, and no screen leaves rows behind
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>
2026-10-29 16:38:37 +03:30
vvvomitandClaude Opus 5.5 06dbed58b9 ssh and git: a user, host or URL starting with - isn't taken as an option
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>
2026-10-29 15:55:18 +03:30
vvvomitandClaude Opus 5.5 00216f72f7 Dashboard: the status play parses again; every play is now syntax-checked
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>
2026-10-29 15:41:03 +03:30
vvvomitandClaude Opus 5.5 2cdca76950 Shorter messages: ~ for the home folder, and errors say what to do first
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>
2026-10-29 15:07:40 +03:30
vvvomitandClaude Opus 5.5 0b99d31d91 Review: checks show up as each stage ends, with a timer, and c stops them
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>
2026-10-29 15:06:15 +03:30
vvvomitandClaude Opus 5.5 94d5ac8d8c Test: any Matrix servers' well-known files and endpoints
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>
2026-10-29 05:53:18 +03:30
vvvomitandClaude Opus 5.5 adde5b48ac Alerts can post into a Matrix room as formatted messages
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>
2026-10-29 05:38:17 +03:30
vvvomitandClaude Opus 5.5 1412810103 Lock the setup choices a running server can't survive changing
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>
2026-10-29 05:31:43 +03:30
vvvomitandClaude Opus 5.5 5560782fe8 Add users: many at once from a CSV file
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>
2026-10-29 05:16:13 +03:30
vvvomitandClaude Opus 5.5 6783a3b148 Dashboard: 30 days of load, memory and disk, and when the disk fills
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>
2026-10-29 05:13:17 +03:30
vvvomitandClaude Opus 5.5 2428a68acf Alerts also watch the mirrors and the playbook's changelog
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>
2026-10-29 05:09:46 +03:30
vvvomitandClaude Opus 5.5 37d30a6ecc Rooms: list Synapse's rooms, block, delete, or delete old history
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>
2026-10-29 05:04:40 +03:30
vvvomitandClaude Opus 5.5 269a348515 Review estimates the memory and disk the setup needs, and checks the server
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>
2026-10-29 04:59:51 +03:30
vvvomitandClaude Opus 5.5 9a75789ca1 DNS records as zone-file lines: Review › z and interzone dns
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>
2026-10-29 04:58:43 +03:30
vvvomitandClaude Opus 5.5 817dc34ce8 Check the server as apps see it: client well-known and Element X readiness
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>
2026-10-29 04:56:19 +03:30
vvvomitandClaude Opus 5.5 2b981f8dff Updates › d: dry-run the update in check mode, in a copy of the playbook
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>
2026-10-29 04:54:44 +03:30
vvvomitandClaude Opus 5.5 5f5910bd83 Updates shows the playbook's new changelog entries, yours first
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>
2026-10-29 04:44:04 +03:30
vvvomitandClaude Opus 5.5 4d902b7b95 Alerts: the server checks itself and tells ntfy or a webhook when that changes
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>
2026-10-29 04:41:18 +03:30
vvvomitandClaude Opus 5.5 7a127ada16 Maintenance › Disk: what uses the disk, Docker prune, remote media retention
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>
2026-10-29 04:37:27 +03:30
vvvomitandClaude Opus 5.5 ee4febfe7e Check the ports and federation from outside, with the ports the settings give
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>
2026-10-29 04:33:26 +03:30
vvvomitandClaude Opus 5.5 c6930b12df Maintenance from the playbook's docs: services, vacuum, upgrade, tags, uninstall
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>
2026-10-27 22:19:25 +03:30
vvvomitandClaude Opus 5.5 c7c384402f Blackout mode picks mirrors that carry what the server needs
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>
2026-10-27 22:07:20 +03:30
vvvomitandClaude Opus 5.5 5b9bfb5450 Rename settings the playbook has renamed, on load and on deploy
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>
2026-10-27 19:50:01 +03:30
vvvomitandClaude Opus 5.5 37f0ab37d4 Use slices for membership checks; gofmt backups.go
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 02:14:09 +03:30
vvvomitandClaude Opus 5.5 d43e68ddc1 Share Ansible failure parsing; drop an unused regexp
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>
2026-10-27 02:11:47 +03:30
vvvomitandClaude Opus 5.5 8fd05fa513 Drop dead code and hand-rolled stdlib helpers
- Logout and BackupLabel had no callers; the admin script's logout op
  only served Logout.
- contains, keys and sortedKeys become slices.Contains and
  slices.Sorted(maps.Keys(...)).
- One ExpandHome, in config, instead of a copy in deploy.
- meter reuses usageStyle; tests reuse runes and strconv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 02:08:02 +03:30
vvvomitandClaude Opus 5.5 ae491ea858 Rust homeservers federate on 443; Tuwunel's own login
Conduit, Continuwuity and Tuwunel serve federation through the client
API router on 443: matrix_federation_public_port is 443 and their
separate federation router is off, so Traefik no longer opens 8448 and
the server check stops asking for it.

Tuwunel gets oidc_native_auth, its built-in OAuth login and sign-up page
(it needs the client well-known, so only with HTTPS). Continuwuity's
built-in OAuth is already on by default; Conduit has none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 01:35:13 +03:30
vvvomitandClaude Opus 5.5 b5cbf897c7 Sign-up tokens on Manage
Manage › Sign-up tokens (t) lists every MAS registration token with its
uses, last use and expiry, makes new ones limited by uses or days, and
revokes or restores them. mas-cli only issues tokens, so the list and
revoking go through MAS's table in the bundled Postgres, with the token
passed as a psql variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:54:10 +03:30
vvvomitandClaude Opus 5.5 984ba7925d Sign-up through MAS with a token, no email
With Exim off the server sends no email, and MAS asks for one on
sign-up by default. The Public community preset, which promised open
sign-up but never turned it on, now opens MAS password sign-up with a
required token and no email. Other presets keep it closed.

The token is generated once and kept in the config. MAS keeps tokens
in its database, so each install makes it with mas-cli; MAS refusing it
as a duplicate means it's already there (checked against MAS 1.27.1).
It's shown after the install and on Manage, where Open/Close
registration now works for Synapse with MAS too. An imported setup
keeps sign-up open, with a new token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 00:43:52 +03:30
vvvomitandClaude Opus 5.5 ae9a26af02 Mirrors checks every image, needed ones first
The images tab asked only about the images of the enabled services. It
now lists every image the playbook can deploy, under "Needed by <domain>"
and "Not used by your setup", failures first in each. The tile and the
sidebar count the needed ones; unused images that are missing show in
the tile's note. The deploy pre-check still checks only the needed ones.

The cache moves to mirrors-2, as older results have no needed flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:57:19 +03:30
vvvomitandClaude Opus 5.5 9637d477c6 Faster Users changes, a live Dashboard
Users:
- A change shows on its row as soon as the server has made it, and the
  list is refreshed behind it without locking the screen. Before, a
  deactivation waited for the change and then for a full reload.
- The admin script asks for each person's rooms, sessions and email a
  few at a time instead of one by one (60 people at 20 ms a request:
  3.9 s → 0.7 s).
- With MAS, the admin list from mas-cli is fetched alongside the user
  list instead of after it. Plays get a file name of their own, as two
  of a kind can now run at once.

Dashboard:
- Refreshes itself every 5 seconds while it's open (30 after a failure),
  and checks the certificates every 5 minutes or on r.

Both:
- A screen's answer now reaches it even if another screen is showing
  when it arrives. Leaving the Dashboard mid-refresh used to leave it
  waiting forever, so it never refreshed again until interzone restarted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 05:11:56 +03:30
vvvomitandClaude Opus 5.5 bbf37a50d3 Users: totals, a card per person, bridge groups, search, sign out
The Users screen gets a strip of totals (people, active in 30 days,
admins, new, rooms, media, bridged accounts) and a list with an
activity dot and how long ago each person was seen. The selected person
opens into a card: last seen, joined, sessions, rooms, media, email,
picture, flags (admin, deactivated, locked, shadow-banned) and their
actions as chips. On a wide terminal the card sits beside the list.

The admin script now counts rooms and devices for each person (up to
300), reads per-user media statistics and the server's room total, and
matches accounts against the appservice registrations in
homeserver.yaml, so bridge puppets and bots fold into a group per bridge.

New keys: / search, f filter (admins, active, inactive, deactivated),
o sort (last seen, name, joined, media), s sign out everywhere (MAS:
kill-sessions; otherwise every device but interzone's own is removed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 04:10:44 +03:30
vvvomitandClaude Opus 5.5 f4be86a912 Mirrors section, dashboard redesign, themes, MAS by default
- Mirrors: a new menu section next to Setup, Manage and Servers that
  checks the playbook and every pinned role at its version on the roles
  mirror, the registry and package mirrors in use plus the known ones,
  and every container image the enabled services need.
- Dashboard: tiles for CPU, memory, disk and containers; OS, kernel,
  Docker and swap; the heaviest containers; health checks, restarts and
  network traffic. Cards sit side by side when wide and stack in the
  compact layout.
- Menu sections fold independently and the open ones are remembered.
- Themes (interzone, Catppuccin, Nord, Gruvbox, Dracula, Solarized,
  mono) switched with ctrl+y or -theme; ctrl+l cycles the layout.
- New Synapse servers and the Synapse presets come with MAS; untick it
  on Components to opt out. Installed servers are left alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:26:47 +03:30
vvvomitandClaude Opus 5.5 2635e508fe Name the services in front of each hostname
The Dashboard's certificates, interzone status, the DNS rows on Review
and in interzone check, and the move instructions say what each hostname
serves, e.g. "Element Web  chat.example.net". The names come from the
components whose hostname it is; a host only Traefik knows about is
named after its containers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:59:46 +03:30
vvvomitandClaude Opus 5.5 844685f7dd Dashboard: check the certificates of the hostnames actually served
The certificate list was guessed from each component's usual subdomain of
the base domain, so components moved to other domains were missed or
listed under names nothing serves. The status play now reads the Host
rules from the Traefik labels of the matrix-* containers, which is
exactly what the playbook configured from vars.yml; before anything runs
behind Traefik, the usual hostnames are still guessed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:49:17 +03:30
vvvomitandClaude Opus 5.5 222cac2449 Users: manage accounts through MAS when it is on
With the Matrix Authentication Service, Synapse turns its password login
off, so signing in for user admin failed with "Unrecognized request".
interzone now gets a Synapse admin session from mas-cli on the server
(issue-compatibility-token; no password needed), reads admin rights from
MAS, and creates users, resets passwords, changes admin rights and
deactivates or reactivates accounts with mas-cli. Calls that carry a
password are no_log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:42:16 +03:30
vvvomitandClaude Opus 5.5 0350eec80e Live logs, cached views, Manage shortcuts, Review diff, header health
- View logs follows journalctl -f until esc instead of fetching 300 lines.
- Dashboard, Users and the logs' service list show what they loaded last
  time (cached per server) and refresh in the background.
- Every Manage action has a one-letter shortcut; actions that change the
  server right away need the letter twice.
- Review shows what changes in vars.yml since the last successful deploy;
  x switches to the whole file.
- The header shows whether matrix.<domain> answers over HTTPS and how many
  days its certificate has left, checked every minute from this machine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:29:21 +03:30
vvvomitandClaude Opus 5.5 3327a16280 Cut steps: 4-step wizard, start on Manage, confirm by repeating
- Network and Certificates are sections of the Server form, and the
  component settings are the second page of Components: the wizard is
  Server, Homeserver, Components, Review.
- An installed server opens on Manage; esc there leads to Welcome.
  Switching to an installed server lands there too.
- After update, check, restart, image check or scheduled backups
  succeed from Manage, it returns there by itself after 4 seconds with a
  toast; any key stays on the result.
- Rollback, restore, forgetting a server and user changes are confirmed
  by pressing the same key or clicking the same row again; moving away
  cancels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:54:58 +03:30
vvvomitandClaude Opus 5.5 e00b68fd2a Add a compact layout for phones; open rows with one click
The compact layout drops the sidebar and borders, opens the menu from
the header, wraps the key hints and narrows lists, forms, checks and the
deploy progress. It is picked automatically for narrow or portrait
terminals; the menu's layout switch and -layout override it.

A click anywhere on a list row now opens it. Manage actions that change
the server at once still take a second click.

ssh and Ansible share one persistent connection per server (10 minute
ControlPersist), so back-to-back actions skip the handshake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:42:55 +03:30
vvvomitandClaude Opus 5.5 297a4509b9 Add server maintenance tools, fine-tuning and multiple servers
- Image pre-check: list the images the enabled services use and check
  each in its registry for the server's CPU, before every install and
  on demand (Manage, `interzone images`).
- Update preview: new playbook commits and changed component versions.
- Rollback: record each successful install's commit and answers; roll
  back with a database backup first, pinning the playbook until the next
  update.
- Self-update from the newest Forgejo release, verified with SHA256SUMS.
- Restore a database dump; scheduled backups via a systemd timer on the
  server, and downloading them.
- User admin for Synapse through the admin API inside its container.
- Server dashboard: load, memory, disks, certificates, containers.
- Move to another server by streaming /matrix and reinstalling.
- Several servers, each with its own answers and playbook copy.
- Fine-tune: browse and override any homeserver role default.
- CLI: changes, images, status, restore, rollback, servers, self-update,
  apply --latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 04:09:29 +03:30
vvvomitandClaude Opus 5.5 58f8c5d21f Make the self-hosted interzone-mirror the blackout default
https://infamous.g0th.ir (an interzone-mirror) is now first for OS
packages, Docker (/docker) and PyPI (/pypi/simple). It carries Debian,
Ubuntu incl. ARM, Raspbian and Arch; RHEL-family and Fedora servers
pick one of the public mirrors, which stay listed as alternatives.

TestCatalog now requires some known Docker mirror per distro instead of
the default covering all. The container test gains self-hosted cases
(INTERZONE_SELFHOSTED_MIRROR) that install the playbook's packages from
the mirror on Debian, Ubuntu and Arch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 02:36:15 +03:30
vvvomitandClaude Opus 5.5 41782c807c Support every distro the playbook does in blackout mode
The OS package step now handles APT (Debian, Ubuntu incl. ports,
Raspbian), dnf (AlmaLinux, Rocky, CentOS Stream, Fedora, EPEL) and
pacman (Arch), rewriting only repositories the mirror carries and
warning about the rest. On RHEL-family servers it writes docker-ce.repo
pointing at the Docker mirror, installs EPEL from the mirror, and lets
dnf skip unreachable repositories.

The mirror catalog records which distros each mirror carries; checks
probe per-distro indexes, and the pre-deploy check matches the server's
distro against the chosen mirrors. CDN.ir becomes the default Docker
mirror (all distros) and Hostbaran the default OS mirror; Runflare's
Linux mirror is dropped (402 Insufficient credit).

Tests: offline probe/regex/needs tests, live catalog test
(INTERZONE_MIRROR_TESTS=1) and a container test running the play on
nine distro images (INTERZONE_CONTAINER_TESTS=1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:33:43 +03:30
vvvomitandClaude Opus 5.5 202ec76fd4 Add verified Iranian mirrors as blackout defaults
Catalog of APT, Docker CE and PyPI mirrors in Iran, a content-aware
probe (fresh security Release files, Docker Release, ansible-core in
the PyPI index), 'interzone mirrors' to test them all, and a network
test gated by INTERZONE_MIRROR_TESTS=1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:32:09 +03:30
vvvomitandClaude Opus 5.5 8fda040f0e Add server checks, self-check, a Manage menu, offline bundles and CLI
- Review now checks the server before deploying (SSH, root access, OS,
  CPU, Python, memory, disk, ports 80/443/8448) and resolves every DNS
  record against the server's addresses. Enter asks twice when a check
  failed.
- Deploys end with the playbook's self-check; results list the services
  that answered and what failed. Certificate validation is turned off for
  self-signed setups.
- Welcome offers a Manage menu once a server is installed: update,
  self-check, restart, add a user, close/open registration, back up
  Postgres to this computer, and view any service's logs.
- `interzone bundle` packs the playbook with its roles, Ansible's Python
  packages and the binary for machines without internet; `unbundle`
  installs it, and deploys fall back to the bundled copy.
- `interzone apply` and `interzone check` run without the TUI.
- Invalid YAML in the extra vars and YAML fields is caught on Review.
- Screens are roomier: padded body, spaced form fields and sections,
  two-line component rows, wider cards and separators.
- The Server step no longer turns the domain matrix.org into org.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:16:12 +03:30
vvvomitandClaude Opus 5.5 c5c278952b Initial commit: interzone TUI for matrix-docker-ansible-deploy
Interactive wizard (Bubble Tea, Bubbles, Lip Gloss) that picks a homeserver,
opts into any MDAD component, writes the inventory and runs the playbook.
Supports in-country git, container registry, Docker, APT and PyPI mirrors
for installing during an internet blackout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:48:25 +03:30