Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
unimatrixgit
79cd02f99e Verify first bank deposit from settled ATM voucher redemption 2026-12-05 16:49:49 +01:00
unimatrixgit
633cb376e9 Keep Guild routes selectable before scheduled boarding 2026-12-05 14:07:55 +01:00
unimatrixgit
e5845b120c Keep requested story arc selected while journal loads 2026-12-05 08:41:24 +01:00
unimatrixgit
1fdf4dc720 Serve story artwork and replace letter branches with named arcs 2026-12-05 08:31:16 +01:00
unimatrixgit
d9f374defb Group the current mission journal into illustrated story arcs 2026-12-05 07:36:47 +01:00
unimatrixgit
0caf096fde Refresh the registered flight merge policy catalogue 2026-12-05 01:38:36 +01:00
unimatrixgit
9854418920 Record physical chestplate and elytra merges in the flight quest 2026-12-05 01:35:27 +01:00
unimatrixgit
490a4c95b2 Publish The Wild Update Beta 1.0.3.0 release and player news 2026-12-04 00:20:30 +01:00
unimatrixgit
f2c72a6fd7 Preserve original Cookbook contract alongside seven new recipes 2026-12-03 23:00:33 +01:00
unimatrixgit
f8d8c9e206 Add source-bound spice cooker and rail Cookbook recipes and grades 2026-12-03 22:36:28 +01:00
unimatrixgit
6e27d69a09 Register explicit DuneStaff permissions and audited staff policy activation 2026-12-03 21:51:49 +01:00
unimatrixgit
8404c61329 Add Wild Update quest journal and verified open Guild travel 2026-12-03 21:44:51 +01:00
unimatrixgit
8cb398e06f Point web CI deployment to the dedicated host 2026-12-03 08:38:16 +01:00
unimatrixgit
791a6408ca Center the shared homepage navigation row 2026-12-02 13:24:28 +01:00
unimatrixgit
985e37e5eb Center desktop navigation and account controls 2026-12-02 13:10:29 +01:00
unimatrixgit
8c25f491f4 Queue ordinary native permission projection with first-join account links 2026-12-02 12:06:42 +01:00
unimatrixgit
44c82e767a Give newly provisioned Lobby players a once-only 1000 DM starting budget 2026-12-02 11:53:31 +01:00
unimatrixgit
33507e7be7 Ship verified private Lobby configuration in the canonical operations artifact 2026-12-02 11:43:02 +01:00
unimatrixgit
d88d96e87c Provision linked Lobby accounts with private credential delivery and basic banking 2026-12-02 11:40:15 +01:00
unimatrixgit
4fd67cb42f Allow audited free Owner Home Block releases for owned companies 2026-12-02 07:05:15 +01:00
unimatrixgit
d347f7a3d7 Publish authoritative grades for every Cookbook output 2026-11-30 23:48:13 +01:00
unimatrixgit
1e86aab3e5 Publish both approved NexusStorage promo images 2026-11-30 21:32:15 +01:00
unimatrixgit
a4e2fc64eb Add the Ixian Powercore recipe and current device names to the Cookbook 2026-11-30 19:49:58 +01:00
unimatrixgit
e99331a8e0 Provide the native organisation reader to the voice operator 2026-11-30 18:55:05 +01:00
unimatrixgit
4e8d0bf49e Grant standard voice chat through the managed User rank 2026-11-30 18:41:31 +01:00
unimatrixgit
507191ba3a Use promoted application routes for the complete Cookbook 2026-11-30 18:38:11 +01:00
unimatrixgit
279077a94d Serve current built cookbook instead of the stale legacy snapshot 2026-11-30 18:24:30 +01:00
unimatrixgit
ea72de3eba Add DuneChest recipes and exact upgrade grids to the cookbook 2026-11-30 18:06:38 +01:00
unimatrixgit
4c51624723 Retain organisation permission snapshots on the held Navigator reader 2026-11-30 00:15:14 +01:00
unimatrixgit
51121e7b1d Lock route authority before opening its database snapshot 2026-11-29 23:56:59 +01:00
unimatrixgit
ff0161117e Extend Navigator catalogs and owned Home Block smuggler travel 2026-11-29 23:54:36 +01:00
unimatrixgit
e94131d237 Project released Home Blocks as absent for native registration 2026-11-29 23:06:28 +01:00
unimatrixgit
46d13ea03e Allow audited Owner Home Block release and one free registration 2026-11-29 23:04:00 +01:00
unimatrixgit
9e833a4db9 Restore scrolling for directly opened organisation control panels 2026-11-29 21:05:16 +01:00
unimatrixgit
ebb1ac3586 Keep roster audits within the existing production column bound 2026-11-29 20:37:20 +01:00
unimatrixgit
d9877dfd9c Add audited Owner roster operation using shared membership acceptance 2026-11-29 20:24:54 +01:00
160 changed files with 3818 additions and 115 deletions

View file

@ -44,3 +44,11 @@ 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'));
});

View file

@ -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' '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"
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"
rm -f ~/.ssh/deploy_key

View file

@ -18,3 +18,6 @@ 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

View file

@ -1 +1 @@
export function clanCPDocument(source){return source.replace('<title>DuneRealms · Account Centre</title>','<title>DuneRealms · Clan CP</title>').replace(/<header class="dune-site-header"[^>]*>[\s\S]*?<\/header>/,'').replace(/<footer class="site-footer"><\/footer>/,'').replace(/<script src="https:\/\/www\.dunerealms\.com\/portal-navigation\.js" defer><\/script>/,'').replace(/<link rel="stylesheet" href="https:\/\/www\.dunerealms\.com\/portal-navigation\.css">/,'').replace(/<body\b[^>]*>/,'<body data-cp-mode="clan" class="clan-cp-shell">').replace(/<section class="command-banner">[\s\S]*?<\/section>/,'').replace('</head>','<link rel="stylesheet" href="/v2/cp-v2-clan-shell.css?v=single-scroll-2"><link rel="stylesheet" href="/v2/cp-v2-claims.css"></head>').replace('</body>','<script type="module" src="/v2/cp-v2-clan-size.mjs"></script></body>');}
export function clanCPDocument(source){return source.replace('<title>DuneRealms · Account Centre</title>','<title>DuneRealms · Clan CP</title>').replace(/<header class="dune-site-header"[^>]*>[\s\S]*?<\/header>/,'').replace(/<footer class="site-footer"><\/footer>/,'').replace(/<script src="https:\/\/www\.dunerealms\.com\/portal-navigation\.js" defer><\/script>/,'').replace(/<link rel="stylesheet" href="https:\/\/www\.dunerealms\.com\/portal-navigation\.css">/,'').replace(/<body\b[^>]*>/,'<body data-cp-mode="clan" class="clan-cp-shell">').replace(/<section class="command-banner">[\s\S]*?<\/section>/,'').replace('</head>','<link rel="stylesheet" href="/v2/cp-v2-clan-shell.css?v=single-scroll-3"><link rel="stylesheet" href="/v2/cp-v2-claims.css"></head>').replace('</body>','<script type="module" src="/v2/cp-v2-clan-size.mjs"></script></body>');}

View file

@ -1,5 +1,5 @@
import {isClandestineInstitution} from '../node/clandestine-identity.mjs';
import {membershipRequest,membershipReview,MembershipError} from '../node/membership-recruitment.mjs';
import {membershipRequest,membershipReview,MembershipError,clanAcceptanceStatements} from '../node/membership-recruitment.mjs';
import {JarvisError} from '../node/jarvis-listings.mjs';
import {JARVIS_CLAN_REQUEST_SCHEMA} from '../node/jarvis-clan-requests.mjs';
import {clanRecruitmentQuote} from '../node/jarvis-recruitment-policy.mjs';
@ -104,9 +104,7 @@ export function createClans(db,{origin='https://cp.dunerealms.com',authenticate=
if(role==='owner')return json({message:'Transfer ownership or archive the clan before leaving.'},409);
await db.batch([lock(),checked(db.prepare('DELETE FROM site_clan_members WHERE clan_id=? AND user_id=?').bind(record.id,user.id)),audit(record.id,{})]);
}else if(action==='review'){
await db.batch(await membershipReview({db,kind:'clan',user,record,body,now,canReview:['owner','officer'].includes(role)||deedRights.canManage,lock,audit:details=>audit(record.id,details),integration:requestIntegration,access,accept:async({target,link})=>{
return [{async run(connection){const sql="SELECT c.active,COALESCE(ch.charter_kind,'basic') charter_kind,(SELECT COUNT(*) FROM site_clan_members m WHERE m.clan_id=c.id) member_count FROM site_clans c LEFT JOIN site_clan_charters ch ON ch.clan_id=c.id WHERE c.id=?";const current=connection?(await connection.execute(sql,[record.id]))[0][0]:await db.prepare(sql).bind(record.id).first();if(!current||!current.active)throw new Conflict('The clan is unavailable.');const limit=clanMemberLimit(current.charter_kind);if(Number(current.member_count)>=limit)throw new Conflict(`This clan has at most ${limit} members, including the owner. An outside Consort remains a member of their own clan.`);return {success:true,meta:{changes:0}};}} ,db.prepare("INSERT INTO site_clan_members(user_id,minecraft_uuid,clan_id,clan_role,joined_at) VALUES(?,?,?,'member',?)").bind(target.user_id,link.minecraft_uuid,record.id,now),db.prepare("UPDATE site_clan_requests SET status='withdrawn',updated_at=? WHERE user_id=? AND status='pending' AND clan_id<>?").bind(now,target.user_id,record.id)];
}}));await requestIntegration?.afterReview?.().catch(()=>console.error('Recruitment completion pending reconciliation'));
await db.batch(await membershipReview({db,kind:'clan',user,record,body,now,canReview:['owner','officer'].includes(role)||deedRights.canManage,lock,audit:details=>audit(record.id,details),integration:requestIntegration,access,accept:async({target,link})=>clanAcceptanceStatements({db,record,target,link,now})}));await requestIntegration?.afterReview?.().catch(()=>console.error('Recruitment completion pending reconciliation'));
}else{
if(!deedRights.canManage)return json({message:'Only this clan’s owner can perform that action.'},403);
if(action==='motd'){

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Some files were not shown because too many files have changed in this diff Show more