Commit Graph
263 Commits
Author SHA1 Message Date
Moepchi e5c5cc3f80 Add Options dialog with the real client's settings sidebar
Opens via Extras -> Optionen. Sidebar navigation matches the real TS3
client (Anwendung/myTeamSpeak/Wiedergabe/.../Meldungen) and switches the
content panel, but the settings themselves are still placeholders - none
of the actual options are wired up yet. Local-only for now, not deployed.
2026-07-29 21:08:25 +02:00
Moepchi a2863520a5 Add Extras menu as a layout-only dropdown
Matches the real TS3 client's Extras menu items/grouping/shortcuts, but
every entry is disabled - none of these (identities, ban list, recording,
ServerQuery, etc.) are implemented yet. Local-only for now, not deployed.
2026-07-29 20:54:55 +02:00
Moepchi 0d65c3b123 Enable the mic automatically on page load instead of requiring a click
Voice activation already gates what's actually transmitted, so there's no
reason to make the user click "Enable microphone" every time - it's now
requested once on mount via the same handleToggleMic() path a manual click
uses. Also resume the AudioContext if it starts suspended (autoplay policy),
since granting the permission prompt itself counts as a user gesture and
unblocks it even when start() wasn't triggered by a click.
2026-07-29 20:46:17 +02:00
Moepchi 41559c7712 Allow enabling the mic (and picking an output device) before connecting
The AudioContext/AudioPlayer were only created inside handleConnect, so
clicking the mic button while disconnected silently did nothing - no
permission prompt, no error. Lazily create them on first use instead
(ensureAudioContext), and drop the mic button's connected-only disabled
state, matching the real TS3 client where you can test your devices before
joining a server.
2026-07-29 20:39:51 +02:00
Moepchi c48534dbc4 Add Docker deployment and fix crash in insecure (non-HTTPS) contexts
Adds a multi-stage Dockerfile (Rust connector + gateway + web build) and
docker-compose.yml for running the whole stack as a single container behind
a reverse proxy; the gateway now serves the built web app and the WebSocket
endpoint (/ws) from one port, and the frontend derives its gateway URL from
window.location in production instead of a hardcoded localhost address.

Also guards all navigator.mediaDevices usage against being undefined, which
happens when the page is loaded over plain HTTP on a non-localhost address
(not a secure context) - previously this crashed the whole React app on
mount instead of just disabling the affected voice features.
2026-07-29 18:45:23 +02:00
Moepchi 3715a52de6 Add Favoriten menu, Away/AFK status, and mic/output mute toggles
Implements the real TS3 client's Favoriten menu (add/manage/list, with a
FavoritesDialog), the toolbar Away/AFK dropdown with saved presets and an
AwayDialog, plus input/output mute toggle buttons on the toolbar. Reorders
the toolbar to AFK -> Mic -> Speaker -> Theme and removes the standalone
Connect button in favor of the Verbindungen menu.
2026-07-29 17:24:56 +02:00
Moepchi 53e2887e14 Add Verbindungen menu, TS3-style Connect dialog, and layout restructure
- Replace inline toolbar connect fields with a modal Connect dialog matching
  the real TS3 client's layout, including a functional Standard Channel field
  wired through a new connector --default-channel flag
- Add a Verbindungen dropdown menu (Verbinden/Aktuelle Verbindung trennen/
  Alle Verbindungen trennen) with click-outside/Escape close and Ctrl+S/Ctrl+D
  shortcuts
- Restructure layout: chat area (messages/tabs/input) now spans the full
  width at the bottom; right side shows a separate, non-scrollable server
  banner (object-fit scaled, shown only when set) above the client/server
  info panel; tree width and upper-area height are now drag-resizable
- Surface server version, license, and banner URL from tsclientlib through
  the connector and gateway
2026-07-29 16:38:40 +02:00
MoepchiandClaude Sonnet 5 95a3761235 Rework layout to match the real TS3 client's structure
Adds a menu bar, an icon-based toolbar, and splits the right side into
a channel/server info panel (topic, codec, password, client count) on
top of the chat log - previously a single click switched channels, now
that only selects/shows info while a double-click actually joins, like
the native client. Required exposing a few more real protocol fields
from tsclientlib (channel codec/topic/max clients/password, server
name/max clients) that weren't surfaced before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 21:31:45 +02:00
MoepchiandClaude Sonnet 5 ec034d2d6b Add client poking (send and receive)
Uses tsclientlib's existing MessageTarget::Poke support end to end: a
poke button on each client row opens a small compose overlay (an
optional message, like TeamSpeak's own poke), and incoming pokes show
as a dismissible, auto-expiring banner.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 20:51:50 +02:00
MoepchiandClaude Sonnet 5 76cb90360c Add server/channel passwords, connection autofill, and client status icons
Server/channel passwords are now optional connect fields (hidden behind a
lock toggle so the normal flow stays uncluttered). The last successfully
used server/nickname is remembered via localStorage and autofilled on
load. The channel tree now shows per-client status badges (channel
commander, away, mic muted, deafened) sourced directly from tsclientlib's
existing client data.

Also credits Claude Code in the README, since it wrote the vast majority
of this project's code.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 20:41:29 +02:00
MoepchiandClaude Sonnet 5 4306da474b Surface connection errors clearly instead of hanging or failing silently
Bounds the connector's initial connect/login wait with a 15s timeout (an
unreachable host previously hung forever with no error), rewrites
tsclientlib's Debug-formatted errors into plain text, and adds a
connecting/error UI state in the frontend with a dismissible banner
instead of burying failures in the bottom log.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 19:58:47 +02:00
Moepchi a5c1ae62ff Route voice playback through a hidden <audio> element for device switching
AudioContext.setSinkId only exists in Chrome; HTMLMediaElement.setSinkId is
supported more broadly (including Firefox 130+). Playback now goes through
a MediaStreamAudioDestinationNode into a hidden <audio> element so output
device switching actually takes effect outside Chrome/Edge.
2026-07-28 19:37:14 +02:00
Moepchi b3e55a60b5 Initial commit: browser-based TeamSpeak client
React frontend + Node gateway + Rust connector (tsclientlib) providing
connect, channel tree/switching, channel/server/private text chat, and
voice with voice activation and output device selection.
2026-07-28 19:25:46 +02:00