From 4fb51c0428276b828a20d2779a4e5d1d5d83eaa7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 19:53:09 +0000 Subject: [PATCH] docs: note updater layout enforcement changes Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/e5555668-0ab6-485d-ab2d-98407d79522e Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- Panel/CHANGELOG.md | 1 + Panel/docs/COPILOT_TODO.md | 1 + 2 files changed, 2 insertions(+) diff --git a/Panel/CHANGELOG.md b/Panel/CHANGELOG.md index a735fedc..eaaf5e99 100644 --- a/Panel/CHANGELOG.md +++ b/Panel/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## 2026-05-19 +- **Updater deployment layout enforcement + marker file writes:** Hardened `modules/administration/panel_update.php` to require the live `/var/www/html/GSP` root with explicit `/Panel` and `/Website` destinations, log full source/destination path detection (including temp checkout/source roots), stop on invalid mapping, copy Panel/Website via explicit subtree mapping (preventing nested `Panel/Panel` or `Website/Website`), validate key copied files after sync, and write both `Website/timestamp.txt` and `modules/billing/timestamp.txt` marker files on successful updates. - **Workshop content script path fix:** Updated addonsmanager default Workshop script paths to the panel module script location under `/var/www/html/GSP/Panel/modules/addonsmanager/scripts/workshop/` so Workshop actions no longer use the incorrect game-home-mixed path on the agent host. ## 2026-05-18 diff --git a/Panel/docs/COPILOT_TODO.md b/Panel/docs/COPILOT_TODO.md index b8498d9d..e3b2e12b 100644 --- a/Panel/docs/COPILOT_TODO.md +++ b/Panel/docs/COPILOT_TODO.md @@ -21,3 +21,4 @@ - Add Phase 2 Workshop Content UX in `addonsmanager`: browse/search/select Workshop items with metadata while reusing the Phase 1 per-home saved-ID action pipeline. - Add localized language strings/tooltips for the new cron scheduler `server_content_*` action labels across all supported panel locales. - Add a Game Manager "Live Server Status" panel that consumes `Panel/protocol/gsp_query.php` and shows banner preview plus copyable embed code. +- Add an updater admin UI table that renders the full deployment preflight path map (temp checkout, source repo/panel/website, destination panel/website) directly from the new layout detection payload for one-click operator verification.