From 4f5cbbb3c2877232c0640bcf98da4dd9d3b9ac86 Mon Sep 17 00:00:00 2001 From: MiTHRAL Date: Wed, 22 Apr 2026 17:42:21 -0400 Subject: [PATCH] chore: rebrand UI to Sanctum, bump to v1.0.0 Replace all user-visible "Avia"/"AviaClient" strings with "Sanctum" equivalents across all UI components. Update version to 1.0.0 in package.json and add release notes to metainfo.xml. Co-Authored-By: Claude Sonnet 4.6 --- avia_core/LocalPlugins.js | 2 +- avia_core/aviadesktopversion.js | 2 +- avia_core/aviaversion.js | 2 +- avia_core/clientBackup.js | 2 +- avia_core/headliner.js | 2 +- avia_core/inject.js | 10 +++++----- avia_core/pluginsupport.js | 2 +- avia_core/repofrontend.js | 2 +- avia_core/themes.js | 2 +- cloud.mithraic.sanctum.metainfo.xml | 7 +++++++ package.json | 4 ++-- 11 files changed, 22 insertions(+), 15 deletions(-) diff --git a/avia_core/LocalPlugins.js b/avia_core/LocalPlugins.js index 5443280..40a88c5 100644 --- a/avia_core/LocalPlugins.js +++ b/avia_core/LocalPlugins.js @@ -576,7 +576,7 @@ const textNode = [...localBtn.querySelectorAll("div")] .find(d => d.children.length === 0 && d.textContent.trim() === "Appearance"); - if (textNode) textNode.textContent = "(Avia) Local Plugins"; + if (textNode) textNode.textContent = "(Sanctum) Local Plugins"; const oldSvg = localBtn.querySelector("svg"); if (oldSvg) oldSvg.remove(); diff --git a/avia_core/aviadesktopversion.js b/avia_core/aviadesktopversion.js index a5ad24c..68ab33f 100644 --- a/avia_core/aviadesktopversion.js +++ b/avia_core/aviadesktopversion.js @@ -26,7 +26,7 @@ el.dataset.aviaPatched = "true"; - nameDiv.textContent = "Avia Client Desktop"; + nameDiv.textContent = "Sanctum Desktop"; versionSpan.textContent = `Version ${aviaVersion} (Based on Stoat ${stoatVersion})`; textContainer.style.whiteSpace = "normal"; diff --git a/avia_core/aviaversion.js b/avia_core/aviaversion.js index a22e190..bb3845f 100644 --- a/avia_core/aviaversion.js +++ b/avia_core/aviaversion.js @@ -15,7 +15,7 @@ el.dataset.aviaPatched = "true"; el.innerHTML = ` -Avia Client Desktop
+Sanctum Desktop
Based on Stoat ${stoatVersion} diff --git a/avia_core/clientBackup.js b/avia_core/clientBackup.js index c62cc03..4a33a08 100644 --- a/avia_core/clientBackup.js +++ b/avia_core/clientBackup.js @@ -129,7 +129,7 @@ clone.setAttribute("data-lsbackup-entry", "true"); const title = clone.querySelector("div.d_flex.flex-g_1.flex-d_column > div"); - if (title) title.textContent = "AviaClient Backup"; + if (title) title.textContent = "Sanctum Backup"; const desc = clone.querySelector("div.d_flex.flex-g_1.flex-d_column > span"); if (desc) desc.textContent = "Backup or Restore all client data"; diff --git a/avia_core/headliner.js b/avia_core/headliner.js index e07b0c0..edb7bd3 100644 --- a/avia_core/headliner.js +++ b/avia_core/headliner.js @@ -9,7 +9,7 @@ const STYLE_ID = "headliner-style"; const defaults = { - content: "Stoat V 1.6.0 - Avia Client", + content: "Stoat V 1.0.0 - Sanctum", left: "32", top: "56", fontSize: "15", diff --git a/avia_core/inject.js b/avia_core/inject.js index 24c5b2e..c13325a 100644 --- a/avia_core/inject.js +++ b/avia_core/inject.js @@ -280,7 +280,7 @@ const linktreeBtn = appearanceBtn.cloneNode(true); linktreeBtn.id = 'stoat-fake-linktree'; const textNode = Array.from(linktreeBtn.querySelectorAll('div')).find(d => d.children.length === 0 && d.textContent.trim() === 'Appearance'); - if (textNode) textNode.textContent = "(Avia) Ava's Linktree"; + if (textNode) textNode.textContent = "(Sanctum) Ava's Linktree"; setIcon(linktreeBtn, "monitor"); linktreeBtn.addEventListener('click', () => window.open(LINKTREE_URL, "_blank")); targetParent.appendChild(linktreeBtn); @@ -288,7 +288,7 @@ const stoatBtn = appearanceBtn.cloneNode(true); stoatBtn.id = 'stoat-fake-stoatserver'; const stoatTextNode = Array.from(stoatBtn.querySelectorAll('div')).find(d => d.children.length === 0 && d.textContent.trim() === 'Appearance'); - if (stoatTextNode) stoatTextNode.textContent = "(Avia) Stoat Server"; + if (stoatTextNode) stoatTextNode.textContent = "(Sanctum) Stoat Server"; setIcon(stoatBtn, "monitor"); stoatBtn.addEventListener('click', () => window.open(STOAT_SERVER_URL, "_blank")); targetParent.appendChild(stoatBtn); @@ -298,7 +298,7 @@ const newBtn = appearanceBtn.cloneNode(true); newBtn.id = 'stoat-fake-loadfont'; const textNode = Array.from(newBtn.querySelectorAll('div')).find(d => d.children.length === 0); - if (textNode) textNode.textContent = "(Avia) Font Loader"; + if (textNode) textNode.textContent = "(Sanctum) Font Loader"; setIcon(newBtn, "upload"); newBtn.addEventListener('click', showFontLoaderPopup); targetParent.appendChild(newBtn); @@ -307,7 +307,7 @@ const removeBtn = appearanceBtn.cloneNode(true); removeBtn.id = 'stoat-fake-removefont'; const removeTextNode = Array.from(removeBtn.querySelectorAll('div')).find(d => d.children.length === 0); - if (removeTextNode) removeTextNode.textContent = "(Avia) Remove selected font"; + if (removeTextNode) removeTextNode.textContent = "(Sanctum) Remove selected font"; setIcon(removeBtn, "refresh"); removeBtn.addEventListener('click', showRemoveFontPopup); targetParent.appendChild(removeBtn); @@ -318,7 +318,7 @@ const quickCssBtn = appearanceBtn.cloneNode(true); quickCssBtn.id = 'stoat-fake-quickcss'; const quickCssTextNode = Array.from(quickCssBtn.querySelectorAll('div')).find(d => d.children.length === 0); - if (quickCssTextNode) quickCssTextNode.textContent = "(Avia) QuickCSS"; + if (quickCssTextNode) quickCssTextNode.textContent = "(Sanctum) QuickCSS"; setIcon(quickCssBtn, "code"); quickCssBtn.addEventListener('click', toggleQuickCSSPanel); targetParent.appendChild(quickCssBtn); diff --git a/avia_core/pluginsupport.js b/avia_core/pluginsupport.js index 544bfa5..199507f 100644 --- a/avia_core/pluginsupport.js +++ b/avia_core/pluginsupport.js @@ -536,7 +536,7 @@ pluginsBtn.id = 'stoat-fake-plugins'; const textNode = [...pluginsBtn.querySelectorAll('div')] .find(d => d.children.length === 0 && d.textContent.trim() === 'Appearance'); - if (textNode) textNode.textContent = "(Avia) Plugins"; + if (textNode) textNode.textContent = "(Sanctum) Plugins"; const svgNS = "http://www.w3.org/2000/svg"; const oldSvg = pluginsBtn.querySelector('svg'); if (oldSvg) oldSvg.remove(); diff --git a/avia_core/repofrontend.js b/avia_core/repofrontend.js index 1675eb8..91b9ae3 100644 --- a/avia_core/repofrontend.js +++ b/avia_core/repofrontend.js @@ -453,7 +453,7 @@ clone.id = "avia-official-repo-btn-settings"; const label = [...clone.querySelectorAll("div")].find(d => d.children.length === 0); - if (label) label.textContent = "(Avia) Plugins/Themes Repo"; + if (label) label.textContent = "(Sanctum) Plugins/Themes Repo"; const iconSpan = clone.querySelector("span.material-symbols-outlined"); if (iconSpan) { diff --git a/avia_core/themes.js b/avia_core/themes.js index 720da11..23bf793 100644 --- a/avia_core/themes.js +++ b/avia_core/themes.js @@ -509,7 +509,7 @@ const clone = appearanceBtn.cloneNode(true); clone.id = "avia-themes-btn"; const text = [...clone.querySelectorAll("div")].find(d => d.children.length === 0); - if (text) text.textContent = "(Avia) Themes"; + if (text) text.textContent = "(Sanctum) Themes"; clone.onclick = toggleThemesPanel; quickCSS.parentElement.insertBefore(clone, quickCSS.nextSibling); } diff --git a/cloud.mithraic.sanctum.metainfo.xml b/cloud.mithraic.sanctum.metainfo.xml index c14ca83..c47252c 100644 --- a/cloud.mithraic.sanctum.metainfo.xml +++ b/cloud.mithraic.sanctum.metainfo.xml @@ -26,4 +26,11 @@ keyboard pointing + + + +

Initial Sanctum release based on Avia Client with self-hosted instance support.

+
+
+
diff --git a/package.json b/package.json index 0a6d90f..219d190 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "sanctum", "productName": "Sanctum", - "version": "1.3.0", - "aviaVersion": "1.6.0", + "version": "1.0.0", + "aviaVersion": "1.0.0", "main": ".vite/build/main.js", "repository": "https://git.mithraic.cloud/ad3laid3/sanctum", "scripts": {