feat(app): startup update check and Help > Report a Bug

On every startup (unless Preferences > General turns the new "Check for
updates" toggle off) the app GETs
https://www.oakvideoeditor.org/api/v1/update/latest, parses the
documented latest-release JSON and, when the remote version is newer
than the running build, prompts with a dialog whose primary button opens
https://www.oakvideoeditor.org/downloads. The blocking fetch runs on the
gpui background executor with a 5 s bound; transport and parse failures
are silent, and a release found while another modal is up (the project
manager on a fresh start) is deferred until the modal layer frees.

The transport sits behind an `UpdateTransport` seam so tests script the
response without touching the network; version comparison strips the
`v` prefix and pre-release suffixes and orders the components
numerically (an unparsable remote falls back to string inequality).

Help > Report a Bug... opens
https://www.oakvideoeditor.org/bug-report.

The eight shipped i18n packs carry the new menu/preferences/update keys.
This commit is contained in:
2026-09-24 12:55:42 +08:00
parent c86bcae68e
commit 9cfcb0af92
15 changed files with 865 additions and 4 deletions
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Proxy-Medien verwenden"
"menu.tools.proxy_settings": "Proxy-Einstellungen…"
"menu.help.action_search": "Aktionen durchsuchen…"
"menu.help.bug_report": "Fehler melden…"
"menu.help.feedback": "Feedback senden…"
"menu.help.about": "Über Oak…"
"shortcut.space": "Leertaste"
@@ -682,6 +683,12 @@
"about.description": "Oak Video Editor ist ein freier, quelloffener nichtlinearer Videoeditor. Diese Software ist unter der GNU GPL Version 3 lizenziert."
"about.thanks": "Besonderer Dank gilt Enzo GD, unserem Community Promoter, für seine großzügige Unterstützung bei der Verbreitung dieses Projekts in dessen Anfangszeit."
"about.fork_notice": "Dieses Projekt ist ein Fork des Olive Video Editors."
"update.title": "Update verfügbar"
"update.available": "Version {version} ist verfügbar; installiert ist {current}."
"update.notes": "Neuerungen"
"update.no_notes": "Es wurden keine Versionshinweise angegeben."
"update.download": "Zu den Downloads"
"update.later": "Später"
"file.open.title": "Projekt öffnen (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Material importieren"
"preferences.title": "Einstellungen"
@@ -706,6 +713,7 @@
"preferences.language": "Sprache"
"preferences.language.placeholder": "Sprache auswählen…"
"preferences.theme": "Design"
"preferences.check_updates": "Beim Start nach Updates suchen"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Verzeichnis für den Platten-Cache"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Use Proxy Media"
"menu.tools.proxy_settings": "Proxy Settings…"
"menu.help.action_search": "Search Actions…"
"menu.help.bug_report": "Report a Bug…"
"menu.help.feedback": "Send Feedback…"
"menu.help.about": "About Oak…"
"shortcut.space": "Space"
@@ -680,6 +681,12 @@
"about.description": "Oak Video Editor is a free open source non-linear video editor. This software is licensed under the GNU GPL Version 3."
"about.thanks": "Special thanks to Enzo GD, our Community Promoter, for his generous support in spreading the word about this project in its early days."
"about.fork_notice": "This project is a fork of Olive Video Editor."
"update.title": "Update Available"
"update.available": "Version {version} is available; you are running {current}."
"update.notes": "What's new"
"update.no_notes": "No release notes were provided."
"update.download": "Go to Downloads"
"update.later": "Later"
"file.open.title": "Open Project (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Import Footage"
"preferences.title": "Preferences"
@@ -704,6 +711,7 @@
"preferences.language": "Language"
"preferences.language.placeholder": "Select a language…"
"preferences.theme": "Theme"
"preferences.check_updates": "Check for updates on startup"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Disk cache directory"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Usar medios proxy"
"menu.tools.proxy_settings": "Configuración de proxy…"
"menu.help.action_search": "Buscar acciones…"
"menu.help.bug_report": "Informar de un error…"
"menu.help.feedback": "Enviar comentarios…"
"menu.help.about": "Acerca de Oak…"
"shortcut.space": "Barra espaciadora"
@@ -682,6 +683,12 @@
"about.description": "Oak Video Editor es un editor de vídeo no lineal libre y de código abierto. Este software está licenciado bajo la GNU GPL versión 3."
"about.thanks": "Un agradecimiento especial a Enzo GD, nuestro Community Promoter, por su generoso apoyo al difundir este proyecto en sus primeros días."
"about.fork_notice": "Este proyecto es un fork de Olive Video Editor."
"update.title": "Actualización disponible"
"update.available": "La versión {version} está disponible; estás usando la {current}."
"update.notes": "Novedades"
"update.no_notes": "No se proporcionaron notas de la versión."
"update.download": "Ir a descargas"
"update.later": "Más tarde"
"file.open.title": "Abrir proyecto (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Importar material"
"preferences.title": "Preferencias"
@@ -706,6 +713,7 @@
"preferences.language": "Idioma"
"preferences.language.placeholder": "Seleccionar un idioma…"
"preferences.theme": "Tema"
"preferences.check_updates": "Buscar actualizaciones al iniciar"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Directorio de caché en disco"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Utiliser les médias proxy"
"menu.tools.proxy_settings": "Paramètres de proxy…"
"menu.help.action_search": "Rechercher des actions…"
"menu.help.bug_report": "Signaler un bug…"
"menu.help.feedback": "Envoyer un retour…"
"menu.help.about": "À propos d'Oak…"
"shortcut.space": "Espace"
@@ -682,6 +683,12 @@
"about.description": "Oak Video Editor est un éditeur vidéo non linéaire libre et open source. Ce logiciel est sous licence GNU GPL version 3."
"about.thanks": "Remerciements particuliers à Enzo GD, notre Community Promoter, pour son généreux soutien à la diffusion de ce projet à ses débuts."
"about.fork_notice": "Ce projet est un fork d'Olive Video Editor."
"update.title": "Mise à jour disponible"
"update.available": "La version {version} est disponible ; vous utilisez la {current}."
"update.notes": "Nouveautés"
"update.no_notes": "Aucune note de version fournie."
"update.download": "Aller aux téléchargements"
"update.later": "Plus tard"
"file.open.title": "Ouvrir le projet (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Importer des médias"
"preferences.title": "Préférences"
@@ -706,6 +713,7 @@
"preferences.language": "Langue"
"preferences.language.placeholder": "Sélectionner une langue…"
"preferences.theme": "Thème"
"preferences.check_updates": "Rechercher des mises à jour au démarrage"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Dossier du cache disque"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "プロキシメディアを使用"
"menu.tools.proxy_settings": "プロキシ設定…"
"menu.help.action_search": "アクションを検索…"
"menu.help.bug_report": "バグを報告…"
"menu.help.feedback": "フィードバックを送信…"
"menu.help.about": "Oak について…"
"shortcut.space": "スペース"
@@ -682,6 +683,12 @@
"about.description": "Oak Video Editor はフリーでオープンソースのノンリニア動画エディタです。本ソフトウェアは GNU GPL バージョン 3 でライセンスされています。"
"about.thanks": "プロジェクト初期に広く紹介してくれたコミュニティプロモーター Enzo GD に心より感謝します。"
"about.fork_notice": "本プロジェクトは Olive Video Editor のフォークです。"
"update.title": "更新があります"
"update.available": "バージョン {version} が公開されています(現在は {current})。"
"update.notes": "更新内容"
"update.no_notes": "リリースノートはありません。"
"update.download": "ダウンロードへ"
"update.later": "後で"
"file.open.title": "プロジェクトを開く(.ove / .otio / .fcpxml)"
"file.import_footage.title": "素材を読み込み"
"preferences.title": "環境設定"
@@ -706,6 +713,7 @@
"preferences.language": "言語"
"preferences.language.placeholder": "言語を選択…"
"preferences.theme": "テーマ"
"preferences.check_updates": "起動時に更新を確認"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "ディスクキャッシュの保存先"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Usar mídia proxy"
"menu.tools.proxy_settings": "Configurações de proxy…"
"menu.help.action_search": "Pesquisar ações…"
"menu.help.bug_report": "Relatar um bug…"
"menu.help.feedback": "Enviar comentários…"
"menu.help.about": "Sobre o Oak…"
"shortcut.space": "Espaço"
@@ -682,6 +683,12 @@
"about.description": "O Oak Video Editor é um editor de vídeo não linear livre e de código aberto. Este software é licenciado sob a GNU GPL versão 3."
"about.thanks": "Um agradecimento especial a Enzo GD, nosso Community Promoter, por seu generoso apoio na divulgação deste projeto em seus primórdios."
"about.fork_notice": "Este projeto é um fork do Olive Video Editor."
"update.title": "Atualização disponível"
"update.available": "A versão {version} está disponível; você está usando a {current}."
"update.notes": "Novidades"
"update.no_notes": "Nenhuma nota de versão fornecida."
"update.download": "Ir para downloads"
"update.later": "Mais tarde"
"file.open.title": "Abrir projeto (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Importar mídia"
"preferences.title": "Preferências"
@@ -706,6 +713,7 @@
"preferences.language": "Idioma"
"preferences.language.placeholder": "Selecionar um idioma…"
"preferences.theme": "Tema"
"preferences.check_updates": "Verificar atualizações ao iniciar"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Diretório do cache em disco"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "Использовать прокси-медиа"
"menu.tools.proxy_settings": "Параметры прокси…"
"menu.help.action_search": "Поиск действий…"
"menu.help.bug_report": "Сообщить об ошибке…"
"menu.help.feedback": "Отправить отзыв…"
"menu.help.about": "О программе Oak…"
"shortcut.space": "Пробел"
@@ -682,6 +683,12 @@
"about.description": "Oak Video Editor — свободный нелинейный видеоредактор с открытым исходным кодом. Программа распространяется по лицензии GNU GPL версии 3."
"about.thanks": "Особая благодарность Enzo GD, нашему Community Promoter, за щедрую поддержку в распространении этого проекта в первые дни."
"about.fork_notice": "Этот проект является форком Olive Video Editor."
"update.title": "Доступно обновление"
"update.available": "Доступна версия {version}; у вас установлена {current}."
"update.notes": "Что нового"
"update.no_notes": "Примечания к выпуску не указаны."
"update.download": "Перейти к загрузкам"
"update.later": "Позже"
"file.open.title": "Открыть проект (.ove / .otio / .fcpxml)"
"file.import_footage.title": "Импорт медиафайлов"
"preferences.title": "Настройки"
@@ -706,6 +713,7 @@
"preferences.language": "Язык"
"preferences.language.placeholder": "Выберите язык…"
"preferences.theme": "Тема"
"preferences.check_updates": "Проверять обновления при запуске"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "Каталог дискового кэша"
+8
View File
@@ -133,6 +133,7 @@
"menu.tools.use_proxy": "使用代理媒体"
"menu.tools.proxy_settings": "代理设置…"
"menu.help.action_search": "搜索动作…"
"menu.help.bug_report": "报告问题…"
"menu.help.feedback": "发送反馈…"
"menu.help.about": "关于 Oak…"
"shortcut.space": "空格"
@@ -680,6 +681,12 @@
"about.description": "Oak 视频编辑器是一款自由开源的非线性视频编辑器。本软件以 GNU GPL 第三版许可证发布。"
"about.thanks": "特别感谢我们的社区推广者 Enzo GD,感谢他在项目早期为传播本项目所给予的慷慨支持。"
"about.fork_notice": "本项目是 Olive 视频编辑器的 fork。"
"update.title": "有新版本可用"
"update.available": "新版本 {version} 已发布,当前版本为 {current}。"
"update.notes": "更新说明"
"update.no_notes": "未提供更新说明。"
"update.download": "前往下载"
"update.later": "稍后"
"file.open.title": "打开项目(.ove / .otio / .fcpxml)"
"file.import_footage.title": "导入素材"
"preferences.title": "偏好设置"
@@ -704,6 +711,7 @@
"preferences.language": "语言"
"preferences.language.placeholder": "选择语言…"
"preferences.theme": "主题"
"preferences.check_updates": "启动时检查更新"
"preferences.theme.dark": "Olive Dark"
"preferences.theme.light": "Olive Light"
"preferences.cache.dir": "磁盘缓存目录"