diff --git a/CHANGELOG.md b/CHANGELOG.md index a524671..fdf5a2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Added: signed updater +- Settings, Updates: installed client version and LNEx protocol version, manual check, download and install, rollback, and an automatic update switch (check and download in the background, install on the next start, never during a voice call). +- Updates come from the Gitea release `manifest.json` plus detached Ed25519 `manifest.json.sig`, verified before parsing; archive size and SHA-256 are verified, downgrades and foreign hosts are refused, the archive is extracted safely and the previous release is kept for rollback. The embedded release key in `src/update/keys.rs` is a placeholder until the real key is set, so updates stay off until then. + ### Changed (breaking): LNEx v3, TLS 1.3 control connection - The control connection is TLS 1.3 only (rustls, ALPN `vnox-lnex/3`). The custom X25519/HKDF/ChaCha20 TCP layer, the plaintext loopback shortcut and the `lnex://` plaintext meaning are removed. Protocol version `v3`; old gateways are refused with an explicit error, no fallback. - Server trust: SPKI SHA-256 pin stored in `~/.config/vnox/known_servers.json` (trust on first use with a confirmation dialog, RU/EN), public CA certificates accepted without a prompt, a changed fingerprint or server identity is blocked and offers "Forget this server". diff --git a/src/main.rs b/src/main.rs index 00e5527..faa8f7a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -83,6 +83,7 @@ fn main() -> Result<()> { ))?)); wire_signals(&window, &state); ui::media::wire(&window, &state)?; + let _update_timer = ui::updater::wire(&window, &state); let timer = slint::Timer::default(); { diff --git a/src/ui/mod.rs b/src/ui/mod.rs index a794b63..a60ca23 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -10,5 +10,6 @@ pub mod slint; pub mod sounds; pub mod state; pub mod update; +pub mod updater; pub mod webhooks; diff --git a/src/ui/slint/main.slint b/src/ui/slint/main.slint index 0dfd2e5..f895eed 100644 --- a/src/ui/slint/main.slint +++ b/src/ui/slint/main.slint @@ -2,6 +2,7 @@ export { WebhookWindow, WebhookRow } from "webhooks.slint"; export { ScreenShareWindow, ScreenViewerWindow } from "screen-share.slint"; export { UnlockWindow } from "unlock.slint"; export { Theme } from "theme.slint"; +export { UpdateUi } from "settings/updates.slint"; export { EmojiCatalog, EmojiItem } from "emoji-picker.slint"; import { Theme, ActionButton } from "theme.slint"; import { Sidebar, ChannelItem, GuildItem, DmItem } from "sidebar.slint"; diff --git a/src/ui/slint/settings.slint b/src/ui/slint/settings.slint index 07ae296..6fc8c76 100644 --- a/src/ui/slint/settings.slint +++ b/src/ui/slint/settings.slint @@ -3,6 +3,7 @@ import { AudioSettings } from "settings/audio.slint"; import { SoundSettings } from "settings/sounds.slint"; import { AppearanceSettings } from "settings/appearance.slint"; import { IdentitySettings } from "settings/identity.slint"; +import { UpdateSettings } from "settings/updates.slint"; component SettingsNav inherits Rectangle { in property label; @@ -102,6 +103,7 @@ export component SettingsWindow inherits Rectangle { SettingsNav { label: @tr("Audio & microphone"); detail: @tr("Devices and voice input"); mark: "mic"; active: root.active-tab == "audio"; clicked => { root.active-tab = "audio"; } } SettingsNav { label: @tr("Appearance"); detail: @tr("Themes, colours and text"); mark: "palette"; active: root.active-tab == "appearance"; clicked => { root.active-tab = "appearance"; } } SettingsNav { label: @tr("Profile and keys"); detail: @tr("Security and backup"); mark: "user"; active: root.active-tab == "identity"; clicked => { root.active-tab = "identity"; } } + SettingsNav { label: @tr("Updates"); detail: @tr("Version and updates"); mark: "shield-check"; active: root.active-tab == "updates"; clicked => { root.active-tab = "updates"; } } Rectangle { vertical-stretch: 1; } Rectangle { height: 1px; background: Theme.border; } Text { text: "VNOX"; color: Theme.text-secondary; font-size: Math.max(Theme.font-size - 3px, 11px); font-weight: 700; height: 30px; vertical-alignment: bottom; } @@ -118,8 +120,8 @@ export component SettingsWindow inherits Rectangle { padding-left: 34px; padding-right: 28px; padding-top: 29px; padding-bottom: 20px; spacing: 18px; VerticalLayout { spacing: 6px; - Text { text: root.active-tab == "appearance" ? @tr("Appearance") : root.active-tab == "identity" ? @tr("Profile and keys") : @tr("Audio & microphone"); color: Theme.text-primary; font-size: Theme.font-size + 12px; font-weight: 700; } - Text { text: root.active-tab == "appearance" ? @tr("Make Vnox yours.") : root.active-tab == "identity" ? @tr("Your profile, kept safe.") : @tr("Make yourself heard, your way."); color: Theme.text-muted; font-size: Math.max(Theme.font-size - 3px, 11px); } + Text { text: root.active-tab == "appearance" ? @tr("Appearance") : root.active-tab == "identity" ? @tr("Profile and keys") : root.active-tab == "updates" ? @tr("Updates") : @tr("Audio & microphone"); color: Theme.text-primary; font-size: Theme.font-size + 12px; font-weight: 700; } + Text { text: root.active-tab == "appearance" ? @tr("Make Vnox yours.") : root.active-tab == "identity" ? @tr("Your profile, kept safe.") : root.active-tab == "updates" ? @tr("Stay current, safely.") : @tr("Make yourself heard, your way."); color: Theme.text-muted; font-size: Math.max(Theme.font-size - 3px, 11px); } } Rectangle { horizontal-stretch: 1; } VerticalLayout { alignment: start; ActionButton { text: @tr("Close settings"); icon: "x"; width: 34px; height: 34px; quiet: true; clicked => { root.close(); } } } @@ -130,7 +132,7 @@ export component SettingsWindow inherits Rectangle { content-width: self.width; VerticalLayout { padding-left: 34px; padding-right: 34px; padding-top: 28px; padding-bottom: 16px; spacing: 0; - if root.active-tab == "audio" || (root.active-tab != "appearance" && root.active-tab != "identity") : AudioSettings { + if root.active-tab == "audio" || (root.active-tab != "appearance" && root.active-tab != "identity" && root.active-tab != "updates") : AudioSettings { input-devices: root.input-devices; output-devices: root.output-devices; input-device-index <=> root.input-device-index; @@ -140,7 +142,7 @@ export component SettingsWindow inherits Rectangle { volume <=> root.volume; audio-changed => { root.audio-changed(); } } - if root.active-tab == "audio" || (root.active-tab != "appearance" && root.active-tab != "identity") : SoundSettings { + if root.active-tab == "audio" || (root.active-tab != "appearance" && root.active-tab != "identity" && root.active-tab != "updates") : SoundSettings { sounds-enabled <=> root.sounds-enabled; sounds-volume <=> root.sounds-volume; sounds-voice-room <=> root.sounds-voice-room; @@ -167,6 +169,7 @@ export component SettingsWindow inherits Rectangle { import-theme(path) => { root.import-theme(path); } export-theme(path) => { root.export-theme(path); } } + if root.active-tab == "updates" : UpdateSettings { } if root.active-tab == "identity" : IdentitySettings { own-avatar: root.own-avatar; has-avatar: root.has-avatar; diff --git a/src/ui/slint/settings/updates.slint b/src/ui/slint/settings/updates.slint new file mode 100644 index 0000000..4a9e5b1 --- /dev/null +++ b/src/ui/slint/settings/updates.slint @@ -0,0 +1,79 @@ +import { Theme, ActionButton } from "../theme.slint"; + +// State and actions of the updater. Rust fills the properties and handles the callbacks +// (src/ui/updater.rs); the panel below only shows them. +export global UpdateUi { + in-out property installed-version; + in-out property lnex-version; + in-out property state-text; + in-out property central-text; + in-out property auto-update: true; + in-out property busy; + in-out property can-download; + in-out property can-install; + in-out property can-rollback; + callback check(); + callback download(); + callback install(); + callback rollback(); + callback auto-update-changed(bool); +} + +component InfoRow inherits Rectangle { + in property label; + in property value; + height: 30px; + HorizontalLayout { + spacing: 12px; + Text { text: root.label; color: Theme.text-muted; font-size: Math.max(Theme.font-size - 2px, 11px); width: 170px; vertical-alignment: center; } + Text { text: root.value; color: Theme.text-primary; font-size: Math.max(Theme.font-size - 2px, 11px); vertical-alignment: center; overflow: elide; } + } +} + +export component UpdateSettings inherits Rectangle { + VerticalLayout { + spacing: 0; + alignment: start; + Text { text: @tr("Version and updates"); color: Theme.text-primary; font-size: Theme.font-size + 2px; font-weight: 600; } + Text { text: @tr("Updates are signed and checked before they are installed. Your profile and data are not touched."); color: Theme.text-muted; font-size: Math.max(Theme.font-size - 3px, 11px); wrap: word-wrap; } + Rectangle { height: 18px; } + InfoRow { label: @tr("Installed version"); value: UpdateUi.installed-version; } + InfoRow { label: @tr("Protocol version"); value: UpdateUi.lnex-version; } + if UpdateUi.central-text != "" : InfoRow { label: @tr("Latest on the server"); value: UpdateUi.central-text; } + Rectangle { height: 10px; } + Text { text: UpdateUi.state-text; color: Theme.text-primary; font-size: Math.max(Theme.font-size - 1px, 12px); wrap: word-wrap; accessible-role: text; accessible-label: UpdateUi.state-text; } + Rectangle { height: 14px; } + HorizontalLayout { + spacing: 10px; alignment: start; + ActionButton { text: @tr("Check for updates"); width: 170px; opacity: UpdateUi.busy ? 0.5 : 1.0; clicked => { UpdateUi.check(); } } + if UpdateUi.can-download : ActionButton { text: @tr("Download"); width: 120px; opacity: UpdateUi.busy ? 0.5 : 1.0; clicked => { UpdateUi.download(); } } + if UpdateUi.can-install : ActionButton { text: @tr("Install"); primary: true; width: 120px; opacity: UpdateUi.busy ? 0.5 : 1.0; clicked => { UpdateUi.install(); } } + } + Rectangle { height: 16px; } + Rectangle { + height: 46px; + accessible-role: checkbox; + accessible-label: @tr("Update automatically"); + accessible-checked: UpdateUi.auto-update; + HorizontalLayout { + spacing: 12px; + VerticalLayout { + alignment: center; spacing: 2px; horizontal-stretch: 1; + Text { text: @tr("Update automatically"); color: Theme.text-primary; font-size: Math.max(Theme.font-size - 2px, 11px); } + Text { text: @tr("Check and download in the background, install on the next start. Never during a voice call."); color: Theme.text-muted; font-size: Math.max(Theme.font-size - 4px, 11px); wrap: word-wrap; } + } + ActionButton { + text: UpdateUi.auto-update ? "✓" : "○"; width: 34px; height: 30px; quiet: true; + clicked => { UpdateUi.auto-update = !UpdateUi.auto-update; UpdateUi.auto-update-changed(UpdateUi.auto-update); } + } + } + } + if UpdateUi.can-rollback : Rectangle { + height: 52px; + HorizontalLayout { + alignment: start; + ActionButton { text: @tr("Roll back to the previous version"); width: 280px; quiet: true; opacity: UpdateUi.busy ? 0.5 : 1.0; clicked => { UpdateUi.rollback(); } } + } + } + } +} diff --git a/src/ui/updater.rs b/src/ui/updater.rs new file mode 100644 index 0000000..590617f --- /dev/null +++ b/src/ui/updater.rs @@ -0,0 +1,214 @@ +//! Glue between the updater (`vnox_client::update`) and the settings panel. +//! +//! Slint owns no logic here: [`wire`] creates the manager, connects the panel callbacks and +//! refreshes the panel from the manager once a second. Installs are deferred while a voice +//! session is active. + +use std::cell::RefCell; +use std::rc::Rc; +use std::sync::Arc; +use std::time::Duration; + +use slint::ComponentHandle; +use vnox_client::update::settings::default_path; +use vnox_client::update::{Layout, UpdateConfig, UpdateManager, UpdatePhase}; + +use crate::AppState; +use crate::ui::i18n; +use crate::ui::slint::{MainWindow, UpdateUi}; +use crate::ui::state::VoiceUiState; + +/// How often the background check runs, in panel refresh ticks (one per second). +const AUTO_CHECK_TICKS: u64 = 6 * 60 * 60; + +/// Text shown for an updater phase. +pub fn phase_text(phase: &UpdatePhase) -> String { + let with = + |source: &str, version: &String| i18n::format(source, &[("version", version.clone())]); + match phase { + UpdatePhase::Idle => i18n::text("Not checked yet"), + UpdatePhase::Checking => i18n::text("Checking for updates..."), + UpdatePhase::UpToDate => i18n::text("You are up to date"), + UpdatePhase::Available { version } => i18n::format( + "Version {version} is available", + &[("version", version.clone())], + ), + UpdatePhase::Downloading { version } => with_downloading(version), + UpdatePhase::Ready { version } => i18n::format( + "Version {version} is downloaded and ready to install", + &[("version", version.clone())], + ), + UpdatePhase::InstallDeferred { version } => i18n::format( + "Version {version} will install when the voice session ends", + &[("version", version.clone())], + ), + UpdatePhase::Installing { version } => i18n::format( + "Installing version {version}", + &[("version", version.clone())], + ), + UpdatePhase::Installed { version } => i18n::format( + "Version {version} is installed. Restart Vnox to use it.", + &[("version", version.clone())], + ), + UpdatePhase::ManualInstallRequired { version } => { + with("Version {version} needs a manual reinstall", version) + } + UpdatePhase::Error(error) => { + i18n::format("Update failed: {error}", &[("error", error.clone())]) + } + } +} + +fn with_downloading(version: &str) -> String { + i18n::format( + "Downloading version {version}", + &[("version", version.to_string())], + ) +} + +/// Connects the updater to the settings panel. Keep the returned timer alive for as long as the +/// window lives. +pub fn wire(window: &MainWindow, state: &Rc>) -> slint::Timer { + let ui = window.global::(); + ui.set_installed_version(vnox_client::update::CLIENT_VERSION.into()); + ui.set_lnex_version(vnox_client::update::LNEX_PROTOCOL.into()); + + let layout = Layout::user_default(); + let manager: Option> = layout + .clone() + .map(|layout| UpdateManager::new(UpdateConfig::production(layout), None, default_path())); + let timer = slint::Timer::default(); + let Some(manager) = manager else { + ui.set_state_text(i18n::text("Not checked yet").into()); + return timer; + }; + + // A staged Windows binary is swapped in before the window opens; restart into it. + if let Some(layout) = &layout + && layout.apply_pending().unwrap_or(false) + && let Ok(exe) = std::env::current_exe() + && std::process::Command::new(exe) + .args(std::env::args_os().skip(1)) + .spawn() + .is_ok() + { + std::process::exit(0); + } + ui.set_auto_update(manager.auto_update()); + + let note: Rc> = Rc::default(); + { + let manager = manager.clone(); + tokio::spawn(async move { + manager.startup().await; + manager.auto_pass().await; + }); + } + { + let (manager, note) = (manager.clone(), note.clone()); + ui.on_check(move || { + note.borrow_mut().clear(); + let manager = manager.clone(); + tokio::spawn(async move { + let _ = manager.check().await; + }); + }); + } + { + let (manager, note) = (manager.clone(), note.clone()); + ui.on_download(move || { + note.borrow_mut().clear(); + let manager = manager.clone(); + tokio::spawn(async move { + let _ = manager.download().await; + }); + }); + } + { + let (manager, note) = (manager.clone(), note.clone()); + ui.on_install(move || { + note.borrow_mut().clear(); + let manager = manager.clone(); + tokio::spawn(async move { + let _ = manager.install().await; + }); + }); + } + { + let (manager, note) = (manager.clone(), note.clone()); + ui.on_rollback(move || { + *note.borrow_mut() = match manager.rollback() { + Ok(()) => i18n::text("Rolled back. Restart Vnox to use the previous version."), + Err(error) => { + i18n::format("Update failed: {error}", &[("error", error.to_string())]) + } + }; + }); + } + { + let (manager, note) = (manager.clone(), note.clone()); + ui.on_auto_update_changed(move |enabled| { + if let Err(error) = manager.set_auto_update(enabled) { + *note.borrow_mut() = i18n::format( + "Cannot save the update setting: {error}", + &[("error", error.to_string())], + ); + } + }); + } + + let weak = window.as_weak(); + let state = state.clone(); + let mut ticks: u64 = 0; + timer.start( + slint::TimerMode::Repeated, + Duration::from_secs(1), + move || { + ticks += 1; + let Some(window) = weak.upgrade() else { + return; + }; + let in_voice = { + let s = state.borrow(); + s.voice_channel.is_some() || matches!(s.ui.voice, VoiceUiState::Active { .. }) + }; + manager.set_voice_active(in_voice); + if !in_voice && manager.install_waiting() { + let manager = manager.clone(); + tokio::spawn(async move { + let _ = manager.run_deferred().await; + }); + } + if ticks.is_multiple_of(AUTO_CHECK_TICKS) { + let manager = manager.clone(); + tokio::spawn(async move { manager.auto_pass().await }); + } + let status = manager.status(); + let ui = window.global::(); + let note = note.borrow(); + ui.set_state_text(if note.is_empty() { + phase_text(&status.phase).into() + } else { + note.as_str().into() + }); + ui.set_central_text(status.central_latest.unwrap_or_default().into()); + ui.set_busy(matches!( + status.phase, + UpdatePhase::Checking + | UpdatePhase::Downloading { .. } + | UpdatePhase::Installing { .. } + )); + ui.set_can_download(matches!(status.phase, UpdatePhase::Available { .. })); + ui.set_can_install(matches!( + status.phase, + UpdatePhase::Ready { .. } | UpdatePhase::InstallDeferred { .. } + )); + ui.set_can_rollback( + layout + .as_ref() + .is_some_and(|layout| layout.state().previous.is_some()), + ); + }, + ); + timer +} diff --git a/translations/en/LC_MESSAGES/vnox-client.po b/translations/en/LC_MESSAGES/vnox-client.po index d9a49cf..e8642fa 100644 --- a/translations/en/LC_MESSAGES/vnox-client.po +++ b/translations/en/LC_MESSAGES/vnox-client.po @@ -100,6 +100,12 @@ msgstr "Change photo" msgid "Channel webhooks" msgstr "Channel webhooks" +msgid "Check and download in the background, install on the next start. Never during a voice call." +msgstr "Check and download in the background, install on the next start. Never during a voice call." + +msgid "Check for updates" +msgstr "Check for updates" + msgid "Choose a screen or window in the system dialog…" msgstr "Choose a screen or window in the system dialog…" @@ -199,6 +205,9 @@ msgstr "Disconnect from server" msgid "Dismiss" msgstr "Dismiss" +msgid "Download" +msgstr "Download" + msgid "Drag the photo and adjust the zoom." msgstr "Drag the photo and adjust the zoom." @@ -283,6 +292,12 @@ msgstr "Incoming message" msgid "Incoming requests" msgstr "Incoming requests" +msgid "Install" +msgstr "Install" + +msgid "Installed version" +msgstr "Installed version" + msgid "Integration name" msgstr "Integration name" @@ -310,6 +325,9 @@ msgstr "LOCAL PREVIEW" msgid "Language" msgstr "Language" +msgid "Latest on the server" +msgstr "Latest on the server" + msgid "Laugh" msgstr "Laugh" @@ -484,6 +502,9 @@ msgstr "Profile passphrase" msgid "Profile photo" msgstr "Profile photo" +msgid "Protocol version" +msgstr "Protocol version" + msgid "Push to talk" msgstr "Push to talk" @@ -535,6 +556,9 @@ msgstr "Revoke this webhook?" msgid "Revoke webhook" msgstr "Revoke webhook" +msgid "Roll back to the previous version" +msgstr "Roll back to the previous version" + msgid "Rotate" msgstr "Rotate" @@ -613,6 +637,9 @@ msgstr "Start broadcast" msgid "Starting broadcast…" msgstr "Starting broadcast…" +msgid "Stay current, safely." +msgstr "Stay current, safely." + msgid "Stop" msgstr "Stop" @@ -685,6 +712,15 @@ msgstr "Unmute broadcast" msgid "Unmute microphone" msgstr "Unmute microphone" +msgid "Update automatically" +msgstr "Update automatically" + +msgid "Updates" +msgstr "Updates" + +msgid "Updates are signed and checked before they are installed. Your profile and data are not touched." +msgstr "Updates are signed and checked before they are installed. Your profile and data are not touched." + msgid "Use photo" msgstr "Use photo" @@ -694,6 +730,9 @@ msgstr "Use this key to verify X-Vnox-Signature over the timestamp and raw reque msgid "Use your server's HTTPS webhook endpoint. Generic integrations send this secret in Authorization: Bearer; GitHub uses it as the webhook secret." msgstr "Use your server's HTTPS webhook endpoint. Generic integrations send this secret in Authorization: Bearer; GitHub uses it as the webhook secret." +msgid "Version and updates" +msgstr "Version and updates" + msgid "Video, application audio and your microphone stay separate." msgstr "Video, application audio and your microphone stay separate." diff --git a/translations/ru.json b/translations/ru.json index a06671c..1a5a496 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -401,5 +401,31 @@ "{n} участника", "{n} участников" ], - "Friend ID": "ID друга" + "Friend ID": "ID друга", + "Updates": "Обновления", + "Version and updates": "Версия и обновления", + "Stay current, safely.": "Всегда актуальная версия, безопасно.", + "Updates are signed and checked before they are installed. Your profile and data are not touched.": "Обновления подписаны и проверяются перед установкой. Профиль и данные не затрагиваются.", + "Installed version": "Установленная версия", + "Protocol version": "Версия протокола", + "Latest on the server": "Последняя на сервере", + "Check for updates": "Проверить обновления", + "Download": "Скачать", + "Install": "Установить", + "Update automatically": "Обновлять автоматически", + "Check and download in the background, install on the next start. Never during a voice call.": "Проверка и загрузка в фоне, установка при следующем запуске. Никогда во время голосового звонка.", + "Roll back to the previous version": "Вернуться к предыдущей версии", + "Not checked yet": "Ещё не проверялось", + "Checking for updates...": "Проверяем обновления...", + "You are up to date": "У вас последняя версия", + "Version {version} is available": "Доступна версия {version}", + "Downloading version {version}": "Скачиваем версию {version}", + "Version {version} is downloaded and ready to install": "Версия {version} скачана и готова к установке", + "Version {version} will install when the voice session ends": "Версия {version} установится после завершения голосового сеанса", + "Installing version {version}": "Устанавливаем версию {version}", + "Version {version} is installed. Restart Vnox to use it.": "Версия {version} установлена. Перезапустите Vnox, чтобы её использовать.", + "Version {version} needs a manual reinstall": "Версию {version} нужно установить вручную", + "Update failed: {error}": "Не удалось обновить: {error}", + "Rolled back. Restart Vnox to use the previous version.": "Откат выполнен. Перезапустите Vnox, чтобы использовать предыдущую версию.", + "Cannot save the update setting: {error}": "Не удалось сохранить настройку обновлений: {error}" } diff --git a/translations/ru/LC_MESSAGES/vnox-client.po b/translations/ru/LC_MESSAGES/vnox-client.po index d22255f..7d0a31e 100644 --- a/translations/ru/LC_MESSAGES/vnox-client.po +++ b/translations/ru/LC_MESSAGES/vnox-client.po @@ -101,6 +101,12 @@ msgstr "Изменить фото" msgid "Channel webhooks" msgstr "Вебхуки канала" +msgid "Check and download in the background, install on the next start. Never during a voice call." +msgstr "Проверка и загрузка в фоне, установка при следующем запуске. Никогда во время голосового звонка." + +msgid "Check for updates" +msgstr "Проверить обновления" + msgid "Choose a screen or window in the system dialog…" msgstr "Выбери экран или окно в системном диалоге…" @@ -200,6 +206,9 @@ msgstr "Отключиться от сервера" msgid "Dismiss" msgstr "Скрыть" +msgid "Download" +msgstr "Скачать" + msgid "Drag the photo and adjust the zoom." msgstr "Перетащи фото и выбери масштаб." @@ -284,6 +293,12 @@ msgstr "Входящие сообщения" msgid "Incoming requests" msgstr "Входящие запросы" +msgid "Install" +msgstr "Установить" + +msgid "Installed version" +msgstr "Установленная версия" + msgid "Integration name" msgstr "Название интеграции" @@ -311,6 +326,9 @@ msgstr "ЛОКАЛЬНЫЙ ПРОСМОТР" msgid "Language" msgstr "Язык" +msgid "Latest on the server" +msgstr "Последняя на сервере" + msgid "Laugh" msgstr "Смех" @@ -485,6 +503,9 @@ msgstr "Пароль профиля" msgid "Profile photo" msgstr "Фото профиля" +msgid "Protocol version" +msgstr "Версия протокола" + msgid "Push to talk" msgstr "Нажми и говори" @@ -536,6 +557,9 @@ msgstr "Отозвать этот вебхук?" msgid "Revoke webhook" msgstr "Отозвать вебхук" +msgid "Roll back to the previous version" +msgstr "Вернуться к предыдущей версии" + msgid "Rotate" msgstr "Заменить секрет" @@ -614,6 +638,9 @@ msgstr "Начать трансляцию" msgid "Starting broadcast…" msgstr "Запуск трансляции…" +msgid "Stay current, safely." +msgstr "Всегда актуальная версия, безопасно." + msgid "Stop" msgstr "Остановить" @@ -686,6 +713,15 @@ msgstr "Включить звук трансляции" msgid "Unmute microphone" msgstr "Включить микрофон" +msgid "Update automatically" +msgstr "Обновлять автоматически" + +msgid "Updates" +msgstr "Обновления" + +msgid "Updates are signed and checked before they are installed. Your profile and data are not touched." +msgstr "Обновления подписаны и проверяются перед установкой. Профиль и данные не затрагиваются." + msgid "Use photo" msgstr "Использовать фото" @@ -695,6 +731,9 @@ msgstr "Проверяйте X-Vnox-Signature этим ключом: подпи msgid "Use your server's HTTPS webhook endpoint. Generic integrations send this secret in Authorization: Bearer; GitHub uses it as the webhook secret." msgstr "Используйте HTTPS-адрес вебхуков вашего сервера. Обычные интеграции передают секрет в Authorization: Bearer; в GitHub укажите его как секрет вебхука." +msgid "Version and updates" +msgstr "Версия и обновления" + msgid "Video, application audio and your microphone stay separate." msgstr "Видео, звук приложения и микрофон передаются отдельно."