Skip to content

deadair 0.107.0

Choose a tag to compare

@deadair-release deadair-release released this 01 Dec 14:29
· 4 commits to main since this release
4b33617
  • The station now records what an admin does to somebody's account: changing their role, switching them off or back on, signing them out everywhere and resetting their second step. Each record says who did it, when, and from which address. Open a person under Settings, People to see it, under "Changed by an admin". Only admins can read it, and it is kept rather than swept with the activity feed. Nothing was recorded before this release, so the history starts empty.
  • Claude, or any app connected to the station over MCP, can no longer delete or overwrite anything on its own say-so. Before an operation that removes or overwrites something (a character, an item in the running order, a record's audio), and before it stops the station or takes a presenter off the air, the station now asks you itself, in the app, naming what is about to run and what it was given, and runs it only if you say yes. Saying no, or not answering within two minutes, changes nothing. An app that cannot show you a question is refused those operations and pointed at the console. Reading and the station's other changes work as before. Apps that connect now hold a session with the station; when a restart or an update ends it, the station tells the app to start a new one.
  • An admin who signs in with only a password (no authenticator app, passkey or linked sign-in provider) now sees a warning at the top of every console page, linking to Settings, Sign-in and security. It is a warning only: nothing is refused, and it goes away once something stronger is added.
  • Signing out of the console now ends the sign-in on the station too, even when the console's hour-long access token has already run out. Before, the browser forgot its tokens and the station kept them valid for up to thirty days. Apps get POST /auth/revoke, which ends a sign-in from its refresh token, for the same reason. Installed apps keep signing out exactly as they do today until a release calls it.
  • Anybody signed in can now see every device their account is signed in on, sign one of them out, or sign out everywhere but the device they are on (GET /auth/sessions, DELETE /auth/sessions/{sessionToken}, POST /auth/sessions/sign-out-others). Only your own sessions are listed or ended: a session that belongs to somebody else answers as though it did not exist.
  • Settings, Sign-in and security has a new Signed-in devices card. It lists every browser and app your account is signed in on, with when and from where. You can sign any other device out, or sign out everywhere except the one you are using, which is handy after losing a phone or signing in on a borrowed computer.
  • A signed-in console or app now holds an access token for an hour rather than thirty days. Sign-ins still last thirty days: every client refreshes the token when it runs out, so nobody is signed out. Apps connected over MCP refresh hourly in the same way. A token that leaks is worth an hour. Party guests keep a token for as long as their pass lasts, and re-entering a code no longer extends a sign-in past its thirty days.
  • On the full image, the bundled database no longer uses a known password, and the station no longer runs its requests as the database's owner. A new install makes its own database password on its first boot and keeps it in secrets/DATABASE_PASSWORD under your data directory, beside the station's other keys, so back that directory up as before. On every start the station also gives its built-in app_user role a login and uses it for everything it does while running, which means a request cannot change the schema; migrations still run as the owner. An existing station needs nothing from you: it moves to app_user on its first start after this update and keeps the deadair password its database was created with. If the station cannot set up app_user it carries on as the owner, as before, and says why in the log.
  • cross-spawn moves to 7.1.2 for a critical advisory: command injection when spawning a batch file on Windows. The station runs on Linux, so it was never reachable here.
  • parseFeed now gives an item a url, and a feed a homeUrl, only when the feed's link is an absolute http: or https: address. A javascript:, data: or relative link is left off. The item's id is still taken from the link exactly as the feed wrote it, so no item the station already holds changes identity.
  • A chat account that sends five wrong /link codes within ten minutes is told to wait, and its next attempts are not checked until then. Someone mistyping a code now and then is unaffected, and the account a code belongs to can still use it.
  • Links the console draws from data it was handed (a news story's page, the source a fact or a pronunciation came from, a podcast episode's page, a release, a plugin's sign-in page) are now links only when they are ordinary web addresses. Anything else shows as plain text.
  • The live input (the port a presenter's encoder connects to) no longer accepts a built-in placeholder password on a brand-new station before it has written its own configuration. Until the station has generated the live input's password, the port refuses every encoder.
  • While apps may connect to the station over OAuth, the station now holds at most 500 apps that registered themselves at once and refuses further registrations past that: the app is told the station is not registering new apps right now (a 503), and the station logs a warning. To connect one anyway, register it by hand under Settings, Connected apps. Claude registers once per connection and an unused registration lapses after ninety days, so a station normally holds a handful. Apps an operator created by hand are not counted.
  • The page the station shows for a moment after signing in through Google, Authelia or another identity provider now goes out with a content security policy that lets only its own redirect run. It used to have none, because it is served by the station's API rather than alongside the console.
  • When a plugin reaches an address it found in data (a link in a feed item or a search result), the station now also refuses reserved and multicast addresses (192.0.0.0/24, 198.18.0.0/15, 224.0.0.0 and above, and IPv6 multicast), as it already refused private ones. Servers and speakers the operator configured or the station discovered are not affected.
  • The station's audio routes (records, segments, stored audio and archive recordings) now hold an address with a percent-encoded character in it to the same check as any other: a signed link or a signed-in session. Before, encoding one character of the id slipped past the check, so anything that could reach the app directly, without the bundled nginx in front, could fetch a record with no sign-in at all. A station behind the bundled nginx was not exposed, since nginx decodes the address before passing it on.