From 7a4fd56ccd86518a6b14c407fc977c7904337448 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 7 Jun 2022 09:45:06 -0400 Subject: Fix various typos Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy` --- server/lib/activitypub/process/process-create.ts | 2 +- server/lib/emailer.ts | 2 +- server/lib/redis.ts | 2 +- server/lib/signup.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/lib') diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts index 3e7931bb2..76ed37aae 100644 --- a/server/lib/activitypub/process/process-create.ts +++ b/server/lib/activitypub/process/process-create.ts @@ -124,7 +124,7 @@ async function processCreateVideoComment (activity: ActivityCreate, byActor: MAc return } - // Try to not forward unwanted commments on our videos + // Try to not forward unwanted comments on our videos if (video.isOwned()) { if (await isBlockedByServerOrAccount(comment.Account, video.VideoChannel.Account)) { logger.info('Skip comment forward from blocked account or server %s.', comment.Account.Actor.url) diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index aebca04fe..edc99057c 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts @@ -179,7 +179,7 @@ class Emailer { } } - // overriden/new variables given for a specific template in the payload + // overridden/new variables given for a specific template in the payload const sendOptions = merge(baseOptions, options) await email.send(sendOptions) diff --git a/server/lib/redis.ts b/server/lib/redis.ts index d052de786..158f3c080 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts @@ -308,7 +308,7 @@ class Redis { return this.deleteKey('resumable-upload-' + uploadId) } - /* ************ AP ressource unavailability ************ */ + /* ************ AP resource unavailability ************ */ async addAPUnavailability (url: string) { const key = this.generateAPUnavailabilityKey(url) diff --git a/server/lib/signup.ts b/server/lib/signup.ts index 3c1397a12..f094531eb 100644 --- a/server/lib/signup.ts +++ b/server/lib/signup.ts @@ -26,7 +26,7 @@ function isSignupAllowedForCurrentIP (ip: string) { const excludeList = [ 'blacklist' ] let matched = '' - // if there is a valid, non-empty whitelist, we exclude all unknown adresses too + // if there is a valid, non-empty whitelist, we exclude all unknown addresses too if (CONFIG.SIGNUP.FILTERS.CIDR.WHITELIST.filter(cidr => isCidr(cidr)).length > 0) { excludeList.push('unknown') } -- cgit v1.2.3