Commit Graph
11 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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