From a5b67340ff039d22627647979aff33589ce23480 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Fri, 29 May 2026 10:43:54 +0200 Subject: [PATCH 1/5] fix(Config): guard InterfaceOptions, fall back to AceConfigDialog on CoA --- Mapster/Config.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Mapster/Config.lua b/Mapster/Config.lua index 464d48b..e0da2d2 100644 --- a/Mapster/Config.lua +++ b/Mapster/Config.lua @@ -162,11 +162,17 @@ local function getOptions() return options end -local function optFunc() - -- open the profiles tab before, so the menu expands - InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles) - InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster) - InterfaceOptionsFrame:Raise() +local function optFunc() + -- CoA: InterfaceOptionsFrame_OpenToCategory / InterfaceOptionsFrame are nil on 3.3.5; + -- fall back to AceConfigDialog which works on all clients. + if InterfaceOptionsFrame_OpenToCategory then + -- open the profiles tab before, so the menu expands + InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles) + InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster) + if InterfaceOptionsFrame then InterfaceOptionsFrame:Raise() end + else + LibStub("AceConfigDialog-3.0"):Open("Mapster") + end end function Mapster:SetupOptions() From 1de3ac8d184cb8184bbd3a52bc65ba106e2d9d13 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Fri, 29 May 2026 20:23:33 +0200 Subject: [PATCH 2/5] fix(libs): pcall AceGUI OnGamePadButtonDown (3.3.5 has no gamepad script type) --- Mapster/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mapster/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua b/Mapster/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua index ee5a83b..07c8f76 100644 --- a/Mapster/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua +++ b/Mapster/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua @@ -199,7 +199,7 @@ local function Constructor() button:SetScript("OnKeyDown", Keybinding_OnKeyDown) button:SetScript("OnMouseDown", Keybinding_OnMouseDown) button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel) - button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown) + pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown) button:SetPoint("BOTTOMLEFT") button:SetPoint("BOTTOMRIGHT") button:SetHeight(24) From 86185e9158f4b3419424d4aebd56475b2cd0d623 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Fri, 29 May 2026 20:51:13 +0200 Subject: [PATCH 3/5] ci(release): hide auto-generated source archives (hide_archive_links) --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 709a7cd..1b1b66b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -37,7 +37,7 @@ jobs: RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \ -H "Content-Type: application/json" \ "$API/repos/$REPO/releases" \ - -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \ + -d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \ | jq -r '.id') fi echo "release id: $RID" From 2c2fce579aa073ce9bc14d96386f4f0e71f895d8 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Wed, 10 Jun 2026 02:11:46 +0200 Subject: [PATCH 4/5] ci(release): sync release.yml from coa-template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hide_archive_links is only honored by Gitea on release edit, not create — add the PATCH step after create/lookup so auto-generated source archive links actually stay hidden (coa-template 90874c5). --- .gitea/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1b1b66b..2f93975 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -41,6 +41,10 @@ jobs: | jq -r '.id') fi echo "release id: $RID" + # Gitea honors hide_archive_links only on edit, not create — PATCH it + # so the auto-generated Source Code (zip/tar.gz) links stay hidden. + curl -sf -X PATCH -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" \ + "$API/repos/$REPO/releases/$RID" -d '{"hide_archive_links":true}' >/dev/null || true # Upload every dist/*.zip. Per-asset failures don't fail the job — # we want partial releases to still publish rather than block the # whole pipeline on one big file. From 961276c06ab1c796d548f57ec39f0d5f8c2bd6bc Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Wed, 10 Jun 2026 02:16:14 +0200 Subject: [PATCH 5/5] chore: bump toc Version to 1.3.9-coa.3 to match latest release tag --- Mapster/Mapster.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mapster/Mapster.toc b/Mapster/Mapster.toc index 7be62a8..4864019 100644 --- a/Mapster/Mapster.toc +++ b/Mapster/Mapster.toc @@ -6,7 +6,7 @@ ## Author: Nevcairiel ## SavedVariables: MapsterDB ## X-Category: Map -## Version: 1.3.9-coa.2 +## Version: 1.3.9-coa.3 ## X-License: All rights reserved. ## OptionalDeps: Ace3, LibBabble-Zone-3.0, LibWindow-1.1