Merge PR #11: myTeamSpeak avatar, badges and User Tag; banners; gateway speed and logs
Conflicts and how they were resolved: - CHANGELOG.md: both sides' lines kept under [Unreleased], each in its section; the badges line says TeamSpeak 6's verified badges come first. - crates/proto/UPSTREAM.md: #11's myTeamSpeak presentation stays patch 15; this branch's privilege key (default_token) patch becomes 16. - voelin-core web.rs: #11's downloader (retry hints, revalidation, proxies, per-host limits) as it is. The chat pictures' size limit sits on top as web::fetch_chat_picture, which narrows #11's Limits; fetch_within takes them by value. The badge pictures go through #11's fetch like banners. - voelin-core session.rs: both sides' fields kept (chat_pictures and unfetchable). Chat pictures ([img]) are an ImageRequest of their own (ChatPicture) instead of sharing Picture with banners, so #11's banner policy (retried every 15 minutes while shown, logged by address) does not apply to them: they keep the 1, 4, 16 s retries and are checked against the size they were asked for; their failures are logged by host at debug level. Badge pictures stay Pictures next to #11's banner loop (with its unfetchable-scheme log). - voelin-ui servers.rs: #11's imports (Instant, debug) with this branch's (no SharedString). Where the two badge features meet: the presence's badges are now voelin_model::shown_badges, TeamSpeak 6's client_signed_badges (what #11 sends for our account, and other TS6 users' verified badges) first, then client_badges, each once; so the badges chosen in Settings → My Account show in the tree and on the member card like other people's. Also: docs/ui.md describes My Account's badge choice and User Tag, the new ui.image_cache_mb default (256), and the picture downloads as #11 left them (16 at once, 6 per host, 128 MiB, the new timeouts, banner and badge retries, proxies, BMP and ICO, scaling down past 4096 pixels) with the chat pictures' own retries; the demo's login:account switch fills in a badge choice and a User Tag for screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
This commit is contained in:
commit
7ab43bbf60
71 files changed
+9022
-763
No files matched your search
@@ -129,7 +129,21 @@ against or offered back to upstream.
|
||||
Tests cover an independent signature vector, persistence validation/redaction,
|
||||
wire field names, clearing and reconnect snapshot replacement. The account
|
||||
UUID and the ordinary server identity remain separate.
|
||||
15. **Privilege key when connecting** (`tsclientlib/src/lib.rs`, "Voelin patch").
|
||||
15. **myTeamSpeak presentation, TeamSpeak 6** (`tsproto/src/license.rs`,
|
||||
`tsproto/src/myts.rs`, `tsclientlib/src/myts.rs`, `tsclientlib/src/lib.rs`,
|
||||
`tsproto-packets/src/packets.rs`, `tsproto-structs/declarations/Book.toml`).
|
||||
License block types 4–7 (Token, License_Sign, MyTsId_Sign, Updater), which
|
||||
carry nothing after the header. `myts::Certificate` checks a myTeamSpeak
|
||||
certificate chain as a TeamSpeak 6 server does: leaf type, validity window,
|
||||
key derived from a given root, cofactorless Ed25519 with a reduced S;
|
||||
`Identity::id_bytes` and `public_signature_certificate`. `MytsData` holds the
|
||||
avatar and the badges, each with the certificate that verifies it, and the
|
||||
User Tag; `MytsData::updates` builds `updatemytsdata` (split by certificate,
|
||||
bare parameters to clear) and `clientupdate client_user_tag`, which
|
||||
`Connection::send_myts_update` and `send_user_tag` send. The escaped writer
|
||||
also escapes `\a` and `\b`, as TeamSpeak does for binary values. Book:
|
||||
`Client::my_team_speak_avatar`, `my_team_speak_id` and `signed_badges`.
|
||||
16. **Privilege key when connecting** (`tsclientlib/src/lib.rs`, "Voelin patch").
|
||||
`ConnectOptions::default_token` sets `client_default_token` of `clientinit`,
|
||||
which upstream always sent empty, so a privilege key (a bookmark's, or the
|
||||
`token=` of a `ts3server://` link) can be used on connect.
|
||||
Reference in new issue
Block a user