The public client repository must not carry third_party/schema-api: TeamSpeak's non-public myTeamSpeak API protocol definitions, which came without a licence. The account sign-in built on them (crates/voelin-myts) goes with it, since nothing else in the client used that snapshot. Removed: third_party/schema-api, crates/voelin-myts, the account module of voelin-ui (sign-in, saved session, profile, avatar, badges, User Tag), the login page at start and the live account test of voelin-core. The workspace members, default-members and exclude lists, both manifests and Cargo.lock no longer name them (tonic, prost-build and their dependencies drop out of the lock file and THIRD_PARTY_NOTICES.md; about.hbs has no schema-api section). Settings -> My Account keeps the identity in use and shows a note that account sign-in is not available in this build. The Slint account screens stay, fed neutral values (Bridge.myts keeps its default: signed out, not available, no prompt), so the account can return without redoing them. The TeamSpeak protocol parts in tsproto/tsclientlib (myTS ID, other users' badges and avatars) are untouched. The account returns later through the gateway library (VoelinGateWay); the research notes in docs/research/myteamspeak.md stay and say so. CHANGELOG, docs/ui.md, docs/identity.md and SECURITY.md no longer describe the account as present. A session an earlier build saved stays in the system keyring (item myts/session) until the user deletes it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
259bdee6e1
commit
1bee9c94e8
24 files changed
+58
-2385
No files matched your search
@@ -1283,6 +1283,8 @@ export global Bridge {
|
||||
// Settings pages: a section was shown (its data is loaded then).
|
||||
callback settings-section(int);
|
||||
in property <AccountForm> account;
|
||||
// Not set in this build (see `AccountCard`): the default form is signed
|
||||
// out, unavailable and without the login page.
|
||||
in property <MytsForm> myts;
|
||||
in property <string> primary-name: myts.signed-in || myts.restoring ? (myts.username != "" ? myts.username : myts.email) : nickname != "" ? nickname : app-name;
|
||||
callback myts-dismiss();
|
||||
|
||||
@@ -451,11 +451,16 @@ component SessionActions inherits HorizontalLayout {
|
||||
}
|
||||
|
||||
// Settings → My Account.
|
||||
//
|
||||
// The account sign-in is not part of this build: nothing sets `Bridge.myts`,
|
||||
// so it keeps its default (signed out, not available, no prompt) and the card
|
||||
// shows only the note. The rest of this file stays for the account that comes
|
||||
// back through the gateway.
|
||||
export component AccountCard inherits Card {
|
||||
title: @tr("myTeamSpeak");
|
||||
icon: Icons.user;
|
||||
subtitle: Bridge.myts.signed-in ? @tr("Your account") : Bridge.myts.restoring ? @tr("Checking your saved session") : @tr("Sign in to make your account your main profile");
|
||||
if !Bridge.myts.available: Note { text: @tr("Account sign-in is available on desktop."); }
|
||||
subtitle: !Bridge.myts.available ? "" : Bridge.myts.signed-in ? @tr("Your account") : Bridge.myts.restoring ? @tr("Checking your saved session") : @tr("Sign in to make your account your main profile");
|
||||
if !Bridge.myts.available: Note { text: @tr("Account sign-in is not available in this build."); }
|
||||
if Bridge.myts.signed-in || Bridge.myts.restoring: AccountProfile { }
|
||||
if Bridge.myts.available && !Bridge.myts.signed-in && !Bridge.myts.restoring: LoginForm { }
|
||||
if AccountText.status(Bridge.myts.status) != "" || AccountText.persistence(Bridge.myts.persistence-status) != "": AccountNotices { }
|
||||
|
||||
Reference in new issue
Block a user