Repository navigation
v0.14.0
Hardening: nodes require mutual TLS, owners can require 2FA for admins, and users get an email when their account is signed into from a new device. Plus performance graphs per server and a slide-in sidebar on phones. Panel older than v0.12? Read UPGRADING.md before updating the nodes.
Changed
- Nodes now require mutual TLS by default.
TALEDAEMON_REQUIRE_MTLSdefaults to on andTALEDAEMON_ALLOW_LEGACY_BEARERto off (daemon config,deploy/daemon/docker-compose.yml,.env.template): a node refuses plaintext connections and exits when it cannot get its certificate from the panel. Panels from v0.12 on already talk mTLS, so nothing changes for them. Only if your panel is older than v0.12, setTALEDAEMON_REQUIRE_MTLS=0andTALEDAEMON_ALLOW_LEGACY_BEARER=1in the node's.envuntil you update the panel. Both flags now also accept0/false/no/off; unknown values keep the default instead of turning a protection off. - A server's update channel (Release / Pre-release) can be changed after creation: Server → Settings → Launch settings (or
PATCH /api/v1/servers/:idwithhytale_version). It applies to the next install, reinstall or update. Pre-release → release is still not switched back automatically.
Added
- Require 2FA for admins (Admin → Integrations, owner only): admins and owners without 2FA can then reach only their own account (
/api/v1/auth/*) until they set it up; everything else answers403withcode: "2fa_setup_required", and the web panel sends them to Settings → Security. Their API keys stop working too. An owner must have 2FA before turning it on, and staff cannot turn their own 2FA off while it is on.GET/PUT /api/v1/admin/security-policy;GET /auth/mereportstwo_factor_setup_required. - Email on sign-in from a new device: when SMTP is set up, a user gets an email when their account is signed into (password, 2FA code or recovery code) with a browser that has not been used from that network (IPv4 /24, IPv6 /48) in the last 30 days. It names the time, IP, browser and sign-in method. On by default; turn it off in the notification settings ("New sign-in alerts"). The first sign-in of an account is not reported.
- Performance graphs per server: the server's Overview tab shows CPU, memory (with the RAM limit) and players online over the last 1 hour, 6 hours, 24 hours or 7 days. Hovering one graph shows the same moment in all three, with the average and peak of that interval; Table lists the values. Points are averaged per 1, 5, 15 or 60 minutes; gaps mean the server was stopped or the node offline. The node daemon now sends each running server's CPU and RAM with its heartbeat, and the panel keeps one sample per server and minute (a node can only report its own servers). API:
GET /api/v1/servers/:id/metrics/history?range=1h|6h|24h|7d(permissionserver.view, also allowed for API keys). Migration 048 adds theserver_metricstable. Needs daemon v0.14; older nodes keep working but record no history. - On phones and narrow windows (below 768 px) the sidebar is a slide-in menu behind a menu button in the top bar, so pages use the full width. Before, the fixed 256 px sidebar left about 130 px for the page on a phone. The menu closes after navigating, on Escape and on a tap outside; wider screens are unchanged.
- The admin activity log shows who made each request and, for requests made with an API key, the key's name and prefix.
Fixed
- Node metrics (
node_metrics) were never deleted and grew by one row per node every heartbeat. The API now removes node and server metrics older than 8 days (the graphs show at most 7) in its 6-hourly cleanup.