- Block Incoming Whispers: toolbar toggle and the three TS3 hotkey actions;
mutes all whispers per server, kept across reconnects.
- Server Connection Info window (server menu or toolbar), as in TS3:
version with build date, uptime, ping, loss and live In/Out traffic.
The shared figures panel moves out of ConnectionInfoDialog.
- ServerQuery clients are hidden in the tree unless toggled on (toolbar or
the bookmark's "Show ServerQuery clients"), remembered per bookmark.
- "Show Server Tabs" in the toolbar menu hides the server tab strip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The native client keeps numbering voice packets through silence, so a new
word arrives far ahead of where playback stopped. Playback concealed its
way towards it and the jitter buffer's loss reset threw away the held
start of the word. Once the talker has let go, playback now skips to the
next burst, keeping the delay it held, and starts a fresh Opus decoder as
the talker's encoder does.
Also: a late copy of a passed packet no longer keeps the buffer looking
non-empty, and a burst whose stop was lost rewinds its concealment so the
next burst does not land behind playback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Mode, saved: one sound at a time, each sound once (a click restarts
it) or mayhem (every click layers another copy). A tile click plays by
the mode; Stop is in the context menu.
- "Mix in microphone": when off, a playing sound replaces the open mic
rather than mixing with it.
- Volume, local volume, master volume and per-sound volume now reach
sounds already playing; a sound turned down to nothing no longer keys
the microphone.
- Toolbar and menu use the pack's SOUNDPACK icon, readable on dark themes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core: ClipMixer mixes clips into the capturing VoiceInput's frames (after
APM/VAD), transmitting past the gate while one plays; a mute still wins and
the clip runs out unheard. Sessions owns the mixer so sounds follow the
microphone between servers, and drops them when nobody captures. Soundboard
decodes (SoundFiles: wave or Ogg Opus, sniffed by content) off the caller's
thread, caches, and plays a local copy via the new stoppable
SoundPlayer.play(float[], volume). Sounds live in soundboard.properties.
Desktop: Self > Soundboard window (tile grid, click to play/stop, drop files
to add, edit/move/remove, sent and local volume), toolbar action, and hotkeys
Play Sound, Play/Stop Sound, Stop All Sounds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Right-clicking the toolbar now offers Customize Toolbar…, laid out like
the official window: a searchable tree of available actions by category,
the selected actions list, arrow buttons, drag and drop, and Reset to
Defaults. Changes apply live and are kept in the toolbarLayout setting,
empty standing for the default layout.
The toolbar is built from that layout out of 68 actions over connection,
self, dialogs, permissions, recording, channel, client and misc. Channel
actions act on the selected channel (or the selected client's, else our
own), client actions on the selected clients; buttons follow the tree
selection. Actions without a pack icon show their name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CONFIG_SYNC.md lists the class 5 config item's fields; none maps onto a
setting of ours, so sync leaves it alone. IMPLEMENTATION.md covers the
session lock, duplicate keys in the account, bookmarks following an
identity's conflict, interrupted runs, and what sync cannot catch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signing in held the login's lock across its requests, so asking whether
we are signed in waited for the network, up to a minute and more on a
throttled account; the session now has a lock of its own.
An identity whose key another account item already stands for is left as
the account has it, instead of merged into ours and written back over the
other. A bookmark that only lost an identity deleted here follows how
that identity's conflict is settled, rather than dropping the link even
when the identity is kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings → myTeamSpeak gets Synchronize, with conflicts settled in
SyncConflictsScreen. The default identity is no longer a synced field:
an identity new to the account carries it only when the account has
none, and one brought here takes it only when we have none, so
installations stop flipping each other's default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Options -> myTeamSpeak gains Synchronize. Items changed here and in the
account since the last run are listed field by field, the differences in
bold, each kept from one side; nothing changes until all are settled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MyTeamSpeakSync compares each item against what the last run left: a
change on one side goes to the other, deletions too, and an item changed
on both sides is a conflict for the user. The first run pairs items up by
identity key or bookmark name and address. Edits are written over the
item's Item_Data field by field, so what we do not model survives.
The protocol was probed live and checked against the official client:
the server stores whatever revisions it is sent and never reports a
collision, so the client re-reads the cursors before writing. Edits carry
last_known_version like the official client's, which applies them within
its one-minute poll. All requests now share one session; signing in for
each got the account's logins throttled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Servers write [url=www.teamspeak.com]; it showed as raw BBCode. An address
without a scheme now opens over https, as bare www. text in a message does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Quitting from the shutdown hook (SIGTERM) leaves every server, whose
disconnects then reach the mic hand-over and the notifier after their
threads have stopped. Both now drop work that comes in that late.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Our own leave also fires the socket's disconnect event, queued, so it was
reported twice, and a late one could tear down a reconnect already under way.
The event now counts only for the current socket, and not while we leave.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
session.ChatFeed decides which conversation a message, history, server
event or notice goes to and renders it; frontends get the lines through
chat.ChatSink and key conversations by chat.ChatKey. ServerSession.Listener
no longer passes on raw chat events. Swing now labels our own messages
with our nickname on the server and links our name to us in private chats.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
text.ByteSize writes sizes and rates as TeamSpeak does and replaces the
formatters in ChatHtml, FileBrowserDialog and ConnectionStatsFormat.
chat.ChatScope replaces ConnectionListener.ChatScope, ChatLogScope and
ChatPanel.Target, and the mappings between them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each setting is declared once with its key, type and range, and loaded
and saved from that list. Output device, volume and receive buffer, the
status bar and the master volume slider take effect through listeners
instead of calls wherever they change; Android does the same for output
settings and country flags. The Playback page previews voice volume with
the master volume applied.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ServerListDialog, ListEditorDialog and CtlOpusEncoder gain the Abstract
prefix. The list windows blank their status line with clearStatus() and
make icon-less menu items with item(text, action), instead of passing null.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ban list, complaints, privilege keys, offline messages and server
log windows each built the same frame, title, status line, key bindings,
load guard and reload-after-change. ServerListDialog does that once;
ServerTab keeps the open windows in one map.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MainCommands holds each command once: the plain ones act on the server
on screen, the ones taking a list of sessions serve hotkeys, which reach
the selected server or every connected one. The menu bar, toolbar and
HotkeyActions call it directly, so both Listener interfaces and the
forwarding in MainFrame are gone.
The menu's mute items no longer click the toolbar's buttons, and its
commander toggle now repaints the toolbar and tray.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
session.connection() is gone: the session hands out the model, our ids,
the microphone and speakers, ping and connection info, the server's
unique id, icon and avatar stores, myTeamSpeak, the connect error and a
blocking disconnectNow. The connection's remaining actions move into
helpers the session hands out instead of forwarding each method:
ClientAdmin (move, kick, ban, groups, talk power, poke, client details),
ChannelFiles (listing, mkdir, rename, delete, transfers and their
sounds) and ClientContacts (display names, volume, auto-mute, whisper
policy, sightings); ChannelAdmin also takes join, move, subscribe and
description requests. Dialogs take the session instead of the
connection.
Android's network handover now uses disconnectNow, which also cancels a
pending auto-reconnect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OwnClient owns the microphone and speakers and our flags (mute, deafen,
away, commander, talk request, phonetic nickname, input hardware) and
publishes them; Recording owns the recorder. ServerSession reads the
flags from OwnClient instead of keeping its own copy, and they are now
cleared when a connect starts rather than once it is done.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The channel, ban, privilege key, complaint, server log, offline message
and avatar helpers are public, each method running in the background and
answering a future; only the connection creates them. TeamspeakConnection
and ServerSession hand them out, which drops 30 one-line forwarders from
the connection. What the forwarders added moves into the helpers: the
stop-at-the-first-refusal loops, the "sent" log lines, re-reading an
edited channel's description and showing our own new avatar. The
complaint and offline message length limits move with them.
The icon chooser and the offline message composer take only their
helper; the other dialogs still need the connection for the model.
The connection's request runner is renamed Uplink, since
session.ServerLink is the ts3server:// link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ServerLink owns what lives from one connect to its teardown: the socket,
the thread ts3j dispatches events on, the threads requests run on and
the file transfer channel. It runs requests in the background and says
whether we are connected. The *Admin helpers take it, plus the model,
permissions or avatar store where they need them, instead of the whole
TeamspeakConnection; the connection's file transfer calls share its
"not connected" check instead of repeating it.
A myTeamSpeak refresh that fails because we left meanwhile is no longer
reported, as for every other request.
Also corrects 4a's commit hash in AUDIT-STRUCTURE.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ChatLog opens the on-disk log once the server is known, hands frontends
the server and channel history, and saves sent and received messages and
the server tab's log lines; with logging off, everything still reaches
the app unsaved. Announcer tells the user what happened as TeamSpeak
does: the server-tab line with linked channels and clients, the sound
pack's sound with its name variables, and errors with the matching
"insufficient permissions" or "error" sound.
ConnectionEventHandler uses both directly instead of nine helpers on the
connection, which no longer holds the sound notifier. The connection's
public API is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rules were spread over ServerSession's can* methods, ServerModel's
permits/mayHavePower/canDelete*, TeamspeakConnection and AvatarAdmin, and
Swing dialogs and Android's ServerController passed raw permission names.
Permissions now holds the server's permission table and the rules (offered
until the server says, unreported powers unknown until asked) and answers
one named question per capability. ServerSession.permissions() is the gate
for frontends: Permissions.NONE, allowing nothing, while disconnected.
ServerController's forwarding properties go the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
onClientJoin set every field and onClientChanged set the same ones again
behind presence checks, so the two drifted: a client entering as channel
commander showed as none until they toggled it, and the description they
entered with was dropped. applyClientProperties now maps each field once,
only when the event carries it, as applyChannelProperties does for
channels; the update keeps its side effects (info refresh, contacts,
unread count, announcements).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Server requests on TeamspeakConnection took callbacks given a value and an
error string, null on success, so frontends told a permission refusal from
other failures by the message's wording (ban list, server log) and core
needed a sentinel message for a refused search. They now return a
CompletableFuture that fails with a RequestException carrying the kind
(not connected, permission, failed) and the server's reason.
Replies hands the outcome to a success or a failure handler on a given
executor; Swing's Edt runs them on the event thread, so call sites no
longer marshal by hand. Android's ServerController, whose suspend calls
answered a String? that was null once done, returns Result instead.
lookupDatabaseClient answers an Optional rather than null.
Starts the structural audit in AUDIT-STRUCTURE.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a timeout or a server shutdown the session counts down and connects
again, back to the channel it was in, waiting 5, 10, 20, 40 and then 60 s
between attempts. A kick, a ban, leaving, or connecting elsewhere ends it, as
does a retry refused with a ban. The status bar shows the countdown with a
Cancel link. Off by default in core, so Android keeps its own NetworkFollower.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The main window comes back at its last size and position, maximised if it was;
a place no longer on any screen falls back to the default. The tree/chat
divider is saved like the tree/info one, and both keep their share of the
window as it is resized.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core keeps client_is_talker, the request's time and reason, and each
channel's needed talk power; clientedit grants or revokes, and "grant
next" picks whoever in our channel asked first, optionally revoking the
rest. The server refuses a request or a grant ("invalid parameter") from
or for a client that can already talk, so both are offered only to those
short of talk power. Grants dropped without an invoker (leaving the
channel, the channel's need changing) are not announced. Verified on a
local 3.13.7 server.
Desktop: Grant/Revoke Talk Power in the client menu, also for several
selected clients; the tree's badges in TeamSpeak's order (granted or
insufficient ahead of the groups, a request after them); the request's
reason in the info panel; log lines; the three talk power hotkeys. The
Self menu's request item shows only while it is needed.
Android: grant/revoke among the client sheet's admin actions, request or
cancel on our own sheet, the same badges in the tree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Asking for i_client_move_power and the like (permget) needs
b_client_permissionoverview_own, which custom moderator groups often lack
although they hold the powers; servergrouppermlist is refused too. A
refusal counted as 0, so Android hid actions the official client allows.
Now a refusal means unknown and the actions are offered, as the official
client always does, leaving the server to judge; only an answered 0 hides
them. Verified with such a group on a local 3.13.7 server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Desktop: Ctrl/Shift in the tree (ClientSelectionModel keeps a selection to
one row of any kind or several clients; a Shift range keeps its clients),
drag them onto a channel, or right-click for Kick Clients from Channel /
Server and Move Clients to own Channel. The selection survives rebuilds.
Android: long-press a client, tap more; a bar offers Move to…, Move to my
channel and both kicks (as far as we may), Back clears it.
Core sends one piped clientmove / clientkick. The server refuses the whole
pipe when one row fails ("already member of channel"), so it leaves out
clients already in the target, and for a channel kick those already in
the default channel, which the model now tracks (channel_flag_default).
Verified on a local 3.13.7 server with both frontends.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bookmark editors (desktop dialog, Android screen) get TeamSpeak's
button beside the default channel, with its MAKE_CURRENT_CHANNEL_DEFAULT
icon: it takes the channel we are in, enabled while we are on the server
the form's address and port lead to (Sessions.connectedTo). The Android
channel sheet drops "Add to bookmarks"; the server sheet keeps it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Whispering can't be gated on permissions: our i_client_whisper_power is
never reported (and guests may not permget it), and whether a whisper gets
through depends on the target's needed whisper power, which clients can't
see. So the whisper menu and the Whisper / Add to whisper list actions are
shown only for servers connected from a bookmark that asks for them; an
edit of that bookmark applies without reconnecting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The channel menu (desktop) and channel sheet (Android) leave the entry out
when i_ft_file_browse_power is 0. Unlike move/kick/ban powers it is among the
needed permissions the server reports, and with it at 0 ftgetfilelist is
refused even where the channel needs no power (verified on a local 3.13.7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signs clientinit with the account's Ed25519 key over the connection
challenge, honours the per-bookmark switch, sends updatemytsid on
sign-in/out, and connects without the ID when myTeamSpeak is unreachable.
Verified live against server.lixko.eu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TeamSpeak 6 syncs chat contacts as item class 8 (Item_Data field 25). They
are imported as friends keyed by myTeamSpeak ID, taken from the item or from
the partner's chat ID (@<base32 id>:<homeserver>), the same bytes servers
report as base64 client_myteamspeak_id. The contact list matches them to
clients through the ID each client carries.
Bookmarks gain TeamSpeak's "Enable myTeamSpeak features" switch
(send_mytsid_on_server), stored and imported but not yet sent; what is
still missing is noted in docs/myteamspeak/myteamspeak_server_signin.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bookmark.hostPort gives the address alone for port 9987 and address:port
otherwise. The Android connect screen, the myTeamSpeak item lists on
desktop and Android, and the display name of an unnamed bookmark use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The items the account synchronises are listed in an Identities and a
Bookmarks section, each with a Select all / Deselect all button on its
heading line, on desktop and Android. The desktop tables drop the Type
column and name the details column Nickname or Address.
FormPanel.sectionHeader and addSection take an optional trailing component.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Java/Kotlin sources move from com.ts3client to eu.lixko.ts3j.client, and
the Android application id becomes eu.lixko.ts3j.client. The product name
shows as "TeamSpook TS3j" in window titles, the tray, the launcher entries,
notifications and PipeWire streams.
The desktop profile directory, WM_CLASS and ts3j.* system properties keep
their names so existing settings and launchers carry on working.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TeamSpeak stores sync items in creation order; each names the item above
it in its folder, and a reorder only rewrites those links. The decoder
now keeps that link and SyncOrder follows the chains, so items read from
settings.db or myTeamSpeak come out as the official client lists them,
a folder's contents in its place. Broken links and loops go last in
stored order. Bookmarks imported earlier keep their place.
The reordered.db fixture was written by the official client.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>