Commit Graph
426 Commits
Author SHA1 Message Date
Claude 47f5e2d9aa review: fix what the review of the gateway, avatar and banner changes found
- voelinctl observes with the new gateway list and checks avatar hashes
  only when they are MD5s (a myTeamSpeak avatar's hash is its link).
- Gateway discovery keeps to the most specific name that publishes a
  record; another server's gateway is no fallback. The admin guide says so.
- The observer's resync keeps the avatars clientlist does not tell
  (they come with the enter and update notifications).
- A server avatar given up on counts for that picture only: a new one is
  tried again, and one that arrives after all is shown again.
- updatemytsdata goes again after tsclientlib reconnects (the server
  forgets it), and once, not twice, when signing in.
- SVG is told by its prolog: a page with an svg in it (HTML, XHTML) is a
  page, refused and logged as one; the UI tells it the same way.
- Cursors (CUR) are no longer taken for pictures; MP4 and MOV are named
  videos, not AVIF.
- The UI decodes at most 128 MiB of pixels on its thread, drops the full
  picture before copying the small one, logs what it cannot decode, and
  remembers pictures it cannot show instead of decoding them on every
  refresh; a banner that reloads unchanged is not decoded again.
- The early refusal of a long error page is tested again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 23:09:34 +00:00
Claude 07038c58c3 images: the decoded-image budget's test follows the new default (256 MB)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 22:36:29 +00:00
Claude db94e21e27 banners: tell why one is missing, accept more, bigger defaults
Failures are in the log with the host and the reason, never the whole
address: HTTP status, the whole chain of causes (TLS, DNS, timeouts), what
came instead of a picture (an HTML page, AVIF); banner addresses that
cannot be fetched at all once; avatars and icons in the server's files
when they give up (a closed file transfer port shows here).

More is shown: BMP and ICO, SVG after a comment or a DOCTYPE, addresses
with blanks around them; pictures larger than 4096 px are scaled down
instead of refused (only above 512 MiB of pixels). Banners keep being
tried while shown (after 1, 4, 16, 60, 300, 900 s, then every 15 min).

Defaults: connect 20 s, read 60 s, slow start 120 s, 16 downloads at
once, 20 redirects, pictures up to 128 MiB at 8 KiB/s at least, file
transfer negotiation 30 s and a minute plus size, cache.max_mb 1024,
ui.image_cache_mb 256.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 22:05:12 +00:00
Claude 259a23a165 account: show servers the account's avatar
As the official TeamSpeak 6 client does once connected and after a
sign-in, Voelin sends updatemytsdata with the account's certificate and
its avatar (LoginSession.mytsid_user_cert.cert and user_avatar, raw bytes
with TeamSpeak's escaping only; \a and \b now escaped too). The avatar
is sliced out of the login response as it came: its signature covers it.

Both come from a password sign-in; they are kept per account next to the
avatar picture (public data, outside the keyring) and published to every
voice connection that presents the account (Command::SetMytsData, beside
the identity). A refusal is only logged. Accounts signed in before need
one password sign-in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 22:00:34 +00:00
Claude c2e345c67f avatars: show other clients' myTeamSpeak avatars
TeamSpeak 6 tells a client's myTeamSpeak avatar as
client_myteamspeak_avatar "<state>,<url>;...". The book now keeps it,
and the model reads it as the official client does (one bad entry, an
empty one too, spoils the value; the online picture first, else away, do
not disturb, offline; HTTPS links only).

The engine downloads it from the web (4 MiB at most, cached by link)
where the server's avatar is not shown: the client has none, there is no
voice connection to get it over (observing), or its download gave up
(the server's files unreachable). The server's avatar comes first, as in
the official client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 21:53:38 +00:00
Claude f9243d3cad gateway: try every published gateway in turn
Discovery returns every gateway the server publishes, best first: the
most specific name, at a name _tsgws before _tsgw, by priority, then
tsgw's own /.well-known answer (only when a plain record or nothing is
published, so a TLS-only server is never reached without TLS). The
engine tries them in turn, each for up to 20 s, and uses the first that
logs in; only a round that fails waits before the next. The bookmark
keeps the published list and the one in use.

A TLS proxy that answers 404 (Zoraxy without a rule for the host) no
longer keeps the gateway away when tsgw's plain port is published too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 21:48:47 +00:00
faumaray 656bc5f6dd Merge pull request #9 from Faumaray/claude/great-allen-rw6re7
Login page, myTeamSpeak profile, stream fps, invisible gateway, relay as author, TS6 version, packaging, logs
2026-10-05 23:35:28 +03:00
Claude 266148d9cd 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
2026-10-05 20:09:59 +00:00
Claude f8dcfaf0f5 logs: leave out zbus's warnings about portal requests
zbus warns when a desktop portal's request or session object is gone
before it reads the object's properties, at every start; harmless. Its
errors stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 20:09:59 +00:00
Claude 019f5be81c account: download the avatar from its own link
The official TS6 client fetches the avatar map's names as they are
(MyTeamSpeak::Account::request_own_myts_avatar hands each name to
Avatar_Cache::request_avatar_from_urls, which GETs it without headers).
requestAvatarSignedUrl signs upload links: its reply only goes to
upload_avatar, an Http_Client::put. Voelin fetched such a link with a GET
and was refused with HTTP 403.

A refused download is now its own error ("avatar download returned HTTP
..."), apart from the account service's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-05 20:09:59 +00:00
Claude 7cd258d9a5 settings: log_text before the test module (clippy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 23:18:32 +00:00
Claude c212e07665 notices: regenerate (dav1d now in every build; ring gone since aws-lc-rs)
The notices were already stale on main: ring left the dependency graph when
schema-api moved tonic to aws-lc-rs. dav1d, dav1d-sys and av-data come in
with the av1 feature. Also drops an unused helper of the gateway's fake
server (clippy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:59:42 +00:00
Claude 0b9164cc4c ui: login artwork covers its panel; no empty rows; one-line dialog subtitle
The login page's artwork is the tall night landscape of the home sidebar,
covering the panel from the bottom, under a single smooth fade. Notices
and session actions only take room when they have something to show.
The server dialog keeps its one-line subtitle, so Advanced is not cut off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:43:45 +00:00
Claude 69fbc374b9 voelin-media: the decoder order test with dav1d built in
AV1 comes first in the viewer's order, so with the av1 feature on by
default the first decoders are not VP9 and VP8 any more; the test checks
their order among themselves and what leads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:19:48 +00:00
Claude aa12c653f1 changelog: the unreleased changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:17 +00:00
Claude ac187fe39e packages: every codec backend, and the libraries the app needs
voelin-media builds dav1d (AV1 decoding) by default, like every other
codec backend: Linux images already had libdav1d-dev; Windows CI takes it
from vcpkg next to libvpx and the MinGW image builds it static (dav1d
1.5.4, pinned commit; checked to cross-compile).

Windows packages ship FFmpeg's LGPL DLLs (BtbN's 8.1 shared build,
checked against the release's checksums by scripts/fetch-ffmpeg-windows.sh)
next to voelin.exe, where the app looks first, with their license and a
note on the build and its source; the installer installs and removes them.

The Linux .tar.gz carries libvpx and libdav1d in lib/ (RUNPATH
$ORIGIN/../lib, set with patchelf), whose sonames differ between
distributions, and bin/voelin-install-deps, which installs FFmpeg, VA-API
drivers, PipeWire, the desktop portal and a keyring with apt, dnf, pacman
or zypper. The .deb recommends those packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:17 +00:00
Claude eafa67cfe9 streams: decode VP8 on one thread, convert pictures off the decoder
Watching was slow because FFmpeg's VP8 decoder ran on slice threads: they
split frames by token partitions, and our 4- and 8-partition streams (from
senders with 6 cores or more) took 18-21 ms per 1440p picture against 10 on
one thread, so the decoder fell behind, dropped its queue and waited for
keyframes (35-49 of 60 fps shown). VP8 now decodes on one thread.

The decode thread also converted every picture to RGBA into a new zeroed
buffer (3.6 ms at 1080p, 5.1 at 1440p). It now hands its newest frame to a
converter thread, which converts only what the window can show into
buffers reused three pictures later (0.8 and 1.0 ms).

libvpx's decoder spins its threads (4 threads: 23 and 11 fps on those
streams with a core busy, 2: 143 and 129): at most 2. dav1d with a frame
delay of one gets a quarter of the cores, 1 to 4.

docs/research/stream-fps.md has the measurements and what is left (the
sender's encode rate and bitrate, H.264 frame threads, texture uploads).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:07 +00:00
Claude a88d267937 logs: write a log file per run, keep the previous four
voelin-platform::logs writes <state>/voelin/logs/voelin.log (the previous
runs as voelin.1.log ... voelin.4.log; a run past 20 MiB starts a fresh
file). The desktop app logs our crates' information there (VOELIN_LOG
overrides the filter) and warnings to the terminal as before; release
builds on Windows have no terminal. Settings -> Advanced names the file
and opens its folder; crash reports keep their own Open button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:07 +00:00
Claude 7433b5a568 account: new login page, kept away while signed in; profile and avatar
The login page no longer opens when a session is saved: the session is
checked in the background and only an expired one brings the page back.
Continue without an account is remembered (ui.skip_account_prompt) until
the next sign-in.

The page is redesigned: the night artwork with what an account gives
beside the form on wide windows, the form alone on narrow ones; email,
password with a show button, the one-time code when asked, notices as
banners. Settings -> My Account shows the profile instead of a list of
notes.

voelin-myts asks the user service (/user, the route of the official
client) for getAccountData (description, registration, previous sign-in,
badges, devices, avatar file names) and requestAvatarSignedUrl, then
fetches the avatar (HTTPS only, at most 4 MiB). The UI keeps the profile
in the session's keyring bundle and the picture in <data>/account/avatar,
fetches it again only when its name changes, and uses it as the sidebar's
profile picture where a server has none for us.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 22:12:07 +00:00
Claude 219e554efe versions: claim the newest signed TeamSpeak 6 build; 122 more rows
Versions.csv gains the 121 verified rows of upstream tsdeclarations it was
missing (TeamSpeak 5 betas, 3.6.x) and 6.0.0-beta4.1 [Build: 1779880475]
for Linux, captured from the official Linux client's clientinit. Every row
verifies against TeamSpeak's version-signing key. They are appended, so
the generated Version variants and the indexes keep their names.

native_version() now claims the newest 6.x build signed for the native
platform (Linux 6.0.0-beta4.1, Windows 6.0.0-beta2), so the client shows
as a TeamSpeak 6 client instead of 3.?.?; platforms without one (macOS,
Android, iOS) keep the generic tuple. --client-version generic (and a
bookmark's client_version) claims the old tuple.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 21:26:15 +00:00
Claude 60b8e95661 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
2026-10-04 21:10:59 +00:00
Claude 4d04c992a3 relay: post under the author's own nickname
A relay (and the gateway's lookup session, for server chat) takes the
author's nickname for each post, sends the text as written and takes its
own name back, so messages read as written by the user in TeamSpeak.
While someone has the nickname it uses Nick1 to Nick3, as TeamSpeak names
a second client of the same name; relay.format ([Nick] text) is only the
fallback when it can take none of them. Posts through one session are
serialized, since each borrows a nickname.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 21:00:38 +00:00
Claude a69b465886 release: build packages with Cargo's default job count
The release workflows (GitHub and Gitea), the Docker images they build in
and the Flatpak manifest no longer set CARGO_BUILD_JOBS=1 and
CARGO_INCREMENTAL=0. CI checks keep the serial build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZBWxxMsxUzp4PSTKVzbZN
2026-10-04 20:51:52 +00:00
faumaray 8359ba8296 Merge pull request #8 from Faumaray/claude/hopeful-babbage-5h4kbg
Release / packages + draft release (push) Failing after 1s
Release 0.0.1-alpha
v0.0.1-alpha
2026-10-04 22:31:06 +03:00
Claude 22c8623218 Release 0.0.1-alpha
The apps (voelin-ui, voelin-android) are 0.0.1-alpha; the gateway keeps
its own version. A pre-release version broke three package builds, now
handled:
- Android: versionCode took "1-alpha" as a number (Gradle failed); it
  counts the version without the pre-release (0.0.1-alpha: 1).
- Windows installer: VIProductVersion must be numeric; makensis refused
  "0.0.1-alpha.0". package.sh passes VERSION_NUMERIC (0.0.1).
- Debian: "0.0.1-alpha" reads as revision "alpha" and sorts after 0.0.1;
  the package version is 0.0.1~alpha.
Draft releases of such tags are marked as pre-releases (GitHub, Gitea).

Changelog: the Unreleased section is 0.0.1-alpha, with myTeamSpeak sign-in,
banners and a known issue. AppStream: the never-released 0.1.0 entry is the
0.0.1-alpha development release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 19:30:32 +00:00
faumaray ff30338646 Merge pull request #7 from Faumaray/claude/hopeful-babbage-5h4kbg
myTeamSpeak account sign-in (codex/myteamspeak-account, merged with main)
2026-10-04 22:30:24 +03:00
Claude 124240daea voelin-ui: account portal on Windows, demo mode, notices and one-time codes
- The account website actions said "Could not open your browser" on every
  click on Windows (explorer exits with 1 on success) and waited for the
  browser to close with a foreground xdg-open: success is that the opener
  started, as for files (open_target).
- VOELIN_DEMO_UI's account screens signed in and out for real and could
  delete or replace the developer's saved session: demo mode uses an
  in-memory secret store and its sign-in and sign-out do nothing.
- A notice from the start (an imported identity) ran out behind the account
  prompt: the toast's time starts when the prompt closes.
- After an account asked for a one-time code, signing in was blocked until
  one was typed, also for another account: the code field shows but no
  longer blocks; a 2FA account without it is asked again.
- SECURITY.md lists the myTeamSpeak secrets in the keyring, the account
  service the app talks to, and that servers get the account's id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:48:11 +00:00
Claude d1a95ccab4 voelin-core: account updates that change something, clean restarts, app version
- SetMytsIdentity(None) while there is no account notified every voice
  connection anyway: in-flight handshakes restarted and connected servers
  got an `updatemytsid` clear (and a failed or late reply disconnects).
  Still no account is no change now.
- When the account changed right as a handshake finished, the connected
  client was dropped without a disconnect: the server kept it, with the old
  account, next to the new connection until it timed out. It leaves
  properly first now.
- client_meta_data said voelin-core's version (0.1.0), not the app's. It
  takes the version the app sets at start (crash::app_version, new).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:48:11 +00:00
Claude b28802efa2 schema-api: tonic TLS on aws-lc-rs, so rustls has one crypto provider
schema-api enabled tonic's tls-ring, which turns on rustls' ring next to the
aws-lc-rs that reqwest and str0m use. With two providers rustls cannot pick
a process-wide one, and every TLS client built without an explicit provider
panics: tokio-tungstenite's for wss:// gateways ("Could not automatically
determine the process-level CryptoProvider"), leaving observation stuck at
Connecting. tonic uses tls-aws-lc now (second local patch, VOELIN-PATCH.md);
ring is gone from rustls in Cargo.lock.

voelin-core's one_rustls_crypto_provider test builds a rustls client config
with the app's TLS dependencies (voelin-myts is a dev-dependency there); it
panics as above with tls-ring and passes with tls-aws-lc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:48:11 +00:00
Claude a2924b32b2 voelin-core: claim the generic signed client version, as before
native_version() took the first signed version containing "3.6" (3.6.0,
build 1647595742, from 2022) while its documentation and its test said the
generic tuple (3.?.? [Build: 5680278000]); the test failed. Main sent the
generic one (tsclientlib's default), whose build passes a server's minimum
client version; a real old build may be refused. Each platform's generic
tuple again, matched exactly (not the Windows DEBUG one).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:02:22 +00:00
Claude caa6376908 voelin-core: banner tests give the session a myTeamSpeak account source
The merge left the channel-banner tests calling Session::new without the
account identity it takes since the myTeamSpeak branch. The test helper
passes an open source with no account, as the engine does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 17:58:53 +00:00
Claude 9db6937489 Merge branch 'codex/myteamspeak-account': myTeamSpeak account sign-in
Conflicts with the channel banners on main, both kept:
- crates/proto/UPSTREAM.md: myTeamSpeak's local patch is number 14, after
  the channel banners' 13.
- voelin-core/src/voice.rs: both test modules.
- ui/app.slint: the mobile shell hides behind the account prompt and keeps
  the channel chat's banner.
- ui/shells/common.slint: the user card counts a signed-in account as named
  and shows our avatar, the person icon only without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 17:55:31 +00:00
faumaray 117a61dfc2 Merge pull request #5 from Faumaray/codex/finalize-channel-banners
Complete channel banners and reliable image downloads
2026-10-04 20:51:22 +03:00
Claude aa99af2ea6 Merge remote-tracking branch 'origin/main' into claude/hopeful-babbage-5h4kbg 2026-10-04 17:50:28 +00:00
faumaray c08729a32f Merge pull request #4 from Faumaray/claude/gifted-lovelace-1crlx2
CI off except package builds; Gitea release workflow; release build fixes
2026-10-04 20:50:03 +03:00
Claude 46a5d65715 CI off: checks run by hand, only package builds run by themselves
The checks no longer run on pushes, pull requests or a schedule, on
GitHub or Gitea: ci.yml, audit.yml, fuzz.yml and Gitea's ci.yml run by
hand only (Run workflow). Only the package builds still run by
themselves, on v* tags (release.yml, docker.yml, Gitea's release.yml),
and the release workflows no longer run the checks first: GitHub's drops
its checks and Windows test jobs, Gitea's the shared checks step. The
docs say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 17:48:56 +00:00
Claude d8b40ca19f Merge remote-tracking branch 'origin/claude/gifted-lovelace-1crlx2' into claude/hopeful-babbage-5h4kbg 2026-10-04 17:17:52 +00:00
Claude fdf0266b76 voelin-gateway: import warn only where SIGHUP reloads (Unix)
With the crate list fixed for Windows, `clippy (Windows)` reaches the
gateway and refuses `warn` as an unused import there: only the Unix
reload_on_hangup uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 17:17:45 +00:00
Claude 9de71793b6 voelin-ui: collapse the nested ifs clippy refuses
`clippy (Windows)` and strict clippy failed on collapsible_if in
remember_server_icon and channel_label; let chains instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 16:51:54 +00:00
Claude 742dc6ce94 Banners: requests lost on disconnect, spacer rows, tints and repeated decoding
- A picture download sent to the voice connection while it closes (or
  still queued when it ends) was dropped without an answer: its cache
  key stayed in flight and every later fetch of it, in any session,
  waited until the app restarted. The request now fails when dropped
  unanswered (ImageDownload), so the retries fetch it again.
- Only top-level channels are spacers, as in TeamSpeak: a sub-channel
  named [cspacer…] keeps its name, its lock and its member count. Chat
  tabs, the voice headers and "In …" use the same title as the tree.
- A banner covered its row's own background: our channel and the hovered
  row are tinted over the artwork again. A locked centred spacer shows
  its lock.
- A picture that cannot be decoded is remembered as such instead of being
  read again on the UI thread at every refresh (every talking change);
  avatars and icons that arrive again are decoded again.
- Cache::icon no longer opens and touches the file on every refresh of
  the server list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 16:44:57 +00:00
Claude e15ee3afb6 Merge remote-tracking branch 'origin/claude/gifted-lovelace-1crlx2' into claude/hopeful-babbage-5h4kbg 2026-10-04 16:37:57 +00:00
Claude 6c8196991e Gitea release: a secret name Gitea accepts, and its server task limit
Gitea refuses secret names that start with GITEA_ or GITHUB_, so the
GITEA_RELEASE_TOKEN secret the release workflow read could never be
created and every tag's draft release failed after the builds. The
secret is RELEASE_TOKEN now; the script still receives it as
GITEA_RELEASE_TOKEN.

The Gitea server stops any task older than [actions] ENDLESS_TASK_TIMEOUT
(3h by default) whatever the runner's timeout says, which would end the
eight-hour release job: docs/ci.md says to raise it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 16:37:42 +00:00
Claude 86c30b6f8f Banners: download those in the server's files, larger and slower ones
Not every banner arrived:

- Banners kept in the server's own files are linked as ts3image://
  (TeamSpeak 5 and 6: ts3image://<host>?port=…&channel=…&path=…&filename=…,
  the file browser's ts3file:// link with its scheme changed; TeamSpeak 3:
  ts3image://<name>?channel=…&path=…). Only http(s) was fetched, so these
  never were. They now come through the voice connection's file transfer
  (files::server_image), cached under the server and the address.
- A web download had 16 MiB at most and 30 seconds in all, while up to
  eight run at once: a large animated banner, or several on a slow link,
  failed and failed again on every retry. Pictures may now be 64 MiB and
  go to disk as they arrive instead of into memory; a download fails when
  nothing arrives for 20 s or when, after its first 30 s, it averages less
  than 32 KiB/s. Accept names the formats the UI decodes.
- Pictures over file transfer had 30 seconds too; now 30 s plus their
  size at 32 KiB/s, and at most 64 MiB.

The voice protocol's MAX_DECOMPRESSED_SIZE goes back to 2 MiB: it bounds
compressed commands (the channel list), not pictures, and QuickLZ reserves
the size a packet declares, so 1 GiB let any server make the client
allocate a gigabyte with one small packet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 16:37:02 +00:00
faumaray 3f177a77aa banners
Signed-off-by: Faumaray <faumaray@gmail.com>
2026-10-04 19:15:42 +03:00
faumaray 24acc1910a account
Signed-off-by: Faumaray <faumaray@gmail.com>
2026-10-04 19:11:37 +03:00
selikhov 264f12ca9c ci fixes
Signed-off-by: selikhov <selikhov@protei-lab.ru>
2026-10-04 18:07:21 +03:00
selikhov b2549f867e Fix image download recovery and banner layout
Retry failed avatars, icons and banners automatically with bounded backoff,
expire stalled image transfers, and preserve explicit avatar requests.
Bound concurrent HTTP downloads, allow larger banners, and decode BOM SVGs.

Separate artwork from channel titles and controls across desktop and mobile,
using bounded aspect-aware areas and realistic demo fixtures.

Validation: 176 library tests, explicit-fetch policy regression, independent
TS6 avatar download and transient503/banner reload scenarios, strict Clippy,
formatting, license notices, and eight reviewed headless captures.
2026-10-04 18:04:10 +03:00
selikhov 02693a0f7f Complete channel banners across desktop and mobile
Finish banner rendering, image cache invalidation, avatar/icon wiring and image-format support. Bound raster decoding, retain readable text contrast, and recover failed downloads while stopping obsolete reload timers.

Validated with 168 library tests, a private TS6 banner lifecycle test including the real 60-second reload, desktop builds, strict scoped Clippy, formatting, license notices, independent source review and six headless desktop/mobile renders.
2026-10-04 17:05:25 +03:00
selikhov 79771d7e92 Merge commit '6e59ac93d99b2dcaffdb5b44f462998264cdca42' into codex/finalize-channel-banners 2026-10-04 16:04:48 +03:00
selikhovandClaude Opus 5.5 52cd9e1425 own-crates.sh: print the crate list without line breaks
On the Windows CI runner jq ends its lines with \r\n; `tr '\n' ' '`
removed only the \n, so every crate name kept a \r and cargo refused
`voelin-android\r` as a package name, failing the Windows clippy job.
`jq -j` writes the list with no line breaks at all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 14:42:25 +03:00