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
@@ -6,29 +6,6 @@ use crate::app::{Bridge, MainWindow, with_app};
|
||||
|
||||
pub(super) fn wire(ui: &MainWindow) {
|
||||
let bridge = ui.global::<Bridge>();
|
||||
#[cfg(not(target_os = "android"))]
|
||||
{
|
||||
bridge.on_myts_login(|email, password, otp| {
|
||||
with_app(|app| {
|
||||
app.myts_login(email.to_string(), password.to_string(), otp.to_string())
|
||||
});
|
||||
});
|
||||
bridge.on_myts_logout(|| {
|
||||
with_app(|app| app.myts_logout());
|
||||
});
|
||||
bridge.on_myts_dismiss(|| {
|
||||
with_app(|app| app.myts_dismiss());
|
||||
});
|
||||
bridge.on_myts_retry(|| {
|
||||
with_app(|app| app.myts_retry());
|
||||
});
|
||||
bridge.on_myts_portal(|action| {
|
||||
with_app(|app| app.myts_portal(action));
|
||||
});
|
||||
bridge.on_myts_badge(|index, on| {
|
||||
with_app(|app| app.myts_badge(index, on));
|
||||
});
|
||||
}
|
||||
bridge.on_open_settings(|| {
|
||||
with_app(|app| app.open_settings());
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user