Commit Graph
187 Commits
Author SHA1 Message Date
MoepchiandClaude Opus 5.5 ef0e3fad7d feat: more BBCode tags, basic Markdown and an opt-in for chat images
Chat now renders [size], [left]/[center]/[right], [list]/[*], [hr] and
[noparse] plus the Markdown TS6 sends (emphasis, code, links, images,
quotes, lists, headings, rules, escapes). [img] stays a link unless
"Load images in chat" is enabled in Options -> Application (off by
default, since loading reveals the reader's IP to the image host).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-04 11:09:05 +00:00
MoepchiandClaude Opus 5.5 839e26e4a3 feat: send links as [URL]...[/URL] like the native clients
Native TeamSpeak clients wrap links in [URL] tags when sending and only
link tagged ones, so a bare URL typed in the web client stayed plain
text for them. Chat and offline messages now wrap bare http(s) URLs;
links that are already tagged are left alone.

Also stops the collected-URLs list from picking up "[/URL]" as part of
a link, by sharing the renderer's URL pattern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-04 10:32:10 +00:00
MoepchiandClaude Opus 5.5 e37e090ab2 feat: render BBCode in chat messages
Server, channel and private chat now render [b] [i] [u] [s] [color]
[url] (and [img] as a plain link), and bare http(s) URLs become links -
the welcome message's [URL]...[/URL] showed up as raw text before.
Built as React elements, so message text can't inject markup; only
http(s) links are allowed and [color] only takes a name or hex value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-04 10:29:05 +00:00
MoepchiandClaude Opus 5.5 9b836d5830 Fix server-edited log spam and chat panel growing with its lines
The 20s servergetvariables poll is answered with notifyserverupdated,
which tsclientlib applies as a PropertyChanged per field even when
nothing changed - so every poll logged "server settings changed".
Only log for notifyserveredited, the one that carries an invoker.

In the classic design .ts-chat-panel lacked min-height: 0, so the
message list grew with every line instead of scrolling, pushing the
chat input off-screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-04 09:33:33 +00:00
MoepchiandClaude Opus 5.5 d36b94a496 feat: arrow-key tree and menus, real buttons, contrast fixes
Accessibility stage 2.

- The channel tree is an ARIA tree with one Tab stop. Up/Down/Home/End walk
  the visible rows, Left/Right collapse, expand, or jump to parent and first
  child, and selection follows focus. The server row is focusable too.
- Menu bar entries are buttons with aria-expanded. Dropdown and context
  menus focus their first item on open, move with the arrow keys (except
  inside the volume slider), and Escape returns focus to the opener.
- Bookmark and contact list items, chat tabs and server tabs work from the
  keyboard (Delete closes a tab, since its × can't be a nested button).
- <main> landmark and a level-1 heading for screen-reader navigation.

An axe-core scan of the connected UI in every built-in design turned up
contrast failures, three of them real bugs: the active server tab, the
update toast and the feedback bubble sit on a fixed dark background but used
the theme's text colour, so the light theme showed dark-on-dark text. Also
darkens the light theme's muted text, the donate button, and lifts
GreenTeaSpeak's muted grey to 4.5:1 (its selection colour stays native).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-04 09:19:24 +00:00
MoepchiandClaude Opus 5.5 b84dc0faac chore: hide the tab audio button for now
It clicks in the mix and Edge delivers Windows system audio as silence;
parked until there's time to move capture to an AudioWorklet. The code
stays in place behind TAB_AUDIO_SUPPORTED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:42:54 +00:00
MoepchiandClaude Opus 5.5 4752971f31 fix: shared audio clicked and clipped in the voice mix
The shared source is mixed in at -6 dB so music near full scale doesn't
clip with the voice on top. With AEC3 its blocks made the extra queue run
short now and then, which was padded with silence (clicks); it now skips
once and stays a frame ahead, capped to bound latency.

Drops the temporary diagnostics: Edge delivered silence for Windows system
audio even without the mic open, so the hint now points to sharing a tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:40:02 +00:00
MoepchiandClaude Opus 5.5 93b809ff9a fix: shared tab/system audio arrived silent in Edge
Edge ran its echo canceller on the display-capture track (getSettings showed
echoCancellation: true on deviceId "loopback"), which subtracts exactly
what the speakers play - the whole signal. Voice processing is now off for
that track; noise suppression would mangle music anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:27:39 +00:00
MoepchiandClaude Opus 5.5 fa3fa2e4ad chore: temporary diagnostics when shared audio stays silent
Measures the captured track directly, next to the mixer's view, to tell a
silent capture apart from a mixing bug (Edge + Windows system audio report).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:24:28 +00:00
MoepchiandClaude Opus 5.5 16e3cd8dd7 fix: keep the capture's video track alive while sharing tab audio
Stopping it right away may end or silence the capture session the audio
track belongs to (suspected with Windows system audio in Edge). It runs at
1 fps and stops together with the audio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:19:19 +00:00
MoepchiandClaude Opus 5.5 9d736dbfdd feat: warn when shared tab/system audio stays silent
Windows system audio only covers the default playback device, so music on
another device is mixed in as pure silence with no hint why.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:13:23 +00:00
MoepchiandClaude Opus 5.5 5268c8f57a fix: offer tab audio only in Chromium-based browsers
Firefox and Safari give getDisplayMedia video without audio, so the button
could only ever answer "no audio" there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 09:02:30 +00:00
MoepchiandClaude Opus 5.5 deabfbff3c feat: server banner can be turned off; document what the browser stores
Review S12: the banner loads from a host the server admin picks, which sees
the viewer's IP. It's now a switch under Options -> Application and is
requested without a referrer. Proxying it through the gateway would make the
gateway fetch arbitrary URLs, so that's left out.

Review S10: identities and favorite passwords stay in localStorage (the
native client keeps them in plain settings files too; favorite passwords
are already optional). The README now says so.

Also labels the dialogs' close buttons for screen readers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 01:54:31 +00:00
MoepchiandClaude Opus 5.5 81107c659e feat: keyboard and screen-reader basics for dialogs, toolbar, and tree
Dialogs move focus in on open, trap Tab, close on Escape, and return focus.
Toolbar icon buttons get aria-labels; away/whisper carets expose their menu
state. Channel and client rows are focusable: Enter joins/opens chat, Space
selects, arrows collapse/expand, the context-menu key opens the menu with
focus on its first item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 01:50:29 +00:00
MoepchiandClaude Opus 5.5 bf4507ae9d feat: share a tab's or window's audio into the voice channel
The new toolbar button asks the browser for a tab or window with audio and
mixes it into what the mic sends. It joins after AEC3, per 20 ms frame, so the
canceller only ever sees the mic, and while sharing the voice activation stays
open so music pauses don't cut out. Hidden where getDisplayMedia is missing
(mobile); a restarted mic picks the shared audio up again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 01:42:13 +00:00
MoepchiandClaude Opus 5.5 12e482b223 fix: recover from silent network drops on both sides of the gateway
Measured with relays that blackhole traffic:

- Gateway to TS server: tsclientlib reconnects on its own after a timeout or
  server restart, but the connector ignored that, so the browser got no notice
  and the new session stayed unsubscribed - everyone but us vanished from the
  tree. The connector now emits "reconnecting"/"reconnected", resubscribes,
  and pauses the server-variable poll meanwhile; the page logs both.
- Browser to gateway: a network that dies silently never closed the socket on
  the page, which kept showing "connected" indefinitely. The gateway now sends
  an app-level keepalive every 20 s (announced as "keepalive" in hello), and
  a socket quiet for 50 s is handled as dropped and reconnected.
- Coming back online skips any remaining reconnect backoff.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 01:37:13 +00:00
MoepchiandClaude Opus 5.5 23e61c86b3 feat: optional TURN relay for screen streams
TURN_URLS on the gateway is handed to the browser in "hello" and added to the
STUN defaults for both watching and publishing. With TURN_SECRET (coturn's
use-auth-secret) each socket gets its own credential valid for 24 h; static
TURN_USERNAME/TURN_CREDENTIAL work too but are public to every visitor.

Also moves GATEWAY_FEATURES above the runtime-config comment it had split.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 00:58:22 +00:00
MoepchiandClaude Opus 5.5 728c900bb2 feat: search channels and users in the tree
A search field above the channel tree filters it live: a channel whose name
matches keeps all of its clients, a client whose name matches keeps its
channel, and the parent chain of every match stays so it is shown in place.
Collapsed channels open while searching; Escape clears the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 00:53:06 +00:00
MoepchiandClaude Opus 5.5 4b245d69d3 feat: show real TeamSpeak avatars
The connector now reports client_flag_avatar (the avatar's MD5) per client.
The browser derives /avatar_<uid> from the UID and fetches it through the
existing channel-0 file cache used for group icons, again whenever the hash
changes. Only the own channel and the selected client are fetched, so a big
server does not push every avatar through the gateway; avatars are capped at
512 KiB like icons. They replace the initials tile in the tree (Nova/Pulse),
the speaking-now bar, and appear in the client info panel.

Also fixes the Nova connect dialog staying open over an auto-connect: its
"forced open while disconnected" effect ran after the auto-connect had closed
it, and nothing closed it again once connected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 00:50:54 +00:00
MoepchiandClaude Opus 5.5 7b3cb5ef09 feat: per-speaker volume and a gateway feature handshake
The gateway now greets every browser with {type:"hello", features:[...]} so
the hosted client, which updates on every push, can hide what an older
gateway cannot do instead of hanging on it. A gateway without "hello" is
treated as the v0.14 feature set, which replaces the hand-flipped
STREAM_UI_ENABLED switch.

First feature behind it: "clientVolume". The client context menu gets a
0-200% slider, stored per client UID in localStorage. The connector applies
it to tsclientlib's per-speaker AudioQueue.volume while mixing, and keeps the
value across talk pauses, when that queue is torn down and recreated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-03 00:34:12 +00:00
MoepchiandClaude Opus 5.5 8e934c6646 Default server/channel as runtime config for the Docker image (#12)
DEFAULT_SERVER/DEFAULT_CHANNEL used to be build args only, so pointing a
self-hosted instance at its server meant cloning the repo and rebuilding
the image. The gateway now reads them from its own environment and puts
them into the index.html it serves as <meta> tags (HTML-escaped; an
inline script would be blocked by the page's CSP). The client prefers
those over the build-time VITE_ values, which keep working as before.

Closes #12

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-10-02 07:26:05 +00:00
MoepchiandClaude Opus 5.5 a9f0586b88 web: keep the PWA's SPA fallback away from the gateway's /api/ pages
With UI and gateway on one origin, the service worker answered a
navigation to /api/store/admin with index.html, so the moderation page
opened the client instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 20:12:02 +00:00
MoepchiandClaude Opus 5.5 eba1e1af92 Web: smaller review fixes (A10-A19, S10, S11, lint)
- A10: drop labels of unimplemented shortcuts, localize "Ctrl", never
  fire shortcuts (Ctrl+D!) while typing in a field
- A11: in-memory localStorage stand-in when storage is blocked instead
  of a blank page
- A12: invite link falls back to selecting the text without clipboard API
- A13: AEC3 script honors BASE_URL, failed loads are retried
- A14: shared downloadBlob helper, object URLs revoked with a delay
- A15: remaining hardcoded German/English strings moved to the locales
- A16: broken soundpack files show an error instead of failing silently
- A17: connect buttons no longer pass the click event as overrides
- A18: design base persisted from the resolved theme
- A19: no audio send() while the socket is still connecting
- S10: privilege keys are no longer persisted in localStorage
- S11: share links can carry the token in the fragment (#token=)
- oxlint: 0 warnings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 19:20:47 +00:00
MoepchiandClaude Opus 5.5 92479d8a38 Web: end streams when their server tab is parked (A9)
Viewer, publisher and streamInfos are global, so after a tab switch a
running stream's signaling went to the new server's socket and stream
infos showed up in the other tab under clids that name other people.
Parking a tab now stops watching/publishing (still via the old socket)
and clears the stream infos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 19:07:41 +00:00
MoepchiandClaude Opus 5.5 37a84e4cee Web: permissions editor no longer edits the previous tab's target (A5)
Server and channel group ids overlap, and the editor kept both groupId
and the loaded entries across tab switches - so after switching from
server group 6 to the channel group tab, delete/add hit channel group 6
while the table still showed server group 6. The group selection now
resets between the group tabs, the new tab reloads, and entries are only
shown while they belong to the target on screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 19:06:45 +00:00
MoepchiandClaude Opus 5.5 e89d83c4bb Web: socket handlers always see current state (A6)
wireSocket's handlers were created once per socket, so they kept the
state from connect time: "ignore contact" never applied, the file list
didn't refresh after uploads, the channel-password dialog lacked the
name, log texts stayed in the old language and reconnect restarted the
mic with old settings. The handlers are now rebuilt every render and
the socket calls the latest version through a ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 19:05:26 +00:00
MoepchiandClaude Opus 5.5 57447fdd11 Design Store: moderation queue and stricter CSS check (S4, S13)
New submissions are "pending" until approved by the STORE_ADMIN_TOKEN
holder via the new /api/store/admin review page (CSS shown as text only).
Theme CSS is normalized (comments, escapes, case) before checking and may
no longer load anything: no @import/@font-face, no image-set()/src()/etc.,
url() only for inline data: images. Already-approved themes failing the
new check are hidden. Store file is written atomically.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 19:01:53 +00:00
MoepchiandClaude Opus 5.5 b87eb0f4b7 Fix audio/session lifecycle bugs (review A1-A4, A7, A8)
- A1: resume a suspended AudioContext on any click/keypress, so playback
  works even with the mic denied or absent
- A2: own mute state and message sounds follow ownClientId, not the
  nickname, so they keep working after a rename
- A3: startMic/stopMic generation counter - a stop during getUserMedia no
  longer gets overridden by the late mic; failed starts clean up
- A4: a failed reconnect of a previously connected session keeps its tab
  and retries instead of removing it
- A7: new AudioPlayer instances get the current volume and output device
- A8: AEC3 is (re)created with its AudioContext instead of only on toggle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 18:56:54 +00:00
MoepchiandClaude Opus 5.5 4124071371 Harden the gateway against abuse (review S1-S3, S5-S7, S9)
- /ws: optional ALLOWED_ORIGINS allowlist, connection limits per IP and
  in total, 34 MiB maxPayload (uploads capped at 24 MiB client-side)
- connect: reject malformed host/nickname before spawning a connector;
  args passed as --flag=value, secrets via env instead of argv
- connector: 25 MiB download cap, 512 KiB for auto-fetched icons, friendly
  error for blocked private targets (tsclientlib: ALLOW_PRIVATE_TARGETS)
- feedback: contact e-mail never goes into the public GitHub issue;
  mentions/links in the issue body are neutralized; form says so
- rate limits: TRUST_PROXY-aware client IP, expiring limiter maps
- security headers (nosniff, frame options, CSP on served HTML)
- web: icon downloads requested once per path instead of on every update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-27 18:52:35 +00:00
MoepchiandClaude Sonnet 5 395aa3e6b6 Centralize design store URL to the maintainer's VPS
The store was previously derived per-instance from VITE_GATEWAY_URL,
so every self-hosted Docker image silently got its own empty,
isolated catalog instead of sharing the curated one. The store is a
single curated catalog (gateway/src/store.ts), unrelated to which
TS3/TeaSpeak gateway a build otherwise talks to, so all builds now
default to the same central endpoint. VITE_STORE_URL still lets a
self-hoster point at their own store instead. DEMO_MODE keeps the old
same-origin derivation, which 404s on the static demo host, so the
public demo can never write to the real production store.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 11:22:40 +00:00
MoepchiandClaude Sonnet 5 cfd9503313 Design store: make the delete button red in every design
Explicit red instead of the theme's accent color, so it stays visually
distinct as a destructive action regardless of the active design. The
confirm() prompt before deletion was already there.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:32:59 +00:00
MoepchiandClaude Sonnet 5 ed9fb80a9b Design store: fix root cause - icon row never actually spanned full width
.ts-design-theme-card has align-items:flex-start, so its flex children
shrink to content width unless given width:100% explicitly (like
.ts-design-theme-card-select already does). The actions row was
missing that, so flex:1 on its buttons had no extra width to grow
into - they stayed small and left-aligned no matter how the buttons
themselves were styled. That's why nothing helped until now.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:28:59 +00:00
MoepchiandClaude Sonnet 5 9285e50412 Design store: revert icon row to 4-across, they already spanned full width
The 2x2 layout looked worse. flex:1 on a 4-in-a-row already makes the
four buttons together fill the card's full width - that was right the
first time, just needed the mismatched-glyph fix, not a layout change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:25:41 +00:00
MoepchiandClaude Sonnet 5 f113dbbecb Design store: lay out icon action row as 2x2 instead of 4 across
Taller wasn't what was asked for - wider was. A 2x2 grid gives each
button the full card-half width instead of a cramped quarter.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:22:42 +00:00
MoepchiandClaude Sonnet 5 d319d989da Design store: enlarge icon action buttons further
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:19:37 +00:00
MoepchiandClaude Sonnet 5 f29a1da7d4 Design store: replace mismatched icon glyphs with consistent SVG icons
The edit/duplicate/export/delete row mixed three text glyphs with a
color emoji (🗑), which render at different sizes and weights across
platforms - that was the actual cause of the row looking uneven, not
just sizing. Swapped all four for matching stroke-style SVG icons.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:16:18 +00:00
MoepchiandClaude Sonnet 5 587c0048e3 Design store: fix button sizing/theming, move back button to header
The store's install button had accidentally inherited the icon-row's
big-icon sizing (shared class) and rendered huge. Gave it and the
publish/new-design/import/store buttons proper themed gradient styling
instead of the browser default, and moved "back" to a top-left header
button instead of stacking it under publish.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 06:58:07 +00:00
MoepchiandClaude Sonnet 5 eb7cb78042 Design store: reserved author names, screenshots, ratings, descriptions
Möpchi/Moepchi can only be used as an author name with a matching
STORE_ADMIN_TOKEN bearer token. Submissions can now include an optional
description and a manually uploaded screenshot (data URL, capped size),
shown on browse cards, plus a simple 1-5 star rating (one vote per IP
per theme).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 06:38:25 +00:00
MoepchiandClaude Sonnet 5 dd8528d3cb Make custom-theme card action icons noticeably bigger
15px/0.4rem padding still read as tiny per user feedback. Bump to 20px with
a fixed 2.4rem min-height so the icons are unmistakably buttons, not text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 06:28:46 +00:00
MoepchiandClaude Sonnet 5 dcb57aedbe Enlarge and improve contrast of custom-theme card action icons
The edit/duplicate/export/delete row used 12px muted-color icons with no
horizontal padding - hard to hit and easy to lose against darker custom
themes. Bump size/padding and switch to the full-contrast text color.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 06:24:36 +00:00
MoepchiandClaude Sonnet 5 bd33b962fe Add client-only Design Store MVP
Opt-in gateway endpoints (STORE_ENABLED=1, off by default like every other
optional feature here) to browse and publish community themes, reusing the
existing {name, baseTheme, css} export/import shape so no new packaging
format is needed. CSS is sanitized against @import and remote url() before
being accepted, since it's rendered on other users' pages. Client side adds
a "Store" button to the design picker with a browse/install and a publish
view built on the same DesignPanel patterns as import/export.

No website-side store yet - deliberately client-only for the MVP.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 21:22:57 +00:00
MoepchiandClaude Sonnet 5 7b52c0baa4 Route mic self-test monitoring through the (possibly AEC3-cancelled) signal
setMonitoring() connected the raw pre-AEC3 mic source straight to playback,
so the self-test howled regardless of AEC3 - it was bypassing the whole
cancellation path entirely, not failing to cancel. Mirror the processed
signal into the ScriptProcessorNode's own output and monitor that instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 18:41:31 +00:00
MoepchiandClaude Sonnet 5 effabafa23 Fix AEC3 pitch drift by using the AudioContext's actual sample rate
The requested AudioContext sampleRate is only a hint - some backends
(notably Linux/PulseAudio) silently run at their own native rate anyway.
AEC3 was told the requested rate (48000) regardless, so its internal
frame timing drifted from the actual sample rate its buffers came in at,
audibly heard as the echo's pitch descending with each repeat instead of
being cancelled.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 18:33:33 +00:00
MoepchiandClaude Sonnet 5 258d108f59 Add opt-in WASM AEC3 echo canceller for speaker+mic setups
Off-by-default toggle in the recording options (Aufnahmeoptionen), using
@ennuicastr/webrtcaec3.js (Google WebRTC's AEC3, compiled to WASM) as a
stronger supplement to native browser echo cancellation - addresses the
speaker+studio-mic (no headset) case from issue #2. Native echoCancellation
is turned off while this is enabled since running both fights the same
signal. Assets are synced from node_modules into public/vendor/ at
dev/build time rather than committed, since the module's glue code needs
its .wasm co-located under an exact, unhashed filename.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 18:12:52 +00:00
MoepchiandClaude Sonnet 5 3ffd7e5ce5 Fix unstyled "In new tab" button in Nova connect dialog
The Nova connect dialog styles its buttons per-class rather than via
the shared wrapper selector Standard/Pulse use. The Cancel and Connect
buttons had their Nova classes, but "In new tab" had none, so it fell
back to unstyled browser-default chrome instead of matching Cancel's
outline style.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 07:22:05 +00:00
MoepchiandClaude Sonnet 5 ae8f1f764b Fix dialog backdrop rendering below floating donate/feedback buttons
.ts-dialog-backdrop was z-index:15 while the donate/feedback FABs are
z-index:500, so any modal (connect dialog, settings, etc.) opened while
those buttons are visible left them floating undimmed in front of the
backdrop instead of behind it. Bumped the backdrop above the FABs but
below the update-available toast (600).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 06:58:37 +00:00
MoepchiandClaude Sonnet 5 42ac4e9aaa Fix Nova design: floating FABs overlapping chat composer, textarea stuck collapsed
Nova relocates the self/voice toolbar below the chat panel, adding ~6.7rem
of footprint the fixed-position donate/feedback buttons didn't account for,
so they landed on top of the composer's send button. Also the chat
textarea's auto-resize effect only ran on chatInput/theme change, so on
first mount (while the chat panel was hidden pre-connect, scrollHeight 0)
it locked in a near-zero height that never got recalculated after
connecting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 06:40:34 +00:00
MoepchiandClaude Sonnet 5 faeb269fdd Add URL-based and build-time auto-connect (closes #10)
Landing pages can now send visitors straight into a TeamSpeak server:
a ?connect=host&nickname=&channel=&token= share link auto-connects on
any deployment, or a self-hoster can bake in a default server at build
time (VITE_DEFAULT_SERVER/VITE_DEFAULT_CHANNEL, mirroring the existing
DONATE_URL Docker ARG pattern) so every visitor auto-joins with zero
params. A share link always overrides the build-time default. Waits
for the mandatory first-visit ToS gate where applicable, falls back to
a prefilled reopened connect dialog on failure, and generates a
Guest-XXXX nickname when none is available.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-16 12:34:14 +00:00
MoepchiandClaude Sonnet 5 8d17514774 Add Weblate translation link to language settings and Help menu
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 20:01:58 +00:00
MoepchiandClaude Sonnet 5 d62e47ca63 Move translations to plain JSON files (de/en/zh-CN/fa)
Translation strings were split across inline TS objects in i18n.tsx
(de/en) and separate .ts modules (zh-CN, fa). Consolidated into one
JSON file per language under web/src/locales/ - translation tools
(e.g. Weblate) can read/write these directly, and i18n.tsx is now
just the loader/lookup logic. No string content changed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 19:08:03 +00:00