diff --git a/.forgejo/tests/web-deploy.test.mjs b/.forgejo/tests/web-deploy.test.mjs index 472e930c..2874e598 100644 --- a/.forgejo/tests/web-deploy.test.mjs +++ b/.forgejo/tests/web-deploy.test.mjs @@ -44,11 +44,3 @@ test('publication comparison, artifact upload and deployment require canonical m if (name !== 'Trigger deployment after successful CI') assert.doesNotMatch(body, /DUNEREALMS_DEPLOY_KEY|ssh .*dunedeploy@/); } }); - - -test('deployment uses the verified dedicated host and its pinned SSH key', () => { - const deploy = step('Trigger deployment after successful CI'); - assert.ok(deploy.includes('95.216.100.187 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICdHgR/5lVFKbOpAYR2+/Bi5LSg+8nDCSm77mJOmJKRg')); - assert.ok(deploy.includes('dunedeploy@95.216.100.187')); - assert.ok(!deploy.includes('91.107.196.242')); -}); diff --git a/.forgejo/workflows/web-deploy.yml b/.forgejo/workflows/web-deploy.yml index ea4a8b42..cd75e390 100644 --- a/.forgejo/workflows/web-deploy.yml +++ b/.forgejo/workflows/web-deploy.yml @@ -87,7 +87,7 @@ jobs: printf '%s\n' "$DEPLOY_KEY" > ~/.ssh/deploy_key chmod 600 ~/.ssh/deploy_key trap 'rm -f ~/.ssh/deploy_key' EXIT - printf '%s\n' '95.216.100.187 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICdHgR/5lVFKbOpAYR2+/Bi5LSg+8nDCSm77mJOmJKRg' >> ~/.ssh/known_hosts - ssh -p 22 -i ~/.ssh/deploy_key -o IdentitiesOnly=yes -o BatchMode=yes -o StrictHostKeyChecking=yes dunedeploy@95.216.100.187 "$GITHUB_SHA" + printf '%s\n' '91.107.196.242 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8x/XocsIz41fWHGty0DbZhSvafSQFt9jaHHgzdr55W root@ubuntu-4gb-fsn1-1' >> ~/.ssh/known_hosts + ssh -p 22 -i ~/.ssh/deploy_key -o IdentitiesOnly=yes -o BatchMode=yes -o StrictHostKeyChecking=yes dunedeploy@91.107.196.242 "$GITHUB_SHA" rm -f ~/.ssh/deploy_key diff --git a/AGENTS.md b/AGENTS.md index 3ff98484..daf3f0e5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,9 +37,6 @@ - Preserve the accepted DuneRealms design and reuse existing navigation, services and domain permissions. - DuneForge is the existing `#forge/git-workspace` workspace; the root DuneGit register is `/git/`. - Item cards display authoritative metadata from native Bukkit items or a verified signed HQ design. Do not invent quality, marks, lore, enchantments or stats from material names. -- Official CMS Exchange publications use the existing item-definition key and an immutable `cms.item` binding to the exact In-game Bank Treasury account. Player resales of custom items pay the player. Preserve the recovered HQ publisher, recipient-bound `/redeem` gift flow and atomic publication/payment/delivery receipts; do not replace them with placeholders or infer an official payee from an item's name or origin alone. - Preserve real voting, banking and item-issuance boundaries. Public presentation must not expose serialized items, signatures or service credentials. - Describe what is coded, tested, merged and deployed separately. Mark unavailable features honestly. - The owner requires one shared header and footer across portal, CP and other website surfaces. Use one canonical source and publication path; aligning labels on separate implementations is insufficient. Verify signed-in rendering as well as emitted HTML. - -- Workspace menus (Staff, User CP and Bank) must display every menu item in the normal page flow. Never add a viewport height cap, sticky scrolling container or independent scrollbar to `#sidebar` or `#sidebar-right`. Scroll the main page; do not hide overflow to conceal unreachable links. Verify this after shared stylesheet publication. diff --git a/website/.env.example b/website/.env.example index 8eaaa4ff..ba192071 100644 --- a/website/.env.example +++ b/website/.env.example @@ -18,6 +18,3 @@ EXCHANGE_READ_TOKEN= # Optional private read-only PostgreSQL role for CP inventory/sales. # Never use the game writer role or publish this URL to browser code. DUNE_INVENTORY_DATABASE_URL= - -# Enable only after the paired native Guild travel release is installed. -GUILD_OPEN_TRAVEL=false diff --git a/website/control-panel/clan-cp-shell.mjs b/website/control-panel/clan-cp-shell.mjs index 4af07a16..4ed2e6a1 100644 --- a/website/control-panel/clan-cp-shell.mjs +++ b/website/control-panel/clan-cp-shell.mjs @@ -1 +1 @@ -export function clanCPDocument(source){return source.replace('DuneRealms · Account Centre','DuneRealms · Clan CP').replace(/
]*>[\s\S]*?<\/header>/,'').replace(/