Commit Graph
140 Commits
Author SHA1 Message Date
Möpchi 9206b12e25 Merge pull request #4 from GreenTeaSpeak/main
Add TeaSpeak/GTS support and multi-join functionality
2026-09-06 01:39:07 +02:00
Nico B.andCursor 5d2b02feb0 Point tsclientlib at GreenTeaSpeak tsdeclarations fork.
Track the org-owned declarations remote via the updated tsclientlib submodule.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 01:32:53 +02:00
Nico B.andCursor 77165af5e4 Exclude ServerQuery from online total so it matches the filtered client list.
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>
2026-09-06 01:28:19 +02:00
Nico B. a118c0f58e Merge pull request #1 from Moepchi/fix/pr-4-review-bugs
Fix 8 correctness bugs found in review of TeaSpeak/GTS + multi-join PR
2026-09-06 01:20:59 +02:00
Nico B.andCursor 3db5d90d89 Merge upstream/main into GreenTeaSpeak main to resolve PR #4 conflicts.
Keep TeaSpeak/GTS multi-tab work while integrating channel-password prompts and the Pulse theme.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 00:54:04 +02:00
Nico B.andCursor ecdd69bceb Point tsclientlib submodule at GreenTeaSpeak fork.
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>
2026-09-06 00:48:00 +02:00
Moepchi 9702c671e8 Fix 8 correctness bugs found in code review of PR #4
- 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.
2026-09-06 00:20:33 +02:00
Moepchi 27ac828641 Add channel password prompt on mid-session join (fixes #3)
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.
2026-09-05 23:49:43 +02:00
Nico B. cd6928b407 Update tsclientlib 2026-09-05 22:48:31 +02:00
Nico B. e9ee12c7b5 Add TeaSpeak/GTS support, multi-join & GTS theme
Adds TeaSpeak/GreenTeaSpeak protocol support and multi-join session tabs plus a GreenteaSpeak UI theme. Key changes: connector (Rust) supports --server-type, privilege key, server variables, license formatting, Query-client filtering and extra metrics; gateway accepts serverType/privilegeKey, optional static serving (WEB_STATIC), and per-tab /ws sessions; web frontend: multi-session parking (connectionSessions), channel spacer parsing, talk-lamp UI, extended server connection info, connect dialog serverType/privilegeKey, GreenteaSpeak CSS & chrome, i18n updates, and demo updates. Also adds docs/teaspeak.md and dependency num-traits.
2026-09-05 22:45:21 +02:00
MoepchiandClaude Sonnet 5 804fa44ab6 fix: update stale moepchi.de OG/Twitter meta tags to webspeak3.de
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-03 20:35:49 +02:00
MoepchiandClaude Sonnet 5 563bca2a4b feat: add Simplified Chinese (zh-CN) locale, harden runtime image
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>
v0.8.0-beta.1
2026-09-01 18:50:01 +02:00
MoepchiandClaude Sonnet 5 b14292a95d ci: build and push Docker image on release
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>
2026-08-29 16:55:22 +02:00
MoepchiandClaude Sonnet 5 a6e2130d29 docs: fix broken README preview images
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>
2026-08-29 04:46:19 +02:00
Moepchi f490ca5776 Add auto gain control toggle for echo cancellation tuning (#2)
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.
2026-08-29 04:29:04 +02:00
Moepchi 24f070ce67 Untrack .serena/
Local Serena project config/memory files, not part of the repo's source.
v0.7.0-beta.1
2026-08-29 04:06:42 +02:00
Moepchi 8c954f9540 Add user-created custom design themes
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.
2026-08-29 04:05:18 +02:00
Moepchi 3ad086aedd Add Nova design theme: redesigned menu bar, connect splash screen
- 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.
2026-08-29 03:15:06 +02:00
MoepchiandClaude Sonnet 5 8e78ae98c9 Remove non-functional myTeamSpeak ID feature
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>
2026-08-28 22:28:51 +02:00
Moepchi e2c67ef23c Remove landing page from client repository 2026-08-23 10:09:28 +02:00
Moepchi 34fdd04c1c Improve project documentation and beta roadmap 2026-08-23 00:35:16 +02:00
Moepchi b0eda9a22c Add mobile navigation and release updates v0.6.1-beta.1 2026-08-22 23:35:59 +02:00
Moepchi bdfc0bcc10 Expand landing navigation sections 2026-08-22 23:25:20 +02:00
Moepchi 6bdd0fa171 Stabilize landing navigation scroll state 2026-08-22 23:19:17 +02:00
Moepchi ccceacba07 Polish landing navigation and section motion 2026-08-22 23:17:31 +02:00
Moepchi f56990f033 Add landing community feedback section 2026-08-22 23:10:56 +02:00
Moepchi a58a649818 Clarify Safari client workflow labels 2026-08-22 22:59:56 +02:00
Moepchi a26b7e02ec Test WebSpeak3 client capabilities in Safari 2026-08-22 22:58:54 +02:00
Moepchi 386c6ad49b Fix Safari language switch selector 2026-08-22 22:52:39 +02:00
Moepchi a8cf46f2da Use isolated Python environment for Safari check 2026-08-22 22:51:09 +02:00
Moepchi c5635102f0 Add free Safari landing page checks 2026-08-22 22:50:12 +02:00
Moepchi 27fbd3cd10 Fix connection status indicator spacing 2026-08-22 22:41:29 +02:00
Moepchi dfae1b53d2 Expand landing onboarding and project details 2026-08-22 22:37:51 +02:00
Moepchi e221c9d73d Overlay Android camera and gesture bar 2026-08-22 22:23:07 +02:00
Moepchi 8ff35abdf1 Refine iPhone preview frame 2026-08-22 22:19:58 +02:00
Moepchi bb152a9bda Add device-aware phone frames 2026-08-22 22:14:09 +02:00
Moepchi 0b76f2e354 Show real mobile client preview 2026-08-22 22:09:50 +02:00
Moepchi 0ad64fd4f8 Update interactive client preview 2026-08-22 22:04:07 +02:00
Moepchi c6fbc04236 Clarify connection to any TeamSpeak server 2026-08-22 21:37:58 +02:00
Moepchi 7deee1a8c3 Expand landing page with product details 2026-08-22 21:31:02 +02:00
Moepchi 69efb64db6 Add bilingual WebSpeak3 landing page 2026-08-22 12:47:09 +02:00
MoepchiandClaude Sonnet 5 e917e8e906 Remove GitHub Pages demo workflow
Cloudflare Pages (demo.webspeak3.de) already covers this for free,
no need for a second free hosting fallback.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v0.6.0-beta.1
2026-08-12 21:39:49 +02:00
MoepchiandClaude Sonnet 5 5e2b2860ae Drop GitHub Pages fallback mention from README demo blurb
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-12 21:38:23 +02:00
MoepchiandClaude Sonnet 5 80e36539f3 Link webspeak3.de, client.webspeak3.de and demo.webspeak3.de in README
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-12 21:37:39 +02:00
MoepchiandClaude Sonnet 5 b70b4d1fc9 Fix: VITE_GATEWAY_URL override was missing the /ws path
The gateway's WebSocketServer only listens on /ws (gateway/src/index.ts),
but the VITE_GATEWAY_URL build-time override connected to the bare host
instead - causing 'Could not reach the gateway' on split-hosted deploys
(e.g. client.webspeak3.de -> gateway.webspeak3.de). Now /ws is always
appended, whether the URL comes from the same-origin fallback or the
override.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 02:17:53 +02:00
MoepchiandClaude Sonnet 5 fd24ae740e Add cloudflared tunnel service to docker-compose
Enables exposing the gateway via Cloudflare Tunnel without a public
DNS record pointing at the home server's real IP. Token is supplied
via CLOUDFLARE_TUNNEL_TOKEN in a gitignored .env file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-11 01:22:48 +02:00
Moepchi c10572feda Support VITE_GATEWAY_URL to point the built frontend at a gateway on another host 2026-08-10 21:46:39 +02:00
Moepchi c305fc4e1e Remove redundant poke hover-button from client tree rows (already in context menu) 2026-08-10 21:31:13 +02:00
Moepchi ec3a693292 Fix icon right-alignment: remove duplicate margin-left:auto from poke button 2026-08-10 21:28:16 +02:00
Moepchi 6bc3dca567 Add colored-letter badges for TS3 built-in default group icons; only fetch real custom icon files 2026-08-10 21:23:54 +02:00