MCPcopy Create free account

hub / github.com/cloudflare/wildebeest / functions

Functions486 in github.com/cloudflare/wildebeest

↓ 3 callersFunctiongetOrCreatePerson
( domain: string, db: Database, { username, avatar, display_name }: Account )
frontend/mock-db/init.ts:85
↓ 3 callersFunctiongetPersonByEmail
(db: Database, email: string)
backend/src/activitypub/actors/index.ts:127
↓ 3 callersFunctiongetRandomDateInThePastYear
()
frontend/src/dummyData/getRandomDateInThePastYear.ts:1
↓ 3 callersFunctiongetRules
(db: Database)
backend/src/config/rules.ts:3
↓ 3 callersFunctionhkdfGenerate
( ikm: ArrayBuffer, salt: Uint8Array, info: Uint8Array, byteLength: number )
backend/src/webpush/hkdf.ts:6
↓ 3 callersFunctionimportPublicKey
(exportedKey: string)
backend/src/utils/key-ops.ts:131
↓ 3 callersFunctioninsertFollowNotification
(db: Database, actor: Actor, fromActor: Actor)
backend/src/mastodon/notification.ts:40
↓ 3 callersFunctioninsertReply
(db: Database, actor: Actor, obj: APObject, inReplyToObj: APObject)
backend/src/mastodon/reply.ts:7
↓ 3 callersFunctionjoinUint8Arrays
(allUint8Arrays: Array<Uint8Array>)
backend/src/webpush/util.ts:49
↓ 3 callersMethodjsonExtractIsNull
(obj: string, prop: string)
backend/src/database/index.ts:31
↓ 3 callersFunctionparse
(multipartBodyBuffer: Uint8Array, boundary: string)
backend/src/utils/body.ts:96
↓ 3 callersMethodpsqlOnly
(raw: string)
backend/src/database/index.ts:35
↓ 3 callersFunctionrequireComplexObject
()
backend/src/activitypub/activities/handle.ts:98
↓ 3 callersFunctionresourceNotFound
(name: string, id: string)
backend/src/errors/index.ts:65
↓ 3 callersFunctionroundAndFormat
(divisor: number)
frontend/src/utils/numbers.ts:6
↓ 3 callersFunctionselectVariant
(res: UploadResult, name: string)
backend/src/media/image.ts:57
↓ 3 callersFunctionsqliteToPsql
(query: string)
backend/src/database/neon.ts:5
↓ 3 callersFunctiontest404Page
(page: Page, url: string)
ui-e2e-tests/page-not-found.spec.ts:3
↓ 3 callersFunctionurlEncodedToB64
(str: string)
backend/src/webpush/util.ts:32
↓ 3 callersFunctionuseDomain
()
frontend/src/utils/useDomain.ts:4
↓ 2 callersFunctionURLsafeRedirect
(location: string)
functions/oauth/authorize.ts:99
↓ 2 callersFunctionassertCache
(response: Response, maxge: number)
backend/test/utils.ts:49
↓ 2 callersFunctionbuildRedirect
( db: Database, request: Request, isFirstLogin: boolean, jwt: string )
functions/oauth/authorize.ts:20
↓ 2 callersFunctioncacheObject
( domain: string, obj: APObject, db: Database, originalActorId: URL, originalObjectId: URL )
backend/src/activitypub/activities/handle.ts:426
↓ 2 callersFunctioncreateClient
( db: Database, name: string, redirect_uris: string, scopes: string, website?: string )
backend/src/mastodon/client.ts:13
↓ 2 callersFunctioncryptoKeysToUint8Array
( pubKey: CryptoKey, privKey?: CryptoKey )
backend/src/webpush/util.ts:64
↓ 2 callersFunctiondeleteObject
(db: Database, note: T)
backend/src/activitypub/objects/index.ts:321
↓ 2 callersFunctionformatDateTime
(isoString: string, includeTime = true)
frontend/src/utils/dateTime.ts:43
↓ 2 callersFunctionformatHistory
(history: History[])
frontend/src/utils/history.ts:4
↓ 2 callersFunctionfromObjectImage
(obj: Image)
backend/src/media/index.ts:30
↓ 2 callersFunctionfromObjectVideo
(obj: APObject)
backend/src/media/index.ts:59
↓ 2 callersFunctiongenerateContext
(subscription: WebPushInfos, serverKeys: mKeyPair)
backend/src/webpush/message.ts:56
↓ 2 callersFunctiongenerateDummyMediaImage
(imageUrl: string)
frontend/src/dummyData/statuses.ts:82
↓ 2 callersFunctiongetAccount
(domain: string, accountId: string, db: Database)
backend/src/accounts/getAccount.ts:12
↓ 2 callersFunctiongetDisplayNameElement
(account: Account)
frontend/src/utils/getDisplayNameElement.tsx:4
↓ 2 callersFunctiongetFollowingId
(db: Database, actor: Actor)
backend/src/mastodon/follow.ts:121
↓ 2 callersFunctiongetKey
(keyMaterial: CryptoKey, salt: ArrayBuffer)
backend/src/utils/key-ops.ts:34
↓ 2 callersFunctiongetKeyMaterial
(password: string)
backend/src/utils/key-ops.ts:25
↓ 2 callersFunctiongetNotifications
(db: Database, actor: Actor, domain: string)
backend/src/mastodon/notification.ts:199
↓ 2 callersFunctiongetObjectById
(db: Database, id: string | URL)
backend/src/activitypub/objects/index.ts:178
↓ 2 callersFunctiongetRandomHeaderUrl
()
frontend/src/dummyData/accounts.ts:99
↓ 2 callersFunctiongetSettings
(db: Database)
backend/src/config/server.ts:4
↓ 2 callersFunctiongetSubKeyAsCryptoKey
(subscription: WebPushInfos)
backend/src/webpush/message.ts:25
↓ 2 callersFunctiongetSubscription
(db: Database, actor: Actor, client: Client)
backend/src/mastodon/subscription.ts:89
↓ 2 callersFunctiongetVersion
()
config/versions.ts:8
↓ 2 callersFunctionhandleDeliverMessage
(env: Env, actor: Actor, message: DeliverMessageBody)
consumer/src/deliver.ts:9
↓ 2 callersFunctionhandleRequest
( db: Database, request: Request, domain: string, tag: string, offset = 0 )
functions/api/v1/timelines/tag/[tag].ts:20
↓ 2 callersFunctionhmacSign
(ikm: Uint8Array | ArrayBuffer, input: ArrayBuffer)
backend/src/webpush/hkdf.ts:1
↓ 2 callersFunctionisUUID
(v: string)
backend/test/utils.ts:117
↓ 2 callersFunctionloadActors
(db: Database, collection: OrderedCollection<string>)
backend/src/activitypub/actors/follow.ts:29
↓ 2 callersFunctionloadItems
(collection: OrderedCollection<T>, max?: number)
backend/src/activitypub/objects/collection.ts:32
↓ 2 callersFunctionmakeGetActorAsId
(activity: Activity)
backend/src/activitypub/activities/handle.ts:62
↓ 2 callersFunctionmakeGetObjectAsId
(activity: Activity)
backend/src/activitypub/activities/handle.ts:36
↓ 2 callersFunctionmoveFollowers
(db: Database, actor: Actor, followers: Array<string>)
backend/src/mastodon/follow.ts:11
↓ 2 callersFunctionobjToUrlB64
(obj: { [key: string]: string | number | null })
backend/src/webpush/vapid.ts:4
↓ 2 callersFunctionparseRequest
(request: Request, options?: Options)
backend/src/utils/httpsigjs/parser.ts:112
↓ 2 callersFunctionrenderNavLink
({ iconName, linkText, linkTarget, linkActiveRegex }: LinkConfig)
frontend/src/components/layout/RightColumn/RightColumn.tsx:17
↓ 2 callersFunctionreq
()
backend/test/mastodon/statuses.spec.ts:956
↓ 2 callersFunctionsanitizeContent
(unsafeContent: string)
backend/src/activitypub/objects/index.ts:271
↓ 2 callersFunctionsanitizeObjectProperties
(properties: unknown)
backend/src/activitypub/objects/index.ts:246
↓ 2 callersFunctionsendLikeNotification
( db: Database, fromActor: Actor, actor: Actor, notificationId: string, adminEmail: string, vapidKeys: J
backend/src/mastodon/notification.ts:84
↓ 2 callersFunctionsignRequest
(request: Request, key: CryptoKey, keyId: URL)
backend/src/utils/http-signing.ts:4
↓ 2 callersFunctionsleep
(ms: number)
backend/test/mastodon/accounts.spec.ts:26
↓ 2 callersFunctionsleep
(ms: number)
backend/test/mastodon/statuses.spec.ts:24
↓ 2 callersFunctionsleep
(ms: number)
backend/test/mastodon/notifications.spec.ts:17
↓ 2 callersFunctionsubscriptionFromRow
(row: any)
backend/src/mastodon/subscription.ts:124
↓ 2 callersFunctiontoMastodonAccount
(acct: string, res: Actor)
backend/src/mastodon/account.ts:9
↓ 2 callersFunctionuint8ArrayToBase64
(a: Uint8Array)
backend/src/utils/http-signing-cavage.ts:146
↓ 2 callersFunctionupdateSettings
(db: Database, data: Partial<ServerSettingsData>)
backend/src/config/server.ts:23
↓ 2 callersFunctionupload
(file: File, config: Config)
backend/src/media/image.ts:30
↓ 2 callersFunctionupsertServerSettings
(db: Database, settings: Partial<ServerSettingsData>)
backend/src/config/server.ts:32
↓ 2 callersFunctionuri
(domain: string, id: string)
backend/src/activitypub/objects/index.ts:37
↓ 2 callersFunctionurlsafeBase64Decode
(v: string)
backend/src/utils/key-ops.ts:162
↓ 2 callersFunctionverifySignature
(parsedSignature: ParsedSignature, key: CryptoKey)
backend/src/utils/httpsigjs/verifier.ts:12
↓ 1 callersFunctionArrayToHex
(byteArray: Uint8Array)
backend/src/webpush/util.ts:5
↓ 1 callersFunctionaddAlias
(db: Database, alias: string, connectedActor: Actor, userKEK: string, domain: string)
backend/src/accounts/alias.ts:10
↓ 1 callersFunctionaddObjectInInbox
(db: Database, actor: Actor, obj: APObject)
backend/src/activitypub/actors/inbox.ts:5
↓ 1 callersMethodall
()
backend/src/database/neon.ts:118
↓ 1 callersFunctionarrayBufferToBase64
(buffer: ArrayBuffer)
backend/src/webpush/util.ts:19
↓ 1 callersFunctionasciiToUint8Array
(s: string)
backend/src/access/index.ts:60
↓ 1 callersFunctionbuildSignatureInputString
(componentNames: Component[], parameters: Parameters)
backend/src/utils/http-signing-cavage.ts:100
↓ 1 callersFunctionbuildSignedData
(request: Request, components: Component[], params: Parameters)
backend/src/utils/http-signing-cavage.ts:64
↓ 1 callersFunctioncreateServerData
(db: Database)
frontend/mock-db/init.ts:50
↓ 1 callersFunctioncurve
(p: Point)
frontend/src/components/Sparkline/index.tsx:46
↓ 1 callersFunctiondataToPoints
(data: Array<number>)
frontend/src/components/Sparkline/index.tsx:28
↓ 1 callersFunctiondeleteRule
(db: Database, ruleId: number)
backend/src/config/rules.ts:27
↓ 1 callersMethodepoch
()
backend/src/database/index.ts:33
↓ 1 callersMethodexec
(query: string)
backend/src/database/index.ts:16
↓ 1 callersFunctionextractComponent
(message: Request, component: string)
backend/src/utils/http-signing-cavage.ts:53
↓ 1 callersFunctionextractHeader
({ headers }: Request, header: string)
backend/src/utils/http-signing-cavage.ts:39
↓ 1 callersFunctionextractID
(domain: string, s: string | URL)
backend/src/activitypub/activities/handle.ts:32
↓ 1 callersFunctionextractJWTFromRequest
(request: Request)
functions/oauth/authorize.ts:14
↓ 1 callersFunctionfetchKey
(parsedSignature: ParsedSignature)
backend/src/utils/httpsigjs/verifier.ts:21
↓ 1 callersFunctionfocusToObjectFit
(focus: { x: number; y: number })
frontend/src/components/MediaGallery.tsx/Image.tsx:9
↓ 1 callersFunctionformatTimeAgo
(date: Date)
frontend/src/utils/dateTime.ts:13
↓ 1 callersFunctionfromObjectDocument
(obj: Document)
backend/src/media/index.ts:20
↓ 1 callersFunctiongenerateAESGCMEncryptedMessage
( payloadText: string, subscription: WebPushInfos )
backend/src/webpush/message.ts:132
↓ 1 callersFunctiongenerateCEKInfo
(subscription: WebPushInfos, serverKeys: mKeyPair)
backend/src/webpush/message.ts:95
↓ 1 callersFunctiongenerateEncryptionKeys
( subscription: WebPushInfos, salt: Uint8Array, serverKeys: mKeyPair )
backend/src/webpush/message.ts:109
↓ 1 callersFunctiongenerateHeaders
( endpoint: string, applicationServerKeys: JWK, sub: string )
backend/src/webpush/vapid.ts:16
← previousnext →101–200 of 486, ranked by callers