More Calckey branding

This commit is contained in:
ThatOneCalculator 2022-08-05 14:07:40 -07:00
parent 9ab37dd087
commit 31e9279c70
7 changed files with 12 additions and 12 deletions

View File

@ -18,7 +18,7 @@ const ev = new Xev();
* Init process
*/
export default async function() {
process.title = `Misskey (${cluster.isPrimary ? 'master' : 'worker'})`;
process.title = `Calckey (${cluster.isPrimary ? 'master' : 'worker'})`;
if (cluster.isPrimary || envOption.disableClustering) {
await masterMain();

View File

@ -45,7 +45,7 @@ export default function load() {
mixin.apiUrl = `${mixin.scheme}://${mixin.host}/api`;
mixin.authUrl = `${mixin.scheme}://${mixin.host}/auth`;
mixin.driveUrl = `${mixin.scheme}://${mixin.host}/files`;
mixin.userAgent = `Misskey/${meta.version} (${config.url})`;
mixin.userAgent = `Calckey/${meta.version} (${config.url})`;
mixin.clientEntry = clientManifest['src/init.ts'];
if (!config.redis.prefix) config.redis.prefix = mixin.host;

View File

@ -16,7 +16,7 @@ export const packedFederationInstanceSchema = {
host: {
type: 'string',
optional: false, nullable: false,
example: 'misskey.example.com',
example: 'calckey.example.com',
},
usersCount: {
type: 'number',

View File

@ -4,7 +4,7 @@ export const packedHashtagSchema = {
tag: {
type: 'string',
optional: false, nullable: false,
example: 'misskey',
example: 'calckey',
},
mentionedUsersCount: {
type: 'number',

View File

@ -16,10 +16,10 @@ export default async (job: Bull.Job<WebhookDeliverJobData>) => {
url: job.data.to,
method: 'POST',
headers: {
'User-Agent': 'Misskey-Hooks',
'X-Misskey-Host': config.host,
'X-Misskey-Hook-Id': job.data.webhookId,
'X-Misskey-Hook-Secret': job.data.secret,
'User-Agent': 'Calckey-Hooks',
'X-Calckey-Host': config.host,
'X-Calckey-Hook-Id': job.data.webhookId,
'X-Calckey-Hook-Secret': job.data.secret,
},
body: JSON.stringify({
hookId: job.data.webhookId,

View File

@ -36,7 +36,7 @@ export const meta = {
type: 'string',
optional: false, nullable: false,
format: 'url',
example: 'https://misskey.example.com',
example: 'https://calckey.example.com',
},
description: {
type: 'string',
@ -57,12 +57,12 @@ export const meta = {
repositoryUrl: {
type: 'string',
optional: false, nullable: false,
default: 'https://github.com/misskey-dev/misskey',
default: 'https://codeberg.org/thatonecalculator/calckey',
},
feedbackUrl: {
type: 'string',
optional: false, nullable: false,
default: 'https://github.com/misskey-dev/misskey/issues/new',
default: 'https://codeberg.org/thatonecalculator/calckey/issues',
},
defaultDarkTheme: {
type: 'string',

View File

@ -338,7 +338,7 @@ router.get('/notes/:note', async (ctx, next) => {
avatarUrl: await Users.getAvatarUrl(await Users.findOneByOrFail({ id: note.userId })),
// TODO: Let locale changeable by instance setting
summary: getNoteSummary(_note),
instanceName: meta.name || 'Misskey',
instanceName: meta.name || 'Calckey',
icon: meta.iconUrl,
themeColor: meta.themeColor,
});