MCPcopy Create free account

hub / github.com/cloudflare/wildebeest / functions

Functions486 in github.com/cloudflare/wildebeest

↓ 180 callersFunctioncreatePerson
( domain: string, db: Database, userKEK: string, email: string, properties: PersonProperties = {}, admin
backend/src/activitypub/actors/index.ts:151
↓ 175 callersFunctionmakeDB
()
backend/test/utils.ts:24
↓ 134 callersMethodprepare
(query: string)
backend/src/database/index.ts:13
↓ 88 callersMethodbind
(...values: any[])
backend/src/database/index.ts:22
↓ 70 callersMethodget
(key: string)
backend/src/cache/index.ts:6
↓ 69 callersFunctiongetDatabase
(env: Pick<Env, 'DATABASE' | 'NEON_DATABASE_URL'>)
backend/src/database/index.ts:39
↓ 43 callersFunctioncors
()
backend/src/utils/cors.ts:1
↓ 33 callersMethodall
()
backend/src/database/index.ts:25
↓ 33 callersMethodrun
()
backend/src/database/index.ts:24
↓ 32 callersMethodset
(array: string)
backend/src/database/index.ts:32
↓ 31 callersFunctionassertJSON
(response: Response)
backend/test/utils.ts:45
↓ 31 callersFunctioncreatePublicNote
( domain: string, db: Database, content: string, actor: Actor, attachments: Array<objects.APObject> = [],
backend/src/activitypub/objects/note.ts:25
↓ 29 callersFunctionmakeQueue
()
backend/test/utils.ts:81
↓ 28 callersFunctionparseHandle
(query: string)
backend/src/utils/parse.ts:7
↓ 27 callersFunctionassertCORS
(response: Response)
backend/test/utils.ts:40
↓ 26 callersFunctionaddFollowing
(db: Database, actor: Actor, target: Actor, targetAcct: string)
backend/src/mastodon/follow.ts:58
↓ 24 callersFunctioncreateStatus
( domain: string, db: Database, actor: Person, content: string, attachments?: APObject[], extraPropertie
backend/src/mastodon/status.ts:207
↓ 23 callersFunctionacceptFollowing
(db: Database, actor: Actor, target: Actor)
backend/src/mastodon/follow.ts:77
↓ 22 callersFunctionenrichStatus
(status: string, mentions: Array<Actor>)
backend/src/mastodon/microformats.ts:19
↓ 17 callersFunctionisUrlValid
(s: string)
backend/test/utils.ts:14
↓ 17 callersFunctionurlToHandle
(input: URL)
backend/src/utils/handle.ts:2
↓ 16 callersFunctionaddObjectInOutbox
( db: Database, actor: Actor, obj: APObject, published_date?: string, target: string = PUBLIC_GROUP )
backend/src/activitypub/actors/outbox.ts:9
↓ 16 callersFunctiongetErrorHtml
(errorMessage = defaultErrorMessage)
frontend/src/utils/getErrorHtml/getErrorHtml.ts:5
↓ 14 callersFunctionactorURL
(domain: string, id: string)
backend/src/activitypub/actors/index.ts:13
↓ 14 callersMethodfirst
(colName?: string)
backend/src/database/index.ts:23
↓ 14 callersFunctionloadExternalMastodonAccount
( acct: string, actor: Actor, loadStats: boolean = false )
backend/src/mastodon/account.ts:44
↓ 13 callersFunctioncreateTestClient
( db: Database, redirectUri: string = 'https://localhost', scopes: string = 'read follow' )
backend/test/utils.ts:71
↓ 12 callersFunctionfetch
(request: Request, env: Env)
do/src/index.ts:6
↓ 11 callersFunctiongetObjectByMastodonId
(db: Database, id: UUID)
backend/src/activitypub/objects/index.ts:186
↓ 10 callersFunctiongenerateDummyStatus
({ content = '', account = george, mediaAttachments = [], inReplyTo = null, reblog = null, spoiler_text
frontend/src/dummyData/generateDummyStatus.ts:14
↓ 10 callersFunctiongenerateErrorResponse
(error: string, status: number, errorDescription?: string)
backend/src/errors/index.ts:13
↓ 10 callersFunctiongenerateVAPIDKeys
()
backend/test/utils.ts:125
↓ 10 callersFunctiongetActorById
(db: Database, id: URL)
backend/src/activitypub/actors/index.ts:248
↓ 10 callersFunctiongetAvatarUrl
(number: number)
frontend/src/dummyData/accounts.ts:95
↓ 9 callersFunctioncheckPageSeoData
(page: Page, expected: Partial<ExpectedSeoValues>)
ui-e2e-tests/seo.spec.ts:114
↓ 9 callersFunctiongetRuleLocator
(ruleId: string)
ui-e2e-tests/about-page.spec.ts:23
↓ 9 callersFunctiongetSigningKey
(instanceKey: string, db: Database, actor: Actor)
backend/src/mastodon/account.ts:89
↓ 8 callersFunctionb64ToUrlEncoded
(str: string)
backend/src/webpush/util.ts:28
↓ 8 callersFunctiondeliverToActor
( signingKey: CryptoKey, from: Actor, to: Actor, activity: Activity, domain: string )
backend/src/activitypub/deliver.ts:15
↓ 8 callersFunctiongetDocumentHead
(data: DocumentHeadData, head?: DocumentHeadValue)
frontend/src/utils/getDocumentHead.ts:22
↓ 8 callersFunctiongetMentions
(input: string, instanceDomain: string, db: Database)
backend/src/mastodon/status.ts:22
↓ 8 callersFunctiongetMetadata
(url: URL)
backend/src/activitypub/objects/collection.ts:22
↓ 8 callersFunctioninsertLike
(db: Database, actor: Actor, obj: APObject)
backend/src/mastodon/like.ts:6
↓ 8 callersFunctiontoMastodonStatusFromObject
( db: Database, obj: Note, domain: string )
backend/src/mastodon/status.ts:49
↓ 7 callersFunctioncreateSubscription
( db: Database, actor: Actor, client: Client, req: CreateRequest )
backend/src/mastodon/subscription.ts:54
↓ 7 callersFunctiongetResultsField
(statement: D1PreparedStatement, fieldName: string)
backend/src/mastodon/utils.ts:1
↓ 7 callersFunctioninsertReblog
(db: Database, actor: Actor, obj: APObject)
backend/src/mastodon/reblog.ts:20
↓ 7 callersFunctionroundTo
(duration: number)
frontend/src/utils/dateTime.ts:17
↓ 7 callersFunctionstringToU8Array
(str: string)
backend/src/webpush/util.ts:37
↓ 6 callersFunctioncreateImage
(domain: string, db: Database, actor: Actor, properties: any)
backend/src/activitypub/objects/image.ts:12
↓ 6 callersFunctioncreateNotification
( db: Database, type: NotificationType, actor: Actor, fromActor: Actor, obj: APObject )
backend/src/mastodon/notification.ts:21
↓ 6 callersFunctionfetch
(req, { DATABASE })
frontend/mock-db/worker.ts:12
↓ 6 callersFunctionformatRoundedNumber
(n: number)
frontend/src/utils/numbers.ts:1
↓ 6 callersFunctiongetClientById
(db: Database, id: string)
backend/src/mastodon/client.ts:49
↓ 6 callersFunctionmakeCache
()
backend/test/utils.ts:99
↓ 6 callersFunctionmetaLocator
(name: string)
ui-e2e-tests/seo.spec.ts:115
↓ 6 callersMethodput
(key: string, value: T)
backend/src/cache/index.ts:7
↓ 6 callersFunctionsetMeta
(name: string, content: string)
frontend/src/utils/getDocumentHead.ts:25
↓ 6 callersFunctionsleep
(ms: number)
backend/test/mastodon/timelines.spec.ts:18
↓ 6 callersFunctiontag
(name: string, content: string, attrs: Record<string, string> = {})
backend/src/mastodon/microformats.ts:5
↓ 6 callersFunctionuseAccountUrl
( account: (Partial<Pick<Account, 'id'>> & Pick<Account, 'url'>) | null )
frontend/src/utils/useAccountUrl.ts:15
↓ 5 callersFunctionVAPIDPublicKey
(keys: JWK)
backend/src/mastodon/subscription.ts:150
↓ 5 callersFunctioncacheFromEnv
(env: Env)
backend/src/cache/index.ts:10
↓ 5 callersFunctioncacheObject
( domain: string, db: Database, properties: unknown, originalActorId: URL, originalObjectId: URL, local:
backend/src/activitypub/objects/index.ts:88
↓ 5 callersFunctioncreateDirectNote
( domain: string, db: Database, content: string, actor: Actor, targetActors: Array<Actor>, attachment: A
backend/src/activitypub/objects/note.ts:55
↓ 5 callersFunctioncreateReblog
(db: Database, actor: Actor, obj: APObject)
backend/src/mastodon/reblog.ts:16
↓ 5 callersMethodfetch
(request: Request)
do/src/index.ts:24
↓ 5 callersFunctiongenerateDummyAccount
( details: Pick<Account, 'username' | 'acct' | 'display_name' | 'avatar' | 'avatar_static'> )
frontend/src/dummyData/accounts.ts:44
↓ 5 callersFunctiongetVAPIDKeys
(env: Env)
backend/src/config/index.ts:7
↓ 5 callersMethodjsonExtract
(obj: string, prop: string)
backend/src/database/index.ts:30
↓ 5 callersFunctionupsertRule
(db: Database, rule: { id?: number; text: string } | string)
backend/src/config/rules.ts:14
↓ 4 callersFunctionaddPeer
(db: Database, domain: string)
backend/src/activitypub/peers.ts:11
↓ 4 callersFunctionarrayBufferToBase64
(buffer: ArrayBuffer)
backend/src/utils/key-ops.ts:1
↓ 4 callersFunctionbase64URLDecode
(s: string)
backend/src/access/index.ts:52
↓ 4 callersMethodbatch
(statements: PreparedStatement[])
backend/src/database/index.ts:15
↓ 4 callersFunctioncreateReply
( domain: string, db: Database, actor: Actor, originalNote: Note, replyContent: string )
backend/test/shared.utils.ts:22
↓ 4 callersFunctiondeliverFollowers
( db: Database, userKEK: string, from: Actor, activity: Activity, queue: Queue<DeliverMessageBody> )
backend/src/activitypub/deliver.ts:49
↓ 4 callersFunctiongetDomain
(url: URL | string)
backend/src/utils/getDomain.ts:3
↓ 4 callersFunctiongetObjectBy
(db: Database, key: ObjectByKey, value: string)
backend/src/activitypub/objects/index.ts:198
↓ 4 callersFunctiongetTextContent
(unsafeName: string)
backend/src/activitypub/objects/index.ts:278
↓ 4 callersFunctioninsertHashtags
(db: Database, note: Note, values: Array<Hashtag>)
backend/src/mastodon/hashtag.ts:18
↓ 4 callersMethodinsertOrIgnore
(q: string)
backend/src/database/index.ts:34
↓ 4 callersMethodjsonSet
(obj: string, field: string, value: string)
backend/src/database/index.ts:36
↓ 4 callersFunctionloadLocalMastodonAccount
(db: Database, res: Actor)
backend/src/mastodon/account.ts:59
↓ 4 callersFunctionpersonFromRow
(row: any)
backend/src/activitypub/actors/index.ts:258
↓ 4 callersFunctionqueryAcct
(domain: string, db: Database, acct: string)
backend/src/webfinger/index.ts:15
↓ 4 callersFunctionsendNotification
(db: Database, actor: Actor, message: WebPushMessage, vapidKeys: JWK)
backend/src/mastodon/notification.ts:180
↓ 4 callersFunctionstr2ab
(str: string)
backend/src/utils/key-ops.ts:12
↓ 4 callersFunctiontoMastodonStatusFromRow
(domain: string, db: Database, row: any)
backend/src/mastodon/status.ts:103
↓ 4 callersFunctionunwrapPrivateKey
( userKEK: string, wrappedPrivKey: ArrayBuffer, salt: Uint8Array )
backend/src/utils/key-ops.ts:101
↓ 4 callersFunctionupdateActorProperty
(db: Database, actorId: URL, key: string, value: string)
backend/src/activitypub/actors/index.ts:216
↓ 3 callersFunctionadjustLocalHostDomain
(domain: string)
backend/src/utils/adjustLocalHostDomain.ts:10
↓ 3 callersFunctionbase64UrlToUint8Array
(base64UrlData: string)
backend/src/webpush/util.ts:58
↓ 3 callersFunctionexportPublicKeyPair
(key: T)
backend/src/webpush/util.ts:45
↓ 3 callersFunctiongenerateDigestHeader
(body: string)
backend/src/utils/http-signing-cavage.ts:151
↓ 3 callersFunctiongenerateUserKey
( userKEK: string )
backend/src/utils/key-ops.ts:76
↓ 3 callersFunctiongetFollowers
(db: Database, actor: Actor)
backend/src/mastodon/follow.ts:131
↓ 3 callersFunctiongetJwtEmail
(jwtCookie: string)
backend/src/utils/auth/getJwtEmail.ts:3
↓ 3 callersFunctiongetLocalStatuses
( request: Request, db: Database, handle: Handle, offset: number, withReplies: boolean )
functions/api/v1/accounts/[id]/statuses.ts:120
↓ 3 callersFunctiongetNotFoundHtml
()
frontend/src/utils/getNotFoundHtml/getNotFoundHtml.ts:3
next →1–100 of 486, ranked by callers