MCPcopy Create free account

hub / github.com/boringstack-xyz/boringstack / functions

Functions1,777 in github.com/boringstack-xyz/boringstack

↓ 10 callersMethodissueChallenge
* Issue an opaque challenge token. Stored in Valkey under the HMAC * hash of the token (never the raw value), TTL * `MFA_CHALLENGE_TTL_SECONDS`.
apps/api/src/api/auth/services/mfa.service.ts:180
↓ 10 callersMethodloginOrRegisterFromProfile
( providerName: string, profile: IOAuthProfile )
apps/api/src/api/auth/services/oauth.service.ts:33
↓ 10 callersFunctionmakeUser
(overrides: Partial<IUser> = {})
apps/ui/tests/factories/user.factory.ts:19
↓ 10 callersFunctionreadJson
(res: Response)
apps/api/tests/api/auth/auth.routes.test.ts:52
↓ 10 callersFunctionresolveStatusMessage
( status: OwnershipTransferStatus, errorMessage: string | null, t: (key: string) => string )
apps/ui/src/features/accounts/components/OwnershipTransferAcceptPage/OwnershipTransferAcceptPage.utils.ts:3
↓ 10 callersFunctionseedPendingUser
( input: ISeedPendingUserInput )
apps/api/tests/helpers/auth.ts:99
↓ 10 callersFunctionseedUser
(email = "session@example.com")
apps/api/tests/api/auth/services/session.service.test.ts:17
↓ 10 callersFunctionseedUserAndAccount
( email: string )
apps/api/tests/api/accounts/join-requests.service.test.ts:23
↓ 10 callersFunctionsiteIn
(accountId: string)
apps/ui/src/lib/acl/ability.test.ts:23
↓ 10 callersFunctionsrc_payload
(file_path: str)
tools/spec-loop/tests/test_solo_spec_gate.py:67
↓ 10 callersMethodsubmit
()
apps/ui/e2e/pages/LoginPage.ts:31
↓ 10 callersFunctionuseLoginPage
(props: ILoginPageProps = {})
apps/ui/src/features/auth/components/LoginPage/LoginPage.hooks.ts:48
↓ 10 callersMethodwrap
( _key: string, factory: () => Promise<T>, _options?: ICacheSetOptions )
apps/api/src/lib/cache/providers/noop.ts:38
↓ 9 callersFunctioncanDisconnect
( providers: readonly IProviderRow[], providerName: string, emailProviderKey: string )
apps/api/src/lib/oauth/oauth.utils.ts:184
↓ 9 callersFunctionemit
(level: ILogLevel, payload: ILogEvent)
apps/ui/src/lib/logger/logger.utils.ts:34
↓ 9 callersFunctionenrollMfa
( userId: string )
apps/api/tests/api/auth/services/mfa.service.test.ts:58
↓ 9 callersFunctionextractDomain
(email: string)
apps/api/src/lib/email-domain/email-domain.utils.ts:10
↓ 9 callersFunctionisProviderSuppressionError
(errorBody: string)
apps/api/src/lib/email/providers/suppression.helpers.ts:28
↓ 9 callersFunctionisPublicEmailDomain
(domain: string)
apps/api/src/lib/email-domain/email-domain.utils.ts:37
↓ 9 callersMethodneedsRehash
* Returns true when `hash` is not the current canonical algorithm — * callers should re-hash with `hash()` after a successful verify and * persi
apps/api/src/lib/password/password-utils.ts:54
↓ 9 callersFunctionparseDashboardLimit
(raw: string | undefined)
apps/api/src/api/dashboard/dashboard.utils.ts:95
↓ 9 callersFunctionplanRow
( featureKey: IPlanFeatureRow["featureKey"], value: unknown )
apps/api/tests/lib/acl/feature-resolution.test.ts:17
↓ 9 callersFunctionprofile
(overrides: Partial<IOAuthProfile> = {})
apps/api/tests/api/auth/services/oauth.service.test.ts:18
↓ 9 callersFunctionreadBoolean
(obj: unknown, key: string)
apps/api/src/lib/oauth/oauth.utils.ts:88
↓ 9 callersFunctionregisterAndLogin
( email: string )
apps/api/tests/api/notifications/notifications.routes.test.ts:49
↓ 9 callersMethodrun
(ctx: IMetaContext)
apps/ui/scripts/lint-meta/types.ts:27
↓ 9 callersFunctionseedAccountWithStripeCustomer
()
apps/api/tests/api/billing/billing.service.test.ts:26
↓ 9 callersFunctionseedOwnerAndTarget
()
apps/api/tests/api/accounts/ownership-transfers.service.test.ts:31
↓ 9 callersFunctionseedRequesterUser
(email: string)
apps/api/tests/api/accounts/join-requests.service.test.ts:40
↓ 9 callersFunctionselectEffectiveFeatures
( status: AccountPlanStatus, paidFeatures: readonly IPlanFeatureRow[], freeFeatures: readonly IPlanFeatu
apps/api/src/api/billing/account-plan-status.ts:17
↓ 9 callersFunctionset
(name: string, value: unknown)
apps/ui/src/lib/storage/localStorage.ts:26
↓ 9 callersFunctionsyncMeAfterSessionEstablished
( qc: QueryClient )
apps/ui/src/features/auth/Auth.session.sync.ts:33
↓ 9 callersFunctiontoBoolWithDefault
( raw: string | undefined, defaultValue: boolean, name?: string )
apps/api/src/config/env/validate.ts:73
↓ 9 callersFunctionunwrapMfaEnvelope
(envelope: { data?: T } | undefined)
apps/ui/src/features/auth/Auth.mfa.utils.ts:8
↓ 9 callersFunctionuseLogin
()
apps/ui/src/features/auth/Auth.session.mutations.ts:19
↓ 9 callersFunctionuseWebPush
()
apps/ui/src/hooks/useWebPush.hooks.ts:79
↓ 9 callersFunctionwrapper
()
apps/ui/src/features/auth/components/LoginPage/LoginPage.hooks.test.tsx:27
↓ 9 callersFunctionwrite_spec
(root: Path, content: str)
tools/spec-loop/tests/test_solo_spec_gate.py:57
↓ 8 callersFunctionappendToTuple
(tupleName: string, name: string)
apps/api/scripts/codegen/acl-scaffold/edit-tuple.ts:52
↓ 8 callersFunctionbaseEnv
(overrides: { MFA_ENCRYPTION_KEY?: string } = {})
apps/api/tests/boot/invariants.test.ts:19
↓ 8 callersFunctionbuildFixture
(withWebPush: boolean)
apps/api/tests/queues/queue-manager.test.ts:110
↓ 8 callersFunctionbuildProps
( overrides: Partial<React.ComponentProps<typeof MfaChallengeForm>> = {} )
apps/ui/src/features/auth/components/LoginPage/MfaChallengeForm/MfaChallengeForm.test.tsx:20
↓ 8 callersFunctioncheckEnginePinParity
( root: string, workflowFiles: readonly string[] = [] )
apps/api/scripts/lint-meta/rules/ci/engine-pin-parity.ts:36
↓ 8 callersFunctioncheckForbiddenText
(file: string, root: string)
apps/ui/scripts/lint-meta/rules/source-text/forbidden-text.ts:8
↓ 8 callersFunctioncloseValkeyHealthClient
()
apps/api/src/api/health/checks/valkey.check.client.ts:35
↓ 8 callersFunctioncollectSourceFiles
( dir: string, skipSubpaths: readonly string[] = TESTS_LINT_META_SKIP )
apps/ui/scripts/lint-meta/context.ts:30
↓ 8 callersFunctionenforceBodyLimit
(input: { method: string; contentLength: string | null; maxBytes?: number; })
apps/api/src/middleware/body-limit.ts:30
↓ 8 callersFunctionfactory
()
apps/api/tests/lib/cache/cache.service.test.ts:44
↓ 8 callersFunctionfindWorkflows
(dir: string)
apps/ui/scripts/lint-meta/context.ts:64
↓ 8 callersMethodgrantFeature
* Grants a feature override on an account. Time-boundable via * `expiresAt`. Atomically revokes any prior active override for the * same `(accou
apps/api/src/api/admin/admin-billing.service.ts:25
↓ 8 callersFunctioninsertTestUser
(suffix: string)
apps/api/tests/lib/notifications/dispatch/dispatch-job.test.ts:22
↓ 8 callersFunctionisThemeName
(value: unknown)
apps/ui/src/lib/theme/theme.utils.ts:8
↓ 8 callersMethodlistPlans
()
apps/api/src/api/billing/billing.service.ts:91
↓ 8 callersFunctionmake
(accountId: string, cookie: string)
apps/api/tests/api/accounts/accounts.routes.test.ts:356
↓ 8 callersFunctionnamespacedKey
(name: string)
apps/ui/src/lib/storage/localStorage.utils.ts:3
↓ 8 callersFunctionnonEmpty
(raw: string | undefined, fallback: string)
apps/api/src/config/env/validate.ts:101
↓ 8 callersFunctionrequireValkey
()
apps/api/tests/helpers/valkey.ts:72
↓ 8 callersFunctionresolveAuthStatus
( result: Pick<UseQueryResult<IMe | null>, "data" | "error"> )
apps/ui/src/features/auth/Auth.queries.utils.ts:30
↓ 8 callersFunctionretryWithBackoff
( fn: () => Promise<T>, options: IRetryOptions = {} )
apps/api/src/lib/email/email.utils.ts:178
↓ 8 callersFunctionrunOn
(body: string)
apps/api/tests/lint-meta/lint-meta.test.ts:238
↓ 8 callersFunctionrunOn
(body: string)
apps/ui/tests/lint-meta/lint-meta.test.ts:1311
↓ 8 callersFunctionseedNotification
( userId: string, overrides: Partial<{ title: string; body: string; status: "unread" | "read"
apps/api/tests/api/notifications/notifications.routes.test.ts:77
↓ 8 callersFunctionsendGridEventToReason
( event: ISendGridEvent )
apps/api/src/api/webhooks/sendgrid.utils.ts:113
↓ 8 callersFunctionuniqueEmail
(prefix: string)
apps/api/tests/api/auth/mfa.routes.test.ts:26
↓ 8 callersMethodunsubscribe
( input: IUnsubscribePushInput )
apps/api/src/api/notifications/notifications.push.service.ts:107
↓ 8 callersFunctionuseAppPageHeader
()
apps/ui/src/components/core/AppPage/AppPageHeader.hooks.ts:13
↓ 8 callersFunctionuseCapabilities
()
apps/ui/src/lib/api/queries/useCapabilities.ts:12
↓ 8 callersFunctionuseMfaSection
()
apps/ui/src/features/accounts/components/SettingsPage/MfaSection/MfaSection.hooks.ts:24
↓ 8 callersFunctionuserNotificationChannel
(userId: string)
apps/api/src/lib/notifications/pubsub/user-notification-channel.ts:6
↓ 8 callersMethodverify
* Flips `users.email_verified_at` and atomically calls the personal- * account convergence point. After this returns the user is fully * provisi
apps/api/src/api/auth/services/email-verification.service.ts:38
↓ 8 callersFunctionwithQueueSpan
( queueName: string, /* * Only the fields the span attributes read — keeps full BullMQ jobs * assign
apps/api/src/lib/tracing/withQueueSpan.ts:26
↓ 7 callersFunctionbuildMe
(overrides: Partial<IMe> = {})
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.test.tsx:41
↓ 7 callersFunctionbuildWrapper
()
apps/ui/src/features/accounts/components/SettingsPage/MfaSection/MfaSection.hooks.test.tsx:62
↓ 7 callersFunctioncollectBootInvariantViolations
(env: Env)
apps/api/src/boot/invariants.ts:91
↓ 7 callersFunctioncollectSourceFiles
( dir: string, skipSubpaths: readonly string[] = TESTS_LINT_META_SKIP )
apps/api/scripts/lint-meta/context.ts:30
↓ 7 callersMethodconsume
* Read + delete the stored state. Returns `null` if absent (expired, * forged, or already consumed) — and equally if the stored value is * not a
apps/api/src/lib/oauth/oauth.state.ts:76
↓ 7 callersFunctioncreateJWTConfig
()
apps/api/src/lib/jwt/jwt-utils.ts:7
↓ 7 callersFunctionfakeCheck
( name: string, status: ReadinessStatus, latencyMs = 1, message?: string )
apps/api/tests/api/health/health.aggregate.test.ts:13
↓ 7 callersFunctionfindWorkflows
(dir: string)
apps/api/scripts/lint-meta/context.ts:64
↓ 7 callersFunctionformatActivityTitle
( action: string, resource: string | null )
apps/api/src/api/dashboard/dashboard.utils.ts:77
↓ 7 callersMethodgetActivity
( userId: string, accountId: string, limit: number, cursor?: string )
apps/api/src/api/dashboard/dashboard.service.ts:64
↓ 7 callersFunctiongetQueueManager
()
apps/api/src/config/setup/setup-queues.ts:76
↓ 7 callersMethodgetSummary
( userId: string, accountId: string )
apps/api/src/api/dashboard/dashboard.service.ts:31
↓ 7 callersFunctionoverrideRow
( featureKey: IFeatureOverrideRow["featureKey"], value: unknown, opts: Partial<Pick<IFeatureOverrideRow,
apps/api/tests/lib/acl/feature-resolution.test.ts:22
↓ 7 callersFunctionparseDefaultHeaders
( raw: string )
apps/api/src/lib/ai/ai.utils.ts:35
↓ 7 callersFunctionparseNotificationsLimit
(raw: string | undefined)
apps/api/src/api/notifications/notifications.utils.ts:25
↓ 7 callersFunctionreadRenderedNullableString
( rendered: Record<string, unknown>, key: string )
apps/api/src/api/notifications/notifications.utils.ts:50
↓ 7 callersFunctionreadRenderedString
( rendered: Record<string, unknown>, key: string )
apps/api/src/api/notifications/notifications.utils.ts:40
↓ 7 callersMethodrefresh
(token: string)
apps/api/src/api/auth/services/session.service.ts:37
↓ 7 callersFunctionrenderPage
( me: IMe | null, invitations: IPendingInvitation[] = [] )
apps/ui/src/features/accounts/components/InvitationsPage/InvitationsPage.test.tsx:65
↓ 7 callersMethodrequest
(email: string)
apps/api/src/api/auth/services/password-reset.service.ts:29
↓ 7 callersMethodrevokeAllForUser
(userId: string)
apps/api/src/api/auth/services/session.service.ts:161
↓ 7 callersFunctionseedUser
(email: string)
apps/api/tests/queues/account-maintenance/account-maintenance.jobs.test.ts:27
↓ 7 callersFunctionseedUser
(email = "reset@example.com")
apps/api/tests/api/auth/services/password-reset.service.test.ts:31
↓ 7 callersFunctionseedUser
(email = "verify@example.com")
apps/api/tests/api/auth/services/email-verification.service.test.ts:26
↓ 7 callersFunctionseedVerificationToken
( userId: string, expiresAt: string = FUTURE() )
apps/api/tests/api/auth/services/email-verification.service.test.ts:36
↓ 7 callersFunctionsendTemplateNow
( input: ISendTemplateInput )
apps/api/src/lib/email/email.dispatch.ts:22
↓ 7 callersMethodsize
()
apps/api/src/lib/notifications/events/event-registry.ts:47
↓ 7 callersFunctionsplitDisplayName
( full: string )
apps/api/src/lib/oauth/oauth.utils.ts:100
↓ 7 callersFunctiontoOpenAIMessages
(options: IAIChatOptions)
apps/api/src/lib/ai/providers/openai/openai.utils.ts:23
← previousnext →101–200 of 1,777, ranked by callers