Merge the development branch: add a server by its address, TSDNS, gateway DNS
Both sides kept. From the development branch: the add-server dialog asks for the address and an optional password (the rest under Advanced when editing), servers are found through TSDNS and their gateways in DNS, wss:// gateways, the official client's identities imported on every start, and a bookmark built from the form over the old one. The dialog keeps this wave's join mode for Home's "Join a Server": its title says so, the button reads Join and connects once saved; adding and editing read as on the development branch. Saving takes the development branch's bookmark_from_form, which keeps the bookmark's identity as this wave's code did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
356bb0c6ac
21 files changed
+1294
-283
No files matched your search
@@ -12,7 +12,8 @@
|
||||
//! - `VOELIN_DEMO_STREAM=1`: a local test stream in the viewer.
|
||||
//! - `VOELIN_OPEN=<what>[,<what>...]`: open screens on start: `home`,
|
||||
//! `server`, `settings[:<section>]` (voice, keybinds, streaming, privacy,
|
||||
//! appearance, or 0-4), `about`, `share`, `bookmark` (add a server),
|
||||
//! appearance, or 0-4), `about`, `share`, `bookmark` (add a server;
|
||||
//! `bookmark:edit` the current one, Advanced open),
|
||||
//! `emoji` (the picker), `client` (the volume dialog of the first other
|
||||
//! client once connected), `panel` / `no-panel` (the members panel),
|
||||
//! `voice` (the voice channel view; on the phone its own screen),
|
||||
@@ -177,6 +178,12 @@ pub(crate) fn start(ui: &MainWindow, switches: &Switches) -> Running {
|
||||
with_app(|app| app.demo_share());
|
||||
}
|
||||
}
|
||||
// The current server's dialog, Advanced open.
|
||||
"bookmark" if arg == "edit" => {
|
||||
if let Some(id) = with_app(|app| app.current).flatten() {
|
||||
nav.invoke_edit_server(id as i32);
|
||||
}
|
||||
}
|
||||
"bookmark" => nav.invoke_add_server(),
|
||||
"emoji" => nav.set_emoji_open(true),
|
||||
"panel" => nav.set_right_panel_open(true),
|
||||
|
||||
Reference in new issue
Block a user