MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionheaders
* PLAN-3535 — a child in a REFERENCE collection (tracks_work: false) is not * part of its parent's work. On the parent page it is listed in its own
web/e2e/plan-3535-reference-children.spec.ts:20
↓ 2 callersFunctionhealthBody
TASK-1069: MCP that is turned on but cannot be served says so: one reason for the admin panel, the startup error and the health flag, so the three can
internal/server/task1069_mcp_blocked_test.go:16
↓ 2 callersFunctionhelpCmd
helpCmd returns a custom `pad help` subcommand that replaces cobra's built-in help. It implements the cmdhelp v0.1 mandatory surface (https://getpad.d
cmd/pad/help_cmdhelp.go:45
↓ 2 callersFunctionheuristicEffort
heuristicEffort is the no-answer estimate: 0 for a question title with a short body, else by body length.
internal/server/needs_scorers.go:563
↓ 2 callersFunctionhint
(change: string, workspace_id = 'ws-b')
web/src/lib/services/accessStream.svelte.test.ts:105
↓ 2 callersFunctionholdAuthedSSE
holdAuthedSSE opens the workspace-scoped stream WITH a bearer token and holds it, returning a close func. connectSSE (handlers_events_test.go) sends n
internal/server/stream_admission_test.go:52
↓ 2 callersFunctionholdPIDFile
holdPIDFile takes an exclusive advisory lock on the PID file and keeps it for the process's lifetime. The lock — not the pid, and not the timestamp be
internal/cli/pidfile_unix.go:27
↓ 2 callersFunctionholdUncommittedRename
holdUncommittedRename opens a transaction that looks exactly like a rename in flight: workspace lock held, the row's slug already rewritten, nothing c
internal/store/collections_slug_race_pg_test.go:61
↓ 2 callersMethodholdWorkspace
holdWorkspace locks the workspace row from a side transaction until release.
internal/store/commitment_links_pg_test.go:72
↓ 2 callersFunctionhook
(currentNode: Node)
web/src/lib/utils/markdown.ts:426
↓ 2 callersFunctionhost
(page: Page)
web/e2e/chat-shell-layout.spec.ts:36
↓ 2 callersFunctionhtmlProseExtensions
()
web/src/lib/components/editor/extensions/htmlProse.ts:377
↓ 2 callersMethodhttpDispatcher
()
internal/mcp/plan3578_patch_test.go:98
↓ 2 callersFunctionhumanBytes
humanBytes renders a byte count for a refusal sentence, in binary units with the decimal-style labels the billing page uses ("1 GB" for 1<<30).
internal/server/handlers_cloud.go:1909
↓ 2 callersFunctionhumanSize
humanSize formats a byte count in a compact human-readable form (1.2 MB, 340 KB). Used by attachment list / show; not exported because the formatting
cmd/pad/cmd_attachment.go:691
↓ 2 callersFunctionhydrateCollections
( userId: string | null, ws: string, )
web/src/lib/stores/localIndexPersistence.ts:1043
↓ 2 callersMethodhydrateItemAppAttribution
hydrateItemAppAttribution is hydrateItemsAppAttribution for one item.
internal/server/app_attribution.go:36
↓ 2 callersMethodhydrateRelationTargets
hydrateRelationTargets fills `relation_targets` on a batch of items (PLAN-2857 U6): for each `relation` field the collection declares, the item the st
internal/server/relation_hydration.go:45
↓ 2 callersFunctioniconSvg
(id: string, options: { size?: number | string } = {})
web/src/lib/attachments/icons/index.ts:157
↓ 2 callersFunctionideasCollection
ideasCollection returns the standard Ideas collection shared across templates. Extracted alongside tasksCollection (IDEA-2527) for the same reason: te
internal/collections/templates.go:209
↓ 2 callersFunctionidemRequestHash
idemRequestHash is the request half of a key's identity: the route, its scope (the item) and the canonical request body.
internal/server/idempotency_keys.go:199
↓ 2 callersFunctionidentName
(e ast.Expr)
scripts/ci-web-census/main.go:142
↓ 2 callersFunctionidentity
(n int)
internal/store/version_tie_diagnostic.go:424
↓ 2 callersFunctionids
(ns []Notification)
internal/watchevents/redis_bus_ambiguity_test.go:198
↓ 2 callersFunctionidsOf
(items []models.Item)
internal/store/bug2631_scope_collection_test.go:50
↓ 2 callersFunctionidsOf
(events []OutboxEvent)
internal/store/event_outbox_bounds_test.go:286
↓ 2 callersFunctionimage
(over: Partial<LightboxImage> = {})
web/src/lib/attachments/events.test.ts:30
↓ 2 callersFunctionimg
(id: string, over: Partial<LightboxImage> = {})
web/src/lib/components/attachments/AttachmentSurfaceHost.svelte.test.ts:75
↓ 2 callersMethodimportBundle
importBundle reads a tar (already gzip-decompressed) from r and orchestrates the two-phase import. Returns the new workspace. Single-pass streaming:
internal/server/handlers_import_bundle.go:629
↓ 2 callersFunctionimportBundleForSummary
(t *testing.T, bundle []byte)
internal/server/handlers_import_bundle_summary_test.go:121
↓ 2 callersFunctionimportNumberSlots
importNumberSlots returns a JSON number literal as each dialect's index compares it. Neither expands the number, so the work is linear in the literal
internal/store/import_unique.go:114
↓ 2 callersFunctionimportNumericKey
importNumericKey is the (value, scale) of a JSON number literal as Postgres's numeric holds it: sign, significant digits, the decimal exponent of the
internal/store/import_unique.go:143
↓ 2 callersFunctionimportOutcomes3475
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_bundle_bug3475_test.go:82
↓ 2 callersMethodimportOutcomesRegistry
()
internal/server/import_outcomes.go:161
↓ 2 callersFunctionimportPartialMarkerKeepPath
(t *testing.T, driver store.DriverType)
internal/server/handlers_import_partial_marker_test.go:44
↓ 2 callersFunctionimportRefSlugBundle
importRefSlugBundle is a bundle whose slugs include ref-shaped ones, for the preserved-slug (pad db migrate-to-pg) and plain-door comparison.
internal/store/export_import_refslug_test.go:295
↓ 2 callersFunctionimportRemapsVersionHistory
(t *testing.T, driver store.DriverType)
internal/server/bug3656_import_remap_test.go:128
↓ 2 callersFunctionimportUniqueValue
importUniqueValue is the value reported for a field, and the slots it claims. A declared unique_scope field is checked as checkUniqueFields checks it:
internal/store/import_unique.go:53
↓ 2 callersFunctionimportanceDetail
(loc *time.Location, r *needs.Row, it store.NeedsScoringItem, blocked int, decs []models.ItemDecision, qh map[
internal/server/needs_scorers.go:316
↓ 2 callersFunctionimportedAckEvidence
importedAckEvidence rewrites an imported acknowledgement's before or after JSON into the canonical evidence shape, without an actor_user_id. Import ne
internal/store/schedule_ack.go:185
↓ 2 callersFunctionimportedBodySHA256
importedBodySHA256 is the body_sha256 an imported version row is stored with (BUG-3820): the bundle's value when it is a well-formed hex sha256, other
internal/store/export.go:235
↓ 2 callersFunctionimportedFilenameSource
importedFilenameSource decides filename_source for an attachment arriving in a bundle (BUG-2819). When THIS server altered the name (normalised or su
internal/server/handlers_import_bundle.go:1411
↓ 2 callersFunctionimportedFlag
importedFlag is attachments.imported for a row being inserted (BUG-3379).
internal/store/attachments.go:74
↓ 2 callersFunctionimportedSlugsByTitle
(t *testing.T, s *Store, wsID string)
internal/store/export_import_refslug_test.go:315
↓ 2 callersFunctioninRanges
(ranges: Array<[number, number]>, i: number)
web/src/lib/utils/markdown.ts:1136
↓ 2 callersFunctioninRenderedOrder
(groups: Record<string, ResultGroup>)
web/src/lib/components/search/groupResults.ts:56
↓ 2 callersFunctioninRow
(ref: string)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:740
↓ 2 callersFunctionincludeLocalRuntime
(cfg *config.Config)
cmd/pad/server_info.go:256
↓ 2 callersFunctionincomingImplementedBy
(item *models.Item, links []models.ItemLink)
cmd/pad/query.go:373
↓ 2 callersMethodindexExists
indexExists checks whether the named index exists in the database.
internal/store/store.go:1696
↓ 2 callersFunctioninertInternalReferences
( html: string, titleByRef: ReadonlyMap<string, string>, pageUrl: string = typeof location !== 'undefined'
web/src/lib/components/share/shareRender.ts:128
↓ 2 callersFunctioninlineCodeRanges
inlineCodeRanges returns half-open `[start, end)` byte ranges that cover every inline-code span in `content`, skipping over the fenced regions caller
internal/links/extract.go:370
↓ 2 callersFunctioninput
()
web/src/lib/components/layout/Sidebar.quickAdd.svelte.test.ts:52
↓ 2 callersFunctioninsertInstall
(t *testing.T, s *store.Store, workspaceID string)
internal/appstore/items_test.go:77
↓ 2 callersFunctioninsertLegacyUnverifiedUser
insertLegacyUnverifiedUser inserts a user row with email_verified_at = NULL, simulating an account that existed BEFORE migration 070 added + backfille
internal/store/users_email_verified_test.go:51
↓ 2 callersMethodinsertOAuthRequestRowTx
(tx *sql.Tx, table string, req models.OAuthRequest, requestedStr string)
internal/store/oauth.go:770
↓ 2 callersFunctioninsertOutboxRowBatch
(t *testing.T, s *Store, id, workspaceID, occurredAt string, dispatchedAt *string, batchID string)
internal/store/event_outbox_test.go:1547
↓ 2 callersFunctioninsertRawInvitation
insertRawInvitation inserts a pending invitation row directly, bypassing CreateInvitation's replace, to model two invites that raced past it.
internal/server/bug2136_invite_consent_test.go:252
↓ 2 callersMethodinsertUpload
(ctx context.Context, spec store.FenceSpec, res *reservation, in store.FencedAttachmentCreate)
internal/appstore/attachments.go:308
↓ 2 callersFunctioninsideModule
insideModule reports whether a package path belongs to this module.
internal/models/reserved_field_decode_guard_test.go:226
↓ 2 callersFunctioninsideTestTempDir
insideTestTempDir reports whether p is inside this test's temp dir: under sc.base, in a top-level directory named for sc.top.
internal/buildtools/bug4066_harness_guard_test.go:79
↓ 2 callersFunctioninstall
()
web/e2e/task-3413-apps-settings.spec.ts:39
↓ 2 callersMethodinstallClientOf
Delegated app sign-in (SPEC-6 U5b-1, TASK-3399; DOC-3371 §4 "Delegated tokens"): authorization code + PKCE for an install's client, so a Pad user can
internal/server/app_delegated_consent.go:26
↓ 2 callersFunctioninstallEpoch
(t *testing.T, srv *Server, id string)
internal/server/task3397_lifecycle_test.go:51
↓ 2 callersFunctioninstallInitCancelHandler
installInitCancelHandler installs a SIGINT/SIGTERM handler for the duration of an interactive init run. On signal receipt it calls cancelInit() — but
cmd/pad/cancel.go:48
↓ 2 callersFunctioninstallInteractive
(force bool)
cmd/pad/cmd_agent.go:379
↓ 2 callersMethodinstallIssuanceBarrierTx
installIssuanceBarrierTx is the issuance barrier (DOC-3371 §4). For a request whose client is an install client it does the whole persistence in the c
internal/store/install_clients.go:349
↓ 2 callersMethodinstallUpgradeBase
(installState *store.InstallUpgradeState)
internal/server/handlers_apps_upgrade.go:32
↓ 2 callersMethodinstant
(loc *time.Location)
internal/store/commitment_cascade.go:85
↓ 2 callersFunctionintIs
(p *int, want int)
internal/store/plan2348_u2_versions_test.go:47
↓ 2 callersFunctionintPtrEq
TASK-4610: role_offsets is the schedule row's own stored offsets, the base a PATCH merges against. Runs on SQLite in make test and on Postgres in make
internal/store/commitment_role_offsets_test.go:13
↓ 2 callersFunctioninteractiveSessionHint
interactiveSessionHint rewrites the server's refusal for an API token into what to do about it.
cmd/pad/cmd_auth_2fa.go:78
↓ 2 callersFunctionintp
(i int)
internal/server/render/attachments_test.go:10
↓ 2 callersMethodintrospectionCallerClientID
introspectionCallerClientID is the client a public /oauth/introspect request authenticates as, read as fosite's NewIntrospectionRequest reads it: the
internal/server/app_tokens.go:237
↓ 2 callersFunctioninvalidCollErr
invalidCollErr is the move wire shape for a missing target collection.
internal/cli/collection_alias_test.go:15
↓ 2 callersMethodinvalidate
* Abandon the current run and the published slot (BUG-3005). * * A single-flight slot outlives the DATA its owner drops. Clearing a store * on a
web/src/lib/stores/singleFlight.ts:87
↓ 2 callersFunctioninvalidateAttachmentMetadataForWorkspace
(workspaceSlug: string)
web/src/lib/components/editor/attachment-metadata.ts:323
↓ 2 callersMethodinvitationAcceptedFields
invitationAcceptedFields is what every accept tells the client about the workspace it joined: both accept doors above, and registration with an invita
internal/server/handlers_members.go:670
↓ 2 callersFunctioninvitationEmailURL
invitationEmailURL is the join link the invitation EMAIL carries: the shareable join URL plus the mailbox-only proof in the fragment (TASK-3352). A fr
internal/server/handlers_members.go:260
↓ 2 callersFunctioninvitationProofHash
(proof string)
internal/store/workspace_members.go:1349
↓ 2 callersFunctioninvite
(email = EMAIL)
web/src/routes/[username]/[workspace]/settings/inviteFlow.svelte.test.ts:78
↓ 2 callersMethodinviterCanGrantQ
(q rowQueryer, invitationID, workspaceID string, lock bool)
internal/store/workspace_members.go:290
↓ 2 callersMethodinvocationSlugTakenQ
invocationSlugTakenQ is invocationSlugTaken on q, through the same ListItems Fields predicate (store.ItemsWithFieldValueQ; TASK-3397, U8b).
internal/server/handlers_artifact_import.go:326
↓ 2 callersFunctionisAddressable
( address: Pick<AttachmentHostAddress, 'itemId' | 'hostToken'> | null | undefined )
web/src/lib/attachments/hostAddress.ts:71
↓ 2 callersFunctionisAllDigits
(s string)
cmd/pad/cmd_auth.go:632
↓ 2 callersFunctionisAllReadOnly
(tool: ToolSurfaceTool)
web/src/lib/webmcp/descriptors.ts:78
↓ 2 callersFunctionisAllWhitespace
(b []byte)
internal/mcp/install.go:348
↓ 2 callersFunctionisAtFit
(state: ZoomState)
web/src/lib/attachments/zoom.ts:366
↓ 2 callersFunctionisAttachmentHref
(href: string | null | undefined)
web/src/lib/markdown/attachments.ts:77
↓ 2 callersFunctionisAudienceOnly
isAudienceOnly reports a request that names its target through fosite's audience= and sends no RFC 8707 resource=. translateResourceToAudience defers
internal/server/handlers_oauth.go:687
↓ 2 callersFunctionisAuthError
Is this the error that means the cache is no longer ours to show?
web/src/lib/stores/localIndex.svelte.ts:815
↓ 2 callersFunctionisChatGPTSurface
(r *http.Request)
internal/server/context.go:331
↓ 2 callersFunctionisChildLinkType
isChildLinkType reports whether the given link type is one the open-children guard counts toward the children-set (i.e. matches the inclusion rule bak
internal/store/items.go:5795
↓ 2 callersFunctionisCloudAdminPath
isCloudAdminPath returns true if the request targets one of the three cloud-sidecar-only admin endpoints. Kept separate from the credential check so t
internal/server/handlers_cloud.go:141
↓ 2 callersFunctionisContentNotAppliedUnconfirmed
(err: unknown)
web/src/lib/items/contentWrite.ts:77
↓ 2 callersFunctionisContentPendingFlush
(err: unknown)
web/src/lib/items/contentWrite.ts:67
↓ 2 callersFunctionisCurrent
()
web/src/lib/stores/auth.svelte.ts:249
↓ 2 callersMethodisCurrent
True when what is painted is what the live props name.
web/src/lib/attachments/viewFence.ts:187
↓ 2 callersFunctionisDefaultAccountTarget
(target: string)
web/src/lib/utils/legacyConsoleRedirect.ts:28
↓ 2 callersFunctionisDerivedTable
isDerivedTable reports whether a table is FTS5 shadow storage rather than something written directly. It matches the shapes SQLite actually creates r
internal/store/nulcolumns_test.go:266
← previousnext →7,401–7,500 of 28,840, ranked by callers