- gateway: opt-in POST /api/feedback endpoint (FEEDBACK_ENABLED=1),
logs submissions to feedback.log and optionally files a GitHub issue
on Moepchi/webspeak3 when GITHUB_TOKEN is set and the user opts in.
Rate-limited per IP, CORS-aware for split-hosted deployments.
- web: new "Feedback" menu entry under Extras, gated to
client.webspeak3.de at runtime (IS_OWN_HOSTED_INSTANCE) so other
self-hosted/forked deployments and the public demo never see it.
New FeedbackDialog with category/message/email fields and an
opt-in "publish as GitHub issue" checkbox. New i18n strings (DE/EN).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ts_bookkeeping::messages::s2c logs a WARN for every server/property
field it doesn't have a parser for. Harmless (the field is simply
dropped) but extremely noisy on TeaSpeak/GreenTeaSpeak servers, where
it fires on nearly every ServerUpdated/ClientEnterView and drowns out
warnings that actually matter.
Also makes RUST_LOG actually functional for the first time - the
filter was previously a hardcoded EnvFilter::new("warn") literal that
ignored the env var entirely.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Off by default — this is an open-source, self-hostable image, so other
instances shouldn't get connection logging just because it's in the
codebase. Set LOG_CONNECTIONS=1 in an instance's .env to log a single
line per TS3/TeaSpeak connect and disconnect (host, server name,
timestamp — no nickname, no IP).
- Wire up vite-plugin-pwa: generates a web app manifest and a
precache-only service worker for the built app shell (JS/CSS/HTML/
icons). WebSocket (/ws) and file-transfer traffic are never
intercepted or cached. Disabled in dev so it doesn't interfere with
Vite's own HMR websocket.
- Add 512px + maskable 512px icons generated from the existing logo.
- Add iOS "Add to Home Screen" meta tags (manifest support there is
partial).
- Gateway: serve .webmanifest with the correct MIME type.
Two related bugs: a browser tab that lost network (or got backgrounded/
suspended on Android) could leave the connector alive on the TS3/TeaSpeak
server for minutes after the frontend showed disconnected, and multi-join
background tabs simply vanished on any drop instead of staying connected.
- gateway: WebSocket ping/pong heartbeat (20s) so a dead browser socket is
detected and its connector torn down promptly instead of waiting on an
OS-level TCP timeout.
- web: every session (active tab or parked multi-join background tab) now
remembers its connect params and can reopen its own socket after an
unexpected drop, with exponential backoff (1s-30s) so a persistently
unreachable gateway isn't hammered. Wake Lock keeps the screen (and the
tab's throttling) at bay while any session is live; a visibilitychange
sweep reconnects every dropped session once the page is visible again.
Mic stays off for background sessions throughout, same as before.
- handleMoveClient: route self-drags through handleSwitchChannel so
moving your own client still prompts for a channel password when
required, while admin moves of other clients keep bypassing the
target channel's password (matches native TS3/GTS behavior - only
the mover needs permission, not the password).
- MoveClientDialog: disable channel spacers as move targets, they are
display-only rows with no backing channel.
- connector moveclient handler: carry the already-decoded password
through the fallback branch (client not found in local state)
instead of hardcoding an empty password, so self-moves via that
path still authenticate correctly.
- App.tsx: memoize treeClients/queryClientCount so they are not
recomputed on every render (e.g. on unrelated "talkers" updates),
and simplify the duplicated displayClientCount ternary.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Lets users move clients via context menu or drag-and-drop (including spacers), show ServerQuery clients per favorite without reconnecting, and surface TeaSpeak/GTS notifyclientpoke reliably via connector fallback plus tsclientlib parse fallthrough.
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
PR #4 added TeaSpeak/GreenTeaSpeak protocol support alongside existing
TS3/TS6, plus an optional GTS-styled theme - update the tagline, quick
start text, features table, architecture section, and trademark
disclaimer to reflect that.
The PR #4 review fix still preferred virtualserver_clientsonline which usually includes Query; subtract bookkeeping Query count before applying the stale-data max.
Co-authored-by: Cursor <cursoragent@cursor.com>
The TeaSpeak commit was only local; clones and CI failed. Host it on the org fork and track that remote.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Connection log only ever rendered the single latest entry
(log.slice(-1) -> log.slice(-50)), and appendLog grew log[] unbounded
- Mic stayed off after switching back to a parked multi-join tab
(added ParkedSessionState.micWasOn, restore mic on switch-back)
- Packet-loss heuristic guessed fraction-vs-percent by magnitude, which
can't disambiguate; now branches on actual server type (GTS vs TS3)
- serverGroups/channelGroups/permissionCatalog/banList/fileBrowser were
page-global caches never invalidated on multi-join tab switch, so a
newly active tab could show another server's stale data
- ServerQuery clients were filtered from the client list but still
counted in the online-total fallback; total now matches the list
- gateway disconnect() resolved before the connector child process
actually exited, allowing two connector processes to run briefly on
a fast reconnect; now waits for exit (with a hard-kill fallback)
- switching a parked multi-join tab back in replayed a spurious
whisper-target log entry and resent setWhisperTargets even when
nothing changed, because the diff was against the wrong tab's ref
- double-click-to-join channel detection used module-level state,
so a click in one multi-join tab could pair with a click in another
tab's tree as a false double-click; now keyed per session
Note: could not verify with a full cargo build - the PR's own
'Update tsclientlib' commit (cd6928b) points at a tsclientlib submodule
commit that isn't pushed to any reachable branch (not even the PR
author's own fork), so nobody can currently build this PR end-to-end.
That is unrelated to these fixes.
Joining a password-protected channel after connecting silently failed
with only a generic error in the log - there was no way to enter a
password except the initial-connect "default channel" field.
- connector: "switch" now accepts an optional base64-encoded password
and wires it through tsclientlib's existing set_password() API; a
ChannelInvalidPassword failure is reported as a distinct
channelPasswordRequired event instead of a generic error.
- gateway: forwards channelPassword through switchChannel and remaps
the connector's snake_case event to the frontend's camelCase shape.
- web: new ChannelPasswordDialog prompts for the password (and flags
a wrong retry); the password is cached in memory for the session so
re-entering an already-unlocked channel doesn't prompt again, and
the cache is cleared on disconnect.
Also includes two earlier Pulse-theme CSS fixes (bottom-toolbar
dropdowns opening off-screen; caret button height mismatch) and the
Speaking Now bar / Pulse Phase D wiring from this session.
zh-CN i18n adapted from MIKU-N's fork (github.com/MIKU-N/webspeak3):
new web/src/locales/zh-CN.ts, wired into i18n.tsx's Lang type, system
language detection, language preference persistence, the app.language
option list, and a new document.documentElement.lang sync effect.
App.tsx's language dropdown and the README feature table updated to
match. Missing keys naturally fall back to English via the existing
translations[lang][key] ?? translations.en[key] ?? key chain.
Also adapted from the same fork: the runtime stage's Dockerfile now
strips npm/npx (and npm's cache/package tree) after installing the
gateway's production deps, since nothing in the running container
invokes either afterwards - shrinks the image and drops npm's own CVEs
from the final attack surface. Adds a HEALTHCHECK that curls the
gateway's own port via Node's fetch.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a GitHub Actions workflow (docker-publish.yml) that builds the
webspeak3 image and pushes it to Docker Hub as moepchi/webspeak3:latest
plus a matching version tag whenever a GitHub Release is published (or
manually via workflow_dispatch). Uses GHA layer caching so the Rust
connector build doesn't redo work on every release.
Also hardens the Dockerfile's web-builder stage against a long-standing
npm bug (npm/cli#4828) where `npm ci` intermittently fails to install
Vite 8's platform-specific Rolldown binding without a non-zero exit
code, surfacing later as a confusing vite build MODULE_NOT_FOUND. Now
verified and self-healed (rm + npm install) before the real build runs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The desktop/mobile screenshots linked to raw.githubusercontent.com on
the private webspeak3-landing repo, which 404s for anyone without
access. Copy both images into docs/screenshots/ in this repo and
reference them with relative paths instead.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Exposes autoGainControl as its own Options -> Aufnahme toggle (was
implicitly left to the browser default) and requests the pipeline's own
48kHz sample rate explicitly, so the mic doesn't need an extra internal
resample before the browser's own AEC runs. Both are standard
getUserMedia constraints, honored the same way by Chromium and Firefox
(unlike vendor-prefixed googEchoCancellation-style flags, which only
affect Chromium).
Helps speaker+mic (no headset) setups where AGC re-amplifying the mic
signal after AEC can bring back audible echo residue - see #2.
Lets users build their own theme packages from Options > Design: pick a
structural base (Standard or Nova), write free-form CSS, and save/select
it locally. Supports duplicate, export/import (JSON), and delete.
Custom CSS is injected via a dedicated <style> tag while the theme is
active. Fixes the built-in theme variable rules (.ts-app,
.ts-app.ts-theme-dark, .ts-app.ts-design-nova) so a plain .ts-app { ... }
override in custom CSS always wins, by wrapping them in :where() to
strip their specificity - previously the compound selectors always beat
a same-specificity custom rule regardless of injection order.
Standard/Nova behavior is unchanged when no custom theme is selected.
- Restyle classic top menu bar into pill-chip items merged into the
same row as the WebSpeak3 logo/server/status cluster, collapsed
behind a hamburger button with an outside-click/Escape-aware
dropdown panel (nested submenus flip to open leftward to avoid
clipping at the viewport edge).
- Make the Connect dialog the sole visible surface while
disconnected in Nova: it auto-opens on load and after every
disconnect, and the app chrome (menu/toolbar/body/log) is hidden
behind it until a connection succeeds.
- Rebuild the Connect dialog for Nova to match the TS6 Redesign
mockup's dedicated Connect screen: centered hero (logo/title/
subtitle) above an elevated card, a chevron-toggle "Erweiterte
Optionen" moved under the nickname field, reordered ghost/primary
footer buttons, and a fixed settings-gear shortcut into Options.
The 11 existing form fields/handlers are shared with the Standard
dialog via one JSX tree, decorated only through small nova ternaries.
- Nova starts with an empty server-address field instead of the
Standard theme's "localhost" default.
- All changes scoped under .ts-app.ts-design-nova (or nested
classes); Standard theme verified pixel- and behavior-identical
throughout via repeated live comparisons.
Both checkboxes were disabled stubs; the underlying protocol field is
hardcoded to None in tsclientlib and not exposed as a settable option,
so the feature can't be implemented. Removed from Connect and
Favorites dialogs plus the now-orphaned i18n keys (DE+EN).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>