ui: servers observe on selection; no gateway or query fields

Selecting a server (or saving one) observes it invisibly through its
gateway, else a query login an older version stored; without a gateway it
is looked up from the address (SRV, then /.well-known/tsgw) and observing
starts once found. The Observe button and the menu entry are gone.

The add/edit server dialog no longer asks for a gateway URL or ServerQuery
login: Advanced keeps the name and nickname. A new address drops the
gateway and query login of the old server, so they are looked up again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
This commit is contained in:
Claude committed 2026-10-04 21:10:59 +00:00
1 parent d4a178b079
commit 7582fc12b5
10 files changed
+103 -179

No files matched your search

+8 -7
View File
@@ -94,12 +94,13 @@ Every login, post and settings change is written to the audit table.
When a user adds a server by its address (`ts.example.org`), Voelin looks
for its gateway the way TeamSpeak looks for the voice server (SRV
`_ts3._udp`, then TSDNS), and uses what it finds as if the user had typed
the URL (the field stays editable under *Advanced*). It asks at the
server's host name and then at each parent domain down to the registered
domain, the most specific name first; for `ts.example.org` that is
`ts.example.org`, then `example.org`. It looks again when the server is
saved with an empty gateway URL and when it connects with voice.
`_ts3._udp`, then TSDNS), and observes the server through it as soon as the
user selects the server (users do not type gateway URLs or query logins).
It asks at the server's host name and then at each parent domain down to the
registered domain, the most specific name first; for `ts.example.org` that
is `ts.example.org`, then `example.org`. It looks again when the server is
selected or saved without a gateway (a new address drops the old one) and
when it connects with voice.
**DNS records** (preferred). An SRV record names the gateway's host and
port, the service name says whether it speaks TLS:
@@ -144,7 +145,7 @@ Discovery is as trustworthy as DNS and the network, like TSDNS: prefer a
use one from a public CA (Caddy's automatic Let's Encrypt certificates
work); the Android app cannot reach `wss://` gateways yet (it has no
system store to read). A user logs in with
their own identity, and only when they choose to observe the server.
their own identity, when they select the server in Voelin.
## Install