From 55253251602f1bc66d340961f1df492b3e61120e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Wed, 28 Oct 2026 15:26:01 +0500 Subject: [PATCH 1/3] Group Manager settings and add translated release history --- .../20261028-settings-release-history.md | 7 + crates/coa-core/src/lib.rs | 1 + crates/coa-core/src/release_history.rs | 170 +++ src-tauri/src/lib.rs | 11 + src/data/README.md | 24 + src/data/latest-note-translations.json | 216 +++ src/data/server-history.json | 1169 +++++++++++++++++ src/dev/mock.ts | 9 +- src/i18n/locales/de.ts | 27 + src/i18n/locales/en.ts | 29 +- src/i18n/locales/es.ts | 27 + src/i18n/locales/fr.ts | 27 + src/i18n/locales/ru.ts | 29 +- src/i18n/locales/zh.ts | 27 + src/lib/releaseHistory.ts | 16 + src/lib/releaseHistoryModel.ts | 23 + src/screens/AboutCard.tsx | 44 +- src/screens/Overview.tsx | 1 + src/screens/PlayWithFriends.tsx | 5 +- src/screens/RealmStartupSettings.tsx | 2 +- src/screens/ReleaseHistory.tsx | 76 ++ src/screens/ServerUpdateCard.tsx | 256 ++++ src/screens/SettingsHome.tsx | 334 +---- src/screens/Shell.tsx | 2 +- tools/overview-update-error.test.mjs | 4 + tools/release-history.test.mjs | 27 + 26 files changed, 2237 insertions(+), 326 deletions(-) create mode 100644 changelog.d/20261028-settings-release-history.md create mode 100644 crates/coa-core/src/release_history.rs create mode 100644 src/data/README.md create mode 100644 src/data/latest-note-translations.json create mode 100644 src/data/server-history.json create mode 100644 src/lib/releaseHistory.ts create mode 100644 src/lib/releaseHistoryModel.ts create mode 100644 src/screens/ReleaseHistory.tsx create mode 100644 src/screens/ServerUpdateCard.tsx create mode 100644 tools/release-history.test.mjs diff --git a/changelog.d/20261028-settings-release-history.md b/changelog.d/20261028-settings-release-history.md new file mode 100644 index 0000000..c5b9d05 --- /dev/null +++ b/changelog.d/20261028-settings-release-history.md @@ -0,0 +1,7 @@ +--- +area: manager +type: changed +audience: admins +title: Settings group updates, startup and maintenance with translated release history +--- +Server and Manager keep separate update controls. Read their published changes in one place, including translations of the latest releases in all six interface languages. Saved notes remain available offline. Find public realm controls under Play with friends. diff --git a/crates/coa-core/src/lib.rs b/crates/coa-core/src/lib.rs index efb7827..3ca86f3 100644 --- a/crates/coa-core/src/lib.rs +++ b/crates/coa-core/src/lib.rs @@ -54,6 +54,7 @@ pub mod realmlist; pub mod realms; pub mod registry; pub mod release; +pub mod release_history; pub mod release_schema; pub mod remote_client; pub mod repair; diff --git a/crates/coa-core/src/release_history.rs b/crates/coa-core/src/release_history.rs new file mode 100644 index 0000000..59a37c2 --- /dev/null +++ b/crates/coa-core/src/release_history.rs @@ -0,0 +1,170 @@ +//! Read-only, bounded canonical histories. Offline fallback is also bundled in the UI. +use serde_json::Value; +use std::{io::Read, path::Path, time::Duration}; + +const LIMIT: u64 = 2 * 1024 * 1024; + +fn repository(component: &str) -> Result<(&'static str, &'static str), String> { + match component { + "server" => Ok(("Corfirean/coa-server-build", "main")), + "manager" => Ok(("Corfirean/coa-server-manager", "master")), + _ => Err("Unknown release component".into()), + } +} + +fn validate(bytes: &[u8], component: &str) -> Result { + let (repo, _) = repository(component)?; + if bytes.len() as u64 > LIMIT { + return Err("Release history is too large".into()); + } + let value: Value = serde_json::from_slice(bytes).map_err(|e| e.to_string())?; + if value["schema"] != 1 || value["component"] != component || value["repository"] != repo { + return Err("Release history identity mismatch".into()); + } + let releases = value["releases"].as_array().ok_or("Missing releases")?; + if releases.len() > 2000 { + return Err("Too many releases".into()); + } + for release in releases { + if release.get("prerelease").is_some_and(|v| !v.is_boolean()) + || release.get("experimentalFeatures").is_some_and(|v| { + v.as_array() + .is_none_or(|items| items.iter().any(|item| !item.is_string())) + }) + { + return Err("Invalid release flags".into()); + } + for field in ["tag", "date"] { + if release[field] + .as_str() + .is_none_or(|s| s.is_empty() || s.len() > 100) + { + return Err("Invalid release metadata".into()); + } + } + let version = release["version"].as_str().ok_or("Missing version")?; + if version.len() > 80 + || !version + .bytes() + .all(|b| b.is_ascii_alphanumeric() || b".-+".contains(&b)) + { + return Err("Invalid version".into()); + } + let notes = release["notes"].as_array().ok_or("Missing notes")?; + if notes.len() > 500 + || notes + .iter() + .any(|n| n.as_str().is_none_or(|s| s.len() > 10000)) + { + return Err("Invalid release notes".into()); + } + } + Ok(value) +} + +pub fn load(component: &str, cache_dir: &Path) -> Result { + let (repo, branch) = repository(component)?; + let cache = cache_dir.join(format!("{component}.json")); + let cached = || { + let mut bytes = Vec::new(); + std::fs::File::open(&cache) + .ok()? + .take(LIMIT + 1) + .read_to_end(&mut bytes) + .ok()?; + validate(&bytes, component).ok() + }; + if cache + .metadata() + .and_then(|m| m.modified()) + .ok() + .and_then(|t| t.elapsed().ok()) + .is_some_and(|age| age < Duration::from_secs(3600)) + { + if let Some(mut v) = cached() { + v["source"] = "cache".into(); + return Ok(v); + } + } + let remote = || -> Result { + let client = reqwest::blocking::Client::builder() + .timeout(Duration::from_secs(8)) + .redirect(reqwest::redirect::Policy::none()) + .build() + .map_err(|e| e.to_string())?; + let response = client + .get(format!( + "https://raw.githubusercontent.com/{repo}/{branch}/changelog/history.json" + )) + .send() + .and_then(|r| r.error_for_status()) + .map_err(|e| e.to_string())?; + let mut bytes = Vec::new(); + response + .take(LIMIT + 1) + .read_to_end(&mut bytes) + .map_err(|e| e.to_string())?; + let mut value = validate(&bytes, component)?; + if std::fs::create_dir_all(cache_dir).is_ok() { + let _ = std::fs::write(&cache, &bytes); + } + value["source"] = "remote".into(); + Ok(value) + }; + remote().or_else(|error| { + cached() + .map(|mut v| { + v["source"] = "cache".into(); + v + }) + .ok_or(error) + }) +} + +#[cfg(test)] +mod tests { + use super::*; + #[test] + fn accepts_both_complete_bundled_canonical_histories() { + assert!(validate(include_bytes!("../../../changelog/history.json"), "manager").is_ok()); + assert!(validate( + include_bytes!("../../../src/data/server-history.json"), + "server" + ) + .is_ok()); + } + #[test] + fn rejects_cross_component_and_untrusted_components() { + let bytes = br#"{"schema":1,"component":"manager","repository":"Corfirean/coa-server-manager","releases":[]}"#; + assert!(validate(bytes, "manager").is_ok()); + assert!(validate(bytes, "server").is_err()); + assert!(repository("../../other").is_err()); + assert!(validate(&vec![b' '; LIMIT as usize + 1], "manager").is_err()); + } + + #[test] + fn rejects_malformed_records_before_the_ui_can_use_them() { + let mut value = serde_json::json!({"schema": 1, "component": "server", + "repository": "Corfirean/coa-server-build", "releases": [{ + "version": "0.261028.83", "tag": "0.261028.83", "date": "2026-10-28", + "notes": ["Reviewed note"] + }]}); + assert!(validate(&serde_json::to_vec(&value).unwrap(), "server").is_ok()); + value["releases"][0]["date"] = Value::Null; + assert!(validate(&serde_json::to_vec(&value).unwrap(), "server").is_err()); + value["releases"][0]["date"] = "2026-10-28".into(); + value["releases"][0]["notes"] = serde_json::json!([{"html": "not a text note"}]); + assert!(validate(&serde_json::to_vec(&value).unwrap(), "server").is_err()); + } + + #[test] + fn fresh_valid_cache_is_available_without_network() { + let dir = std::env::temp_dir().join(format!("coa-history-{}", uuid::Uuid::new_v4())); + std::fs::create_dir_all(&dir).unwrap(); + std::fs::write(dir.join("manager.json"), br#"{"schema":1,"component":"manager","repository":"Corfirean/coa-server-manager","releases":[]}"#).unwrap(); + let result = load("manager", &dir).unwrap(); + assert_eq!(result["source"], "cache"); + std::fs::remove_file(dir.join("manager.json")).unwrap(); + std::fs::remove_dir(dir).unwrap(); + } +} diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index be9b0c9..dc28d29 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -28,6 +28,16 @@ use tauri::{AppHandle, Emitter, Manager, State}; mod control_cmds; +/// Informational release notes only; never used to select or authorize an update. +#[tauri::command] +async fn release_history(component: String) -> std::result::Result { + tauri::async_runtime::spawn_blocking(move || { + coa_core::release_history::load(&component, &data_dir().join("release-history")) + }) + .await + .map_err(|e| e.to_string())? +} + struct AppState { registry: Registry, /// Installation ids with a start/stop currently running (one action at a time per server). @@ -2806,6 +2816,7 @@ pub fn run() { host_control, }) .invoke_handler(tauri::generate_handler![ + release_history, default_install_dir, game_data_folder, set_game_data_folder, diff --git a/src/data/README.md b/src/data/README.md new file mode 100644 index 0000000..c4c4e91 --- /dev/null +++ b/src/data/README.md @@ -0,0 +1,24 @@ +# Release history data (internal) + +The Manager feed is imported from the canonical `changelog/history.json`. The +server snapshot in this directory is copied from `Corfirean/coa-server-build` +commit `9bf1411de93e98cbcd0e8ebbcdac3a457d5fbaf0`, path +`changelog/history.json`, on 2026-10-28. Only schema, component, repository and +releases are retained. Do not independently edit historical records here. + +At runtime the native read-only command fetches the fixed canonical URL, bounds +and validates the feed, and caches it for offline use. The bundled records appear +immediately and remain available if neither network nor cache is usable. These +records cannot select a package or authorize an update. + +`latest-note-translations.json` contains the reviewed 0.9.0 Manager and +0.261028.83 server notes in Russian, German, French, Spanish and Simplified +Chinese. English remains canonical. Translations are keyed by exact original +text: changing an original invalidates its translation. A partly translated +release falls back entirely to English and displays an explicit notice. + +When preparing future release notes, refresh the server snapshot from a pinned +canonical commit and add all five translations for each new original note. +Never rewrite released fragments to add translations. Run +`node --test tools/release-history.test.mjs`; its completeness check expects the +latest bundled record of each component to have every translation. diff --git a/src/data/latest-note-translations.json b/src/data/latest-note-translations.json new file mode 100644 index 0000000..584be3e --- /dev/null +++ b/src/data/latest-note-translations.json @@ -0,0 +1,216 @@ +{ + "manager": { + "ru": { + "Choose Parallel or Global level scaling in module settings": "Выбирайте параллельное или глобальное масштабирование уровней в настройках модуля", + "Report Content Scaling problems directly to its repository": "Отправляйте отчёты о проблемах Content Scaling прямо в его репозиторий", + "Send custom race problem reports directly to their maintainer": "Отправляйте отчёты о проблемах дополнительных рас напрямую их разработчику", + "Internet sharing restores the LAN address after server restarts": "Общий доступ через интернет восстанавливает адрес локальной сети после перезапуска сервера", + "Configure custom race availability for new characters": "Настраивайте доступность дополнительных рас для новых персонажей", + "Public listing offers every realm that starts together, not just the main one": "Публиковать можно каждый реалм, запускаемый вместе с основным", + "Public listing is a short list of realms with a window for the details": "Публичные реалмы представлены компактным списком с отдельным окном подробностей", + "Configure profession and defense skill gains in server settings": "Настраивайте рост навыков профессий и защиты в настройках сервера", + "Starting a server sets the character classes of the realm chosen on Overview": "При запуске применяются классы персонажей реалма, выбранного на экране «Обзор»", + "Start Wildcard and Warcraft Reborn together with Conquest of Azeroth": "Запускайте Wildcard и Warcraft Reborn вместе с Conquest of Azeroth", + "Control portable characters and keep Manager running in the system tray": "Управляйте переносимыми персонажами и оставляйте Manager работать в системном трее" + }, + "de": { + "Choose Parallel or Global level scaling in module settings": "Parallele oder globale Levelskalierung in den Moduleinstellungen wählen", + "Report Content Scaling problems directly to its repository": "Probleme mit Content Scaling direkt in dessen Repository melden", + "Send custom race problem reports directly to their maintainer": "Probleme mit zusätzlichen Völkern direkt an deren Entwickler melden", + "Internet sharing restores the LAN address after server restarts": "Internetfreigabe stellt nach Serverneustarts die LAN-Adresse wieder her", + "Configure custom race availability for new characters": "Verfügbarkeit zusätzlicher Völker für neue Charaktere festlegen", + "Public listing offers every realm that starts together, not just the main one": "Alle gemeinsam gestarteten Realms können veröffentlicht werden, nicht nur der Hauptrealm", + "Public listing is a short list of realms with a window for the details": "Öffentliche Realms erscheinen als kurze Liste mit einem Detailfenster", + "Configure profession and defense skill gains in server settings": "Zuwachs von Berufs- und Verteidigungsfertigkeiten in den Servereinstellungen festlegen", + "Starting a server sets the character classes of the realm chosen on Overview": "Beim Serverstart werden die Charakterklassen des in der Übersicht gewählten Realms angewendet", + "Start Wildcard and Warcraft Reborn together with Conquest of Azeroth": "Wildcard und Warcraft Reborn gemeinsam mit Conquest of Azeroth starten", + "Control portable characters and keep Manager running in the system tray": "Portable Charaktere verwalten und Manager im Infobereich weiterlaufen lassen" + }, + "fr": { + "Choose Parallel or Global level scaling in module settings": "Choisissez une progression parallèle ou globale des niveaux dans les paramètres du module", + "Report Content Scaling problems directly to its repository": "Signalez les problèmes de Content Scaling directement dans son dépôt", + "Send custom race problem reports directly to their maintainer": "Envoyez les signalements concernant les races supplémentaires directement à leur développeur", + "Internet sharing restores the LAN address after server restarts": "Le partage Internet rétablit l’adresse du réseau local après un redémarrage du serveur", + "Configure custom race availability for new characters": "Configurez les races supplémentaires disponibles pour les nouveaux personnages", + "Public listing offers every realm that starts together, not just the main one": "Tous les royaumes démarrant ensemble peuvent être publiés, pas seulement le principal", + "Public listing is a short list of realms with a window for the details": "Les royaumes publics apparaissent dans une liste compacte avec une fenêtre de détails", + "Configure profession and defense skill gains in server settings": "Configurez les gains de compétences de métier et de défense dans les paramètres du serveur", + "Starting a server sets the character classes of the realm chosen on Overview": "Le démarrage applique les classes du royaume choisi sur l’écran Aperçu", + "Start Wildcard and Warcraft Reborn together with Conquest of Azeroth": "Démarrez Wildcard et Warcraft Reborn avec Conquest of Azeroth", + "Control portable characters and keep Manager running in the system tray": "Gérez les personnages portables et laissez Manager fonctionner dans la zone de notification" + }, + "es": { + "Choose Parallel or Global level scaling in module settings": "Elige escalado de nivel paralelo o global en los ajustes del módulo", + "Report Content Scaling problems directly to its repository": "Informa de problemas de Content Scaling directamente en su repositorio", + "Send custom race problem reports directly to their maintainer": "Envía los informes sobre razas adicionales directamente a su desarrollador", + "Internet sharing restores the LAN address after server restarts": "El acceso por Internet restaura la dirección de red local tras reiniciar el servidor", + "Configure custom race availability for new characters": "Configura las razas adicionales disponibles para personajes nuevos", + "Public listing offers every realm that starts together, not just the main one": "Puedes publicar todos los reinos que se inician juntos, no solo el principal", + "Public listing is a short list of realms with a window for the details": "Los reinos públicos se muestran en una lista breve con una ventana de detalles", + "Configure profession and defense skill gains in server settings": "Configura las mejoras de habilidades de profesión y defensa en los ajustes del servidor", + "Starting a server sets the character classes of the realm chosen on Overview": "Al iniciar el servidor se aplican las clases del reino elegido en Resumen", + "Start Wildcard and Warcraft Reborn together with Conquest of Azeroth": "Inicia Wildcard y Warcraft Reborn junto con Conquest of Azeroth", + "Control portable characters and keep Manager running in the system tray": "Gestiona personajes portátiles y mantén Manager en la bandeja del sistema" + }, + "zh": { + "Choose Parallel or Global level scaling in module settings": "在模块设置中选择并行或全局等级缩放", + "Report Content Scaling problems directly to its repository": "直接向 Content Scaling 仓库报告问题", + "Send custom race problem reports directly to their maintainer": "将自定义种族问题直接报告给其维护者", + "Internet sharing restores the LAN address after server restarts": "服务器重启后,互联网共享会恢复局域网地址", + "Configure custom race availability for new characters": "设置新角色可选的自定义种族", + "Public listing offers every realm that starts together, not just the main one": "可以发布所有同时启动的服务器,而不仅是主服务器", + "Public listing is a short list of realms with a window for the details": "公开服务器使用简短列表展示,详情在单独窗口中查看", + "Configure profession and defense skill gains in server settings": "在服务器设置中调整专业和防御技能的提升", + "Starting a server sets the character classes of the realm chosen on Overview": "启动时会应用“概览”中所选服务器的角色职业", + "Start Wildcard and Warcraft Reborn together with Conquest of Azeroth": "将 Wildcard 和 Warcraft Reborn 与 Conquest of Azeroth 一同启动", + "Control portable characters and keep Manager running in the system tray": "管理可携带角色,并让 Manager 继续在系统托盘中运行" + } + }, + "server": { + "ru": { + "Restrict new characters by custom race without changing existing characters": "Ограничивайте выбор дополнительных рас для новых персонажей, не меняя существующих", + "More class abilities, items and Pale Reach quests work as intended": "Исправлена работа ряда классовых способностей, предметов и заданий Pale Reach", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused": "Боты Witch Doctor и Guardian используют тотемы и штандарты; заклинания реже отклоняются", + "Venomancer Fortitude tanks use their real defensive abilities": "Танки Venomancer Fortitude используют свои настоящие защитные способности", + "Healer bots waste fewer big heals and tank bots spread their defensives": "Лекари реже тратят мощное исцеление впустую, а танки распределяют защитные способности", + "Dungeon bots drink and rest until the tank is ready to go on": "Боты в подземельях пьют и отдыхают, пока танк не будет готов продолжить", + "Archery Rangers use Precision Shot and Brutal Shot": "Archery Ranger использует Precision Shot и Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode": "Танк Black Knight может начинать бой в автоматическом режиме подземелий", + "Boltslinger bots use spells they actually know": "Boltslinger использует только изученные заклинания", + "Bots with unsuitable gear are refitted at login": "Боты с неподходящим снаряжением переодеваются при входе", + "Bots with full bags make room to hand in finished quests": "Боты с полными сумками освобождают место для сдачи выполненных заданий", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes": "Боты подбирают оружие и щиты для боевых способностей, а не для рецептов зачарования", + "Bots get their gear repaired and stop looping to the repairer": "Боты чинят снаряжение и перестают ходить к ремонтнику по кругу", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap": "Боты не отправляются в Запределье и Нордскол, если те не масштабированы под предел уровня", + "Bots plan long walks around areas too strong for them": "При дальних переходах боты обходят слишком опасные для них области", + "Dead bots run back to their bodies and come back healthy": "Погибшие боты возвращаются к телам и воскресают здоровыми", + "Meet travelling companions and rivals in dynamic open-world encounters": "Встречайте попутчиков и соперников в динамических событиях открытого мира", + "New companions respect the server's custom race restrictions": "Новые спутники соблюдают ограничения дополнительных рас сервера", + "Ranged bots no longer stand still while Auto Shot or Shoot is active": "Боты дальнего боя больше не замирают при активном Auto Shot или Shoot", + "Battleground bots no longer travel in a straight line": "Боты на полях боя больше не перемещаются по прямой", + "Far less server lag with hundreds of bots online": "Значительно снижены задержки сервера при сотнях ботов в сети", + "Inspect the mana restoration spells recognized by an online companion": "Просматривайте заклинания восстановления маны, распознанные у спутника в сети", + "Bots stop hitting mobs they cannot reach": "Боты прекращают атаковать недоступных противников", + "Bot economy errands skip groups, battlegrounds and dungeons": "Экономические поручения ботов не выполняются в группах, на полях боя и в подземельях", + "Dungeon finder fills your group with bots that really join you": "Поиск подземелий заполняет группу ботами, которые действительно присоединяются к вам", + "Stop an unfinished server startup before restoring its database": "Перед восстановлением базы данных можно остановить незавершённый запуск сервера", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases": "Включены 40 изменений апстрима: исправления классов, предметов и заданий Pale Reach, необязательные друзья на весь аккаунт и исправленные покупки Vanity" + }, + "de": { + "Restrict new characters by custom race without changing existing characters": "Neue Charaktere nach zusätzlichem Volk beschränken, ohne bestehende Charaktere zu ändern", + "More class abilities, items and Pale Reach quests work as intended": "Weitere Klassenfähigkeiten, Gegenstände und Pale-Reach-Quests funktionieren korrekt", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused": "Witch-Doctor- und Guardian-Bots nutzen Totems und Standarten; weniger Zauber werden abgelehnt", + "Venomancer Fortitude tanks use their real defensive abilities": "Venomancer-Fortitude-Tanks nutzen ihre tatsächlichen Defensivfähigkeiten", + "Healer bots waste fewer big heals and tank bots spread their defensives": "Heiler verschwenden weniger große Heilungen und Tanks verteilen ihre Defensivfähigkeiten", + "Dungeon bots drink and rest until the tank is ready to go on": "Dungeon-Bots trinken und ruhen, bis der Tank bereit ist", + "Archery Rangers use Precision Shot and Brutal Shot": "Archery Ranger nutzen Precision Shot und Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode": "Black-Knight-Tanks können im automatischen Dungeonmodus Gegner heranziehen", + "Boltslinger bots use spells they actually know": "Boltslinger nutzen nur tatsächlich erlernte Zauber", + "Bots with unsuitable gear are refitted at login": "Bots mit ungeeigneter Ausrüstung werden beim Anmelden neu ausgestattet", + "Bots with full bags make room to hand in finished quests": "Bots mit vollen Taschen schaffen Platz zum Abgeben erledigter Quests", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes": "Bots wählen Waffen und Schilde nach Kampffähigkeiten statt Verzauberungsrezepten", + "Bots get their gear repaired and stop looping to the repairer": "Bots reparieren Ausrüstung und laufen nicht mehr wiederholt zum Reparateur", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap": "Bots meiden Scherbenwelt und Nordend, wenn diese nicht auf das Levellimit skaliert sind", + "Bots plan long walks around areas too strong for them": "Bots umgehen auf langen Wegen Gebiete mit zu starken Gegnern", + "Dead bots run back to their bodies and come back healthy": "Tote Bots kehren zu ihren Körpern zurück und werden gesund wiederbelebt", + "Meet travelling companions and rivals in dynamic open-world encounters": "Begegne reisenden Begleitern und Rivalen in dynamischen Ereignissen der offenen Welt", + "New companions respect the server's custom race restrictions": "Neue Begleiter beachten die Beschränkungen zusätzlicher Völker", + "Ranged bots no longer stand still while Auto Shot or Shoot is active": "Fernkampf-Bots bleiben bei aktivem Auto Shot oder Shoot nicht mehr stehen", + "Battleground bots no longer travel in a straight line": "Schlachtfeld-Bots bewegen sich nicht mehr geradlinig", + "Far less server lag with hundreds of bots online": "Deutlich weniger Serververzögerungen bei Hunderten aktiven Bots", + "Inspect the mana restoration spells recognized by an online companion": "Erkannte Manaregeneration-Zauber eines aktiven Begleiters anzeigen", + "Bots stop hitting mobs they cannot reach": "Bots greifen unerreichbare Gegner nicht weiter an", + "Bot economy errands skip groups, battlegrounds and dungeons": "Wirtschaftsaufgaben der Bots überspringen Gruppen, Schlachtfelder und Dungeons", + "Dungeon finder fills your group with bots that really join you": "Der Dungeonfinder füllt Gruppen mit Bots, die sich tatsächlich anschließen", + "Stop an unfinished server startup before restoring its database": "Unvollständigen Serverstart vor dem Wiederherstellen der Datenbank stoppen", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases": "40 Upstream-Änderungen mit Klassen-, Gegenstands- und Pale-Reach-Questkorrekturen, optionalen accountweiten Freunden und korrigierten Vanity-Käufen übernommen" + }, + "fr": { + "Restrict new characters by custom race without changing existing characters": "Restreignez les races supplémentaires des nouveaux personnages sans modifier les personnages existants", + "More class abilities, items and Pale Reach quests work as intended": "Davantage de capacités de classe, d’objets et de quêtes de Pale Reach fonctionnent correctement", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused": "Les bots Witch Doctor et Guardian utilisent leurs totems et étendards ; moins de sorts sont refusés", + "Venomancer Fortitude tanks use their real defensive abilities": "Les tanks Venomancer Fortitude utilisent leurs véritables capacités défensives", + "Healer bots waste fewer big heals and tank bots spread their defensives": "Les soigneurs gaspillent moins de gros soins et les tanks répartissent leurs défenses", + "Dungeon bots drink and rest until the tank is ready to go on": "Les bots de donjon boivent et se reposent jusqu’à ce que le tank soit prêt", + "Archery Rangers use Precision Shot and Brutal Shot": "Les Archery Rangers utilisent Precision Shot et Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode": "Les tanks Black Knight peuvent engager les ennemis en mode donjon automatique", + "Boltslinger bots use spells they actually know": "Les Boltslingers utilisent les sorts qu’ils connaissent réellement", + "Bots with unsuitable gear are refitted at login": "Les bots mal équipés reçoivent un équipement adapté à la connexion", + "Bots with full bags make room to hand in finished quests": "Les bots aux sacs pleins font de la place pour rendre les quêtes terminées", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes": "Les bots choisissent armes et boucliers selon leurs sorts de combat, pas les recettes d’enchantement", + "Bots get their gear repaired and stop looping to the repairer": "Les bots font réparer leur équipement sans retourner en boucle chez le réparateur", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap": "Les bots évitent l’Outreterre et le Norfendre si leur niveau n’est pas adapté au plafond", + "Bots plan long walks around areas too strong for them": "Les bots contournent les zones trop dangereuses lors des longs trajets", + "Dead bots run back to their bodies and come back healthy": "Les bots morts rejoignent leur corps et reviennent en bonne santé", + "Meet travelling companions and rivals in dynamic open-world encounters": "Rencontrez des compagnons voyageurs et des rivaux lors d’événements dynamiques en monde ouvert", + "New companions respect the server's custom race restrictions": "Les nouveaux compagnons respectent les restrictions de races supplémentaires du serveur", + "Ranged bots no longer stand still while Auto Shot or Shoot is active": "Les bots à distance ne restent plus immobiles lorsque Auto Shot ou Shoot est actif", + "Battleground bots no longer travel in a straight line": "Les bots des champs de bataille ne se déplacent plus en ligne droite", + "Far less server lag with hundreds of bots online": "Beaucoup moins de ralentissements avec des centaines de bots connectés", + "Inspect the mana restoration spells recognized by an online companion": "Consultez les sorts de restauration de mana reconnus chez un compagnon connecté", + "Bots stop hitting mobs they cannot reach": "Les bots cessent d’attaquer les ennemis inaccessibles", + "Bot economy errands skip groups, battlegrounds and dungeons": "Les tâches économiques des bots ignorent groupes, champs de bataille et donjons", + "Dungeon finder fills your group with bots that really join you": "La recherche de donjon remplit votre groupe avec des bots qui vous rejoignent réellement", + "Stop an unfinished server startup before restoring its database": "Arrêtez un démarrage de serveur inachevé avant de restaurer sa base de données", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases": "Intégration de 40 changements amont : classes, objets et quêtes de Pale Reach corrigés, amis de compte facultatifs et achats Vanity corrigés" + }, + "es": { + "Restrict new characters by custom race without changing existing characters": "Restringe las razas adicionales de personajes nuevos sin modificar los existentes", + "More class abilities, items and Pale Reach quests work as intended": "Más habilidades de clase, objetos y misiones de Pale Reach funcionan correctamente", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused": "Los bots Witch Doctor y Guardian usan sus tótems y estandartes y se rechazan menos hechizos", + "Venomancer Fortitude tanks use their real defensive abilities": "Los tanques Venomancer Fortitude usan sus verdaderas habilidades defensivas", + "Healer bots waste fewer big heals and tank bots spread their defensives": "Los sanadores desperdician menos curas grandes y los tanques distribuyen sus defensivos", + "Dungeon bots drink and rest until the tank is ready to go on": "Los bots de mazmorra beben y descansan hasta que el tanque está listo", + "Archery Rangers use Precision Shot and Brutal Shot": "Los Archery Rangers usan Precision Shot y Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode": "Los tanques Black Knight pueden iniciar combates en el modo automático de mazmorras", + "Boltslinger bots use spells they actually know": "Los Boltslingers usan hechizos que realmente conocen", + "Bots with unsuitable gear are refitted at login": "Los bots con equipo inadecuado reciben equipo apropiado al conectarse", + "Bots with full bags make room to hand in finished quests": "Los bots con bolsas llenas hacen espacio para entregar misiones completadas", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes": "Los bots eligen armas y escudos por sus hechizos de combate, no por recetas de encantamiento", + "Bots get their gear repaired and stop looping to the repairer": "Los bots reparan su equipo y dejan de volver al reparador en bucle", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap": "Los bots evitan Terrallende y Rasganorte si no están escalados al límite de nivel", + "Bots plan long walks around areas too strong for them": "Los bots evitan zonas demasiado peligrosas en los viajes largos", + "Dead bots run back to their bodies and come back healthy": "Los bots muertos vuelven a sus cuerpos y regresan con buena salud", + "Meet travelling companions and rivals in dynamic open-world encounters": "Encuentra compañeros viajeros y rivales en encuentros dinámicos de mundo abierto", + "New companions respect the server's custom race restrictions": "Los nuevos compañeros respetan las restricciones de razas adicionales del servidor", + "Ranged bots no longer stand still while Auto Shot or Shoot is active": "Los bots a distancia ya no se quedan inmóviles con Auto Shot o Shoot activo", + "Battleground bots no longer travel in a straight line": "Los bots de campos de batalla ya no viajan en línea recta", + "Far less server lag with hundreds of bots online": "Mucho menos lag del servidor con cientos de bots conectados", + "Inspect the mana restoration spells recognized by an online companion": "Consulta los hechizos de restauración de maná reconocidos en un compañero conectado", + "Bots stop hitting mobs they cannot reach": "Los bots dejan de atacar a enemigos inalcanzables", + "Bot economy errands skip groups, battlegrounds and dungeons": "Las tareas económicas de los bots omiten grupos, campos de batalla y mazmorras", + "Dungeon finder fills your group with bots that really join you": "El buscador de mazmorras llena tu grupo con bots que realmente se unen", + "Stop an unfinished server startup before restoring its database": "Detén un inicio de servidor incompleto antes de restaurar su base de datos", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases": "Integrados 40 cambios del proyecto original: correcciones de clases, objetos y misiones de Pale Reach, amigos opcionales de toda la cuenta y compras Vanity corregidas" + }, + "zh": { + "Restrict new characters by custom race without changing existing characters": "限制新角色可选的自定义种族,不影响现有角色", + "More class abilities, items and Pale Reach quests work as intended": "修复更多职业技能、物品和 Pale Reach 任务", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused": "Witch Doctor 和 Guardian 机器人会使用图腾和旗帜,施法被拒绝的情况减少", + "Venomancer Fortitude tanks use their real defensive abilities": "Venomancer Fortitude 坦克会使用实际拥有的防御技能", + "Healer bots waste fewer big heals and tank bots spread their defensives": "治疗机器人减少浪费大型治疗,坦克会错开使用防御技能", + "Dungeon bots drink and rest until the tank is ready to go on": "副本机器人会喝水和休息,直到坦克准备好继续", + "Archery Rangers use Precision Shot and Brutal Shot": "Archery Ranger 会使用 Precision Shot 和 Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode": "Black Knight 坦克可以在自动副本模式中拉怪", + "Boltslinger bots use spells they actually know": "Boltslinger 只会使用实际学会的法术", + "Bots with unsuitable gear are refitted at login": "装备不合适的机器人会在登录时更换装备", + "Bots with full bags make room to hand in finished quests": "背包已满的机器人会腾出空间以提交已完成的任务", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes": "机器人根据战斗法术选择武器和盾牌,而不是根据附魔配方", + "Bots get their gear repaired and stop looping to the repairer": "机器人会修理装备,不再反复往返修理商", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap": "如果外域和诺森德未缩放到等级上限,机器人会避开这些地区", + "Bots plan long walks around areas too strong for them": "机器人长途行走时会绕开过于危险的区域", + "Dead bots run back to their bodies and come back healthy": "死亡的机器人会跑回尸体并以健康状态复活", + "Meet travelling companions and rivals in dynamic open-world encounters": "在动态开放世界事件中遇见旅行伙伴和对手", + "New companions respect the server's custom race restrictions": "新伙伴会遵守服务器的自定义种族限制", + "Ranged bots no longer stand still while Auto Shot or Shoot is active": "远程机器人不再因 Auto Shot 或 Shoot 启用而原地不动", + "Battleground bots no longer travel in a straight line": "战场机器人不再沿直线移动", + "Far less server lag with hundreds of bots online": "数百个机器人在线时,服务器延迟显著降低", + "Inspect the mana restoration spells recognized by an online companion": "查看在线伙伴所识别的法力恢复法术", + "Bots stop hitting mobs they cannot reach": "机器人会停止攻击无法接近的敌人", + "Bot economy errands skip groups, battlegrounds and dungeons": "机器人的经济事务会跳过队伍、战场和副本", + "Dungeon finder fills your group with bots that really join you": "地下城查找器会用真正加入队伍的机器人补齐队伍", + "Stop an unfinished server startup before restoring its database": "恢复数据库前可以停止尚未完成的服务器启动", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases": "合入 40 项上游更改:职业、物品及 Pale Reach 任务修复,可选的账号共享好友,以及 Vanity 购买修复" + } + } +} diff --git a/src/data/server-history.json b/src/data/server-history.json new file mode 100644 index 0000000..25d3f59 --- /dev/null +++ b/src/data/server-history.json @@ -0,0 +1,1169 @@ +{ + "schema": 1, + "component": "server", + "repository": "Corfirean/coa-server-build", + "releases": [ + { + "version": "0.261002.12", + "tag": "legacy-server-0.261002.12", + "date": "2026-10-02", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-02.json", + "notes": [ + "Bots no longer take Realm First achievements", + "Starter pack bots get 22-slot bags", + "Trade with your bots", + "Dungeon fill picks bots by role more reliably", + "NPC Enchanter in Orgrimmar and Stormwind", + "Browse tab lists every online bot", + "Collect gold and Stock tabs for the bot economy", + "Invite one bot by role", + "Bot economy, experimental and off by default", + "Master switch for the companion bots", + "A huge .botcmd spawnrandom no longer floods the server", + "Auction House Bot is built in but inactive until configured", + "Optional fee for the NPC Enchanter" + ] + }, + { + "version": "0.261003.17", + "tag": "legacy-server-0.261003.17", + "date": "2026-10-03", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-03-server17.json", + "notes": [ + "Companions follow safer navigation paths", + "Dungeon Finder respects scaled realm levels across enabled expansions", + "Companions follow and recover movement more consistently", + "Companions fly from the opening of Burning Crusade content", + "Companions avoid helmets and shoulders with missing models", + "Companion equipment repair continues with full bags", + "All dungeon difficulties and combat gear variants follow realm progression", + "Custom progression at level 80 now scales item requirements and rewards consistently", + "Downscaled dungeon creatures keep their loot rewards", + "Dungeon Finder shows all enabled expansions at a reduced level cap", + "Items now scale correctly on servers with a reduced level cap", + "Scaled encounters retain normal boss loot", + "Remote console shutdown no longer blocks server management", + "Bots get level-appropriate gear without holiday, event or vanity items", + "Existing bots follow a lowered server level cap", + "Destroyed instances release their saved scaling state", + "Invalid progression settings stop scaling before items are changed", + "Disabling Content Scaling now stops item and group finder changes", + "Explicit scaling overrides now take priority over generated content profiles" + ] + }, + { + "version": "0.261002.13", + "tag": "legacy-server-0.261002.13", + "date": "2026-10-03", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-03.json", + "notes": [ + "Dungeons and raids scale to your group size, with solo modes", + "TBC and WotLK content packs", + "Boss health scaling reads the real raid difficulty table", + "NPC Enchanter may say an empty line on servers without its config file" + ] + }, + { + "version": "0.261005.0", + "tag": "server-0.261005.0", + "date": "2026-10-04", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261005.0", + "notes": [ + "Restored missing Wildcard character tables while preserving existing rows", + "Server packages now include the expected database structure for update validation" + ] + }, + { + "version": "0.261005.22", + "tag": "server-0.261005.22", + "date": "2026-10-05", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261005.22", + "notes": [ + "Fixed startup with the bundled Python runtime", + "Included grouped bot looting defaults, partial Dungeon Finder parties and optional open-world life steal", + "Added dungeon damage controls, auction source filtering and cumulative database repairs" + ] + }, + { + "version": "0.261007.24", + "tag": "legacy-server-0.261007.24", + "date": "2026-10-07", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-07.json", + "notes": [ + "The world server no longer crashes with many units close together", + "Experimental Linux server build", + "SquidBots builds follow the latest stable module release", + "Interrupted SquidBots database imports require recovery before restarting", + "SquidBots preserves imported bot databases and skips SQL when disabled", + "Disabled SquidBots no longer require their database to start the server", + "Large SQUID database imports no longer use the short query timeout", + "First SQUID startup has time to create its initial bot pool", + "The Auction House Bot creates its own character when enabled" + ] + }, + { + "version": "0.261008.27", + "tag": "legacy-server-0.261008.27", + "date": "2026-10-08", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-08-2.json", + "notes": [ + "Random dungeons pay Dungeon Spoils, and the final boss a Mark of Triumph", + "You can queue for arenas from the PvP frame", + "Class fixes for Necromancer, Venomancer, Bloodmage, Pyromancer, Tinker and Guardian", + "Quest markers and quest givers repaired in Westfall, Northshire, Mulgore and more", + "SQUID bots 1.9.1: PvP bots, rated arenas and a chat language setting" + ] + }, + { + "version": "0.261010.32", + "tag": "legacy-server-0.261010.32", + "date": "2026-10-10", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/blob/main/changelog/archive/releases/2026-10-10.json", + "notes": [ + "Custom races gain Jinyu, Sethrak, Gnoll and Saberon with updated appearances", + "Optional custom races support extended character appearances", + "Optional custom playable races support (mod-coa-custom-races)", + "Server packages include the optional custom race module and its game data", + "The experimental Linux server build matches the Windows release contents", + "Server packages include the updated custom race game data" + ] + }, + { + "version": "0.261013.54", + "tag": "server-0.261013.54", + "date": "2026-10-13", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261013.54", + "notes": [ + "Custom races bot support and dedicated lore naming", + "Random bot spawning and auto-fill no longer leak accounts or freeze the server", + "Bot account cleanup preserves accounts used by other realms", + "Companion race selection respects module switches and excluded races", + "Allow removing class requirements from equipment and tier sets", + "Fix LFG bot fill and party queues, battleground access, and Manastorm entry", + "Configure parallel and global level scaling progression modes", + "Private dungeon access no longer bypasses restrictions on unrelated maps", + "Content Scaling preserves your creature health settings", + "Updated the reviewed CoA upstream snapshot", + "Updated Custom Races to 1.6 and SQUID Playerbots to 2.1" + ] + }, + { + "version": "0.261006.1", + "tag": "server-0.261006.1", + "date": "2026-10-06", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261006.1", + "notes": [ + "Restored missing Wildcard tables through corrective migrations while preserving existing data", + "Fixed launcher integration with the bundled Python runtime", + "Updated SQUID Playerbots to 1.8.1", + "Improved incomplete SQUID database import detection and initialization handling" + ] + }, + { + "version": "0.261011.800006", + "tag": "server-0.261011.800006", + "date": "2026-10-11", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261011.800006", + "notes": [ + "Updated the reviewed CoA upstream snapshot", + "Updated SQUID Playerbots to 2.0 and Custom Races to 1.5.1", + "Included persistent armor hiding and relaxed name restrictions with custom races enabled", + "Updated raid boss initialization and applied targeted Retreat and Northshire database fixes" + ] + }, + { + "version": "0.261012.800008", + "tag": "server-0.261012.800008", + "date": "2026-10-12", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261012.800008", + "notes": [ + "Refreshed terrain, collision and navigation data, including the Cain Estate area", + "Requires Manager 0.6.15 or newer for large server updates" + ] + }, + { + "version": "0.261015.58", + "tag": "server-0.261015.58", + "date": "2026-10-15", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261015.58", + "notes": [ + "Added complete installation packages for the current server build", + "Servers can stop even when startup configuration templates are damaged", + "Startup configuration errors identify the affected template", + "Updated the reviewed CoA upstream snapshot", + "Updated Custom Races to 1.7 and SQUID Playerbots to 2.3.1" + ] + }, + { + "version": "0.261018.70", + "tag": "server-0.261018.70", + "date": "2026-10-19", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261018.70", + "notes": [ + "Restored Manastorm Endless integration and database updates for existing servers", + "Included optional matching Manastorm client UI fixes", + "Updated the reviewed CoA upstream snapshot", + "Updated Custom Races to 1.8 and SQUID Playerbots to 2.5" + ], + "snapshot": "482677660568d18b4c41d61f568a2a64c7380fe48557d3558710de375cedd609", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "463f6eab715a09ab9178997e212057534ee465af", + "sha": "463f6eab715a09ab9178997e212057534ee465af" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "12f459cff4d17ba60a694ba0398f93866e20d2cc", + "sha": "12f459cff4d17ba60a694ba0398f93866e20d2cc" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "c76847a19aaf0b709a6a3dcc785c09ada0aa8fee", + "sha": "c76847a19aaf0b709a6a3dcc785c09ada0aa8fee" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "d75f141fb4998f7c486bba737fe045d46847cd37", + "sha": "d75f141fb4998f7c486bba737fe045d46847cd37" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "65df6604846d5492e40a6b08a797199478666e24", + "sha": "65df6604846d5492e40a6b08a797199478666e24" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.8", + "sha": "0cd699377c7ddc923e63bd00a1ce8c8a77a6bc25", + "assets": [ + { + "name": "CoA-Custom-1.8-Client.zip", + "size": 397051006, + "digest": "sha256:b0ee9275a373e4024dda7744321d02b686fb1c703603ad635b32bfb6ed9b48aa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/CoA-Custom-1.8-Client.zip" + }, + { + "name": "CoA-Custom-1.8-Server.zip", + "size": 50927508, + "digest": "sha256:d00a50b89dca96eb39697c68b892481119b2ba6c3c9dce0c6efb3e2226287273", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/CoA-Custom-1.8-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 2014, + "digest": "sha256:479fc5bbd5ffba9f1d35dbf0838423b6074937c0a25f61c141a008cbff0413e8", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/INSTALL-GUIDE.txt" + }, + { + "name": "LINUX.md", + "size": 3424, + "digest": "sha256:ae9414baa2a9ff5d57607bc551cd762c773ccecff56edc07c627e3106c50ae66", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/LINUX.md" + }, + { + "name": "PATCH-NOTES-1.8.txt", + "size": 5241, + "digest": "sha256:2fa7c8c013fc01dc59c6883a78eb478cd00b3ad0af93cfe61746ff9808ef787a", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/PATCH-NOTES-1.8.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.5", + "sha": "d4eb99445ce56864a2a00fc4b4216688bba5f6cb" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "260d944395b0862a490959c25d7201eb40b6775f", + "sha": "260d944395b0862a490959c25d7201eb40b6775f" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + } + }, + { + "version": "0.2.0", + "tag": "legacy-base-0.2.0", + "date": "2026-09-30", + "legacy": true, + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/base", + "notes": [ + "Initial signed base package for installing a clean server through CoA Server Manager" + ] + }, + { + "tag": "server-0.261012.800007", + "version": "0.261012.800007", + "date": "2026-10-11", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261012.800007", + "prerelease": true, + "notice": "Superseded by server-0.261012.800008: the minimum Manager metadata needs correction. The navigation payload passed all three Manager upgrade scenarios, but this release must not be installed with Managers older than 0.6.15.", + "notes": [ + "Withdrawn preview with incorrect minimum Manager version metadata" + ] + }, + { + "tag": "server-0.261022.75", + "version": "0.261022.75", + "date": "2026-10-22", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261022.75", + "notes": [ + "Added experimental server support for Portable Characters, used with Manager 0.7.0 on compatible realms", + "Integrated the latest reviewed CoA upstream changes", + "Updated SQUID Playerbots to 2.6", + "Improved combat and healing behavior for multiple classes and specializations", + "Bots choose equipment for the stats their specialization uses", + "Improved party following and dungeon pathfinding", + "Tanks wait for the group to catch up and recover", + "Damage dealers and healers bring attacking enemies back to the tank", + "Bots recover from dungeon deaths and stay behind when the leader is a ghost", + "Improved battleground participation and matching bots to the correct level bracket", + "Added separate creature health settings for the open world, dungeons, raids, ordinary enemies and bosses" + ], + "snapshot": "520c143bbef8362b944175e9a6780d7131f2f3327d6f37a9ec56e70f501732a4", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "85a2f229e4f00503c0f589608fb28d67abf83140", + "sha": "85a2f229e4f00503c0f589608fb28d67abf83140" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "0e533aa0de1845993bd7c42afe1c5ab3336ed9e0", + "sha": "0e533aa0de1845993bd7c42afe1c5ab3336ed9e0" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "966e05498542c5c9dfb3f0cf230c0d4ad7c7bbc2", + "sha": "966e05498542c5c9dfb3f0cf230c0d4ad7c7bbc2" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "02aec7496de6989c447f952479c85ad83ce8612e", + "sha": "02aec7496de6989c447f952479c85ad83ce8612e" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "5012f7b10445575dbda6bc44c5412d92ec2f6768", + "sha": "5012f7b10445575dbda6bc44c5412d92ec2f6768" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.8", + "sha": "0cd699377c7ddc923e63bd00a1ce8c8a77a6bc25", + "assets": [ + { + "name": "CoA-Custom-1.8-Client.zip", + "size": 397051006, + "digest": "sha256:b0ee9275a373e4024dda7744321d02b686fb1c703603ad635b32bfb6ed9b48aa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/CoA-Custom-1.8-Client.zip" + }, + { + "name": "CoA-Custom-1.8-Server.zip", + "size": 50927508, + "digest": "sha256:d00a50b89dca96eb39697c68b892481119b2ba6c3c9dce0c6efb3e2226287273", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/CoA-Custom-1.8-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 2014, + "digest": "sha256:479fc5bbd5ffba9f1d35dbf0838423b6074937c0a25f61c141a008cbff0413e8", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/INSTALL-GUIDE.txt" + }, + { + "name": "LINUX.md", + "size": 3424, + "digest": "sha256:ae9414baa2a9ff5d57607bc551cd762c773ccecff56edc07c627e3106c50ae66", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/LINUX.md" + }, + { + "name": "PATCH-NOTES-1.8.txt", + "size": 5241, + "digest": "sha256:2fa7c8c013fc01dc59c6883a78eb478cd00b3ad0af93cfe61746ff9808ef787a", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8/PATCH-NOTES-1.8.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.6", + "sha": "3544af09e340667d6ab92dc295153ab0a2ff9e3e" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "18435adaa9624e1b250984ce07690870022e9bec", + "sha": "18435adaa9624e1b250984ce07690870022e9bec" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261018.70...server-0.261022.75" + }, + { + "tag": "server-0.261023.76", + "version": "0.261023.76", + "date": "2026-10-23", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261023.76", + "notes": [ + "Guardian Tower Formation no longer blocks shield abilities", + "The Auction House Bot has one switch", + "Content Scaling takes over dungeon and raid health and damage when it is enabled", + "Dungeon trash no longer has several health boosts stacked on top of each other", + "Updated the reviewed CoA upstream snapshot" + ], + "snapshot": "4db1923d14d2245f7ca59539573c29da2d0cc21e8c3807567fe5fd965b3b7e6f", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "2973c8e02c7469446c703d2a41cad5af634aa1e3", + "sha": "2973c8e02c7469446c703d2a41cad5af634aa1e3" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "90ec1e0a2e5881d7493c694b703f28750e311805", + "sha": "90ec1e0a2e5881d7493c694b703f28750e311805" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "966e05498542c5c9dfb3f0cf230c0d4ad7c7bbc2", + "sha": "966e05498542c5c9dfb3f0cf230c0d4ad7c7bbc2" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "6b9afcfd240e4cf9487a53d66bea0ff415d9157d", + "sha": "6b9afcfd240e4cf9487a53d66bea0ff415d9157d" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "de90418e84c98687955fab57399d055ea82c0eda", + "sha": "de90418e84c98687955fab57399d055ea82c0eda" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.8.2", + "sha": "0cd699377c7ddc923e63bd00a1ce8c8a77a6bc25", + "assets": [ + { + "name": "CoA-Custom-1.8.2-Client-1.zip", + "size": 1513021586, + "digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-1.zip" + }, + { + "name": "CoA-Custom-1.8.2-Client-2.zip", + "size": 1198283005, + "digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-2.zip" + }, + { + "name": "CoA-Custom-1.8.2-Client-3.zip", + "size": 1571193400, + "digest": "sha256:758a576d7d2d0cdc880ba3bd8db0ef8ee8301db4ecae38ada49afc601839ebc5", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-3.zip" + }, + { + "name": "CoA-Custom-1.8.2-Server.zip", + "size": 51203181, + "digest": "sha256:8e4071a04e85734d77d7609c0813a671c223a59d5be5298f5ac33a3f0928b866", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 2486, + "digest": "sha256:36b0db918eb37dda6ae93dcf6080544661465774837db82ef09e82b5d274c3a4", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/INSTALL-GUIDE.txt" + }, + { + "name": "LINUX.md", + "size": 3534, + "digest": "sha256:b9c7061e42857f9c72d2938eb765d9cf75c9b1d58c0ebf81af4c3a9cd12ef8cf", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/LINUX.md" + }, + { + "name": "PATCH-NOTES-1.8.2.txt", + "size": 5335, + "digest": "sha256:427bfb2d8d4b47fab1ac47cdf0b8f97309bc36bed5f01f9049ed0dca86c12b80", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/PATCH-NOTES-1.8.2.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.6", + "sha": "3544af09e340667d6ab92dc295153ab0a2ff9e3e" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "8aa64e265494a0ad46ffff7ce6447d8318c67514", + "sha": "8aa64e265494a0ad46ffff7ce6447d8318c67514" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261022.75...server-0.261023.76" + }, + { + "tag": "server-0.261024.79", + "version": "0.261024.79", + "date": "2026-10-24", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261024.79", + "notes": [ + "TimeIsTime is included in server packages", + "Hellfire Bellows replaces Flames of Xoroth for Knights of Xoroth", + "Bulwark of Xoroth applies Torn Flesh with every Shieldgore rank", + "Ranger Skinning no longer consumes a primary profession slot", + "Glorious Execution returns mana based on the damage shown to the player", + "Witch Hunters can use one-handed maces", + "Flay Corpse leaves a pile of flesh", + "Whispers of the Old Gods can trigger from Shadow Word: Pain", + "Creatures on the classic continents stop scaling at level 63", + "Mercenaries can attack members of their own faction", + "Temporal Resilience triggers Temporally Warped", + "Game masters can move equipped items to bags or mail with gear unequip", + "Trainers refuse a new profession when both profession slots are occupied", + "Tentacle of C'Thun uses its intended size, targets and armor", + "Rivenruin Myrmidons and Sorceresses drop loot", + "The Worldforged Grimtotem Bow rests on the ground at Three Totems", + "Shadewell Spring has one Worldforged Shadewell Stabber pickup", + "Presence of N'Zoth grows its tentacle from the caster", + "Guiding Glow charges and Radiance cooldowns behave consistently", + "Class bundles open when used", + "Sigil collection companions can be summoned with their intended names", + "Tiraxis uses revised prices for heirlooms and heirloom caches", + "Legendary items stop dropping at level 45 and their powers stop at level 60", + "Rocket Boots can launch a moving Tinker", + "Full vanity collection grants skip companions that cannot be summoned", + "Road to De Other Side returns with bosses, quests and dungeon difficulties", + "Vanity Store prices follow the item category", + "The Vanity Store no longer sells Felforged riding tomes", + "The Fargodeep Mine marker appears at Fargodeep", + "Goblin Salvage Project quests reward Lootbot 3000", + "Discover Rolf's Fate scales with the other Elwynn quests", + "Rank one of Taldaram's Torment triggers its Rage tick", + "Mystic Enchant guides can learn enchants they do not yet know", + "Goblin Salvage Project quests cover levels 30 through 60", + "Goblin Salvage Project quest drops show in item tooltips", + "Aliscar stops listing lessons when the player leaves early", + "Road to De Other Side scales with the player like classic dungeons", + "The Crash Site Proximity Bomb field is restored in Dun Morogh", + "Switching specializations no longer clears action bars at login", + "Updated the reviewed CoA upstream snapshot" + ], + "snapshot": "cd8670f08fc639c9a3610c15581d8e09174c699d03b4b120e35387ce55e7c8e1", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "1221b742cd86ed0a0fcf5a82ac86d0e5dcb103e2", + "sha": "1221b742cd86ed0a0fcf5a82ac86d0e5dcb103e2" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "d1d63c3b693bfb35b496d470d3a5061b91240c1d", + "sha": "d1d63c3b693bfb35b496d470d3a5061b91240c1d" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "6a289fc2230ce9425924ca86dee02d0bb8d3d344", + "sha": "6a289fc2230ce9425924ca86dee02d0bb8d3d344" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347", + "sha": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "b61a1864701ffdcbdac04b35bd7e5271f60f37e1", + "sha": "b61a1864701ffdcbdac04b35bd7e5271f60f37e1" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.8.2", + "sha": "0cd699377c7ddc923e63bd00a1ce8c8a77a6bc25", + "assets": [ + { + "name": "CoA-Custom-1.8.2-Client-1.zip", + "size": 1513021586, + "digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-1.zip" + }, + { + "name": "CoA-Custom-1.8.2-Client-2.zip", + "size": 1198283005, + "digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-2.zip" + }, + { + "name": "CoA-Custom-1.8.2-Client-3.zip", + "size": 1571193400, + "digest": "sha256:758a576d7d2d0cdc880ba3bd8db0ef8ee8301db4ecae38ada49afc601839ebc5", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Client-3.zip" + }, + { + "name": "CoA-Custom-1.8.2-Server.zip", + "size": 51203181, + "digest": "sha256:8e4071a04e85734d77d7609c0813a671c223a59d5be5298f5ac33a3f0928b866", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/CoA-Custom-1.8.2-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 2486, + "digest": "sha256:36b0db918eb37dda6ae93dcf6080544661465774837db82ef09e82b5d274c3a4", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/INSTALL-GUIDE.txt" + }, + { + "name": "LINUX.md", + "size": 3534, + "digest": "sha256:b9c7061e42857f9c72d2938eb765d9cf75c9b1d58c0ebf81af4c3a9cd12ef8cf", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/LINUX.md" + }, + { + "name": "PATCH-NOTES-1.8.2.txt", + "size": 5335, + "digest": "sha256:427bfb2d8d4b47fab1ac47cdf0b8f97309bc36bed5f01f9049ed0dca86c12b80", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.8.2/PATCH-NOTES-1.8.2.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.6", + "sha": "3544af09e340667d6ab92dc295153ab0a2ff9e3e" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "c77aa1cecb01a4004bf112bb5559a516c164ee96", + "sha": "c77aa1cecb01a4004bf112bb5559a516c164ee96" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261023.76...server-0.261024.79" + }, + { + "tag": "server-0.261025.80", + "version": "0.261025.80", + "date": "2026-10-25", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261025.80", + "notes": [ + "Updated CoA Custom to 1.9.1 with new races, racial abilities and appearance corrections", + "Updated SQUID Playerbots to 2.7 with upstream raid tactics, resurrection and Reborn build improvements", + "Imported upstream fixes for server crashes, raid and dungeon encounters, loot and quests", + "Monster magic resistance is enabled by the upstream defaults", + "Cross-faction trade and mail settings are restored by the upstream update", + "Imported upstream filtering for offensive character names, including disguised spellings", + "New upstream defaults reduce profession experience and disable experience from smelting", + "Requires Manager 0.8.1 to install the matching custom-race client files" + ], + "snapshot": "185573c93b65069ebdd5bc903780ee7e9c65c86aacc4d438e989946a8073991e", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "e31df73b6577f9f1c7c774774909bcafa1f66ba0", + "sha": "e31df73b6577f9f1c7c774774909bcafa1f66ba0" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "77f531d46ddb48824b05086f0e63219b3ae23063", + "sha": "77f531d46ddb48824b05086f0e63219b3ae23063" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "6a289fc2230ce9425924ca86dee02d0bb8d3d344", + "sha": "6a289fc2230ce9425924ca86dee02d0bb8d3d344" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347", + "sha": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "02e3a9e4e66870a627feeb0b4d3ec2d75a23973d", + "sha": "02e3a9e4e66870a627feeb0b4d3ec2d75a23973d" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.9.1", + "sha": "cb514ecdf89c20594f13cd77c407ecd803b883fc", + "assets": [ + { + "name": "CoA-Custom-1.9.1-Client-1.zip", + "size": 1513021586, + "digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Client-1.zip" + }, + { + "name": "CoA-Custom-1.9.1-Client-2.zip", + "size": 1198283005, + "digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Client-2.zip" + }, + { + "name": "CoA-Custom-1.9.1-Client-3.zip", + "size": 1678829573, + "digest": "sha256:907e267f0ee7038807e626c3c1eca5e12db6c88b747137a23c5fb52eaa1a358e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Client-3.zip" + }, + { + "name": "CoA-Custom-1.9.1-Client-4.zip", + "size": 502385128, + "digest": "sha256:e0bd87172af989fa50a8e2b08ba4321c72b6265047482f051a1db3b80d55bcaa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Client-4.zip" + }, + { + "name": "CoA-Custom-1.9.1-Client-5.zip", + "size": 143673062, + "digest": "sha256:ffd75421af78957e53f586efb174c213e939b8dd346de981bdfc8e6d9deb9bc0", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Client-5.zip" + }, + { + "name": "CoA-Custom-1.9.1-Server.zip", + "size": 52229582, + "digest": "sha256:31d4a484403c0a6f9337d62d2e3106746952fe9e33963a8cab94e1972dcf7b54", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/CoA-Custom-1.9.1-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 2627, + "digest": "sha256:d06a2a10d0565216a4e31fb5a3b20c5f550af28118295c9162dbf853ac65ebfc", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/INSTALL-GUIDE.txt" + }, + { + "name": "LINUX.md", + "size": 3455, + "digest": "sha256:2f655ce704a2aedcf00bbe500e2e693df2ba1604acacc6bce745d48451ad5638", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/LINUX.md" + }, + { + "name": "PATCH-NOTES-1.9.1.txt", + "size": 3523, + "digest": "sha256:6869195ef84f888233d1e78455c1c54a17485af8710ab3e9e77f027d3ba51c21", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.1/PATCH-NOTES-1.9.1.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.7", + "sha": "272c350b0d8c045ca04a790de4b5b2f0cef531ef" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "d19310899218396b0d21df9e1ff9f9fb633fa307", + "sha": "d19310899218396b0d21df9e1ff9f9fb633fa307" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261024.79...server-0.261025.80" + }, + { + "tag": "server-0.261026.81", + "version": "0.261026.81", + "date": "2026-10-27", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261026.81", + "notes": [ + "Imported 115 upstream commits covering class abilities, quests, Molten Core, world placement, cross-faction battleground queues and open-world creature damage", + "Imported upstream item-power changes: PvE and PvP Power use the matching client data when available", + "Includes restored upstream Manastorm NPC objective icons and optional content-stage limits for cache progression; set Manastorm.FollowReleaseStage=1 to opt in", + "Updated CoA Custom to 1.9.2, including Horde Hozen starts, Centaur visual corrections and custom-race reputation changes", + "Requires Manager 0.8.2 to install the matching custom-race client files", + "Custom-race bots remain experimental; the race upstream reports model and texture issues and client crashes for some races" + ], + "snapshot": "b038758d11e449d6c1fe44f3e3ee5dace59b3a990084f2b05eff416b09cd0a05", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "ec97adff9", + "sha": "ec97adff9d28213d866897af628e9fde744c43f7" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "ee7e5d26ca0e3ea4f3f756851699c5c91a2cc2af", + "sha": "ee7e5d26ca0e3ea4f3f756851699c5c91a2cc2af" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "6a289fc2230ce9425924ca86dee02d0bb8d3d344", + "sha": "6a289fc2230ce9425924ca86dee02d0bb8d3d344" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347", + "sha": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "81b040ef02763c7cf7a3a3da1424b73177e9d433", + "sha": "81b040ef02763c7cf7a3a3da1424b73177e9d433" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.9.2", + "sha": "31bd63d309b8b0fb4f1a4d9b793a343b8ac36f1e", + "assets": [ + { + "name": "CoA-Custom-1.9.2-Client-1.zip", + "size": 1513021586, + "digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-1.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-2.zip", + "size": 1198283005, + "digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-2.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-3.zip", + "size": 1678829573, + "digest": "sha256:907e267f0ee7038807e626c3c1eca5e12db6c88b747137a23c5fb52eaa1a358e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-3.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-4.zip", + "size": 502385128, + "digest": "sha256:e0bd87172af989fa50a8e2b08ba4321c72b6265047482f051a1db3b80d55bcaa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-4.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-5.zip", + "size": 168079711, + "digest": "sha256:73364ad1b58c6342641a848a3b20a835472834f600416606be1470386774ca78", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-5.zip" + }, + { + "name": "CoA-Custom-1.9.2-Server.zip", + "size": 53004560, + "digest": "sha256:b893813573a4d3f6a0003c1f174582d3def997f37b402cbca44d53055d2fc1d2", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 3006, + "digest": "sha256:f17e97fafa3225901d1caf8c3b8141293f98fbfb8c9243c0c4717278c60146aa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/INSTALL-GUIDE.txt" + }, + { + "name": "PATCH-NOTES-1.9.2.txt", + "size": 2822, + "digest": "sha256:f2fd4693ba181959a572d3fb10a0050e9ff6c4f735b3ab0019c7d16712db28cb", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/PATCH-NOTES-1.9.2.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.7", + "sha": "272c350b0d8c045ca04a790de4b5b2f0cef531ef" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "6dc9335111364ea6dcd589fd97f90caba0b61071", + "sha": "6dc9335111364ea6dcd589fd97f90caba0b61071" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261025.80...server-0.261026.81" + }, + { + "tag": "server-0.261028.83", + "version": "0.261028.83", + "date": "2026-10-28", + "url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261028.83", + "notes": [ + "Restrict new characters by custom race without changing existing characters", + "More class abilities, items and Pale Reach quests work as intended", + "Witch Doctor and Guardian bots use their totems and standards, and fewer casts are refused", + "Venomancer Fortitude tanks use their real defensive abilities", + "Healer bots waste fewer big heals and tank bots spread their defensives", + "Dungeon bots drink and rest until the tank is ready to go on", + "Archery Rangers use Precision Shot and Brutal Shot", + "Black Knight tank bots can pull in auto-dungeon mode", + "Boltslinger bots use spells they actually know", + "Bots with unsuitable gear are refitted at login", + "Bots with full bags make room to hand in finished quests", + "Bots pick weapons and shields for their combat spells, not for enchanting recipes", + "Bots get their gear repaired and stop looping to the repairer", + "Bots stay out of Outland and Northrend when those are not scaled to the level cap", + "Bots plan long walks around areas too strong for them", + "Dead bots run back to their bodies and come back healthy", + "Meet travelling companions and rivals in dynamic open-world encounters", + "New companions respect the server's custom race restrictions", + "Ranged bots no longer stand still while Auto Shot or Shoot is active", + "Battleground bots no longer travel in a straight line", + "Far less server lag with hundreds of bots online", + "Inspect the mana restoration spells recognized by an online companion", + "Bots stop hitting mobs they cannot reach", + "Bot economy errands skip groups, battlegrounds and dungeons", + "Dungeon finder fills your group with bots that really join you", + "Stop an unfinished server startup before restoring its database", + "Imported 40 upstream commits with class, item and Pale Reach quest fixes, optional account-wide friends, and corrected Vanity purchases" + ], + "snapshot": "48632e51ca566bfc4b1d0bcd2753f73241231af241596ffe92ae1f8574b169ca", + "components": { + "upstream": { + "repository": "jealous-sound/azerothcore-wotlk-coa", + "ref": "9fae1a4628d46fb36e1d3f4c5d80be1ca6a553c4", + "sha": "9fae1a4628d46fb36e1d3f4c5d80be1ca6a553c4" + }, + "core": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "a76415e00eba595b4d9eca22e5004ce398b24210", + "sha": "a76415e00eba595b4d9eca22e5004ce398b24210" + }, + "bots": { + "repository": "Corfirean/mod-coa-playerbots", + "ref": "d17b021c8806e5d826a7ca3784cd49ec614ad29f", + "sha": "d17b021c8806e5d826a7ca3784cd49ec614ad29f" + }, + "scaling": { + "repository": "Corfirean/mod-coa-content-scaling", + "ref": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347", + "sha": "f1caf4e5d20ffb4cfc433dfccdda78ae16ce4347" + }, + "manager": { + "repository": "Corfirean/coa-server-manager", + "ref": "dc97095bd6b36d9b5111f04f0cfd88e1fb2ab1f1", + "sha": "dc97095bd6b36d9b5111f04f0cfd88e1fb2ab1f1" + }, + "races": { + "repository": "ilusixn/azerothcore-wotlk-coa", + "ref": "coa-custom-1.9.2", + "sha": "31bd63d309b8b0fb4f1a4d9b793a343b8ac36f1e", + "assets": [ + { + "name": "CoA-Custom-1.9.2-Client-1.zip", + "size": 1513021586, + "digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-1.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-2.zip", + "size": 1198283005, + "digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-2.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-3.zip", + "size": 1678829573, + "digest": "sha256:907e267f0ee7038807e626c3c1eca5e12db6c88b747137a23c5fb52eaa1a358e", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-3.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-4.zip", + "size": 502385128, + "digest": "sha256:e0bd87172af989fa50a8e2b08ba4321c72b6265047482f051a1db3b80d55bcaa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-4.zip" + }, + { + "name": "CoA-Custom-1.9.2-Client-5.zip", + "size": 168079711, + "digest": "sha256:73364ad1b58c6342641a848a3b20a835472834f600416606be1470386774ca78", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Client-5.zip" + }, + { + "name": "CoA-Custom-1.9.2-Server.zip", + "size": 53004560, + "digest": "sha256:b893813573a4d3f6a0003c1f174582d3def997f37b402cbca44d53055d2fc1d2", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/CoA-Custom-1.9.2-Server.zip" + }, + { + "name": "INSTALL-GUIDE.txt", + "size": 3006, + "digest": "sha256:f17e97fafa3225901d1caf8c3b8141293f98fbfb8c9243c0c4717278c60146aa", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/INSTALL-GUIDE.txt" + }, + { + "name": "PATCH-NOTES-1.9.2.txt", + "size": 2822, + "digest": "sha256:f2fd4693ba181959a572d3fb10a0050e9ff6c4f735b3ab0019c7d16712db28cb", + "url": "https://github.com/ilusixn/azerothcore-wotlk-coa/releases/download/coa-custom-1.9.2/PATCH-NOTES-1.9.2.txt" + } + ] + }, + "squid": { + "repository": "Zyth45/mod-playerbots", + "ref": "v2.7", + "sha": "272c350b0d8c045ca04a790de4b5b2f0cef531ef" + }, + "build": { + "repository": "Corfirean/coa-server-build", + "ref": "89795b6e9da36d03c5ef340f58e81e872d77921a", + "sha": "89795b6e9da36d03c5ef340f58e81e872d77921a" + }, + "navigation": { + "repository": "Corfirean/azerothcore-wotlk-coa", + "ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc", + "sourceRelease": "navigation-20261012", + "manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683", + "archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60", + "assets": [ + { + "name": "navigation.zip.001", + "size": 1500000000, + "sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001" + }, + { + "name": "navigation.zip.002", + "size": 1377006470, + "sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471", + "url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002" + } + ] + } + }, + "experimentalFeatures": [ + "portable-characters" + ], + "compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261026.81...server-0.261028.83" + } + ] +} diff --git a/src/dev/mock.ts b/src/dev/mock.ts index 887c503..e2e8725 100644 --- a/src/dev/mock.ts +++ b/src/dev/mock.ts @@ -25,9 +25,14 @@ export {}; notes:["worldserver.exe differs from the one listed in RELEASE.json (release 2026-09-11); this looks like a customised build."],modifies_files:false}; const svc=(n: string,p: number,st: string)=>({name:n,state:st,pid:st==="running"?100:null,port:p,port_ready:st==="running",conflict:null,uptime_secs:st==="running"?4206:null}); { const q = new URLSearchParams(location.search); const w0 = window as any; if (q.get("client")) w0.__client = q.get("client"); if (q.get("modified")) w0.__modified = true; } + (window as any).__TAURI_EVENT_PLUGIN_INTERNALS__ = { unregisterListener() {} }; (window as any).__TAURI_INTERNALS__ = { transformCallback: (cb: unknown)=>cb, unregisterCallback(){}, convertFileSrc:(x: unknown)=>x, invoke: async (cmd: string, args?: any)=>{ + if(cmd==="open_link") return null; + if(cmd==="pending_update") return null; + if(cmd==="plugin:app|version") return "0.8.2"; + if(cmd==="release_history") throw new Error("Offline demo: using bundled notes"); if(cmd==="realm_profiles") return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:simultaneous&&running,with_reborn:withReborn,reborn_world_port:withReborn?8087:null,reborn_running:withReborn&&running}; if(cmd==="realm_simultaneous") { if(running) throw new Error("Stop both realms before changing simultaneous startup."); simultaneous=args.enabled; wildcardCreated ||= simultaneous; return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:false,with_reborn:withReborn,reborn_world_port:withReborn?8087:null,reborn_running:false}; } if(cmd==="realm_with_reborn") { if(running) throw new Error("Stop all realms before changing which realms start together."); withReborn=args.enabled; rebornCreated ||= withReborn; return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:false,with_reborn:withReborn,reborn_world_port:withReborn?8087:null,reborn_running:false}; } @@ -49,8 +54,8 @@ export {}; if(cmd==="preview_preset"){const a=args;const sc=a.scope==="server"?serverSchema:botsSchema;const pr=(a.scope==="server"?serverPresets:botsPresets).presets as any[];const p=pr.find(x=>x.id===a.preset)??{id:a.preset??"defaults",title:"Recommended defaults",description:"Every setting returns to its default value."};const st=(sc.settings as any[]).filter(x=>x.type==="int"||x.type==="float"||x.type==="enum").slice(0,3);return {id:p.id,title:p.title,description:p.description,changes:st.map(x=>({key:x.key,title:x.title,from:x.default,to:x.type==="enum"?(x.options?.[1]?.value??x.default):(Number(x.default)||1)*2,dangerous:false}))};} if(cmd==="companion_sizes") return {hardware:{cores:16,ram_gb:31,free_ram_gb:12},sizes:[{id:"small",title:"Small",bots:50,warning:null},{id:"medium",title:"Medium",bots:250,warning:null},{id:"large",title:"Large",bots:500,warning:"500 companions may need more CPU and memory than this computer has (8 cores, 16 GB)."}]}; if(cmd==="add_companions"){const base=(window as any).__bots??85;(window as any).__target=base+args.count;return {spawned:"queued",created:null,baseline:base};} - if(cmd==="check_update") return {from_version:(window as any).__updated?"0.261001.8":"0.260930.5",to_version:"0.261001.8",items:[],conflicts:[],migrations:5,pending_migrations:(window as any).__updated?0:5,download_bytes:6000000}; - if(cmd==="apply_update"){const w=window as any;for(let i=1;i<=8;i++){await new Promise((r: any)=>setTimeout(r,700));(w.__handlers?.["update-progress"]??[]).forEach((h: any)=>h({event:"update-progress",id:1,payload:{step:i<4?"Downloading the update":i<7?"Applying the update":"Finishing",percent:i*12}}));}(window as any).__updated=true;return {txn:{state:"committed",to_version:"0.261001.8"},migrations:null};} + if(cmd==="check_update") return {from_version:(window as any).__updated?"0.261028.83":"0.261026.81",to_version:"0.261028.83",items:[],conflicts:[],migrations:5,pending_migrations:(window as any).__updated?0:5,download_bytes:6000000}; + if(cmd==="apply_update"){const w=window as any;for(let i=1;i<=8;i++){await new Promise((r: any)=>setTimeout(r,700));(w.__handlers?.["update-progress"]??[]).forEach((h: any)=>h({event:"update-progress",id:1,payload:{step:i<4?"Downloading the update":i<7?"Applying the update":"Finishing",percent:i*12}}));}(window as any).__updated=true;return {txn:{state:"committed",to_version:"0.261028.83"},migrations:null};} if(cmd==="get_population"){if(!running) return null;let b=(window as any).__bots??85;const t=(window as any).__target??0;if(t>b){b=Math.min(t,b+25);(window as any).__bots=b;}return {online_total:b,bots_online:Math.max(0,b-7),players_online:0,bots_total:b};} if(cmd==="get_performance") return running?{mean_ms:14,median_ms:15,p95_ms:24,p99_ms:30,max_ms:61,ticks_per_sec:71.4}:null; if(cmd==="run_diagnostics") return {problems:2,checks:[{id:"files",title:"Server files",level:"ok",detail:"All expected server parts were found."},{id:"world",title:"World server",level:"warn",detail:"Not running."},{id:"disk",title:"Free disk space",level:"warn",detail:"Only 3 GB free; backups and updates need room."},{id:"exposure",title:"Private services",level:"ok",detail:"Database and server console are not reachable from the network."}]}; diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts index 29b0c9c..388023c 100644 --- a/src/i18n/locales/de.ts +++ b/src/i18n/locales/de.ts @@ -2,6 +2,33 @@ import type en from "./en"; /** Deutsch. Entwurf einer Übersetzung; vor der Veröffentlichung von Muttersprachlern zu prüfen. */ const de: Partial> = { + "settings.autoManager": "Updates im Hintergrund herunterladen", + "settings.startServer": "Nach dem Update starten", + "settings.version": "Version {v}", + "settings.startupHelp": "Details zum Start", + + "settings.section.updates": "Updates", + "settings.section.startup": "Start", + "settings.section.client": "Client und Dateien", + "settings.section.service": "Wartung", + "settings.section.interface": "Oberfläche", + "settings.organized": "Updates, Serverstart und Spieldateien verwalten", + "settings.clientLink": "Clientdateien und Spieldaten", + "history.title": "Änderungsverlauf", + "history.open": "Was sich ändert", + "history.server": "Server", + "history.manager": "Manager", + "history.all": "Alle Versionen", + "history.range": "Für dieses Update", + "history.language": "Sprache der Einträge", + "history.fallback": "Englisches Original: Diese Version wurde noch nicht übersetzt", + "history.empty": "Für dieses Update sind noch keine Einträge veröffentlicht", + "history.files": "Dateiänderungen", + "history.offline": "Gespeicherter Verlauf · offline verfügbar", + "history.refreshed": "Veröffentlichter Verlauf aktualisiert", + "history.experimental": "Portable Charaktere sind experimentell. Sichere deine Charaktere vor der Verwendung.", + "settings.attention": "Ein Update erfordert Aufmerksamkeit. Öffne Updates für die Wiederherstellungsoptionen.", + "races.unknownIds": "Nicht mehr im Katalog vorhandene Völker-IDs: {ids}. Beim Speichern werden diese alten Einschränkungen entfernt.", "races.reviewCatalog": "Der Völkerkatalog wurde geändert oder noch nicht geprüft. Prüfe die Liste und speichere sie erneut.", "races.available": "Verfügbare Völker", diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index efb3d3e..c72e8d3 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -1,5 +1,32 @@ /** English is the source of truth: every key must exist here; other locales fall back to it. */ const en = { + "settings.autoManager": "Download updates in the background", + "settings.startServer": "Start after updating", + "settings.version": "Version {v}", + "settings.startupHelp": "Startup details", + + "settings.section.updates": "Updates", + "settings.section.startup": "Startup", + "settings.section.client": "Client and files", + "settings.section.service": "Maintenance", + "settings.section.interface": "Interface", + "settings.organized": "Manage updates, startup and your game files", + "settings.clientLink": "Client files and game data", + "history.title": "Release history", + "history.open": "What changed", + "history.server": "Server", + "history.manager": "Manager", + "history.all": "All versions", + "history.range": "For this update", + "history.language": "Notes language", + "history.fallback": "Original English notes: this release has not been translated yet", + "history.empty": "No published notes for this update", + "history.files": "File changes", + "history.offline": "Saved release history · available offline", + "history.refreshed": "Published notes refreshed", + "history.experimental": "Portable Characters is experimental. Back up your characters before using it.", + "settings.attention": "An update needs attention. Open Updates to review recovery options.", + "races.unknownIds": "RaceIDs no longer in this catalog: {ids}. Saving the reviewed list removes these old restrictions.", "races.reviewCatalog": "The race catalog changed or has not been verified. Review the list and save it before applying restrictions.", "races.available": "Available races", @@ -1123,7 +1150,7 @@ const en = { "browse.offlineWarning": "The server is currently offline. Joining with a portable character will become available once the host starts the server.", "browse.play": "Play", "browse.playSoon": "Joining arrives with the account support of the next step.", - "registry.title": "Public listing", + "registry.title": "Public realms", "registry.dialogTitle": "Public listing · {realm}", "registry.publishAll": "Publish all realms", "registry.publishAllText": "One description, language and region for every realm that is not listed yet. Each realm is listed under the server name; the realms that start next to the main one get their realm name added.", diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts index e6a6360..6eb1734 100644 --- a/src/i18n/locales/es.ts +++ b/src/i18n/locales/es.ts @@ -2,6 +2,33 @@ import type en from "./en"; /** Español. Traducción provisional; debe revisarla un hablante nativo antes de publicarse. */ const es: Partial> = { + "settings.autoManager": "Descargar actualizaciones en segundo plano", + "settings.startServer": "Iniciar tras actualizar", + "settings.version": "Versión {v}", + "settings.startupHelp": "Detalles del inicio", + + "settings.section.updates": "Actualizaciones", + "settings.section.startup": "Inicio", + "settings.section.client": "Cliente y archivos", + "settings.section.service": "Mantenimiento", + "settings.section.interface": "Interfaz", + "settings.organized": "Gestiona actualizaciones, inicio y archivos del juego", + "settings.clientLink": "Archivos del cliente y datos del juego", + "history.title": "Historial de cambios", + "history.open": "Qué cambia", + "history.server": "Servidor", + "history.manager": "Manager", + "history.all": "Todas las versiones", + "history.range": "Para esta actualización", + "history.language": "Idioma de las notas", + "history.fallback": "Original en inglés: esta versión aún no está traducida", + "history.empty": "No hay notas publicadas para esta actualización", + "history.files": "Cambios en archivos", + "history.offline": "Historial guardado · disponible sin conexión", + "history.refreshed": "Historial publicado actualizado", + "history.experimental": "Los personajes portátiles son experimentales. Haz una copia de seguridad de tus personajes antes de usarlos.", + "settings.attention": "Una actualización requiere atención. Abre Actualizaciones para ver las opciones de recuperación.", + "races.unknownIds": "RaceID que ya no están en el catálogo: {ids}. Al guardar la lista revisada se eliminan estas restricciones antiguas.", "races.reviewCatalog": "El catálogo de razas ha cambiado o aún no está verificado. Revisa la lista y guárdala.", "races.available": "Razas disponibles", diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts index 1a85569..a2098bf 100644 --- a/src/i18n/locales/fr.ts +++ b/src/i18n/locales/fr.ts @@ -2,6 +2,33 @@ import type en from "./en"; /** Français. Traduction provisoire ; à faire relire par un locuteur natif avant la publication. */ const fr: Partial> = { + "settings.autoManager": "Télécharger les mises à jour en arrière-plan", + "settings.startServer": "Démarrer après la mise à jour", + "settings.version": "Version {v}", + "settings.startupHelp": "Détails du démarrage", + + "settings.section.updates": "Mises à jour", + "settings.section.startup": "Démarrage", + "settings.section.client": "Client et fichiers", + "settings.section.service": "Maintenance", + "settings.section.interface": "Interface", + "settings.organized": "Gérer les mises à jour, le démarrage et les fichiers du jeu", + "settings.clientLink": "Fichiers du client et données du jeu", + "history.title": "Historique des changements", + "history.open": "Ce qui change", + "history.server": "Serveur", + "history.manager": "Manager", + "history.all": "Toutes les versions", + "history.range": "Pour cette mise à jour", + "history.language": "Langue des notes", + "history.fallback": "Original anglais : cette version n’est pas encore traduite", + "history.empty": "Aucune note publiée pour cette mise à jour", + "history.files": "Fichiers modifiés", + "history.offline": "Historique enregistré · disponible hors ligne", + "history.refreshed": "Historique publié actualisé", + "history.experimental": "Les personnages portables sont expérimentaux. Sauvegardez vos personnages avant utilisation.", + "settings.attention": "Une mise à jour nécessite votre attention. Ouvrez Mises à jour pour les options de récupération.", + "races.unknownIds": "RaceID absents de ce catalogue : {ids}. Sauvegarder la liste vérifiée supprime ces anciennes restrictions.", "races.reviewCatalog": "Le catalogue des races a changé ou n’a pas été vérifié. Vérifiez la liste et sauvegardez-la.", "races.available": "Races disponibles", diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts index 036b246..f542c9e 100644 --- a/src/i18n/locales/ru.ts +++ b/src/i18n/locales/ru.ts @@ -2,6 +2,33 @@ import type en from "./en"; /** Русский. Черновой перевод; требует проверки носителем перед релизом. */ const ru: Partial> = { + "settings.autoManager": "Скачивать обновления в фоне", + "settings.startServer": "Запустить после обновления", + "settings.version": "Версия {v}", + "settings.startupHelp": "Подробнее о запуске", + + "settings.section.updates": "Обновления", + "settings.section.startup": "Запуск", + "settings.section.client": "Клиент и файлы", + "settings.section.service": "Обслуживание", + "settings.section.interface": "Интерфейс", + "settings.organized": "Обновления, запуск сервера и файлы игры", + "settings.clientLink": "Файлы клиента и игровые данные", + "history.title": "История изменений", + "history.open": "Что изменится", + "history.server": "Сервер", + "history.manager": "Manager", + "history.all": "Все версии", + "history.range": "К обновлению", + "history.language": "Язык записей", + "history.fallback": "Английский оригинал: этот выпуск пока не переведён", + "history.empty": "Для этого обновления пока нет опубликованных записей", + "history.files": "Изменения файлов", + "history.offline": "Сохранённая история · доступна без сети", + "history.refreshed": "Опубликованная история обновлена", + "history.experimental": "Переносимые персонажи — экспериментальная функция. Перед использованием сохраните резервную копию персонажей.", + "settings.attention": "Обновление требует внимания. Откройте «Обновления», чтобы выбрать способ восстановления.", + "races.unknownIds": "RaceID, которых больше нет в каталоге: {ids}. Сохранение проверенного списка удалит эти старые ограничения.", "races.reviewCatalog": "Каталог рас изменился или ещё не проверен. Проверьте список и сохраните его перед применением ограничений.", "races.available": "Доступные расы", @@ -1105,7 +1132,7 @@ const ru: Partial> = { "browse.offlineWarning": "Сервер сейчас не запущен хостом. Игра переносимым персонажем станет доступна, когда владелец включит сервер.", "browse.play": "Играть", "browse.playSoon": "Вход на сервер появится вместе с поддержкой аккаунтов на следующем шаге.", - "registry.title": "Публичный список", + "registry.title": "Публичные реалмы", "registry.dialogTitle": "Публичный список · {realm}", "registry.publishAll": "Опубликовать все реалмы", "registry.publishAllText": "Одно описание, язык и регион для каждого реалма, которого ещё нет в списке. Реалмы публикуются под названием сервера; к реалмам, которые запускаются рядом с основным, добавляется название реалма.", diff --git a/src/i18n/locales/zh.ts b/src/i18n/locales/zh.ts index 0680c7e..707ff87 100644 --- a/src/i18n/locales/zh.ts +++ b/src/i18n/locales/zh.ts @@ -1,5 +1,32 @@ /** Simplified Chinese localization (zh-CN) */ const zh = { + "settings.autoManager": "在后台下载更新", + "settings.startServer": "更新后启动", + "settings.version": "版本 {v}", + "settings.startupHelp": "启动详情", + + "settings.section.updates": "更新", + "settings.section.startup": "启动", + "settings.section.client": "客户端与文件", + "settings.section.service": "维护", + "settings.section.interface": "界面", + "settings.organized": "管理更新、服务器启动与游戏文件", + "settings.clientLink": "客户端文件与游戏数据", + "history.title": "更新日志", + "history.open": "更新内容", + "history.server": "服务器", + "history.manager": "Manager", + "history.all": "所有版本", + "history.range": "本次更新", + "history.language": "日志语言", + "history.fallback": "英文原文:此版本尚未翻译", + "history.empty": "本次更新暂无已发布的日志", + "history.files": "文件变更", + "history.offline": "已保存的日志 · 离线可用", + "history.refreshed": "已刷新发布日志", + "history.experimental": "可携带角色功能仍处于实验阶段。使用前请备份角色。", + "settings.attention": "某次更新需要处理。请打开“更新”查看恢复选项。", + "races.unknownIds": "此目录中已不存在的种族 ID:{ids}。保存检查后的列表将移除这些旧限制。", "races.reviewCatalog": "种族目录已更改或尚未验证。请检查列表并保存后再应用限制。", "races.available": "可用种族", diff --git a/src/lib/releaseHistory.ts b/src/lib/releaseHistory.ts new file mode 100644 index 0000000..fb31c62 --- /dev/null +++ b/src/lib/releaseHistory.ts @@ -0,0 +1,16 @@ +import manager from "../../changelog/history.json"; +import server from "@/data/server-history.json"; +import translations from "@/data/latest-note-translations.json"; +import type { Locale } from "@/i18n"; + +import { localizeNotes, type Component, type History, type Release } from "./releaseHistoryModel"; +export { compareVersions, releasesForUpdate } from "./releaseHistoryModel"; +export type { Component, History } from "./releaseHistoryModel"; +export const bundledHistories: Record = { manager: manager as History, server: server as History }; +export const repositories = { manager: "Corfirean/coa-server-manager", server: "Corfirean/coa-server-build" }; + +export function translatedNotes(component: Component, release: Release, locale: Locale): { notes: string[]; fallback: boolean } { + if (locale === "en") return { notes: release.notes, fallback: false }; + const dict = (translations[component] as Record>)[locale] ?? {}; + return localizeNotes(release.notes, dict); +} diff --git a/src/lib/releaseHistoryModel.ts b/src/lib/releaseHistoryModel.ts new file mode 100644 index 0000000..1a56ebc --- /dev/null +++ b/src/lib/releaseHistoryModel.ts @@ -0,0 +1,23 @@ +export type Component = "server" | "manager"; +export interface Release { version: string; tag: string; date: string; notes: string[]; prerelease?: boolean; experimentalFeatures?: string[] } +export interface History { component: Component; releases: Release[]; source?: "remote" | "cache" } + +// Only stable numeric versions participate in an installed-to-target update range. +export function compareVersions(a: string, b: string): number { + const aa = a.split(".").map(Number), bb = b.split(".").map(Number); + for (let i = 0; i < Math.max(aa.length, bb.length); i++) { + const d = (aa[i] ?? 0) - (bb[i] ?? 0); + if (d) return d; + } + return 0; +} +export function releasesForUpdate(releases: Release[], from?: string, to?: string): Release[] { + if (!to || !/^\d+(\.\d+)+$/.test(to)) return []; + const knownFrom = from && /^\d+(\.\d+)+$/.test(from); + return releases.filter(r => !r.prerelease && /^\d+(\.\d+)+$/.test(r.version) && + (knownFrom ? compareVersions(r.version, from) > 0 && compareVersions(r.version, to) <= 0 : r.version === to)); +} +export function localizeNotes(notes: string[], dictionary: Record = {}) { + const complete = notes.every(note => dictionary[note]); + return { notes: complete ? notes.map(note => dictionary[note]) : notes, fallback: !complete }; +} diff --git a/src/screens/AboutCard.tsx b/src/screens/AboutCard.tsx index cc52bab..19487cf 100644 --- a/src/screens/AboutCard.tsx +++ b/src/screens/AboutCard.tsx @@ -1,12 +1,12 @@ import { useEffect, useState } from "react"; import { getVersion } from "@tauri-apps/api/app"; -import { Loader2 } from "lucide-react"; +import { Loader2, RefreshCw, Monitor } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; import { useT } from "@/i18n"; import { autoUpdateEnabled, installNow, lookForUpdate, setAutoUpdate, useSelfUpdate } from "@/lib/selfUpdate"; -export function AboutCard() { +export function AboutCard({ onHistory }: { onHistory?: () => void }) { const t = useT(); const s = useSelfUpdate(); const [version, setVersion] = useState(""); @@ -21,37 +21,12 @@ export function AboutCard() { return ( -

{t("app.name")}

-

{t("about.version", { v: version || "…" })}

- - - +
+

{t("history.manager")}

{t("settings.version", { v: version || "…" })}

+ +
+

{t("about.autoHint")}

- {s.version && s.phase !== "current" && (
- {s.version && s.notes && s.phase !== "current" &&

{s.notes}

} + {onHistory ? : s.version && s.notes && s.phase !== "current" &&

{s.notes}

} {s.phase === "ready" &&

{t("selfupd.onClose")}

} {asked && s.phase === "current" &&

{t("about.upToDate")}

} {s.phase === "error" && ( @@ -73,6 +48,9 @@ export function AboutCard() { {s.error &&

{s.error}

} )} +
); } diff --git a/src/screens/Overview.tsx b/src/screens/Overview.tsx index 3703d37..f1b6057 100644 --- a/src/screens/Overview.tsx +++ b/src/screens/Overview.tsx @@ -558,6 +558,7 @@ export function Overview({ server, companions = true, onForget, onOpenUpdates, o

{t("overview.updateAvail", { to: upd.preview.to_version, from: upd.preview.from_version ?? "?" })}

{upd.preview.latest_version &&

{t("upd.intermediate", { to: upd.preview.to_version, latest: upd.preview.latest_version })}

} + {needsDecision &&

{t("overview.updateConflicts")}

} {upd.applying && (
diff --git a/src/screens/PlayWithFriends.tsx b/src/screens/PlayWithFriends.tsx index 231e42a..9f91a25 100644 --- a/src/screens/PlayWithFriends.tsx +++ b/src/screens/PlayWithFriends.tsx @@ -2,10 +2,11 @@ import { useState } from "react"; import { Globe, Network } from "lucide-react"; import { useT } from "@/i18n"; import { cn } from "@/lib/utils"; +import { PublishCard } from "./PublishCard"; import { BrowsePage } from "@/screens/BrowsePage"; import { FriendsPage } from "@/screens/FriendsPage"; -export function PlayWithFriends({ serverId }: { serverId: string; path?: string }) { +export function PlayWithFriends({ serverId, serverName = "" }: { serverId: string; serverName?: string; path?: string }) { const t = useT(); const [tab, setTab] = useState<"servers" | "lan">("servers"); @@ -38,7 +39,7 @@ export function PlayWithFriends({ serverId }: { serverId: string; path?: string
- {tab === "servers" && } + {tab === "servers" && <>} {tab === "lan" && }
); diff --git a/src/screens/RealmStartupSettings.tsx b/src/screens/RealmStartupSettings.tsx index 2083205..9bb42e2 100644 --- a/src/screens/RealmStartupSettings.tsx +++ b/src/screens/RealmStartupSettings.tsx @@ -33,7 +33,7 @@ export function RealmStartupSettings({ serverId }: { serverId: string }) { {view?.with_reborn &&

{t("realm.rebornPort", { port: view.reborn_world_port ?? "—" })}

} {view && view.active !== "coa" && !view.with_reborn &&

{t("realm.rebornNeedsCoa")}

} {view?.simultaneous && view.with_reborn &&

{t("realm.allThree")}

} -

{t("realm.simultaneousHint")}

+
{t("settings.startupHelp")}

{t("realm.simultaneousHint")}

{busy &&

{t("realm.preparing")}

} {error &&

{error}

} ; diff --git a/src/screens/ReleaseHistory.tsx b/src/screens/ReleaseHistory.tsx new file mode 100644 index 0000000..cd45c0e --- /dev/null +++ b/src/screens/ReleaseHistory.tsx @@ -0,0 +1,76 @@ +import { useEffect, useRef, useState } from "react"; +import { invoke } from "@tauri-apps/api/core"; +import { getVersion } from "@tauri-apps/api/app"; +import { useI18n, LOCALES, type Locale } from "@/i18n"; +import { useSelfUpdate } from "@/lib/selfUpdate"; +import { bundledHistories, compareVersions, releasesForUpdate, repositories, translatedNotes, type Component, type History } from "@/lib/releaseHistory"; +import { api } from "@/lib/api"; +import { Card } from "@/components/ui/card"; + +export interface HistorySelection { component: Component; from?: string; to?: string } +export function ReleaseHistory({ selection, onSelect }: { selection: HistorySelection; onSelect: (selection: HistorySelection) => void }) { + const { locale, t } = useI18n(); + const [language, setLanguage] = useState(locale); + const [feeds, setFeeds] = useState(bundledHistories); + const [fresh, setFresh] = useState>>({}); + const [mode, setMode] = useState<"all" | "range">("all"); + const [selected, setSelected] = useState(""); + const [installed, setInstalled] = useState(); + const updater = useSelfUpdate(); + const { component } = selection; + const lastServer = useRef({ component: "server" }); + const [linkError, setLinkError] = useState(); + useEffect(() => { if (component === "server") lastServer.current = selection; setLinkError(undefined); }, [selection, component]); + const target = component === "manager" ? updater.version : selection.to; + const from = component === "manager" ? installed : selection.from; + useEffect(() => setLanguage(locale), [locale]); + useEffect(() => { void getVersion().then(setInstalled).catch(() => {}); }, []); + useEffect(() => { + setSelected(""); + setMode(selection.to || (component === "manager" && updater.version) ? "range" : "all"); + }, [selection, component, updater.version]); + useEffect(() => { + let live = true; + void invoke("release_history", { component }).then(feed => { + if (live && feed.component === component && Array.isArray(feed.releases)) { + setFeeds(previous => ({ ...previous, [component]: feed })); + setFresh(previous => ({ ...previous, [component]: feed.source === "remote" })); + } + }).catch(() => {}); // Bundled reviewed notes remain visible offline. + return () => { live = false; }; + }, [component]); + const releases = [...(mode === "range" ? releasesForUpdate(feeds[component].releases, from, target) : feeds[component].releases)] + .sort((a, b) => compareVersions(b.version.split("-")[0], a.version.split("-")[0]) || b.date.localeCompare(a.date)); + const record = releases.find(r => r.version === selected) ?? releases[0]; + const notes = record ? translatedNotes(component, record, language) : undefined; + return +
+

{t("history.title")}

+
+ {(["server", "manager"] as const).map(c => )} +
+
+
+
+ + {target && } +
+ +
+
+
+ {releases.map(r => )} +
+
+ {record && notes ? <>

{t(`history.${component}`)} {record.version}

+ {notes.fallback &&

{t("history.fallback")}

} +
    {notes.notes.map((note, i) =>
  • {note}
  • )}
+ {record.experimentalFeatures?.includes("portable-characters") &&

{t("history.experimental")}

} + { e.preventDefault(); void api.openLink(e.currentTarget.href).catch(error => setLinkError(String(error))); }}>GitHub ↗ + {linkError &&

{linkError}

} + :

{t("history.empty")}

} +
+
+

{fresh[component] ? t("history.refreshed") : t("history.offline")}

+
; +} diff --git a/src/screens/ServerUpdateCard.tsx b/src/screens/ServerUpdateCard.tsx new file mode 100644 index 0000000..651fa8c --- /dev/null +++ b/src/screens/ServerUpdateCard.tsx @@ -0,0 +1,256 @@ +import { useEffect, useState } from "react"; +import { open } from "@tauri-apps/plugin-dialog"; +import { ChevronDown, ChevronRight, Loader2, RefreshCw, Server } from "lucide-react"; +import { applyServerUpdate, clearServerUpdateResult, refreshServerUpdateState, useServerUpdate } from "@/lib/serverUpdate"; +import { isUpdateCurrent } from "@/lib/serverUpdateStatus"; +import { api, asUiError, type UiError, type UpdatePreview, type UpdateTxn } from "@/lib/api"; +import { Button } from "@/components/ui/button"; +import { Card } from "@/components/ui/card"; +import { useStartAfterUpdate } from "@/lib/updatePrefs"; +import { hasKey, useHuman, useI18n, type Key } from "@/i18n"; + +function mb(bytes: number) { + return bytes >= 1 << 20 ? `${(bytes / (1 << 20)).toFixed(1)} MB` : `${Math.max(1, Math.round(bytes / 1024))} KB`; +} + +export function ServerUpdateCard({ serverId, onHistory, onAttention }: { serverId: string; onHistory: (from?: string | null, to?: string) => void; onAttention: (value: boolean) => void }) { + const { t } = useI18n(); + const upd = useServerUpdate(serverId); + const human = useHuman(); + const [preview, setPreview] = useState(upd.preview); + const [pending, setPending] = useState(null); + const [pendingChecked, setPendingChecked] = useState(false); + const [pendingStateError, setPendingStateError] = useState(null); + const [localBusy, setBusy] = useState<"check" | "rollback" | "retry" | null>(null); + // an update keeps running in the background when this tab is left, so its state is the shared one + const busy = upd.applying ? "update" : localBusy; + const progress = upd.applying ? { step: upd.step ?? "Starting", percent: upd.percent } : null; + const [localError, setError] = useState(null); + const error = pendingStateError ?? localError ?? upd.uiError; + const [localDone, setDone] = useState(null); + const done = upd.result && "committed" in upd.result ? t("upd.updatedTo", { v: upd.result.committed }) : localDone; + const [choices, setChoices] = useState>(() => Object.fromEntries((upd.preview?.conflicts ?? []).map(c => [c, "keep" as const]))); + const [advanced, setAdvanced] = useState(false); + const [source, setSource] = useState(""); + const [startAfter, setStartAfter] = useStartAfterUpdate("server", serverId); + + useEffect(() => { + let active = true; + setPendingChecked(false); + setPending(null); + setPendingStateError(null); + void api.pendingUpdate(serverId).then((txn) => { + if (active) { setPending(txn); setPendingChecked(true); } + }).catch((e) => { if (active) setPendingStateError(asUiError(e)); }); + return () => { active = false; }; + }, [serverId]); + + // Every finished attempt refreshes the disk state, including failures in the background. + useEffect(() => { + if (!upd.stateRevision) return; + setPreview(null); + setPendingChecked(!upd.stateError); + setPendingStateError(upd.stateError); + if (!upd.stateError) setPending(upd.result && "pending" in upd.result ? upd.result.pending : null); + }, [upd.stateRevision, serverId]); + + useEffect(() => { onAttention(!!pending || !!pendingStateError); }, [pending, pendingStateError, onAttention]); + + async function refreshPending() { + setPendingChecked(false); + try { + const txn = await refreshServerUpdateState(serverId); + setPending(txn); + setPendingStateError(null); + setPendingChecked(true); + return txn; + } catch (e) { setPendingStateError(asUiError(e)); throw e; } + } + + async function check() { + setBusy("check"); + setError(null); + setDone(null); + clearServerUpdateResult(serverId); + setPreview(null); + try { + const txn = await refreshPending(); + if (txn) return; + const p = await api.checkUpdate(serverId, source.trim() || undefined); + setPreview(p); + setChoices(Object.fromEntries(p.conflicts.map((c) => [c, "keep" as const]))); + } catch (e) { + setError(asUiError(e)); + } finally { + setBusy(null); + } + } + + async function update() { + if (!pendingChecked || pendingStateError || pending) return; + setError(null); + setDone(null); + await applyServerUpdate(serverId, { choices, source: source.trim() || undefined }); + } + + async function rollback(txn: UpdateTxn) { + if (!window.confirm(t("upd.confirmBack"))) return; + setBusy("rollback"); + setError(null); + try { + await api.rollbackUpdate(serverId, txn.id); + setPending(null); + setDone(t("upd.wentBack")); + } catch (e) { + setError(asUiError(e)); + } finally { + try { await refreshPending(); } catch { /* Keep the disk-state error visible. */ } + setBusy(null); + } + } + + async function retryValidation(txn: UpdateTxn) { + setBusy("retry"); + setError(null); + try { + const result = await api.retryUpdateValidation(serverId, txn.id); + if (result.state === "committed") { + setPending(null); + setPreview(null); + setDone(t("upd.updatedTo", { v: result.to_version })); + clearServerUpdateResult(serverId); + } else setPending(result); + } catch (e) { setError(asUiError(e)); } + finally { + try { await refreshPending(); } catch { /* Keep the disk-state error visible. */ } + setBusy(null); + } + } + + async function browse() { + const p = await open({ directory: true, multiple: false, title: t("upd.dialogTitle") }); + if (typeof p === "string") setSource(p); + } + + return ( +
+ {pending && ( + +

+ {pending.state === "needs-decision" ? t("upd.pendingBad") : t("upd.pendingUnfinished")} +

+

{pending.message ?? t("upd.safeBack")}

+ {pending.state === "needs-decision" && ( + + )} +

{t("upd.backNote")}

+ +
+ )} + + +
+

{t("history.server")}

+

{preview?.from_version ? t("settings.version", { v: preview.from_version }) : "…"}

+ +
+ +
+ {advanced && ( +
+ setSource(e.target.value)} placeholder={t("upd.folderHint")} className="selectable flex-1 rounded-md border border-line bg-bg px-3 py-2 text-sm outline-none focus:border-gold" /> + +
+ )} + + {done && pendingChecked && !pendingStateError &&

{done}

} + {error && ( +
+

+ {error.human.code === "unknown" ? error.technical : human(error.human).message} +

+ +
+ )} + + {preview?.database_check_error && ( +

{t("upd.dbUnchecked", { why: preview.database_check_error })}

+ )} + + {preview && isUpdateCurrent(preview) && ( +
+

{t("upd.current", { v: preview.to_version })}

+
+ )} + + {preview && !isUpdateCurrent(preview) && ( +
+

+ {preview.from_version ? t("upd.availableFrom", { to: preview.to_version, from: preview.from_version }) : t("upd.available", { to: preview.to_version })} +

+ {preview.latest_version &&

{t("upd.intermediate", { to: preview.to_version, latest: preview.latest_version })}

} +

+ {!preview.database_check_error && (preview.pending_migrations ?? preview.migrations) > 0 + ? t("upd.summaryDb", { size: mb(preview.download_bytes), files: preview.items.filter((i) => i.action !== "skip").length, db: preview.pending_migrations ?? preview.migrations }) + : t("upd.summary", { size: mb(preview.download_bytes), files: preview.items.filter((i) => i.action !== "skip").length })} +

+
i.action === "conflict")}>{t("history.files")}
    + {preview.items.filter((i) => i.action !== "skip").map((i) => ( +
  • +
    + {i.path} + {t(`upd.act.${i.action}` as Key)} +
    + {i.action === "conflict" && ( +
    + {t("upd.conflict")} + {t("upd.conflict")} + {(["keep", "replace"] as const).map((c) => ( + + ))} +
    + )} +
  • + ))} +
+ +

{t("upd.stopNote")}

+
+ )} + + {busy === "update" && progress && ( +
+
+ {hasKey(`ustep.${progress.step}`) ? t(`ustep.${progress.step}` as Key) : progress.step} + {progress.percent}% +
+
+
+
+
+ )} + + + + +
+ ); +} diff --git a/src/screens/SettingsHome.tsx b/src/screens/SettingsHome.tsx index a15c025..5731361 100644 --- a/src/screens/SettingsHome.tsx +++ b/src/screens/SettingsHome.tsx @@ -1,291 +1,55 @@ -import { useEffect, useState } from "react"; -import { open } from "@tauri-apps/plugin-dialog"; -import { ChevronDown, ChevronRight, Loader2 } from "lucide-react"; -import { applyServerUpdate, clearServerUpdateResult, refreshServerUpdateState, useServerUpdate } from "@/lib/serverUpdate"; -import { isUpdateCurrent } from "@/lib/serverUpdateStatus"; -import { api, asUiError, type UiError, type UpdatePreview, type UpdateTxn } from "@/lib/api"; -import { Button } from "@/components/ui/button"; -import { Card } from "@/components/ui/card"; -import { ClientCard } from "@/screens/ClientCard"; -import { GameDataCard } from "@/screens/GameDataCard"; -import { DiagnosticsCard } from "@/screens/DiagnosticsCard"; -import { AboutCard } from "@/screens/AboutCard"; -import { RemoveServerCard } from "@/screens/RemoveServerCard"; -import { useStartAfterUpdate } from "@/lib/updatePrefs"; -import { hasKey, useHuman, useI18n, type Key } from "@/i18n"; +import { useState } from "react"; +import { Download, Power, FolderOpen, Wrench, Languages } from "lucide-react"; +import { useI18n } from "@/i18n"; import { LanguagePicker } from "@/components/LanguagePicker"; -import { RealmStartupSettings } from "@/screens/RealmStartupSettings"; -import { RepairCard } from "@/screens/RepairCard"; -import { PublishCard } from "@/screens/PublishCard"; -import { AutoRestartSettings } from "@/screens/AutoRestartSettings"; +import { Card } from "@/components/ui/card"; +import { useServerUpdate } from "@/lib/serverUpdate"; +import { ServerUpdateCard } from "./ServerUpdateCard"; +import { AboutCard } from "./AboutCard"; +import { ReleaseHistory, type HistorySelection } from "./ReleaseHistory"; +import { ClientCard } from "./ClientCard"; +import { GameDataCard } from "./GameDataCard"; +import { RealmStartupSettings } from "./RealmStartupSettings"; +import { AutoRestartSettings } from "./AutoRestartSettings"; +import { DiagnosticsCard } from "./DiagnosticsCard"; +import { RepairCard } from "./RepairCard"; +import { RemoveServerCard } from "./RemoveServerCard"; -function mb(bytes: number) { - return bytes >= 1 << 20 ? `${(bytes / (1 << 20)).toFixed(1)} MB` : `${Math.max(1, Math.round(bytes / 1024))} KB`; -} - -export function SettingsHome({ serverId, serverName = "", path, onForget }: { serverId: string; serverName?: string; path: string; onForget: () => Promise }) { +const sections = [["updates", Download], ["startup", Power], ["client", FolderOpen], ["service", Wrench], ["interface", Languages]] as const; +export function SettingsHome({ serverId, path, onForget }: { serverId: string; serverName?: string; path: string; onForget: () => Promise }) { const { t } = useI18n(); - const upd = useServerUpdate(serverId); - const human = useHuman(); - const [preview, setPreview] = useState(null); - const [pending, setPending] = useState(null); - const [pendingChecked, setPendingChecked] = useState(false); - const [pendingStateError, setPendingStateError] = useState(null); - const [localBusy, setBusy] = useState<"check" | "rollback" | "retry" | null>(null); - // an update keeps running in the background when this tab is left, so its state is the shared one - const busy = upd.applying ? "update" : localBusy; - const progress = upd.applying ? { step: upd.step ?? "Starting", percent: upd.percent } : null; - const [localError, setError] = useState(null); - const error = pendingStateError ?? localError ?? upd.uiError; - const [localDone, setDone] = useState(null); - const done = upd.result && "committed" in upd.result ? t("upd.updatedTo", { v: upd.result.committed }) : localDone; - const [choices, setChoices] = useState>({}); - const [advanced, setAdvanced] = useState(false); - const [source, setSource] = useState(""); - const [startAfter, setStartAfter] = useStartAfterUpdate("server", serverId); - - useEffect(() => { - let active = true; - setPendingChecked(false); - setPending(null); - setPreview(null); - setPendingStateError(null); - void api.pendingUpdate(serverId).then((txn) => { - if (active) { setPending(txn); setPendingChecked(true); } - }).catch((e) => { if (active) setPendingStateError(asUiError(e)); }); - return () => { active = false; }; - }, [serverId]); - - // Every finished attempt refreshes the disk state, including failures in the background. - useEffect(() => { - if (!upd.stateRevision) return; - setPreview(null); - setPendingChecked(!upd.stateError); - setPendingStateError(upd.stateError); - if (!upd.stateError) setPending(upd.result && "pending" in upd.result ? upd.result.pending : null); - }, [upd.stateRevision, serverId]); - - async function refreshPending() { - setPendingChecked(false); - try { - const txn = await refreshServerUpdateState(serverId); - setPending(txn); - setPendingStateError(null); - setPendingChecked(true); - return txn; - } catch (e) { setPendingStateError(asUiError(e)); throw e; } + const [section, setSection] = useState<(typeof sections)[number][0]>("updates"); + const [attention, setAttention] = useState(false); + const update = useServerUpdate(serverId); + const [history, setHistory] = useState(() => ({ component: "server", from: update.preview?.from_version ?? undefined, to: update.available ? update.preview?.to_version : undefined })); + function showHistory(selection: HistorySelection) { + setHistory(selection); + requestAnimationFrame(() => { + const element = document.getElementById("release-history"); + element?.scrollIntoView({ behavior: "smooth", block: "start" }); + element?.focus({ preventScroll: true }); + }); } - - async function check() { - setBusy("check"); - setError(null); - setDone(null); - clearServerUpdateResult(serverId); - setPreview(null); - try { - const txn = await refreshPending(); - if (txn) return; - const p = await api.checkUpdate(serverId, source.trim() || undefined); - setPreview(p); - setChoices(Object.fromEntries(p.conflicts.map((c) => [c, "keep" as const]))); - } catch (e) { - setError(asUiError(e)); - } finally { - setBusy(null); - } - } - - async function update() { - if (!pendingChecked || pendingStateError || pending) return; - setError(null); - setDone(null); - await applyServerUpdate(serverId, { choices, source: source.trim() || undefined }); - } - - async function rollback(txn: UpdateTxn) { - if (!window.confirm(t("upd.confirmBack"))) return; - setBusy("rollback"); - setError(null); - try { - await api.rollbackUpdate(serverId, txn.id); - setPending(null); - setDone(t("upd.wentBack")); - } catch (e) { - setError(asUiError(e)); - } finally { - try { await refreshPending(); } catch { /* Keep the disk-state error visible. */ } - setBusy(null); - } - } - - async function retryValidation(txn: UpdateTxn) { - setBusy("retry"); - setError(null); - try { - const result = await api.retryUpdateValidation(serverId, txn.id); - if (result.state === "committed") { - setPending(null); - setPreview(null); - setDone(t("upd.updatedTo", { v: result.to_version })); - clearServerUpdateResult(serverId); - } else setPending(result); - } catch (e) { setError(asUiError(e)); } - finally { - try { await refreshPending(); } catch { /* Keep the disk-state error visible. */ } - setBusy(null); - } - } - - async function browse() { - const p = await open({ directory: true, multiple: false, title: t("upd.dialogTitle") }); - if (typeof p === "string") setSource(p); - } - - return ( -
-

{t("settings.title")}

-

{t("q.settings")}

- - {pending && ( - -

- {pending.state === "needs-decision" ? t("upd.pendingBad") : t("upd.pendingUnfinished")} -

-

{pending.message ?? t("upd.safeBack")}

- {pending.state === "needs-decision" && ( - - )} -

{t("upd.backNote")}

- -
- )} - - -

{t("settings.language")}

-

{t("settings.languageHint")}

- -
- - - - - - - - - - - - - - -

{t("upd.title")}

-

{t("upd.text")}

- - -
- - -
- {advanced && ( -
- setSource(e.target.value)} placeholder={t("upd.folderHint")} className="selectable flex-1 rounded-md border border-line bg-bg px-3 py-2 text-sm outline-none focus:border-gold" /> - -
- )} - - {done && pendingChecked && !pendingStateError &&

{done}

} - {error && ( -
-

- {error.human.code === "unknown" ? error.technical : human(error.human).message} -

- -
- )} - - {preview?.database_check_error && ( -

{t("upd.dbUnchecked", { why: preview.database_check_error })}

- )} - - {preview && isUpdateCurrent(preview) && ( -
-

{t("upd.current", { v: preview.to_version })}

-
- )} - - {preview && !isUpdateCurrent(preview) && ( -
-

- {preview.from_version ? t("upd.availableFrom", { to: preview.to_version, from: preview.from_version }) : t("upd.available", { to: preview.to_version })} -

- {preview.latest_version &&

{t("upd.intermediate", { to: preview.to_version, latest: preview.latest_version })}

} -

- {!preview.database_check_error && (preview.pending_migrations ?? preview.migrations) > 0 - ? t("upd.summaryDb", { size: mb(preview.download_bytes), files: preview.items.filter((i) => i.action !== "skip").length, db: preview.pending_migrations ?? preview.migrations }) - : t("upd.summary", { size: mb(preview.download_bytes), files: preview.items.filter((i) => i.action !== "skip").length })} -

-
    - {preview.items.filter((i) => i.action !== "skip").map((i) => ( -
  • -
    - {i.path} - {t(`upd.act.${i.action}` as Key)} -
    - {i.action === "conflict" && ( -
    - {t("upd.conflict")} - {t("upd.conflict")} - {(["keep", "replace"] as const).map((c) => ( - - ))} -
    - )} -
  • - ))} -
- -

{t("upd.stopNote")}

-
- )} - - {busy === "update" && progress && ( -
-
- {hasKey(`ustep.${progress.step}`) ? t(`ustep.${progress.step}` as Key) : progress.step} - {progress.percent}% -
-
-
-
-
- )} - - - + return
+

{t("settings.title")}

+

{t("settings.organized")}

+ + {attention && section !== "updates" && } + - ); + + + + +
; } diff --git a/src/screens/Shell.tsx b/src/screens/Shell.tsx index 4ee61ed..09f12d5 100644 --- a/src/screens/Shell.tsx +++ b/src/screens/Shell.tsx @@ -161,7 +161,7 @@ export function Shell(props: { ) : page === "report" ? ( ) : page === "friends" ? ( - + ) : page === "settings" ? ( props.onForget(server.id)} /> ) : page === "characters" ? ( diff --git a/tools/overview-update-error.test.mjs b/tools/overview-update-error.test.mjs index 0028fa8..d5d52d0 100644 --- a/tools/overview-update-error.test.mjs +++ b/tools/overview-update-error.test.mjs @@ -15,6 +15,10 @@ const stubs = { "@/lib/clientJob": `export const dismissClientJob=()=>{}; export const startClientUpdate=()=>{}; export const stopClientJob=()=>{}; export const syncClient=()=>{}; export const useClientJob=()=>({phase:'idle'});`, "@/lib/clientUpdate": `export const checkClient=()=>{}; export const useClientStatus=()=>({status:null});`, "@/lib/autoRestartPrefs": `export const useAutoRestart=()=>[false,()=>{}];`, + "@/screens/PublishCard": `export const ListingChip=()=>null;`, + "@/screens/PublishDialog": `export const PublishRealmDialog=()=>null;`, + "@/lib/registry": `export const useRegistryStatus=()=>({status:null});`, + "@/lib/publishRealms": `export const usePublishRealms=()=>null;`, "@/components/ui/button": `import {createElement} from 'react'; export const Button=({children,disabled,onClick,className})=>createElement('button',{disabled,onClick,className},children);`, "@/components/ui/card": `import {createElement} from 'react'; export const Card=({children,...props})=>createElement('div',props,children);`, }; diff --git a/tools/release-history.test.mjs b/tools/release-history.test.mjs new file mode 100644 index 0000000..f9d790e --- /dev/null +++ b/tools/release-history.test.mjs @@ -0,0 +1,27 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { readFileSync } from "node:fs"; +import { releasesForUpdate, localizeNotes } from "../src/lib/releaseHistoryModel.ts"; + +const release = (version, prerelease = false) => ({ version, prerelease, notes: [], tag: version, date: "2026-10-28" }); +test("intermediate update shows only versions actually being installed", () => { + const records = [release("0.9.0"), release("0.10.0"), release("0.11.0"), release("0.10.1", true)]; + assert.deepEqual(releasesForUpdate(records, "0.9.0", "0.10.0").map(r => r.version), ["0.10.0"]); + assert.deepEqual(releasesForUpdate(records, "0.9.0", "0.11.0").map(r => r.version), ["0.10.0", "0.11.0"]); + assert.deepEqual(releasesForUpdate(records, "custom", "0.10.0").map(r => r.version), ["0.10.0"]); + assert.deepEqual(releasesForUpdate(records, "0.10.0", "0.10.0"), []); +}); +test("a changed or partly translated record falls back as a whole", () => { + assert.deepEqual(localizeNotes(["Changed", "New"], { Changed: "Переведено" }), { notes: ["Changed", "New"], fallback: true }); +}); +test("latest published Manager and server records have complete translations in five languages", () => { + const translations = JSON.parse(readFileSync(new URL("../src/data/latest-note-translations.json", import.meta.url))); + for (const component of ["server", "manager"]) { + const path = component === "server" ? "../src/data/server-history.json" : "../changelog/history.json"; + const history = JSON.parse(readFileSync(new URL(path, import.meta.url))); + const latest = history.releases.at(-1); + for (const locale of ["ru", "de", "fr", "es", "zh"]) { + assert.equal(localizeNotes(latest.notes, translations[component][locale]).fallback, false, `${component}/${locale}`); + } + } +}); From 733d73ef767387be42cfb83a7c19662e2800166d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Wed, 28 Oct 2026 15:42:47 +0500 Subject: [PATCH 2/3] Keep window density stable and group update and launch actions --- changelog.d/20261028-split-update-actions.md | 7 ++++ changelog.d/20261028-window-density.md | 7 ++++ src/components/ui/button.tsx | 2 +- src/components/ui/split-button.tsx | 15 ++++++++ src/index.css | 6 ++-- src/screens/Overview.tsx | 38 +++++++------------- src/screens/RealmlistMenu.tsx | 2 +- tools/overview-update-error.test.mjs | 1 + 8 files changed, 47 insertions(+), 31 deletions(-) create mode 100644 changelog.d/20261028-split-update-actions.md create mode 100644 changelog.d/20261028-window-density.md create mode 100644 src/components/ui/split-button.tsx diff --git a/changelog.d/20261028-split-update-actions.md b/changelog.d/20261028-split-update-actions.md new file mode 100644 index 0000000..c3a14f6 --- /dev/null +++ b/changelog.d/20261028-split-update-actions.md @@ -0,0 +1,7 @@ +--- +area: manager +type: changed +audience: admins +title: Update and launch without updating share a divided button +--- +Server and game client actions each use two adjacent segments of equal height. Both actions remain visible and keep their own availability checks. diff --git a/changelog.d/20261028-window-density.md b/changelog.d/20261028-window-density.md new file mode 100644 index 0000000..e987242 --- /dev/null +++ b/changelog.d/20261028-window-density.md @@ -0,0 +1,7 @@ +--- +area: manager +type: fixed +audience: admins +title: Maximizing the window keeps text and controls at a comfortable size +--- +The interface no longer enlarges with window width. System display scaling and browser zoom still work, and large action buttons use more compact spacing. diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index c9280ed..8511595 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -15,7 +15,7 @@ const buttonVariants = cva( size: { sm: "h-9 px-3 text-sm", md: "h-11 px-5 text-[15px]", - xl: "h-16 px-10 text-lg tracking-wide", + xl: "h-12 px-6 text-base", }, }, defaultVariants: { variant: "secondary", size: "md" }, diff --git a/src/components/ui/split-button.tsx b/src/components/ui/split-button.tsx new file mode 100644 index 0000000..023bd2e --- /dev/null +++ b/src/components/ui/split-button.tsx @@ -0,0 +1,15 @@ +import { Button, type ButtonProps } from "./button"; + +/** Two explicit actions, each with its own enabled state and keyboard focus. */ +export function SplitButton({ label, primary, secondary }: { + label: string; + primary: ButtonProps; + secondary: ButtonProps; +}) { + return
+
; +} diff --git a/src/index.css b/src/index.css index 13ef63c..8b4150b 100644 --- a/src/index.css +++ b/src/index.css @@ -16,10 +16,10 @@ --font-sans: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif; } -/* Everything is sized in rem, so scaling the root font grows the whole interface with the window - (16px up to about 1280px wide, then gradually larger; capped at 26px). */ +/* Window size changes layout, not UI density. Keep rem tied to the user's default + font size; browser zoom and operating-system display scaling still apply. */ html { - font-size: clamp(16px, calc(0.75vw + 6.4px), 26px); + font-size: 100%; } html, diff --git a/src/screens/Overview.tsx b/src/screens/Overview.tsx index f1b6057..5185592 100644 --- a/src/screens/Overview.tsx +++ b/src/screens/Overview.tsx @@ -15,6 +15,7 @@ import { PublishRealmDialog } from "@/screens/PublishDialog"; import { useRegistryStatus } from "@/lib/registry"; import { usePublishRealms, type PublishRealm } from "@/lib/publishRealms"; import { useAutoRestart } from "@/lib/autoRestartPrefs"; +import { SplitButton } from "@/components/ui/split-button"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; @@ -410,32 +411,21 @@ export function Overview({ server, companions = true, onForget, onOpenUpdates, o
{running ? ( - ) : upd.available ? ( - + (needsDecision ? onOpenUpdates() : void runServerUpdate()), children: <>{upd.applying && }{upd.applying ? t("btn.updating") : needsDecision ? t("overview.openUpdates") : t("btn.update")} }} + secondary={{ disabled: transitioning || upd.applying, onClick: () => run("starting"), children: t("btn.startWithoutUpdate") }} + /> ) : ( - )} - {!running && upd.available && ( - - )} {running && ( + void startClientUpdate(server.id), children: t("btn.updateClient") }} + secondary={{ disabled: realmBusy || playing || upd.applying, onClick: () => void play(), children: <>{playing && }{t("btn.playWithoutUpdate")} }} + /> ) : client ? ( ) : null} - {client && !jobBusy && (clientStatus?.update_available || job.phase === "choose") && ( - - )}
diff --git a/src/screens/RealmlistMenu.tsx b/src/screens/RealmlistMenu.tsx index b230f94..faf8530 100644 --- a/src/screens/RealmlistMenu.tsx +++ b/src/screens/RealmlistMenu.tsx @@ -92,7 +92,7 @@ export function RealmlistMenu({ serverId, className }: { serverId: string; class onClick={() => setOpen((v) => !v)} aria-haspopup="menu" aria-expanded={open} - className="flex h-16 cursor-pointer items-center gap-3 rounded-md border border-line bg-card-2 px-4 text-left transition-colors hover:border-gold/50" + className="flex h-12 cursor-pointer items-center gap-3 rounded-md border border-line bg-card-2 px-4 text-left transition-colors hover:border-gold/50" > {t("realm.label")} diff --git a/tools/overview-update-error.test.mjs b/tools/overview-update-error.test.mjs index d5d52d0..eabc282 100644 --- a/tools/overview-update-error.test.mjs +++ b/tools/overview-update-error.test.mjs @@ -28,6 +28,7 @@ const bundle = await rolldown({ external: (id, importer) => id === "react/jsx-runtime" || id === "lucide-react" || (id === "react" && !importer?.endsWith("Overview.tsx")), plugins: [{ name: "overview-test", resolveId(id, importer) { + if (id === "@/components/ui/split-button") return fileURLToPath(new URL("../src/components/ui/split-button.tsx", import.meta.url)); if (id.startsWith("@/") || (id === "react" && importer?.endsWith("Overview.tsx"))) return "\0" + id; }, load(id) { From a8ab201d7d10091ddc6dbebc27292098abaa91d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Wed, 28 Oct 2026 16:39:16 +0500 Subject: [PATCH 3/3] Document required changelog translation preparation --- AGENTS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 250ec84..65c3843 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,6 +35,16 @@ Every published Manager version, including a clearly marked Pre-release, belongs CHANGELOG.md and changelog/history.json. Its GitHub release notes use the same reviewed record. Promotion updates that entry without duplicating it; Manager and server histories remain separate. +Translated release notes are a required preparation step before freezing a new Manager source. Follow the +runbook's "Mandatory translated release notes during preparation" checklist: translate every new reviewed +Manager/server note into Russian, German, French, Spanish and Simplified Chinese in +`src/data/latest-note-translations.json`, keyed by exact canonical English text. Preserve existing translations +and released fragments. Refresh the bundled server-history snapshot from a pinned canonical commit and record +its provenance. Run `node --test tools/release-history.test.mjs`, `node tools/check-i18n.mjs` and `npm run build`; +verify each new record, all six viewer languages, English fallback and offline use. Save source/version and checks +in the handoff. Translations ship with Manager: a server-only release must record the carrying Manager version or +pending translation delivery, without forcing another Manager release or changing already signed installers. + Before preparing or publishing a Manager/server release, read the maintained [release runbook](https://github.com/Corfirean/coa-server-build/blob/main/docs/server-release.md) and [build agent instructions](https://github.com/Corfirean/coa-server-build/blob/main/AGENTS.md).