MCPcopy Create free account

hub / github.com/ad3lre/echo / functions

Functions11,285 in github.com/ad3lre/echo

↓ 1,267 callersFunctionsendError
( reply: FastifyReply, statusCode: number, code: string, message: string, detail?: string, )
backend/src/api/errors.ts:11
↓ 926 callersMethodhas
(hexLower: string)
backend/src/services/csamScan/sha256Blocklist.ts:51
↓ 588 callersMethodjoin
( roomId: string, gameKey: EchoVcActivityKey, userId: string, now: number, )
game-server/src/core/RoomManager.ts:34
↓ 420 callersFunctiongetAuthUser
(req: FastifyRequest)
backend/src/auth/middleware.ts:67
↓ 352 callersMethodadd
@returns true when this is the user's first socket in the room.
game-server/src/realtime/membership.ts:11
↓ 275 callersFunctiontrimEchoPathParam
(raw: string)
backend/src/api/routes/echo/echoRouteUtils.ts:86
↓ 247 callersFunctionechoPool
(req: FastifyRequest)
backend/src/api/routes/echo/echoRouteUtils.ts:81
↓ 228 callersMethodjoin
(room: string)
backend/src/tests/channelHandlers.joinChannel.test.ts:35
↓ 222 callersMethodon
(event: string, handler: JoinHandler)
backend/src/tests/channelHandlers.joinChannel.test.ts:31
↓ 184 callersFunctionr
(v: T)
frontend/src/features/layout/composables/assembleAppLayoutControllerContext.parity.test.ts:179
↓ 159 callersFunctiondispatchAppToast
( message: string, severity: AppToastSeverity = 'info', )
frontend/src/utils/controllerMissingAction.ts:94
↓ 147 callersFunctionc
(v: T)
frontend/src/features/layout/composables/assembleAppLayoutControllerContext.parity.test.ts:180
↓ 147 callersFunctionexpectLast
(path: string, init?: RequestInit)
frontend/src/api/echo/httpWrappers.test.ts:214
↓ 141 callersMethodemit
(event: string, payload: unknown)
backend/src/tests/channelHandlers.joinChannel.test.ts:41
↓ 137 callersFunctionechoFetch
( _token: string | null | undefined, path: string, init?: RequestInit, )
frontend/src/api/echo/transport.ts:123
↓ 125 callersFunctionisEchoGraphId
(id: string)
frontend/src/utils/echoIds.ts:23
↓ 114 callersFunctionechoT
(key: string, values?: Record<string, unknown>)
frontend/src/i18n/index.ts:114
↓ 111 callersFunctionfont
( id: string, label: string, family: string, category: PaperFontCategory, opts?: { pkg?: string; bun
frontend/src/features/paper/editor/paperFontCatalog.ts:31
↓ 108 callersFunctionvcTrace
( log: { info: (obj: object, msg?: string) => void } | undefined, msg: string, meta: Record<string, unkn
backend/src/observability/voiceTraceLog.ts:12
↓ 107 callersFunctionresolve
(targetUserId: string, approve: boolean)
frontend/src/features/voice/composables/useStageSpeakRequests.ts:47
↓ 103 callersFunctionisMemberOfServer
( pool: pg.Pool, serverId: string, userId: string, )
backend/src/domain/echoPermissions.ts:30
↓ 94 callersMethodclear
Tests only.
backend/src/shared/gcraRateLimiter.ts:69
↓ 92 callersFunctiongetPgPool
()
backend/src/db/pg.ts:138
↓ 78 callersFunctionparseMessageContent
( text: string, mentions?: MentionEntity[], resolvers?: IdTokenResolvers, depth = 0, options?: Parse
frontend/src/features/chat/viewModel/messageBodyMarkdown.ts:1173
↓ 77 callersFunctionvoiceClientDiag
( level: VoiceClientDiagLevel, msg: string, meta: Record<string, unknown> = {}, )
frontend/src/observability/voiceClientTrace.ts:58
↓ 75 callersFunctiongetAuthStore
()
backend/src/auth/store/index.ts:12
↓ 66 callersFunctionpublishEchoWorkspaceEvent
( fastify: FastifyInstance, payload: EchoWorkspaceEvent, targets?: { serverId?: string; userId?: string
backend/src/platform/echoPlatformEvents.ts:14
↓ 65 callersFunctionS
(id: string)
frontend/src/utils/serverRailReorder.test.ts:16
↓ 65 callersFunctionreportPrimaryFlowFailure
( flow: string, cause: unknown, context?: Record<string, unknown>, options?: ReportPrimaryFlowFailureO
frontend/src/utils/primaryFlowFailure.ts:131
↓ 64 callersMethodwaitFor
(pred: (v: TttView) => boolean, timeoutMs?: number)
game-server/src/tests/ticTacToe.socket.test.ts:44
↓ 63 callersMethodupdate
(id: string, patch: Partial<RawMessage>)
frontend/src/services/realtime/channelMessageIndex.ts:67
↓ 62 callersMethoddestroy
()
frontend/src/features/voice/composables/useVcYoutubeWatchTogetherPlayer.ts:19
↓ 61 callersFunctiongetEchoStore
()
backend/src/domain/echoStore/bootstrap.ts:7
↓ 57 callersFunctioninsertEchoAudit
( pool: pg.Pool, serverId: string, actorId: string, action: string, targetType: string, targetId:
backend/src/domain/echoStore/auditLog.ts:4
↓ 56 callersFunctionisDesktop
()
frontend/src/platform/desktopBridge.ts:16
↓ 55 callersFunctiongetMergedRolePermissions
( pool: pg.Pool, serverId: string, userId: string, )
backend/src/domain/echoStore/permissions.ts:31
↓ 52 callersFunctionvoiceClientTrace
( msg: string, meta: Record<string, unknown> = {}, )
frontend/src/observability/voiceClientTrace.ts:36
↓ 51 callersMethodremove
(id: string)
frontend/src/services/realtime/channelMessageIndex.ts:68
↓ 51 callersFunctionrunPaperFormatCommand
( editor: Editor | null | undefined, build: (chain: ChainedCommands) => ChainedCommands, )
frontend/src/features/paper/editor/paperFormatSelection.ts:99
↓ 50 callersFunctionemitDiagnostic
(params: { level: DiagnosticLevel; domain: DiagnosticDomain; event: string; stage?: DiagnosticStage;
frontend/src/observability/sessionDiagnostics.ts:86
↓ 49 callersFunctiongetEchoChannelServerId
( pool: pg.Pool, channelId: string, )
backend/src/domain/echoStore/access.ts:35
↓ 49 callersFunctioninvalidateEchoPermissionCacheForServer
(serverId: string)
backend/src/domain/echoPermissionCache.ts:130
↓ 48 callersFunctionisEchoServerOwner
( pool: pg.Pool, serverId: string, userId: string, )
backend/src/domain/echoStore/access.ts:959
↓ 44 callersFunctionensureEchoTables
(pool: pg.Pool)
backend/src/db/echoTables.ts:3097
↓ 44 callersFunctionhas
(k: string)
shared/rolePermissionBridge.ts:136
↓ 42 callersFunctionparseJson
(res: Response)
frontend/src/api/authClientCore.ts:213
↓ 41 callersFunctionthrowIfError
( res: Response, data: unknown, operation: string, )
frontend/src/api/authClientCore.ts:223
↓ 39 callersFunctionassertAuthDomainNetworkAllowed
()
frontend/src/api/authClientCore.ts:211
↓ 39 callersFunctiondbgReadState
( phase: string, data: Record<string, unknown>, )
frontend/src/utils/echoReadStateDebug.ts:25
↓ 37 callersFunctioncommand
( name: string, label: string, description: string, group: SlashCommandGroup, action: SlashCommandAc
frontend/src/features/chat/slashCommands/chatSlashCommands.ts:50
↓ 37 callersFunctionemptyWatchTogetherUiFields
()
frontend/src/features/voice/vcActivityTypes.ts:203
↓ 37 callersFunctionsafeCustomEmojiUrl
( url: string | undefined | null, )
frontend/src/utils/customEmojiUrl.ts:54
↓ 35 callersFunctioncreateEchoServer
( pool: pg.Pool, ownerId: string, name: string, iconUrl = '', )
backend/src/domain/echoStore/servers.ts:90
↓ 35 callersFunctiongetChannelIndex
( channelId: string, initialMessages?: RawMessage[], )
frontend/src/services/realtime/channelMessageIndex.ts:381
↓ 35 callersFunctiongetInstancePolicy
()
backend/src/config/instancePolicy/hotReload.ts:18
↓ 35 callersFunctionsafeImageUrl
(url: string | undefined | null)
frontend/src/utils/safeImageUrl.ts:61
↓ 34 callersFunctionhostIs
(h: string, base: string)
backend/src/services/linkUnfurl/linkUnfurlOembed.ts:12
↓ 32 callersFunctionisPostgresUndefinedRelationError
(err: unknown)
backend/src/db/pgErrors.ts:18
↓ 31 callersFunctionappendMeta
(metaPath, line)
scripts/vps-serve.mjs:203
↓ 31 callersFunctiongetEchoServerCapabilitiesForUser
( pool: pg.Pool, serverId: string, userId: string, )
backend/src/domain/echoStore/access.ts:758
↓ 30 callersFunctionbindChannelMessageBuckets
( messages: Ref<Record<string, RawMessage[]>>, )
frontend/src/services/realtime/channelMessageAuthority.ts:20
↓ 30 callersFunctione
(id: string, label: string)
frontend/src/utils/iconCatalogGrouping.test.ts:10
↓ 30 callersFunctionlabelFromFileName
(fileName: string)
frontend/src/audio/callRingtoneAssets.ts:66
↓ 29 callersFunctionparseAppPathname
( pathname: string, base: string, )
frontend/src/features/layout/urlNavigation.ts:247
↓ 29 callersFunctionparseBoolean
( raw: string | undefined, defaultValue: boolean, )
backend/src/config/envParsing.ts:7
↓ 29 callersFunctionsetNested
( root: Record<string, unknown>, path: string[], value: unknown, )
backend/src/config/instancePolicy/envOverrideHelpers.ts:30
↓ 28 callersMethodgetUserById
(id: string)
backend/src/auth/store/types.ts:72
↓ 28 callersFunctionokResult
()
frontend/src/types/actionResult.ts:12
↓ 27 callersFunctionclearConfigAndRoutes
()
backend/src/tests/shippingSecurity.test.ts:40
↓ 27 callersMethodconfigure
(options: { useKrisp: boolean; krispOptions?: EchoKrispNoiseFilterOptions; })
frontend/src/services/livekit/echoLocalMicSendGain.ts:148
↓ 27 callersFunctiondbgMemberList
( phase: string, data: Record<string, unknown>, )
frontend/src/utils/echoMemberListDebug.ts:16
↓ 27 callersFunctiondiscordError
(reply: FastifyReply, status: number, message: string)
backend/src/api/routes/discordApi/rest/messages.ts:37
↓ 27 callersMethoddispatch
( roomId: string, userId: string, type: string, payload: unknown, now: number, )
game-server/src/core/RoomManager.ts:57
↓ 27 callersFunctiondispatchAppToastDetail
(detail: AppToastDetail)
frontend/src/utils/controllerMissingAction.ts:61
↓ 27 callersFunctiontest
(name: string, fn: () => void)
backend/src/tests/snowflakeIds.test.ts:13
↓ 26 callersFunctionechoCsrfHeaders
()
frontend/src/utils/echoCsrf.ts:81
↓ 26 callersFunctionfail
( code: MessageFailedCode, extra?: { channelId?: string; detail?: string }, )
backend/src/sockets/messageEditDeleteHandler.ts:73
↓ 26 callersFunctiongetEffectiveChannelPermissions
( pool: pg.Pool, serverId: string, userId: string, channelId: string, )
backend/src/domain/echoStore/permissions.ts:49
↓ 26 callersFunctiongoogleOAuthAppRedirect
( ok: boolean, errorCode?: string, opts?: { kind?: GoogleOAuthRedirectKind }, )
backend/src/domain/googleOAuthRedirect.ts:7
↓ 26 callersFunctionisUrlSafeForOutboundFetch
(urlString: string)
backend/src/services/linkUnfurl/linkUnfurlFetch.ts:162
↓ 26 callersFunctionlastEchoCall
()
frontend/src/api/echo/permissions.test.ts:50
↓ 26 callersFunctionpushIf
(condition: boolean, issues: string[], message: string)
backend/src/config/instancePolicy/validateInstancePolicy.ts:31
↓ 26 callersMethodreduce
Apply a validated client action. Return next state, or `null` to reject (no change).
game-server/src/core/GameModule.ts:37
↓ 26 callersFunctionrunDiscordImportStep
( pool: pg.Pool, serverId: string, actorId: string, step: DiscordImportStep, options?: { force?: boo
backend/src/services/discordImport.ts:2398
↓ 25 callersFunctiondiscordOAuthAppRedirect
( ok: boolean, errorCode?: string, opts?: { kind?: DiscordOAuthRedirectKind; /** After new Disco
backend/src/domain/discordOAuthRedirect.ts:7
↓ 25 callersMethodgetIndex
(channelId: string)
frontend/src/services/realtime/messageWindowAuthority.ts:110
↓ 24 callersFunctionclosePgPool
()
backend/src/db/pg.ts:155
↓ 24 callersFunctionisFree
(s: number, e: number)
frontend/src/features/chat/editor/composerMarkdownDecorations.ts:151
↓ 24 callersFunctionm
( id: string, authorId: string, content: string, extra?: Partial<RawMessage>, )
frontend/src/composables/useSearch.test.ts:56
↓ 24 callersFunctionreport
(e: ChatMediaUploadProgressEvent)
frontend/src/composables/uploadPendingMediaAsAttachments.ts:116
↓ 23 callersFunctionaddEchoServerMember
( pool: pg.Pool | pg.PoolClient, serverId: string, userId: string, )
backend/src/domain/echoStore/servers.ts:199
↓ 23 callersFunctionassert
(cond: unknown, msg: string)
backend/src/tests/youtubeOAuth.state.test.ts:7
↓ 23 callersFunctiongetEchoMessageById
( pool: pg.Pool, messageId: string, )
backend/src/domain/echoMessagesDal.ts:958
↓ 23 callersFunctionlogShellNav
( source: string, message: string, data?: Record<string, unknown>, )
frontend/src/features/layout/shellNavDebugLog.ts:18
↓ 22 callersFunctionclientIpFromFastifyRequest
(req: FastifyRequest)
backend/src/net/clientIp.ts:82
↓ 22 callersFunctioncreateEchoChannel
( pool: pg.Pool, serverId: string, name: string, type: 'text' | 'voice' | 'forum' | 'stage' | 'paper'
backend/src/domain/echoStore/categoriesWorkspace.ts:1662
↓ 22 callersFunctionpub
( encode: (payload: T) => Uint8Array, payload: T, opts?: PublishOpts, )
frontend/src/services/livekit/livekitVoiceDataChannel.ts:450
↓ 21 callersFunctionassertProdGateFails
( overrides: Record<string, string | undefined>, label: string, )
backend/src/tests/productionConfigGates.test.ts:115
↓ 21 callersFunctiondiagnoseEchoChannelAccess
( pool: pg.Pool, userId: string, channelId: string, )
backend/src/domain/echoStore/access.ts:150
↓ 21 callersFunctionemitMessageFailed
( socket: Socket, payload: { code: MessageFailedCode; channelId?: string; clientMessageId?: st
backend/src/sockets/chatMessageHandler.ts:47
next →1–100 of 11,285, ranked by callers