Commit Graph
227 Commits
Author SHA1 Message Date
MoepchiandClaude Sonnet 5 0428f80af8 ROADMAP: add Design Store and AEC3 to available-today list
Both shipped since the roadmap was last touched and were missing from
the "Available today" section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 11:36:02 +00:00
MoepchiandClaude Sonnet 5 3c58650c1c Document and wire up STORE_URL for self-hosters
The Design Store defaults to the maintainer's shared catalog for
every build, but a self-hoster running their own gateway store
(STORE_ENABLED=1) had no way to actually point their Docker build at
it - VITE_STORE_URL existed in App.tsx but wasn't wired as a build
arg, and neither it nor the gateway-side STORE_* vars were documented
anywhere. Add the --build-arg STORE_URL passthrough (same unset-means-
no-override convention as DEFAULT_SERVER) and document both it and
the STORE_ENABLED/STORE_DATA_FILE/STORE_ALLOWED_ORIGIN/STORE_ADMIN_TOKEN
gateway env vars in the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 11:30:02 +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
v0.13.0-beta.1
2026-09-18 11:22:40 +00:00
MoepchiandClaude Sonnet 5 da4f416e32 Extract feedback/connection logging into a swappable module
Same pattern as the recent store.ts extraction: feedback-log writes and
connection-event logging move from inline file/console I/O in index.ts
into activity-log.ts, called via logFeedback()/logConnectionEvent(). The
public default behavior is unchanged (JSON-lines file with rotation,
console logging gated by LOG_CONNECTIONS).

This is the piece of the private SQLite overlay's persistence swap that's
a clean drop-in replacement - the private VPS gateway now imports the same
two function names from its own activity-log.ts (SQLite-backed) instead of
patching these call sites into a forked index.ts.

Note: the private overlay's live host-ban enforcement (blocked_hosts
table, heartbeat-driven disconnect) is NOT extracted here - it has no
public equivalent and touches the WS connection/heartbeat control flow
directly, not just a persistence call. Left as-is for now.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 11:09:37 +00:00
MoepchiandClaude Sonnet 5 d54c4d0dc2 Extract design store into its own module
Moved all store code (constants, cache, handlers) from index.ts into
store.ts verbatim, no behavior change. It has zero private-VPS
modifications (unlike feedback/connection persistence, which the private
overlay patches to use SQLite), so this file can be copied unmodified into
the private overlay - future store changes there no longer need a manual
diff/patch against a hand-patched index.ts.

A full separate microservice was considered but rejected: this repo builds
one Docker image (connector + web + gateway) and self-hosters run one
container via docker-compose.yml; splitting the store into its own service
would force a second mandatory container for what's an opt-in, currently
tiny feature. A module boundary gets the actual pain point (patch-merge
friction) without that cost.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 11:00:11 +00:00
MoepchiandClaude Sonnet 5 c0e7f7412e Lower design store cap to bound worst-case RAM usage
STORE_MAX_THEMES was 2000, meaning the in-memory store cache could
theoretically grow to ~900MB (2000 * up to 450KB CSS+screenshot each) with
no eviction. 300 bounds that to ~135MB, which is proportionate for what is
currently a niche community design store.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 10:47:35 +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 a98cf59111 Design store: fix hasScreenshot/rating defaults for pre-existing themes
Themes published before this schema existed have no screenshot/rating
fields at all, so `t.screenshot !== null` (undefined) and the rating
counters (undefined += n) were both wrong for them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-18 06:46:38 +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 390a2b5749 Remove implicit database/analytics contrast from feedback log comment
Wording implied a fancier database-backed variant exists elsewhere;
just describe what this file actually is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 17:48:09 +00:00
MoepchiandClaude Sonnet 5 41e415d98b Trim env var docs to exclude the feedback/connection-logging pipeline
LOG_CONNECTIONS and the FEEDBACK_*/GITHUB_* vars are the same toggles
that data collection for the private stats panel is built on; leaving
those undocumented here on purpose.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 17:42:47 +00:00
MoepchiandClaude Sonnet 5 934c41fefd Document gateway environment variables in README
WEB_STATIC/WEB_DIST were mentioned once in passing for local dev; the
rest (feedback, broadcast, TLS, connection logging) weren't documented
at all, so self-hosters had to read gateway/src/index.ts to discover
them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 17:41:03 +00:00
MoepchiandClaude Sonnet 5 83afe6c2cd Fix path-traversal-adjacent bypass in static file containment check
The WEB_STATIC file server checked containment with a plain string
prefix (filePath.startsWith(WEB_DIST)), which a sibling directory
sharing that prefix passes without actually being inside WEB_DIST -
e.g. WEB_DIST "/app/web/dist" also accepts "/app/web/dist-backup/...".
Now requires an exact match or a path-separator boundary.

WEB_STATIC defaults to on, so this affects any self-hoster serving the
UI from the gateway with the stock config, not just this deployment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 17:35:54 +00:00
MoepchiandClaude Sonnet 5 667012d710 Fix WS message handler crash and stdin command injection in gateway
socket.on("message") parsed JSON and ran the whole handler switch with no
try/catch. Since the callback is async, any throw - malformed JSON from
any connected browser tab, or a handler throwing on unexpected input -
became an unhandled rejection and crashed the entire gateway process,
dropping every other connected user's live session. Now wrapped so one bad
message only errors back to that socket.

connection.ts wrote several fields (permission scope/ids, whisper targets)
straight into the connector's line-based stdin protocol without stripping
embedded CR/LF, unlike the sanitization already applied to every other
free-text field in the file - a newline in one of them could smuggle in a
second, attacker-chosen connector command. All stdin writes now go through
one writeLine() helper that strips embedded CR/LF, closing this for every
call site at once instead of patching each one individually.

Bumps the tsclientlib submodule for the matching SSRF/panic fixes there.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-17 11:06:16 +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 961084e9a0 README: expand auto-connect blurb into a full tutorial section
Own top-level section with a share-link table and the build-time
default walkthrough, instead of a two-line paragraph buried in the
Docker install steps.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-16 13:52:44 +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
v0.12.5-beta.1
2026-09-16 12:34:14 +00:00
MoepchiandClaude Sonnet 5 f44327aabc ROADMAP: add concrete accessibility milestone for the web client
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-15 18:03:32 +00:00
MoepchiandClaude Sonnet 5 7357dfa85d Bump tsclientlib: fix live stream start/stop not seen by connected clients
An already-connected client only learned about another client's TS6
stream via the initial snapshot; a live start/stop toggle mid-session
went out via notifyclientupdated, whose attribute list didn't include
client_is_streaming, so tsclientlib silently dropped it. Fixed upstream
in tsdeclarations/Messages.toml; only a reconnect used to pick it up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.4-beta.1
2026-09-15 17:37:00 +00:00
MoepchiandClaude Sonnet 5 ceeba24f86 ROADMAP: fix stale note about streaming UI flag being off
client.webspeak3.de's gateway has answered setupStream/joinStream/
sendStreamSignal since v0.11.0-beta.1 (2026-09-11); STREAM_UI_ENABLED
was flipped back on then but this doc never caught up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-15 17:16:13 +00:00
MoepchiandClaude Sonnet 5 817aa0f5f6 Gracefully disconnect live sessions on SIGTERM before exiting
Previously the container was killed with connector child processes still
mid-session, so the target TS3/TeaSpeak server only noticed the drop via
its own timeout. A client's automatic reconnect (see App.tsx's
scheduleReconnect) landing before that timeout got rejected as a
duplicate identity (e.g. ClientTooManyClonesConnected).

Now SIGTERM disconnects every live connection first (bounded to 5s) so
the target server frees the slot immediately. The connector's own
resulting "disconnected" event is suppressed from reaching the browser
during shutdown (shuttingDown flag) so the browser sees a raw socket
close, which it treats as an unexpected drop and retries, rather than an
explicit disconnect, which it treats as deliberate and gives up on.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.3-beta.3
2026-09-15 06:56:19 +00:00
MoepchiandClaude Sonnet 5 bc6022b45f Add optional token-authenticated /api/broadcast endpoint
Lets the operator send a free-text maintenance notice to every connected
browser tab via POST /api/broadcast (Bearer BROADCAST_TOKEN). Reuses the
existing {type:"notice"} WebSocket message the frontend already renders
for the SIGTERM restart notice, so no frontend changes are needed. Off
(404) unless BROADCAST_TOKEN is set, same opt-in convention as
FEEDBACK_ENABLED/LOG_CONNECTIONS.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.3-beta.2
2026-09-15 05:25:33 +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
v0.12.3-beta.1
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
MoepchiandClaude Sonnet 5 45af66f84b Tag Persian as beta in the language selector
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.2-beta.1
2026-09-14 19:02:57 +00:00
MoepchiandClaude Sonnet 5 be946c2a5e Add Persian (fa) translation, incl. RTL toggle
- New locales/fa.ts, 618 keys, full parity with de/en/zh-CN
- document.documentElement.dir flips to rtl/ltr with the active language
- Language selector + system-locale auto-detect (fa-*) updated

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.1-beta.1
2026-09-14 19:01:16 +00:00
MoepchiandClaude Sonnet 5 732a905f32 zh-CN: catch up 116 missing keys, drop 2 stale ones
Feedback dialog (incl. new report category), ToS modal, restart
notice, Hilfe menu, channel password dialog, custom design manager,
and the whole screen-share/publish feature were falling back to
English. Also removed connect.sendMyTeamSpeakId and
favorites.enableMyTeamSpeak, which no longer exist in de/en.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 18:53:19 +00:00
MoepchiandClaude Sonnet 5 77e147cc27 Add Hilfe dropdown menu (About, GitHub, Changelog, ToS)
Replaces the inert "Hilfe" label with a real dropdown, folding the
standalone ToS menubar item into it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
v0.12.0-beta.1
2026-09-14 18:42:57 +00:00
MoepchiandClaude Sonnet 5 b0495367cb Link ToS modal to legal pages, add report feedback category
- ToS modal: Datenschutzerklärung/Impressum words are now real links
- Feedback form: new "report" category (abuse/violation), hidden
  GitHub-issue option since reports must stay private
- Gateways: accept "report" in FEEDBACK_CATEGORIES

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 18:33:27 +00:00
MoepchiandClaude Sonnet 5 73303e1229 Add SIGTERM restart-warning broadcast and first-visit ToS modal
- Gateway: on SIGTERM, broadcast a "notice" event to every connected
  socket before shutting down, so an active call/stream doesn't just
  silently drop during a redeploy.
- Web client: new "notice" event handling shows a non-dismissable
  restart-warning dialog; new ToS modal shown on first visit to the
  own-hosted instance (client.webspeak3.de only), versioned via
  localStorage, reopenable from the menu.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 18:15:15 +00:00
MoepchiandClaude Opus 4.8 741528220e Bump tsclientlib: SRV on exact host only, no apex fallback (#9)
Pulls in the resolver fix so a subdomain with its own A record (e.g.
ts6.rush-zone.com) is no longer hijacked onto a different server's apex
SRV. Fixes #9.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-14 15:02:42 +00:00
MoepchiandClaude Opus 5 0b34e7ecfb web: put the donation pill below the feedback button
The two floating buttons swap places: the Ko-fi pill now sits in the
corner at bottom: 5.5rem and the feedback button stacks above it at
8.5rem, which keeps the same 12px gap the previous arrangement had.

The offset still follows the instance rather than the dialog, it just
moved to the other element: the feedback button only shifts up where the
donation pill is actually rendered, and takes the corner spot where the
build dropped it via VITE_DONATE_URL=.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-11 16:28:18 +00:00
MoepchiandClaude Opus 5 6ebc3e22e0 web: add a Ko-fi donation button
A small pill in the bottom right corner, in Ko-fi's own red rather than
the theme colors so it reads as what it is. It sits above the feedback
button where that one exists and takes its place where it does not; the
offset follows the instance rather than the dialog, so opening feedback
does not make it jump.

Unlike the feedback button this is not limited to the maintainer's own
instance - it ships in every build, the Docker image included. Since
that means self-hosters carry someone else's donation link, there is a
way out: VITE_DONATE_URL= (empty) drops the button, any other value
retargets it, and the Dockerfile passes it through as --build-arg
DONATE_URL. The "keep" sentinel there is not decoration - an unset and
an empty build arg are indistinguishable inside RUN, so without it
"not passed" would silently mean "remove".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-11 16:12:58 +00:00
MoepchiandClaude Opus 5 fa4daf7831 gateway: serve nothing to browsers when WEB_STATIC=0
The notice page at "/" was the last thing a browser could get from a
host that only exists to answer /ws and /api/feedback. It is gone; every
path now 404s, so the gateway hostname has no web presence at all.

That broke the container healthcheck, which probed "/" and required a
200 - a correctly configured gateway would have reported itself
unhealthy. The probe now has its own route, /healthz, served before the
WEB_STATIC branch so it answers in either mode.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-11 15:34:16 +00:00
MoepchiandClaude Opus 5 f48c1cc91a Say what WEB_STATIC=0 actually does in the startup log
The line pointed at the Vite dev server, which is only ever right on a
developer's machine - on a deployed gateway it reads like a bug report
waiting to happen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-11 12:45:02 +00:00
MoepchiandClaude Opus 5 cc715e24b2 Fix the feedback URL and stop serving a UI when WEB_STATIC=0
VITE_GATEWAY_URL names a WebSocket origin, and FEEDBACK_URL was derived
from it verbatim - so with VITE_GATEWAY_URL=wss://gateway.example the
form posted to wss://gateway.example/api/feedback, which fetch() refuses
outright ("TypeError: unknown scheme"). Every submission from a
separately hosted frontend failed before it left the browser. Map the
scheme back to http(s); an already-http VITE_GATEWAY_URL is untouched.

While there: WEB_STATIC=0 answered every path with the dev hint page,
which talks about localhost:5173 and npm run dev. That page is wrong for
a gateway that is reachable publicly, and an SPA-shaped answer on every
path makes the host look like a second, stale copy of the app. Serve a
short deployment-neutral notice at "/" and 404 everywhere else; the dev
hint stays for the case it is actually about, a missing web/dist.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
2026-09-11 12:39:50 +00:00