mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 07:36:18 +09:00
More Calckey branding
This commit is contained in:
parent
e5f798bf50
commit
49b4635866
@ -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();
|
||||
|
@ -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;
|
||||
|
@ -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',
|
||||
|
@ -4,7 +4,7 @@ export const packedHashtagSchema = {
|
||||
tag: {
|
||||
type: 'string',
|
||||
optional: false, nullable: false,
|
||||
example: 'misskey',
|
||||
example: 'calckey',
|
||||
},
|
||||
mentionedUsersCount: {
|
||||
type: 'number',
|
||||
|
@ -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,
|
||||
|
@ -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',
|
||||
|
@ -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,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user