gateway: invisible to users, and tried again when away
Users never hear of the gateway:
- relayed messages look like everyone else's (no "via relay", no accent
colour) and group with the author's other messages;
- a gateway that cannot be reached or drops is tried again by itself
(after 2, 5, 15, 30, then every 60 s) with the open chats opened again
and messages written meanwhile sent, instead of a WebSocket error
("connection refused") on screen; it is logged with its URL, once per
cause;
- a server whose gateway is away is offline, not connecting, so it can
always be joined;
- failed requests the app made by itself are quiet; what the user did and
failed is told in plain words; query relay errors are logged;
- no status line about a found gateway; events and streams texts do not
mention it.
The gateway is looked up once per run even when one is stored: what the
server publishes takes the place of a stored URL (one that moved, or one
typed into an older version that showed the field, which cannot be
edited any more).
The admin guide says a _tsgws record must point at TLS, not at tsgw's own
plain port.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
This commit is contained in:
1 parent
f8dcfaf0f5
commit
266148d9cd
16 files changed
+384
-78
No files matched your search
@@ -40,6 +40,19 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows
|
||||
fewer threads. A 1440p60 VP8 stream from a 6-8 core sender showed 35-49
|
||||
fps; FFmpeg decodes it at 95-101 fps on one thread against 54-60 on four.
|
||||
- Release builds no longer limit Cargo to one job.
|
||||
- The gateway is invisible: relayed messages look like everyone else's (no
|
||||
"via relay"), and a gateway that is away is tried again quietly instead
|
||||
of showing a WebSocket error; only what the user did and failed is
|
||||
told, in plain words. A server whose gateway is away no longer shows as
|
||||
connecting, so it can always be joined.
|
||||
- A server's published gateway replaces one stored before (found or typed
|
||||
into an older version), so a gateway that moved is followed.
|
||||
- zbus's warnings about desktop portal requests are left out of the logs.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The account's avatar is downloaded from its own link; it was asked for
|
||||
as an upload link and refused with HTTP 403.
|
||||
|
||||
## [0.0.1-alpha] - 2026-10-04
|
||||
|
||||
|
||||
Reference in new issue
Block a user