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:
Claude committed 2026-10-08 02:14:08 +00:00
commit 507dff58b2
78 files changed
+10311 -765

No files matched your search

Generated
+10
View File
@@ -3534,9 +3534,11 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"socket2",
"system-configuration",
"tokio",
"tower-service",
"tracing",
"windows-registry",
]
[[package]]
@@ -9693,9 +9695,13 @@ version = "0.1.0"
dependencies = [
"anyhow",
"base64 0.22.1",
"bytes",
"dirs",
"futures",
"h2",
"hickory-resolver",
"http",
"httpdate",
"md5",
"reqwest",
"rusqlite",
@@ -9827,9 +9833,11 @@ dependencies = [
"aes-gcm",
"base64 0.22.1",
"ctr 0.10.1",
"curve25519-dalek 4.1.3",
"pbkdf2",
"reqwest",
"schema-api",
"sha2 0.10.9",
"subtle",
"thiserror 2.0.21",
"tokio",
@@ -9863,6 +9871,7 @@ dependencies = [
"tracing",
"windows 0.62.2",
"x11rb",
"zbus",
]
[[package]]
@@ -9873,6 +9882,7 @@ dependencies = [
"russh",
"serde",
"serde_json",
"socket2",
"thiserror 2.0.21",
"tokio",
"tracing",