mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore(data): replace plebeius.bso with bitsocialist.bso
Update board directory owners, known developer registry, and related tests to use the new bitsocialist.bso address.
This commit is contained in:
@@ -549,9 +549,9 @@ describe('post community address compatibility', () => {
|
||||
it('renders known developer badges and keeps anonymous as the default name on desktop and mobile', async () => {
|
||||
const post = {
|
||||
...makeLegacyThread(),
|
||||
author: { address: 'plebeius.bso', shortAddress: 'plebeius.bso' },
|
||||
author: { address: 'bitsocialist.bso', shortAddress: 'bitsocialist.bso' },
|
||||
};
|
||||
const roles = { 'plebeius.bso': { role: 'owner' } };
|
||||
const roles = { 'bitsocialist.bso': { role: 'owner' } };
|
||||
|
||||
await renderWithRoute(createElement(PostDesktop, { post, roles } as any));
|
||||
expect(container.textContent).toContain('Anonymous');
|
||||
|
||||
@@ -390,11 +390,11 @@ describe('CatalogRow', () => {
|
||||
},
|
||||
];
|
||||
testState.roleByAddress = {
|
||||
'plebeius.bso': { commentAuthorRole: 'owner', isCommentAuthorMod: true },
|
||||
'bitsocialist.bso': { commentAuthorRole: 'owner', isCommentAuthorMod: true },
|
||||
};
|
||||
|
||||
const post: TestComment = {
|
||||
author: { address: 'plebeius.bso', shortAddress: 'plebeius.bso' },
|
||||
author: { address: 'bitsocialist.bso', shortAddress: 'bitsocialist.bso' },
|
||||
cid: 'post-dev',
|
||||
content: 'Developer post',
|
||||
link: 'https://example.com/dev.png',
|
||||
|
||||
@@ -1528,13 +1528,13 @@ describe('PostForm', () => {
|
||||
|
||||
it('uses the 5chan dev label for known developer moderator posts', async () => {
|
||||
testState.account = {
|
||||
author: { address: 'plebeius.bso', displayName: 'Tom' },
|
||||
author: { address: 'bitsocialist.bso', displayName: 'Tom' },
|
||||
subscriptions: ['music-posting.eth'],
|
||||
};
|
||||
testState.resolvedCommunityAddress = 'music-posting.eth';
|
||||
testState.rolesByCommunity = {
|
||||
'music-posting.eth': {
|
||||
'plebeius.bso': { role: 'owner' },
|
||||
'bitsocialist.bso': { role: 'owner' },
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "3dcg-posting.bso",
|
||||
"publicKey": "12D3KooWBRCcwxWTx23tyK7Uhqs9ViE3MnSgvWSLip2ikrWaD3c2",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "anime-and-manga.bso",
|
||||
"publicKey": "12D3KooWMDt3RMVMHrm2pEEyfraBtHP86dmkim7EVAapDj3Mchdy",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "advice-posting.bso",
|
||||
"publicKey": "12D3KooWH5UFNs9yfwJVsSUhEW5bYrtF8KmzfeJzwg84qWMoFJVY",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "animals-and-nature.bso",
|
||||
"publicKey": "12D3KooWSpKszPM2c17KBgbnoRrkWPCHJosGGFg3bKnzarYhHeSc",
|
||||
"addedAt": 1779262963,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "random-nsfw.bso",
|
||||
"publicKey": "12D3KooWJkJYkuVbJQhapcVGpo8oNmsXsKmFRrFqc1SHezZW9fX8",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "international-nsfw.bso",
|
||||
"publicKey": "12D3KooWPuYtTzrq8gFnv6yM1r4egy1rd4cxLr1nsXTjfdYkfwcN",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"address": "bizraelis.bso",
|
||||
"publicKey": "12D3KooWR7nTdKZqZ1twGWMfVsXYDGp1XAKUrnYznKP651jFrizE",
|
||||
"addedAt": 1779212075,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "anime-cute.bso",
|
||||
"publicKey": "12D3KooWMKVj7dzag2fcYP24kgmxDz2DSvE7yGzBW9fJEYA94aMC",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "food-and-cooking.bso",
|
||||
"publicKey": "12D3KooWFfANpSeemwvqqGsXNPHDuyDMCK6wE8cxGTuNw7xoWUp7",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "comics-and-cartoons.bso",
|
||||
"publicKey": "12D3KooWRLmyg671KVYb1xekZ8eTQSMfRraB3DmQZPsKbCdMsEuc",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "do-it-yourself.bso",
|
||||
"publicKey": "12D3KooWKKbiaFu7x2EwueN6wxw3DJRQsvCv8KVRGbTTYpsGZXVa",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"address": "flash-posting.bso",
|
||||
"publicKey": "12D3KooWPFckNTD8YHVJrjpa9hRYvuomvM9VsvQQkJqjWRtpLv1F",
|
||||
"addedAt": 1780123897,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "fashion-posting.bso",
|
||||
"publicKey": "12D3KooWMLd7K4MKPY4YJrpwV2vrjFN357x93bHs2g4gSetTLJ6t",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "fitness-posting.bso",
|
||||
"publicKey": "12D3KooWHcqcJJmjAiBJA3uyhSW6ep4HFadUfteDrzU1Pn9ALkkw",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "technology-posting.bso",
|
||||
"publicKey": "12D3KooWFnLrUYHpvqki7gbL4w9JzdxjpQPKE2JBDEd23Ly6X82X",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "graphic-design.bso",
|
||||
"publicKey": "12D3KooWSrH1Kp6TvaLxGS3vtoqqFdy3gRMkTKfrYGPaDAcJRJAd",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "adult-gif.bso",
|
||||
"publicKey": "12D3KooWJP8v5VUzKUfxr38BbhQPb5yidF3WapGQ6CjLctBV6QC1",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "history-posting.bso",
|
||||
"publicKey": "12D3KooWN7bzigSgU4rxayrPCjvq2ETJMN9Zv3cyazpRYh36QWiN",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "oekaki-posting.bso",
|
||||
"publicKey": "12D3KooWNAqMhmHi3hPSbcH27Q7cqBCuN2Mu9HNzs6fB8YX14k4o",
|
||||
"addedAt": 1780054375,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "artwork-critique.bso",
|
||||
"publicKey": "12D3KooWQZ5HkAspHUPGEVoSaAZgqachZGtxCXxAXYBDTreR4uWJ",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "international-sfw.bso",
|
||||
"publicKey": "12D3KooWMSUYcergS2BwbRzFynR5hQURc962W9iR81eTJKz89Q6n",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "otaku-culture.bso",
|
||||
"publicKey": "12D3KooWFtPbTBQ6Lit5wH2PHCvQQqj3RB5v2QHPtT1cnGeKjBaW",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "weapons-posting.bso",
|
||||
"publicKey": "12D3KooWNRSdq3aLHHCvm4zyFQfASgYzy5LGXRXnKC4uj6aUXzHq",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "literature-posting.bso",
|
||||
"publicKey": "12D3KooWKXimxiZWtgF3LoTdaW3btHhDzJN7P3qrsgHwRkow186x",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "mecha-posting.bso",
|
||||
"publicKey": "12D3KooWH7TCLGzDmvptLmnoxbLK2EjSuysMfj1ScN1ekFuba1Fu",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "pony-posting.bso",
|
||||
"publicKey": "12D3KooWEViZKRnJjqKDXGadQtz1547wgLTFPAaFYPBZ5NVwJ3jJ",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "music-posting.bso",
|
||||
"publicKey": "12D3KooWQdQ6TkVA1Xe9zzaFP6vXBgsLeMAewpLpLwbsAYKivnQy",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "transportation-posting.bso",
|
||||
"publicKey": "12D3KooWBLfdUT4sbVjzsQBz6EFPGWJC5byjnG44i5HHBKk7XKc3",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "current-news.bso",
|
||||
"publicKey": "12D3KooWSdDpdxUajbj19SHhUxcNS7wG9QbQqYvj29mCwokqnFNS",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "auto-posting.bso",
|
||||
"publicKey": "12D3KooWBD4agW9pc73hBNXtXWTpZCukcFvigmkM8Z2MDKR72CCk",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "outdoors-posting.bso",
|
||||
"publicKey": "12D3KooWQ2nPGxQxuSMY92kM3zKu1rBekJsXxXb5uNkHLDfSSxTm",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "photography-posting.bso",
|
||||
"publicKey": "12D3KooWK7qqtH32qAeZ5nUZGHBEsiaGsXGhMU9AWDKYzKCcit7w",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "papercraft-and-origami.bso",
|
||||
"publicKey": "12D3KooWGfhD9o9T4QRYX2RQgwXRmEmWXmaw4bAGyDHioz98g3ro",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"address": "nothing-is-beyond-our-reach.bso",
|
||||
"publicKey": "12D3KooWDpiDmJCGKbXB3RJFfATmRMzmwTkjimBvf8xKZmUx2L1P",
|
||||
"addedAt": 1779212075,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "professional-wrestling.bso",
|
||||
"publicKey": "12D3KooWBMHPHSJhwKivg6KhbGScgau8xBBNqVQKZk24NZQo7beU",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "5chan-feedback.bso",
|
||||
"publicKey": "12D3KooWNmuwmBDAgxBNrPRvzvCLYD9U3etN9idguXZLTpRRgqVf",
|
||||
"addedAt": 1782467500,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "quests-posting.bso",
|
||||
"publicKey": "12D3KooWBmh43DUBbqXAeJVxxu9qgWgMqn91UBECgP4aTuxS5uK2",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "robot9002.bso",
|
||||
"publicKey": "12D3KooWPXkEw8GSZcM8N97fkWJjZGV7hLccZSrf2PqHUKrp4xJQ",
|
||||
"addedAt": 1779525738,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "shit-5chan-says.bso",
|
||||
"publicKey": "12D3KooWR4vHjSsTHs3MU436avk4eW1XRqY9zKfVcvvZXkLdzJo6",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "science-and-math.bso",
|
||||
"publicKey": "12D3KooWEtHqwtEpgHsXS8VSFcGDt2DhzeqaLm9tTCRFucXaWp62",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "cams-and-meetups.bso",
|
||||
"publicKey": "12D3KooWCGnYfbrm8UZpv8YxViXgJJx9hha486LCAFFXSEYNtj1B",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "sports-posting.bso",
|
||||
"publicKey": "12D3KooWGJA6zN3Q63FtSgwNhtfA26Skdzdxz5X7A9PFfE4FBMGE",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "traditional-games.bso",
|
||||
"publicKey": "12D3KooWK6G3EHUCkfcgX6kPDihXJAdpucrZvn4WjPwf7fF484nt",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "toys-posting.bso",
|
||||
"publicKey": "12D3KooWQrRW8JHu1HagE9E3QUB7hAnSbeYHLkz5mTbSivhkoPtJ",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "travel-posting.bso",
|
||||
"publicKey": "12D3KooWP9kG9qYxHoyxfDSWiNpeuGfuxwbDdfu6vtRwvVY9uU96",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "television-and-film.bso",
|
||||
"publicKey": "12D3KooWGSRg4crzV5vXEya1ghXD7UBTqimqXTQvNUqy9NdzZNyd",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogames-posting.bso",
|
||||
"publicKey": "12D3KooWRAbo3HU5ThCAkJGQ5q7MTEJfhAX6Hu7xHyPtxHGi1Fgh",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogame-generals.bso",
|
||||
"publicKey": "12D3KooWMvAcJFV45CS3hSZcx7EFhwhQrXfXhVHXQJFPfKeakWfq",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "very-important-posts.bso",
|
||||
"publicKey": "12D3KooWNMnBJ5phkBWrcjfdnzdqPwCARmXwGWeZDKNJvCVPR8GT",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogames-multiplayer.bso",
|
||||
"publicKey": "12D3KooWMW3B4R3C7z5M6zDo9Q9t3fCMuUwHbnPWARsDSqiUYybU",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogames-mobile.bso",
|
||||
"publicKey": "12D3KooWLSaxYpQb4Wx7KxiJaXQD9SgzmBD67W41CN6gNLTxASVg",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "pokemon-posting.bso",
|
||||
"publicKey": "12D3KooWFhrazFTHLh6sSA9qL2wTf4piBar2HXtirKNTfTwSTjN3",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "retro-games.bso",
|
||||
"publicKey": "12D3KooWJfwp2WRwU3gsaNNPjZ1iHgxc1QFySr361cQarkhLp1fY",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogames-rpg.bso",
|
||||
"publicKey": "12D3KooWJ4HZgaL3tPSRp5LfnFmwasxdQenPuDpPBYHHEaUMJDiF",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "videogames-strategy.bso",
|
||||
"publicKey": "12D3KooWBNAetYuTx5Zosf6jRVJ2GpMx3jzEQufDcP4DRTXzAgwp",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "virtual-youtubers.bso",
|
||||
"publicKey": "12D3KooWKiziqgcvVLMDThXQC4cPi5SJmFSQFoc6jv1kSRU1XXxV",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "anime-wallpapers.bso",
|
||||
"publicKey": "12D3KooWPpdMSMLnz5qZ6NR3jTjqmqdpbMT3tDM5RwzWSPYtd9AV",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "wallpapers-general.bso",
|
||||
"publicKey": "12D3KooWJCXw8a5CKgH5248qXMDQdG5AFxP4ZvbsAmFCGfuykE3U",
|
||||
"addedAt": 1779517639,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "worksafe-gif.bso",
|
||||
"publicKey": "12D3KooWAGHV9th2FN48KPvHMJwxen8h5mSM39pkaZWvvzcWMPr9",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "worksafe-requests.bso",
|
||||
"publicKey": "12D3KooWKuKGqAAKQT7GY1cnXqiXcbeVPJULXPwTByfSy4Ci7eBg",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "paranormal-posting.bso",
|
||||
"publicKey": "12D3KooWFZn7r5gYKbq5YQMr1FYQ5eUwoZr41Tjd8KmTgQ4dxTTP",
|
||||
"addedAt": 1779182014,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"address": "extreme-sports.bso",
|
||||
"publicKey": "12D3KooWBwnXwtridc4b3VNnhK2KyNHsm52wDrGPYYGLNf8f34bm",
|
||||
"addedAt": 1779357555,
|
||||
"owner": "plebeius.bso"
|
||||
"owner": "bitsocialist.bso"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"githubProfileUrl": "https://github.com/rinse12"
|
||||
},
|
||||
{
|
||||
"address": "plebeius.bso",
|
||||
"address": "bitsocialist.bso",
|
||||
"name": "Tommaso Casaburi",
|
||||
"githubProfileUrl": "https://github.com/tomcasaburi"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ describe('author display utils', () => {
|
||||
it('recognizes the hardcoded 5chan developer addresses', () => {
|
||||
expect(isKnown5chanDeveloper('estebanabaroa.bso')).toBe(true);
|
||||
expect(isKnown5chanDeveloper('rinse12.bso')).toBe(true);
|
||||
expect(isKnown5chanDeveloper('plebeius.bso')).toBe(true);
|
||||
expect(isKnown5chanDeveloper('bitsocialist.bso')).toBe(true);
|
||||
expect(isKnown5chanDeveloper('someone-else.bso')).toBe(false);
|
||||
});
|
||||
|
||||
@@ -16,7 +16,7 @@ describe('author display utils', () => {
|
||||
name: 'Rinse',
|
||||
});
|
||||
expect(KNOWN_5CHAN_DEVELOPER_ENTRIES).toContainEqual({
|
||||
address: 'plebeius.bso',
|
||||
address: 'bitsocialist.bso',
|
||||
githubProfileUrl: 'https://github.com/tomcasaburi',
|
||||
name: 'Tommaso Casaburi',
|
||||
});
|
||||
@@ -31,7 +31,7 @@ describe('author display utils', () => {
|
||||
});
|
||||
|
||||
it('keeps the developer label even when the account has a board role', () => {
|
||||
expect(getAuthorBadge({ address: 'plebeius.bso', role: 'owner' })).toEqual({
|
||||
expect(getAuthorBadge({ address: 'bitsocialist.bso', role: 'owner' })).toEqual({
|
||||
icon: 'admin',
|
||||
label: '5chan Dev',
|
||||
title: '5chan Dev',
|
||||
@@ -39,7 +39,7 @@ describe('author display utils', () => {
|
||||
});
|
||||
|
||||
it('returns only the 5chan Dev badge for known developers', () => {
|
||||
expect(get5chanDeveloperBadge('plebeius.bso')).toEqual({
|
||||
expect(get5chanDeveloperBadge('bitsocialist.bso')).toEqual({
|
||||
icon: 'admin',
|
||||
label: '5chan Dev',
|
||||
title: '5chan Dev',
|
||||
@@ -63,7 +63,7 @@ describe('author display utils', () => {
|
||||
});
|
||||
|
||||
it('returns the posting warning label for the effective moderator role', () => {
|
||||
expect(getModerationPostingRoleLabel({ address: 'plebeius.bso', role: 'owner' })).toBe('5chan dev');
|
||||
expect(getModerationPostingRoleLabel({ address: 'bitsocialist.bso', role: 'owner' })).toBe('5chan dev');
|
||||
expect(getModerationPostingRoleLabel({ address: 'other.bso', role: 'owner' })).toBe('owner');
|
||||
expect(getModerationPostingRoleLabel({ address: 'other.bso', role: 'admin' })).toBe('admin');
|
||||
expect(getModerationPostingRoleLabel({ address: 'other.bso', role: 'moderator' })).toBe('moderator');
|
||||
|
||||
@@ -89,10 +89,10 @@ describe('mod queue utils', () => {
|
||||
it('adds live role communities that are not cached on the account', () => {
|
||||
expect(
|
||||
getModeratedCommunityAddresses({
|
||||
accountAddress: 'plebeius.bso',
|
||||
accountAddress: 'bitsocialist.bso',
|
||||
accountCommunityAddresses: ['tech-primary.bso'],
|
||||
candidateCommunityAddresses: ['tech-primary.bso', 'paranormal-posting.bso', 'viewer-board.bso'],
|
||||
communities: [undefined, { roles: { 'plebeius.bso': { role: 'moderator' } } }, { roles: { 'plebeius.bso': { role: 'viewer' } } }],
|
||||
communities: [undefined, { roles: { 'bitsocialist.bso': { role: 'moderator' } } }, { roles: { 'bitsocialist.bso': { role: 'viewer' } } }],
|
||||
}),
|
||||
).toEqual(['tech-primary.bso', 'paranormal-posting.bso']);
|
||||
});
|
||||
|
||||
@@ -845,8 +845,8 @@ describe('Board', () => {
|
||||
testState.account = {
|
||||
id: 'active-account',
|
||||
author: {
|
||||
address: 'plebeius.bso',
|
||||
shortAddress: 'plebeius',
|
||||
address: 'bitsocialist.bso',
|
||||
shortAddress: 'bitsocialist',
|
||||
},
|
||||
subscriptions: [],
|
||||
};
|
||||
@@ -870,12 +870,12 @@ describe('Board', () => {
|
||||
|
||||
const firstPost = container.querySelector('[data-testid="post"]');
|
||||
expect(firstPost?.textContent).toBe('fresh-dev-post');
|
||||
expect(firstPost?.getAttribute('data-author-address')).toBe('plebeius.bso');
|
||||
expect(firstPost?.getAttribute('data-author-address')).toBe('bitsocialist.bso');
|
||||
expect(firstPost?.getAttribute('data-content')).toBe('[color=red]hello[/color]');
|
||||
expect(testState.registerCommentsMock).toHaveBeenCalledWith(
|
||||
expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
author: expect.objectContaining({ address: 'plebeius.bso' }),
|
||||
author: expect.objectContaining({ address: 'bitsocialist.bso' }),
|
||||
cid: 'fresh-dev-post',
|
||||
content: '[color=red]hello[/color]',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user