Commit Graph
16 Commits
Author SHA1 Message Date
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 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 fe3cceff5c interzone check: name the component first in the port list
Coturn's ports overflowed the column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 04:45:52 +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 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 87d8f39301 Review lists the ports a firewall must let in for the enabled components
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>
2026-10-29 04:22:31 +03:30
vvvomitandClaude Opus 5.5 63425e4214 Fold repeated blocks into one place each
- configFlag: the four commands that only take --config.
- confirmKey: the history, restore and servers screens' identical
  confirm-prompt handling.
- yamlWriter.claim: raw and block's shared Fine-tune/duplicate check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 02:09:28 +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 953f540a15 Import: update the saved server for the same domain
Importing a vars.yml again added a second server. Now an import whose
domain is already saved replaces that server's answers, keeping what
vars.yml doesn't hold (playbook copy, download sources, backup schedule,
a held rollback, the admin session, and the target when there's no
inventory). The previous answers are kept as .json.before-import.
-new still adds another server; -name of a server for another domain is
refused instead of overwritten. The Servers › import screen does the same
and says which server it updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:49:54 +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 f918c97687 Import a server set up with matrix-docker-ansible-deploy by hand
interzone import PATH, or i on Welcome and Servers, reads an existing
vars.yml and inventory/hosts and keeps every setting and secret: variables
interzone has no question for go into extra vars with their comments,
values it would write differently become overrides, and variables it
would add are held at the playbook defaults. The original files are only
read; the checkout is copied, and its vars.yml kept so the first Review
lists each variable that changes.

Also mask secrets in the Review diff against the last deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:49:48 +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 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