From 221607266945af2793daeaf54a7b180865f19456 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Mon, 17 Aug 2026 14:52:21 -0400 Subject: [PATCH] Drop the Host Settings card now the partnership settings card covers HOST1/HOST2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It existed to render two fields that live in master.conf's HOST IDENTITIES group, which the shared renderer now includes — one settings surface for the page rather than two both editing the same file. --- Plugin/unraid/api/partnership_settings.php | 5 ++ Plugin/unraid/pages/partnership.php | 72 ---------------------- 2 files changed, 5 insertions(+), 72 deletions(-) diff --git a/Plugin/unraid/api/partnership_settings.php b/Plugin/unraid/api/partnership_settings.php index ffa2123..1f7daae 100644 --- a/Plugin/unraid/api/partnership_settings.php +++ b/Plugin/unraid/api/partnership_settings.php @@ -64,9 +64,14 @@ require_once dirname(__DIR__) . '/include/confform.php'; $files = vv_get_conf_files(); $out = []; foreach ($files as $f) { + // "HOST IDENTITIES" is included alongside the partnership subsections because it holds HOST1 + // and HOST2 — the hostnames the whole partnership is keyed on. They were shown by a separate + // "Host Settings" card on the partnership page, which existed only to render those two fields + // and is now redundant: one settings surface for the page, not two that both edit master.conf. $groups = array_values(array_filter( vv_conf_all_groups($f), fn($g) => stripos($g['subsection'], 'partnership') !== false + || stripos($g['subsection'], 'host identities') !== false )); if ($groups) { $out[] = ['file' => $f, 'groups' => $groups]; diff --git a/Plugin/unraid/pages/partnership.php b/Plugin/unraid/pages/partnership.php index c1adedd..b190c00 100644 --- a/Plugin/unraid/pages/partnership.php +++ b/Plugin/unraid/pages/partnership.php @@ -178,15 +178,6 @@ textarea.vv-pt-set-input { resize:vertical; white-space:pre; } Collapsed together they cost one line until opened. -->