Commit Graph
100 Commits
Author SHA1 Message Date
erikbrockoandClaude Opus 5.5 d96339b72b Desktop: Customize Toolbar window
test / test (push) Has been cancelled
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>
2026-10-16 07:08:19 +00:00
erikbrockoandClaude Opus 5.5 212a4bcdbb myTeamSpeak docs: the synced config item, sync edge cases and limits
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>
2026-10-15 22:04:26 +00:00
erikbrockoandClaude Opus 5.5 f6fbc6e40c myTeamSpeak: sign-ins no longer block the UI; sync fixes
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>
2026-10-15 21:45:59 +00:00
erikbrockoandClaude Opus 5.5 1f61ad0b29 Android: Synchronize with myTeamSpeak; keep each installation's default identity
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>
2026-10-15 16:37:04 +00:00
erikbrockoandClaude Opus 5.5 116986c6fc Desktop: Synchronize with myTeamSpeak, with a conflicts window
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>
2026-10-15 12:37:50 +00:00
erikbrockoandClaude Opus 5.5 756e3850a3 myTeamSpeak: two-way sync of bookmarks and identities
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>
2026-10-15 12:37:50 +00:00
erikbrockoandClaude Opus 5.5 ab6bf30003 Link addresses written without a scheme, over https
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>
2026-10-14 20:32:18 +00:00
erikbrockoandClaude Opus 5.5 0043c03410 Desktop: no exceptions when servers report leaving after shutdown
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>
2026-10-14 20:30:11 +00:00
erikbrockoandClaude Opus 5.5 e9110c2767 Audit: note that an upload counts as done before the server has it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:17:56 +00:00
erikbrockoandClaude Opus 5.5 d61e96a07f ts3j: pad a short RSA puzzle answer instead of failing the connect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:17:56 +00:00
erikbrockoandClaude Opus 5.5 8239a41c6a Report leaving a server once
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>
2026-10-14 20:17:56 +00:00
erikbrockoandClaude Opus 5.5 cdbf051ca6 Android: don't crash on connect on Android 13
ChatFeed used Stream.toList(), which Android only has from API 34.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:17:56 +00:00
erikbrockoandClaude Opus 5.5 902f036ba0 Structural audit: record 12's commit; defer 13 and 14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:47:16 +00:00
erikbrockoandClaude Opus 5.5 7e794ffffe Swing ui package split by feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:34:12 +00:00
erikbrockoandClaude Opus 5.5 6070160fb6 Android servers get their shared parts from ServerParts, not SessionController
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:25:51 +00:00
erikbrockoandClaude Opus 5.5 382d76c3d8 Android app-wide stores out of SessionController; screens take only their parts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:55:08 +00:00
erikbrockoandClaude Opus 5.5 78b66ef346 Android ServerScreen state in holders: nav, find, picking; overlays apart
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:35:45 +00:00
erikbrockoandClaude Opus 5.5 a2a12804ad Chat lines are routed once, in core
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>
2026-10-12 23:37:33 +00:00
erikbrockoandClaude Opus 5.5 53585994a8 One byte-size format and one chat scope
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>
2026-10-12 23:01:42 +00:00
erikbrockoandClaude Opus 5.5 203082d040 Settings values are Setting<T>: one key each, change listeners
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>
2026-10-12 22:53:37 +00:00
erikbrockoandClaude Opus 5.5 bbe741d5cf Name abstract base classes Abstract*; no null as "nothing" in list windows
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>
2026-10-12 21:36:37 +00:00
erikbrockoandClaude Opus 5.5 e214f2141e Server list windows share one ServerListDialog base
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>
2026-10-12 21:36:16 +00:00
erikbrockoandClaude Opus 5.5 f7cf0401e4 Menu bar, toolbar and hotkeys share one set of commands
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>
2026-10-12 21:14:31 +00:00
erikbrockoandClaude Opus 5.5 de42429d08 Frontends reach a server only through ServerSession
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>
2026-10-12 20:58:25 +00:00
erikbrockoandClaude Opus 5.5 9107bdd02e Move our own state out of TeamspeakConnection: OwnClient, Recording
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>
2026-10-11 19:04:01 +00:00
erikbrockoandClaude Opus 5.5 c2090d8122 Keep ini4j's reflectively created constructors in release builds
R8 stripped IniParser's no-arg constructor, which ini4j's ServiceFinder
instantiates by reflection, so reading identities (myTeamSpeak login,
import) crashed the release build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:48:59 +00:00
erikbrockoandClaude Opus 5.5 959f7ed97a Frontends call the admin helpers directly, not through the connection
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>
2026-10-11 18:45:21 +00:00
erikbrockoandClaude Opus 5.5 da908f77bd Run server requests through ServerLink, not the whole connection
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>
2026-10-11 18:40:11 +00:00
erikbrockoandClaude Opus 5.5 1bc7eb58c1 Move the chat log and announcements out of TeamspeakConnection
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>
2026-10-11 18:11:23 +00:00
erikbrockoandClaude Opus 5.5 13e3a62042 Answer what we may do in one place: Permissions
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>
2026-10-11 16:53:11 +00:00
erikbrockoandClaude Opus 5.5 e255a4669c Parse a client's properties once, for joins and updates alike
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>
2026-10-11 16:47:34 +00:00
erikbrockoandClaude Opus 5.5 0552ed8be6 Requests return futures that fail with a typed RequestException
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>
2026-10-11 16:25:07 +00:00
erikbrockoandClaude Opus 5.5 985c54a362 Android: one APK for both ABIs in releases too
Drops the per-ABI release splits for abiFilters on arm64-v8a and x86_64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 15:56:34 +00:00
erikbrockoandClaude Opus 5.5 4ce78e9b29 Android: swipe between tree and chat, servers, and chat tabs
A sideways swipe over the channel tree turns to the chat (lying to its
right) or to the neighbouring connected server, as picked in Design
settings ("Swipe sideways": off, channel tree and chat, connected
servers). A swipe over the chat lines goes to the neighbouring tab, on
by default, and the tab row scrolls it into view. The page beside the
one on show follows the finger (SwipeHost); a swipe with nowhere to go
is left to the host further out, so the chat's tabs hand over to the
chat/tree swipe at either end. The choices are Android-only, kept in
their own SharedPreferences (SwipePrefs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 15:56:34 +00:00
erikbrockoandClaude Opus 5.5 13c1e8a659 Reconnect on desktop after a dropped connection
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>
2026-10-11 01:30:14 +00:00
erikbrockoandClaude Opus 5.5 b7a5828c43 Remember the window's place and the tree/chat divider
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>
2026-10-11 01:30:14 +00:00
erikbrockoandClaude Opus 5.5 a57700959f Request, grant and revoke talk power
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>
2026-10-11 01:15:39 +00:00
erikbrockoandClaude Opus 5.5 204cbd6048 Android: client sheet's admin actions behind "Admin actions…"
Move to channel, the kicks, the ban and the group pickers move under one
row that, once tapped, gives its place to them, raises the sheet and
scrolls them into view (ExpandableAction). The row shows only when one of
them is ours to use; "Move to own channel" stays in the main list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 00:51:05 +00:00
erikbrockoandClaude Opus 5.5 7fde4f502a Offer move/kick/ban when the server won't tell our powers
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>
2026-10-11 00:50:58 +00:00
erikbrockoandClaude Opus 5.5 c41b86f704 Select several clients in the tree to move or kick them together
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>
2026-10-11 00:50:32 +00:00
erikbrockoandClaude Opus 5.5 96e926168c Android: reorder the client sheet
Connection info moves to the end, just above the volume slider, which
stays last; "Add to whisper list…" is left out of the sheet for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 21:13:39 +00:00
erikbrockoandClaude Opus 5.5 3948db69bb Bookmarks: "this channel" button instead of the channel's "Add to bookmarks"
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>
2026-10-10 21:03:04 +00:00
erikbrockoandClaude Opus 5.5 173e710960 Android: per-bookmark "Show whisper controls", off by default
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>
2026-10-10 21:03:00 +00:00
erikbrockoandClaude Opus 5.5 d3731e297b Hide "Browse files" without the permission to list files
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>
2026-10-10 21:02:45 +00:00
erikbrockoandClaude Opus 5.5 801dfa39ab myTeamSpeak: announce the account ID to servers
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>
2026-10-10 20:04:59 +00:00
erikbrockoandClaude Opus 5.5 ca86c510b7 myTeamSpeak: import TeamSpeak 6 contacts; bookmark myTeamSpeak switch
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>
2026-10-10 17:56:29 +00:00
erikbrockoandClaude Opus 5.5 f78e4fcd66 Android: tidier client group dialogs
test / test (push) Has been cancelled
The group dialogs list a group we may not assign only when the client is
in it, and the rows drop the 48dp minimum touch target for a 6dp padding.
The Server groups and Channel group actions share one row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 16:33:54 +00:00
erikbrockoandClaude Opus 5.5 b586a80a14 Hide the default port in bookmark lists
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>
2026-10-10 15:29:42 +00:00
erikbrockoandClaude Opus 5.5 455fc514f5 myTeamSpeak: account items under Identities and Bookmarks
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>
2026-10-10 15:26:10 +00:00
erikbrockoandClaude Opus 5.5 00d9d85e54 Android: myTeamSpeak button on the connect screen without bookmarks
With no bookmarks, the connect screen shows "Sign in to myTeamSpeak"
("Import from myTeamSpeak" when signed in), which opens the same
myTeamSpeak screen as Settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:26:10 +00:00
erikbrockoandClaude Opus 5.5 cdd41e7527 Android: launcher label "TS3J"
"TeamSpook TS3j" does not fit under a home-screen icon, so the launcher
activity is labelled "TS3J". The application label, shown in App info and
notifications, stays "TeamSpook TS3j".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:10:29 +00:00
erikbrockoandClaude Opus 5.5 aee0e55df5 Android: product name on the connect screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:55:17 +00:00
erikbrockoandClaude Opus 5.5 a713b1e818 Android: keep chats scrolled to the newest line
A chat follows its end until the user scrolls away from it: a restored log,
new lines and content that grows later all keep the newest line fully in
view, a tall last message included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:55:17 +00:00
erikbrockoandClaude Opus 5.5 78fc45f9b2 Rename to TeamSpook TS3j, package eu.lixko.ts3j.client
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>
2026-10-10 14:43:34 +00:00
erikbrockoandClaude Opus 5.5 1a762c2689 Import bookmarks in TeamSpeak's order
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>
2026-10-10 13:15:28 +00:00
erikbrockoandClaude Opus 5.5 8d04cc5ba4 Android: connect bookmarks on startup
The bookmark page has a "Connect on startup" switch, the same flag the
desktop client and the TeamSpeak import use. A fresh launch connects
every such bookmark once per process, skipping the server a link or
home-screen shortcut opened the app to. The bookmarks list marks them
with a green "AC".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:15:28 +00:00
erikbrockoandClaude Opus 5.5 55e8b7bccb Android: signed, smaller release APKs
Release builds now come out one APK per ABI, signed from a gitignored
keystore.properties. Oboe is built from source with libopus and a static
libc++ into the one native library, which exports only its JNI entry
points; dex and native code are compressed in the APK and library
translations dropped. The arm64 APK went from 11.6 MB to 5.5 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 12:23:09 +00:00
erikbrockoandClaude Opus 5.5 44ecc15bd8 New application icon on both apps
Rubin's vase with a headset: the vase's outline is two faces looking at
each other, one talking into the microphone. Blue on transparent; the
Android launcher puts it on white, as no launcher shows a transparent
adaptive icon. Desktop windows, tray, the .desktop entry and the macOS
dock all use it, with a bolder variant below 32 px.

ts3-client/tools/AppIcon.java generates the SVGs and the launcher
foreground.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 23:06:46 +00:00
erikbrockoandClaude Opus 5.5 a334173fcc Android: whisper to channels, clients and whisper lists
The channel and client sheets whisper to them or add them to a whisper
list. The top bar's whisper menu picks a list, replies to the last
whisper, stops whispering and edits the lists; a banner over the voice
bar says who the microphone whispers to.

Core keeps the whisper on the session, finding its channels by path and
its clients by unique id again as the server changes, and the saved lists
in whisperlists.properties. ts3j now sends whisper packets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:19:52 +00:00
erikbrockoandClaude Opus 5.5 eed8049100 Android: browse a channel's files
Browse files on the channel sheet walks the channel's folders: download
to where the user picks, upload a document, new folder, rename, delete.
Transfers go through cache files and outlive the page, with progress and
cancel; a locked channel asks for its password first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:19:52 +00:00
erikbrockoandClaude Opus 5.5 7938b49b07 Android: create, edit and delete channels
A one-page channel editor with what the desktop dialog has but the
permissions and the icon: name, password, topic, description, type,
sorting, talk power, codec preset or codec and quality, and the limits.
Create channel is on the server sheet; create sub-channel, edit and
delete on the channel sheet, each only with the permission for it.

The codec list, presets and bandwidth move to core for both editors.
Core gains channel delete, and the desktop channel menu a Delete Channel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:19:52 +00:00
erikbrockoandClaude Opus 5.5 60ef727f22 Android: home-screen shortcuts to bookmarks
"Add to home screen" in a bookmark's menu pins a shortcut that connects
to the bookmark, or goes to its channel when already on that server. The
shortcut names the bookmark by a new stable id, so it follows edits and
stops working once the bookmark is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:19:52 +00:00
erikbrockoandClaude Opus 5.5 e76804fb2d Open ts3server:// links on both apps
A link connects with its nickname, passwords, channel (path or cid) and
privilege key, the key used once on; addbookmark saves it as a bookmark.
A link to a server we are on already goes to its channel instead.

Android takes the links from browsers and other apps through an intent
filter, and from chat. The desktop opens them from chat and descriptions,
and its launcher entry claims the scheme when run from the jar; a second
launch hands its link to the running instance over a Unix socket in the
user's runtime directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:19:52 +00:00
erikbrockoandClaude Opus 5.5 45d6fcda3d Ignore the bundled TeamSpeak 6 server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 18:40:10 +00:00
erikbrockoandClaude Opus 5.5 33066f454a Android: bookmark edit page, and bookmarks that join a channel
Edit from a bookmark's menu or create from the connect form: name,
address, passwords, identity, nickname, and the channel to join, picked
from the server's channels while connected there. The channel and server
sheets add the server as a bookmark joining that channel.

Bookmarking the current server takes the connect's own nickname and
password (core ServerSession.toBookmark), on desktop too, rather than the
global ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 18:26:18 +00:00
erikbrockoandClaude Opus 5.5 ad7bb4fc6e Fold the noise removal toggle into one Off/6/12/18/21 dB slider
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 18:16:06 +00:00
erikbrockoandClaude Opus 5.5 cbe92e84ff Fix myTeamSpeak sign-in for accounts with add-on items
The server returns every item class the account holds, not only the
requested ones, and add-on items come unencrypted. Decrypting them failed
the integrity check and aborted the whole import. Only decrypt the
classes that were asked for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 12:14:43 +00:00
erikbrockoandClaude Opus 5.5 ad9dfa5be0 Share pictures and files in chat, the way TeamSpeak 6 does
A shared file goes to the sender's myTeamSpeak cloud storage, and an
ordinary text message carries TeamSpeak 6's ts.file.myts pointer to it, so
TeamSpeak 6 users see the file and we see theirs. Pictures show inline
through the description picture cache, other files as a link to save;
logged history shows them too. Sharing and fetching need a myTeamSpeak
sign-in.

Desktop: share button, drop or paste files and pictures, a picture viewer.
Android: attach from the system picker, tap to view or save.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 11:23:25 +00:00
erikbrockoandClaude Opus 5.5 1bb788b501 Show the myTeamSpeak ID, UUID and creation date in the account tab
The ID is the account's base32 myTeamSpeak ID: the localpart of its chat
ID and the user the myTeamSpeak file API addresses. All three come from
the sign-in reply already fetched, on desktop and Android.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 08:03:59 +00:00
erikbrockoandClaude Opus 5.5 023b449fba Add offline messages: inbox, compose and reply, unread notice
Tools > Offline Messages (Ctrl+O) lists the server inbox, shows a message and
marks it read; compose and reply follow the official windows. The unread count
comes from client_unread_messages: new mail is logged with a link to the inbox
and shown as an envelope in the status bar. Recipients can be given by unique
id, which needs no search permission.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:58:44 +00:00
erikbrockoandClaude Opus 5.5 e54623bc47 Keep outgoing voice smooth over long sessions
Drain live mic frames each tick, raise capture priority, and hold a
high-performance Wi-Fi lock on Android so power saving stays off in the
background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:14:42 +00:00
erikbrockoandClaude Opus 5.5 59176ea017 Colour client rows in the channel tree: for everyone, while talking, while muted or away
Design settings on desktop and Android offer a few see-through presets
that suit light and dark themes alike, or a custom colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:47:51 +00:00
erikbrockoandClaude Opus 5.5 4cdbdea9a2 Join a channel by double-tapping it in the tree
The channel sheet's Join and the double-tap share one password prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:32:41 +00:00
erikbrockoandClaude Opus 5.5 ec3a43a689 Float a "Me" indicator over the channel tree while our own row is off screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:26:20 +00:00
erikbrockoandClaude Opus 5.5 ac01d3eacd Keep push-to-talk held when the finger slides off the button
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:19:06 +00:00
erikbrockoandClaude Opus 5.5 652027c1c1 Keep the channel tree's scroll position while the chat replaces it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:19:05 +00:00
erikbrockoandClaude Opus 5.5 f00490a663 Add Giant PTT: a full-screen talk button on Android and a resizable window on desktop
Holding it forces transmission in any input mode, past the voice-activation gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:14:43 +00:00
erikbrockoandClaude Opus 5.5 a2bfcf9f28 Move the remaining encoder settings to Network; use sliders for redundancy and buffering
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 21:03:00 +00:00
erikbrockoandClaude Opus 5.5 33317df2eb Rebuild Connection Info after the official dialog
Lay the window out as TeamSpeak 3's: name, times, ping and address
(with a copy button) beside the avatar, then Total / Speech / Keep Alive
/ Control tabs holding a Total / In / Out table, and a Quota tab. Android
gets the same tabs and table.

Wait for both notifyconnectioninfo reports for another client (the
server's cached copy, then the client's fresh counters) instead of
taking the first, often all zeros. Ask the server about ourselves too,
for our address and outgoing loss. Month transfer totals come from
clientgetvariables, our quota from the needed permissions, and file
transfers now count their bytes for our own transfer rate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:59:44 +00:00
erikbrockoandClaude Opus 5.5 70aac6f5ce Add extra receive buffering and decode Opus FEC on loss
A new Extra buffering setting (Network page) holds more playback delay
than the jitter buffer measures it needs, so late packets still make
it in time on a bad connection. A lost frame is now rebuilt from the
FEC copy in the next packet when that one is already held, and the
Connection Info shows how many were recovered.

Held packets' arrival marks now move with the timeline when the delay
changes; libspeex leaves them, which made a multi-frame jump count
twice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:38:20 +00:00
erikbrockoandClaude Opus 5.5 5ec4204d1d Move bitrate, FEC and redundancy to a Network settings page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:29:16 +00:00
erikbrockoandClaude Opus 5.5 9458ff3400 Add Connection Info on Android and count received voice
Connection Info gains a "Voice received" section on both frontends,
counting what our own playback made of a speaker's voice (everyone's,
for ourselves): packets received, frames played and missed, packets
out of order, dropped as too late, and discarded as copies. Android
gets the window itself as a page from the client sheet.

The rows and their formatting live in core, shared by both frontends;
the Swing dialog keeps its tabs on one row. A minute's bandwidth now
shows as the average rate it is labelled as, not the minute's bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:26:59 +00:00
erikbrockoandClaude Opus 5.5 c8c54bd381 Add voice redundancy and the encoder settings on Android
Redundancy sends every voice packet again, one to four times, 20 to
200 ms apart. Listeners' jitter buffers grow to wait for the copies,
native clients' included, so a lost packet costs nothing while a copy
arrives. With a native client listening over a bursty lossy uplink,
the frames lost to concealment fell from 10% to under 1%.

Android gets the desktop's encoder settings: bitrate, complexity, VBR,
FEC, music codec, and the new redundancy delay and copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:17:13 +00:00
erikbrockoandClaude Opus 5.5 6cd75eb1cd Let late voice packets teach the jitter buffer
A packet arriving after playback passed its slot was dropped before the
buffer saw it, so the buffer never learned how late packets ran and did
not grow to cover them. The official client puts every packet, however
late; such packets now reach the buffer too, without starting a new
talk burst.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:17:13 +00:00
erikbrockoandClaude Opus 5.5 853681fcaa Save server log settings without Stream.toList
Stream.toList() is API 34; on Android 13 every settings save crashed
with NoSuchMethodError once the server log settings were stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 20:17:13 +00:00
erikbrockoandClaude Opus 5.5 dc413f4975 Add voice recording
Tools > Start Recording / Start Multitrack Recording / Stop Recording
record what is heard on the server, our own voice included, into Ogg
Opus, and publish client_is_recording. A plain recording mixes everyone
down to mono; a multitrack one gives each speaker (by unique id) an
uncoupled mono stream of their own under channel mapping family 255,
named in the tags after their nickname when the recording started,
silent until they first speak, and continuing into name-2.ogg past 255
speakers. Tracks are spooled beside the output and muxed on stop, since
the header carries the channel count.

The status bar shows a label that stops the recording; the existing
recording hotkeys start one straight into the last-used folder.
OggOpusFile now shares the new Ogg page writer and Opus header code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 14:57:51 +00:00
erikbrockoandClaude Opus 5.5 93e0b36083 Drop the line count from the Server Log window
The label under the log now only appears while loading, on a failure or
for an empty log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:23:31 +00:00
erikbrockoandClaude Opus 5.5 8255d986ac Add the Server Log window
Tools > Server Log (Ctrl+Shift+L), offered with b_virtualserver_log_view,
reads the virtual server's log with logview, a hundred lines at a time,
with Show Older going further back. As in TS3, lines can be narrowed by
level, left out by exclude terms, coloured by keyword, and shown in UTC
or local time; the choices are kept in the settings. The find bar, with
its show-only-matches toggle, takes the place of TS3's separate search
and filter fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:19:52 +00:00
erikbrockoandClaude Opus 5.5 fb1de8ac5b Add the Complaints List and Make a Complaint
Tools > Complaints List (Ctrl+Shift+C) shows the server's complaints
grouped by target, with Remove, Reload and Ban Client, as TS3 does. The
client menu gains Make a Complaint below Poke. The complaint delete
permissions are missing from the needed-permissions subset, so they are
asked for alongside the move/kick/ban powers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:03:57 +00:00
erikbrockoandClaude Opus 5.5 ee1a83e981 Add shortcuts for Disconnect, Ban List and Options
Ctrl+D disconnects from the current server, Ctrl+Shift+B opens the ban
list (only where it may be viewed) and Alt+P the options.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 00:11:15 +00:00
erikbrockoandClaude Opus 5.5 06180b4273 Add Request Talk Power and Set Phonetic Nickname to the Self menu
A request asks for a reason, as TS3 does, and turns the item into Cancel
Talk Power Request until it is granted or withdrawn. The phonetic nickname
applies to the current server. client_talk_request carries the request's
timestamp, so any non-zero value now counts as a pending request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 00:04:46 +00:00
erikbrockoandClaude Opus 5.5 7c2d4c7c42 Match TS3's menu layout: Self's away submenu and mic items, bookmarks first, more shortcuts
Self now opens with a Set Away submenu mirroring the toolbar button, then
Activate Microphone and Mute/Unmute items that follow the current state.
The bookmark actions come before the bookmarks. Shortcuts: Ctrl+Q quits,
Ctrl+B manages bookmarks, Ctrl+I opens Identities, Ctrl+Shift+O Contacts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 00:04:37 +00:00
erikbrockoandClaude Opus 5.5 2351b174f8 Leave all servers in parallel on shutdown
test / test (push) Has been cancelled
Quitting tells every server goodbye at once, so leaving takes as long as
the slowest server rather than all of them together. Desktop and Android
both go through ServerSession.shutdownAll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 06:55:15 +00:00
erikbrockoandClaude Opus 5.5 5fd2a612b9 Show the local client's state in the Android connection notification, like the tray icon
The notification follows the server holding the microphone, as the desktop tray
does, and draws its state: the Material glyph in the status bar, the chosen
pack's art as the large icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:21:42 +00:00
erikbrockoandClaude Opus 5.5 2d83eafffd Android: Design settings page, Contacts in Settings, server icons in the switcher
Appearance options move to their own Design page. Contacts is the first
Settings entry instead of a top-bar button. The top bar and the server
switcher show each server's own icon, else the pack's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:12:16 +00:00
erikbrockoandClaude Opus 5.5 4911542d39 Add a Permissions menu with privilege keys: list, create, remove and use
Permissions > Use Privilege Key redeems a key (tokenuse). Permissions >
Privilege Keys opens a per-tab window listing the server's keys with
their group, channel, creation date and description; keys can be created,
removed, copied and reloaded. The create dialog takes a server group, or a
channel group in a chosen channel, plus a description, offers only groups
we have the power to add members to, and shows each new key for copying.

tokenlist and tokenadd answer with notifytokenlist / notifytokenadd ahead
of the command's completion, so core collects them the way it does the
ban list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:00:27 +00:00
erikbrockoandClaude Opus 5.5 2c1b37ee30 Show servers' icons on bookmarks, and their host button in the toolbar's corner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 22:28:35 +00:00
erikbrockoandClaude Opus 5.5 cf1db61a4a Kick, ban and set groups from the Android client sheet, with a ban list
The client sheet offers kicking from the channel or the server (asking to
confirm, with an optional reason), banning with a reason and duration, and
the client's server groups and channel group. The server sheet opens the ban
list: search, own bans only, and adding, editing and deleting bans, with the
reason presets the desktop keeps.

Kick and ban powers, like move power, never come with the needed
permissions, so core now asks for all four in one piped permget. The ban
permission checks, a ban's summary, the duration units, the group choices
for a client and the kick reason limit move into core, and Swing uses them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:27:29 +00:00
erikbrockoandClaude Opus 5.5 76f6a9feed Drop the Options dialog's page banner
It only repeated the page selected in the sidebar, and took vertical
space from the page itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 17:11:43 +00:00
erikbrockoandClaude Opus 5.5 e06bb82299 Lay out the Options dialog like TeamSpeak 3's
A sidebar of pages with large icons replaces the tabs, and each page
opens under a banner with its title, subtitle and icon. OK, Cancel and
Apply sit below, and the dialog reopens on the last page used.

The pages follow TS3's: Application (muted-microphone warning, reported
client version), myTeamSpeak, Playback, Capture, Design, Hotkeys,
Contacts, Chat and Notifications. Capture now holds everything from the
microphone to the server: the device and gain, activation with the
microphone test, signal processing and the encoder, laid out in one
grid so its columns line up. Forms are grouped under section headings.

Cancel now goes back to what was last applied, and closing the window
cancels too, so a theme or icon pack being tried out is put back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 17:07:13 +00:00