Implements #91 (ban list) and #92 (complaint list), reusing the
StreamItem::MessageEvent handling infrastructure added for #94.
Connector:
- New raw commands: banlist, bandel, bandelall, complainlist,
complaindel, complaindelall (no typed builders exist for these).
- New pending_ban_list/pending_complain_list flags + MessageEvent
match arms parsing InMessage::BanList/ComplainList replies into
BanListEntry/ComplainListEntry structs, emitted as banList/
complainList events.
- Unlike serverlog/serverconninfo, the test server actually replies
with an error return code for these (surfaced as a "permission
error" Server-tab log line) rather than staying silent - the
connector already handles that path via the existing pending
message result matching.
Gateway: getBanList/deleteBan/deleteAllBans/getComplainList/
deleteComplaint/deleteAllComplaintsFor methods and message cases,
plus camelCase remapping for the two new event types.
Frontend: BanListDialog and ComplainListDialog components (table
view, per-row delete + delete-all for bans, optimistic local removal
on delete), wired into the Extras menu (previously disabled
placeholders), with the same 6s timeout-to-"unavailable" fallback
pattern used by the other async-reply dialogs. Demo mode gets fake
ban/complaint entries.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds the first StreamItem::MessageEvent handler in the connector's
event loop (previously dropped by a catch-all) - needed because log
lines aren't part of the bookkeeping data model, unlike client/server
connection info, so they only ever arrive as a raw notifyserverlog
reply rather than a book-state update. This unblocks the same pattern
for Bannliste/Beschwerdeliste next.
Sends "logview" via tsclientlib's typed Server::log_view() builder,
requesting the last 200 lines. Verified end-to-end against the real
server (though a permission-gated account got no reply at all there -
the frontend dialog now falls back to a "no response" message after a
timeout instead of loading forever, matching the connection-info
dialogs' existing behavior).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires up tsclientlib's typed Server::edit() builder (name, welcome
message, password, host message/banner/button settings, nickname,
phonetic name, codec encryption mode) through a new "serveredit"
stdin command. Frontend dialog has Host and Verschiedenes tabs fully
implemented, with Übertragung/Anti-Flood/Sicherheit/Protokoll shown as
not-yet-implemented placeholders (their fields have no typed setter in
tsclientlib's generated bindings, would need hand-built raw commands).
Entry point is a new link in the server info panel, next to the
connection-info one added earlier. Every field is optional in the
payload - blank means "leave unchanged" - except the password field,
which has an explicit "remove password" checkbox for the clear case.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires up "Aus dem Channel kicken", "Vom Server kicken", and "Bannen"
(previously disabled placeholders). Kick uses tsclientlib's typed
Client::kick() builder; ban has no typed wrapper so it's built as a
raw "banclient" command (same OutCommand::write_arg approach used for
the connection-info requests). Both use send_with_result() so a
missing-permission rejection surfaces as a visible error.
"Channel-Gruppe zuweisen"/"Server-Gruppe zuweisen" remain disabled -
they need the server's group list threaded through first, left for a
follow-up.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sends raw getconnectioninfo/serverrequestconnectioninfo commands and
reads the reply out of tsclientlib's bookkeeping state (it already
tracks ping, packet loss, bytes/packets sent+received internally -
just needed to be requested and surfaced). Wired into the client
context menu (any client), the Selbst menu (self), and a new link in
the server info panel.
Uses send_with_result() so a permission-denied rejection surfaces as
a visible error instead of silently doing nothing; the dialogs also
fall back to a "no response" message after 6s in case the server
declines without any reply at all (observed against a real server
where a guest lacked b_virtualserver_connectioninfo_view).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the single flat identity key with a list of named identities
you can add, rename, delete, and switch between (each keeps its own
tsclientlib identity blob, generated lazily on first connect). The
Connect dialog's identity dropdown, previously a disabled "Standard"
placeholder, now reflects and can switch the active one too. Existing
users' single stored identity migrates automatically into the new list.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lets you save the current whisper channel/client selection as a named
list and reactivate it later. Lists are matched by name rather than id
on activation, since ids only stay stable for the current connection.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Swaps the MediaRecorder-based capture for a raw PCM tap (ScriptProcessorNode)
and a hand-rolled WAV encoder, since MediaRecorder's output format/codec is
browser-dependent (webm/opus) and the user wants a plain, universally
compatible file.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires up the Extras menu's Aufnahme starten/beenden items: mixes the
incoming voice playback and outgoing mic signal into a MediaRecorder
and downloads the result as webm on stop. Multitrack recording stays
disabled (needs a plugin-equivalent per-client split not modeled here).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Threads the client's persistent unique identifier through the
connector/gateway/frontend pipeline (previously only the ephemeral
session client id was exposed) so contacts can be keyed by the same
person across reconnects, not by name. The Kontakte dialog supports
adding currently-online clients, per-contact category/phonetic name,
ignoring (filters their chat messages), and quick-whisper/show actions
that reuse existing whisper and channel-selection logic.
Whisper Verlauf logs outgoing whisper-target changes with timestamps
(incoming-whisper detection isn't observable yet, so it's outgoing-only
for now). The Selbst menu now wires Abwesend/Mikrofon/Lautsprecher to
the existing toolbar actions and adds a real nickname-change flow,
backed by a new "nickname" connector command using tsclientlib's
existing client_update().set_name().
Three of the Extras menu's placeholder items are now functional:
collected chat URLs with counts/timestamps, a ts3server:// invite
link generator, and a local client-side event log with level
filtering and search.
These pointed at features that don't exist in this project and were
never going to be built - Overwolf integration is out of scope
entirely, and the other two are covered by planned real features
instead.
The table hadn't been touched since the early prototype and was
missing everything shipped since: whisper, persistent identity,
country flags, soundpack import, mobile layout, context menu, server
log, sound notifications, and i18n.
Connector: a new "whisper <channelIds>;<clientIds>" stdin command sets
persistent whisper targets; outgoing audio then goes out as
AudioData::C2SWhisper instead of the normal C2S broadcast until
"unwhisper" clears it. Gateway relays a setWhisperTargets message the
same way.
Frontend: a toolbar toggle lists channels as checkboxes, and the
client context menu gets an "add/remove as whisper target" entry;
selecting any target switches all subsequent outgoing voice to
whisper mode.
Verified against the real test server: setting a channel target and
sending a frame produced no connector error, and clearing targets
resumed normal voice cleanly.
Previously every connect generated a fresh tsclientlib identity, so
the server saw a new client UID each session. The connector now
accepts a saved identity via --identity and always reports the one
actually used (freshly generated or reused) back in the "connected"
event; the frontend round-trips it through localStorage so
reconnecting keeps the same UID.
Verified end-to-end against the real test server: two separate
connects with the identity carried over produced byte-identical
identity blobs.
Real TS3 soundpacks have no documented, stable manifest format across
client versions, so instead of parsing a manifest this unzips the
pack (via fflate) and matches each audio file to one of our sound
events by keyword against its filename. Unmatched files are reported
rather than silently dropped, since match confidence varies by pack.
Threads TeamSpeak's per-client country_code field through the
connector snapshot and gateway relay, then renders it as a flag
emoji (regional indicator symbols, no image assets needed) next to
the nickname. Renders nothing when the server has no geo-IP data for
a client (most common on non-official/self-hosted servers).
Works for both other clients (private chat, poke, copy name, plus
disabled placeholders for group assignment/kick/ban) and the own
client (copy name and group placeholders only, since you can't poke
or private-message yourself).
The chat field was a single-line <input>, unable to hold a line
break. Switch it to an auto-growing <textarea>: plain Enter still
sends, Shift+Enter inserts a newline.
Simulates a narrow viewport by capping .ts-app's own width and using
a container query (instead of a media query) for the mobile
breakpoint, so the toggle exercises the exact same CSS path real
narrow browsers hit. Only rendered when VITE_DEMO_MODE is set.
overflow-x: auto on the menu bar also forces overflow-y to auto,
which clipped the absolutely-positioned dropdown to the bar's own
height instead of letting it float over the page. Let the bar wrap
onto a second line instead, since overflow isn't needed at this
breakpoint anyway.
Backdrop click-to-close now requires the mousedown to also start on
the backdrop, so selecting text inside any dialog and releasing the
drag outside it no longer closes the dialog.
Add a responsive breakpoint that stacks the tree/side/chat panels and
dialogs into a single column on narrow viewports instead of clipping
the fixed-width desktop layout.
Surfaces join/leave/channel-switch/group-assignment/channel- and
server-edit events inline in the Server tab, matching the native TS3
client's behavior. Own missing-permission errors are shown; other
clients' permission failures are not. Sourced from tsclientlib's
book-event diffs rather than admin-only ServerQuery logs, so it works
for any connected user regardless of log-view permissions. Also
upgrades the channel-switch command to report permission errors
instead of failing silently, and adds a scripted demo-mode preview of
the feature for the GitHub Pages demo.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Now that the demo build/deploy is up and running, point to it from the top of the README alongside the other quick links, with a callout that it's simulated data only.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
npm run build runs tsc -b before vite build, and the Pages workflow uses it - these four errors were already present but never surfaced locally since testing here used vite build directly. Removes truly-dead outputDeviceLabel state (its value was never read, only the dropdown's own device list rendered labels), narrows the PmThread lookup to a proper number check, and replaces two constructor parameter properties with explicit fields (disallowed under erasableSyntaxOnly).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The logo <img> used a hardcoded absolute "/logo.png" path, which only resolves correctly when the app is served from the domain root. Under the GitHub Pages demo (served from /webspeak3/), this 404'd. Vite already rewrites asset references in index.html for the configured base path, but plain string literals in JSX aren't touched, so this needs import.meta.env.BASE_URL explicitly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
GitHub Pages only serves static files, but the real app needs a Node gateway and Rust connector to speak the TS3 protocol - neither of which can run there. This adds a fake WebSocket (DemoSocket) that simulates a connection with canned channels/clients entirely client-side, gated behind VITE_DEMO_MODE so the normal Docker build is unaffected, plus a GitHub Actions workflow that builds and publishes it to Pages.
Also fixes a real bug surfaced while testing the disconnect flow: a clean disconnect incorrectly showed "Connection closed before the server responded" because the socket's onclose handler couldn't tell a clean disconnect apart from one that never connected.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Gives bug reports and feature requests a structured format instead of blank issues, and points questions to Discussions.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires up the previously placeholder-only "Nachrichten" options section: users can now save/delete named away-message templates and set a default leave message that's sent to the server (via DisconnectOptions) when disconnecting.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lets users disable e.g. join/leave chimes while keeping others on, without touching the master sounds toggle.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New Sounds options panel (Extras > Optionen > Sounds) with a master
enable toggle, volume control, and per-event upload/test/reset. Falls
back to synthesized soft two-note chimes when no custom file is set.
Sounds are routed through the same output device as voice playback.
Custom .ts3soundpack (ZIP+XML) import is left for later - this covers
the simpler per-event custom-file approach first.
Compose concatenates ports: lists across an override file instead of
replacing them, so the ports mapping added in the last commit caused
the deployed container to try publishing both 8080 and the override's
8188, colliding with another service already on 8080. Move ports back
out of the base file (override-only, as before) and keep the new
container_name/image/environment fields.
Add container_name, an image tag, direct port mapping, and an
explicit PORT env var instead of pointing to a separate override
file just to publish a port.
Add a Docker Compose (build-from-source) and a Docker Hub pull path as
the recommended install method, with the previous manual/from-source
steps kept as a collapsible section for anyone without Docker.
Fork tsclientlib to Moepchi/tsclientlib and bump the out-of-order
command queue limit (200 -> 4096). Large servers like
voice.teamspeak.com burst hundreds of command packets during the
initial channel/client sync; a single dropped packet in that burst
previously exceeded the queue and aborted the connection with
"Maximum length exceeded for command queue".
Also clear the "Claude Code" default nickname so the field starts
empty.
Introduces an i18n layer (src/i18n.tsx) with auto-detection (defaulting
to English) and a persisted override, wires every user-facing string in
App.tsx through it, and adds a language selector to the Anwendung
options panel in the same spot the native TeamSpeak client uses.
Adds badges, tagline/quick-links, a screenshot showcase table, a
features grid, tech-stack badges, and a collapsible architecture
section; makes the Docker Compose quick start prominent. Legal
disclaimer and credits kept unchanged.
Wires the official logo into the header, README, and browser tab; generates
favicon.ico/apple-touch-icon/OG image via a new ImageMagick script from a
single source PNG at web/public/logo.png.
Rebrands the app as an independent project, adds a trademark disclaimer
to the README, and migrates localStorage keys with a compatibility shim
so existing favorites/settings survive the rename. The TeamSpeak
protocol bridge itself (Ts3Connection, ts-connector binary) is untouched.