MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 5 callersFunctiongo
(delta: number, then: (() => void) | null = null)
web/src/lib/stores/chatSurface.svelte.ts:338
↓ 5 callersFunctiongraphRequired
(field string, value *string)
internal/server/handlers_commitment_links.go:94
↓ 5 callersFunctiongroupDecode
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/handlers_workspace_groups_test.go:51
↓ 5 callersFunctiongroupNoLeak
(t *testing.T, rr *httptest.ResponseRecorder, ws *models.Workspace)
internal/server/handlers_workspace_groups_test.go:84
↓ 5 callersFunctiongzipBytes
(t *testing.T, raw []byte)
internal/server/bug3354_import_bundle_bomb_test.go:228
↓ 5 callersMethodhandleControlMessage
handleControlMessage dispatches a TextMessage frame received from a peer: applier_apply_start / applier_ack (the designated-applier bracket, TASK-1257
internal/collab/room.go:940
↓ 5 callersMethodhandleCopyItemPreflight
handleCopyItemPreflight answers "what would this cross-workspace copy do?" without doing any of it. See the file header for the full contract.
internal/server/handlers_items_copy_preflight.go:628
↓ 5 callersFunctionhasDroppedField
hasDroppedField reports whether the copy's own response warned that key was dropped.
internal/server/handlers_items_copy_relation_test.go:271
↓ 5 callersFunctionhasSessionCookie
(rr *httptest.ResponseRecorder)
internal/server/bug3680_cross_site_signin_doors_test.go:48
↓ 5 callersFunctionhashRecoveryCodes
hashRecoveryCodes returns SHA-256 hex hashes of the given plaintext codes.
internal/server/handlers_2fa.go:571
↓ 5 callersFunctionhead
(s string, lines int)
internal/cmdhelp/md_test.go:371
↓ 5 callersFunctionheaders
(f: Fixture, agent?: string)
web/e2e/chat-thread-refs.spec.ts:26
↓ 5 callersFunctionhideMenu
()
web/src/lib/components/editor/block-drag-handle.ts:493
↓ 5 callersFunctionhydrate
( userId: string | null, ws: string, )
web/src/lib/stores/localIndexPersistence.ts:401
↓ 5 callersFunctionidPlaceholders
idPlaceholders returns "?,?,?" for n ids, and the ids as args.
internal/store/push_dispatch.go:87
↓ 5 callersFunctionimage
* A member of the viewer's set. `mime_type` defaults to an ALLOWLISTED type, * because the gate fails closed: a record without one is not viewable, s
web/src/lib/components/common/Lightbox.svelte.test.ts:147
↓ 5 callersFunctionimageRect
(page: Page, selector = VIEWER_IMAGE)
web/e2e/lib/attachment-viewer.ts:267
↓ 5 callersFunctionimportJSON
(t *testing.T, srv *Server, path string, export *models.WorkspaceExport, sessionToken string)
internal/server/handlers_workspace_mint_parity_test.go:40
↓ 5 callersFunctionimportKeyed
(srv *Server, name, key string, body io.Reader, token string)
internal/server/handlers_import_bundle_bug3475_test.go:47
↓ 5 callersFunctionintPtr
(n int)
internal/cli/item_summary_test.go:11
↓ 5 callersFunctioninvalidateAttachmentMetadata
(workspaceSlug: string, uuid: string)
web/src/lib/components/editor/attachment-metadata.ts:285
↓ 5 callersFunctioninvitationEmailMatches
invitationEmailMatches lowercases ASCII letters only and compares the stored address byte-exactly. Both EqualFold and strings.ToLower equate distinct
internal/server/handlers_members.go:445
↓ 5 callersFunctioninviteByEmail
inviteByEmail invites addr through the HTTP door as the admin and returns the response body, the join code and the proof from the captured email.
internal/server/task3352_invitation_proof_test.go:24
↓ 5 callersFunctioninvitedSignupServer
BUG-2715, the signup door. The membership write's error was discarded and the invitation was consumed on the very next line, so a failure burned the c
internal/server/workspace_owner_compensation_test.go:239
↓ 5 callersFunctionipInCIDRs
(ip net.IP, cidrs []*net.IPNet)
internal/server/middleware_realip.go:153
↓ 5 callersFunctionisActivateRequest
(r *http.Request)
internal/server/handlers_activate.go:12
↓ 5 callersFunctionisAllDay
(entry: AgendaEntry)
web/src/lib/calendar/presentation.ts:90
↓ 5 callersFunctionisBlockedByModal
(owner?: Element | null, event?: Event | null)
web/src/lib/a11y/viewerBackdrop.ts:376
↓ 5 callersFunctionisCrossWorkspaceHref
(href: string)
web/src/lib/collections/paneTarget.ts:61
↓ 5 callersFunctionisReferenceCollection
isReferenceCollection reports whether the collection holds reference material rather than work (PLAN-3535), so its items stay out of progress, open-wo
internal/server/handlers_dashboard.go:350
↓ 5 callersFunctionisUUID
isUUID checks if a string looks like a UUID (8-4-4-4-12 hex).
internal/store/items.go:999
↓ 5 callersFunctionitem
An item in the MIDDLE status and a named priority — see STATUSES above.
web/src/lib/components/collections/chipWritesStatus.svelte.test.ts:114
↓ 5 callersFunctionitem
(id: string, value?: string)
web/src/lib/components/collections/BoardView.relationGroup.svelte.test.ts:96
↓ 5 callersFunctionitemFieldsAsMap
itemFieldsAsMap reads the parsed `fields` value off an item-shape structuredContent map. After BUG-991 path A's normalization the MCP boundary returns
internal/mcp/dispatch_http_advanced_test.go:591
↓ 5 callersFunctionitemListPage
(h http.Header)
internal/cli/client.go:375
↓ 5 callersFunctionitemOpenCmdWithOpener
(opener func(string) error)
cmd/pad/cmd_item.go:1216
↓ 5 callersMethoditemPath
(itemID, rest string)
internal/server/task3414_item_actions_test.go:56
↓ 5 callersMethoditemRefIDQ
itemRefIDQ retains the caller's executor, scope and liveness policy. The app door executes itemRefLookupSQL through its concrete *sql.Tx instead.
internal/store/item_refs.go:51
↓ 5 callersFunctionitemUpdatedSliceChanged
itemUpdatedSliceChanged reports whether anything outside the status and location slices differs between two in-transaction snapshots of one item. Bot
internal/store/event_outbox.go:1581
↓ 5 callersMethoditemVisibleFor
itemVisibleFor returns the per-item visibility decision for the caller of r, for items of workspaceID: the policy every enrichment that NAMES another
internal/server/relation_hydration.go:110
↓ 5 callersMethoditems
Confirmed messages by seq, then pending bubbles in the order added.
web/src/lib/chat/model.ts:100
↓ 5 callersMethoditemsPath
()
internal/server/middleware_verified_email_test.go:115
↓ 5 callersFunctionkeyStepUpError
keyStepUpError words the step-up refusals create and rotate share with edit; any other error is returned as it came.
cmd/pad/cmd_token.go:399
↓ 5 callersFunctionlandUnder
()
web/src/lib/stores/chatSurface.svelte.test.ts:672
↓ 5 callersMethodlapseDueInPlanTx
lapseDueInPlanTx closes due lapsing occurrences before any planned date or link write. The component pin holds their schedules, never their item rows.
internal/store/commitment_cascade.go:726
↓ 5 callersFunctionlatchMissing
* Latch the permanent placeholder for a row the server says is * gone. Same end state as the deletion broadcast, reached by a * different rout
web/src/lib/components/editor/attachment-image.ts:559
↓ 5 callersMethodlexicalOf
The names a helper's body resolves locally: its own lexical chain, never the caller's.
web/src/test/identityFenceAst.ts:1089
↓ 5 callersFunctionlifecycleInstall
TASK-3397 (U8c): two-phase disable and rotate, re-enable, uninstall. lifecycleInstall is a U5a test install whose bot is bound (bot_user_id) and a mem
internal/server/task3397_lifecycle_test.go:19
↓ 5 callersFunctionliftColumnFields
liftColumnFields removes columnFieldKeys entries from `fields` and returns them as column writes. Mutates `fields`. Without this, `--field assigned_u
cmd/pad/cmd_item.go:82
↓ 5 callersMethodlimitsApply
limitsApply reports whether plan limits are enforced for this request: in cloud mode always, and in every mode for an unclaimed account (TASK-4930), w
internal/server/handlers_cloud.go:1731
↓ 5 callersMethodlink
(t *testing.T, src, tgt *models.Item, typ string)
internal/store/bug3434_relationship_reads_test.go:26
↓ 5 callersMethodlinkedRolesTx
linkedRolesTx names the roles of scheduleID that some link uses, on whichever end the schedule is. It is empty for a schedule with no link. It is one
internal/store/commitment_links.go:945
↓ 5 callersFunctionlinkerBody
BUG-2798. A document rename rewrites `[[oldTitle]]` → `[[newTitle]]` in every linking document, and the cascade holds every rewritten body in memory b
internal/store/documents_rename_bounds_test.go:34
↓ 5 callersFunctionlist
* Paginated list of attachments in a workspace, used by the * Settings → Storage page. Hides derived blobs (thumbnails) by * default — those are
web/src/lib/api/client.ts:3810
↓ 5 callersFunctionlistCmd
()
cmd/pad/cmd_item.go:463
↓ 5 callersFunctionlistPending
(userId: string, n: number)
web/src/lib/chat/chatRecords.ts:81
↓ 5 callersMethodloadMilestoneRows
loadMilestoneRows is the one function that loads milestone_children and milestone_completion_evidence rows for a reader, and the one place a reader's
internal/store/milestone.go:340
↓ 5 callersFunctionlockCredentialsFile
lockCredentialsFile tries an advisory flock on lockPath without blocking (BUG-3649): exclusive (LOCK_EX) for a write, shared (LOCK_SH) for a read. A l
internal/cli/credentials_lock_unix.go:14
↓ 5 callersMethodlogWorkspaceAuditEvent
logWorkspaceAuditEvent logs a workspace-scoped audit event (e.g. member invited). Best-effort: errors are silently ignored.
internal/server/handlers_documents.go:504
↓ 5 callersFunctionmakeEditor
(element: HTMLElement, address = DEFAULT_ADDRESS)
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:93
↓ 5 callersFunctionmakeEditor
(element: HTMLElement, address = () => ADDRESS)
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:78
↓ 5 callersFunctionmanifestTestFS
(manifest string)
internal/collections/templates_manifest_test.go:9
↓ 5 callersFunctionmaskAPIKey
maskAPIKey returns the display form of a sensitive setting value. Keys longer than 8 chars show their first and last 4 chars (abcd...wxyz); shorter no
internal/server/handlers_admin.go:101
↓ 5 callersMethodmaterializeLinkIndex
materializeLinkIndex is the link index a recovery job converts internal links against: EVERY live item of the workspace, not the set any one viewer ca
internal/server/materialize_recovery.go:728
↓ 5 callersFunctionmaterializeWith
(ed: Editor, job: MaterializeJob)
web/src/lib/collab/materializer/entry.ts:83
↓ 5 callersMethodmcpAvailableWith
mcpAvailableWith is mcpAvailable for a setting value already read, so a caller that also reports the setting reads it once and the two cannot disagree
internal/server/handlers_admin_mcp.go:65
↓ 5 callersMethodmember
(email, role string)
internal/server/workspace_access_notify_test.go:65
↓ 5 callersMethodmergeIntoUnlinkedActivity
mergeIntoUnlinkedActivity applies a debounce merge to one activity row in a single statement whose predicate refuses the row on two grounds: a comment
internal/store/activities.go:495
↓ 5 callersFunctionmigrateImportWorkspaceReporting
migrateImportWorkspaceReporting is migrateImportWorkspace that also prints each schedule the import refused, as it happens, and returns them (TASK-410
cmd/pad/cmd_db.go:1194
↓ 5 callersFunctionmintOAuthTokenForTest
mintOAuthTokenForTest drives the consent → token exchange and returns the access token. Lightly customizable via the form arg so callers can vary the
internal/server/handlers_mcp_test.go:1747
↓ 5 callersFunctionmkAdminBearerReq
BUG-1616 extended coverage — admin-via-bearer gate at the SSE and WebSocket-collab entry points that sit OUTSIDE RequireWorkspaceAccess. These endpoin
internal/server/handlers_admin_bearer_gate_test.go:37
↓ 5 callersFunctionmkUserRole
(t *testing.T, srv *Server, email, role string)
internal/server/bug3273_stream_soft_delete_test.go:171
↓ 5 callersFunctionmodeOf
(t *testing.T, path string)
internal/config/perms_unix_test.go:45
↓ 5 callersFunctionmodernBody
(t *testing.T, method, name string, params map[string]any)
internal/server/mcp_modern_test.go:78
↓ 5 callersFunctionmountWith
(body: unknown)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:109
↓ 5 callersMethodmove
(i int, to string)
internal/store/commitment_links_pg_test.go:66
↓ 5 callersFunctionmoveTestCollections
The DR-12 fix on the EXISTING intra-workspace move path (PLAN-2357). handleMoveItem merged field_overrides into result.Fields and then tested result.
internal/server/handlers_items_move_overrides_test.go:25
↓ 5 callersFunctionmsg
(err)
plugin/hooks/register.js:332
↓ 5 callersFunctionmsg
The shape the real server sends. A human's own message has agent_key "" and mine true.
web/src/lib/stores/chatThread.svelte.test.ts:71
↓ 5 callersMethodmustBeRefusedAtCap
mustBeRefusedAtCap asserts the refusal a limited mint owes when its own check sees the cap reached: the 403 plan_limit_exceeded envelope, and a count
internal/server/handlers_plan_limit_race_test.go:150
↓ 5 callersFunctionmustCreatePATForTest
mustCreatePATForTest creates a real PAT against a fresh user + workspace. Returns the raw token string suitable for the Authorization: Bearer header.
internal/server/handlers_mcp_test.go:1837
↓ 5 callersFunctionmustSchedule
(t *testing.T, f *copyPreflightFixture)
internal/server/handlers_items_copy_schedule_test.go:276
↓ 5 callersFunctionmustZone
TASK-3524: report buckets in the viewer's zone.
internal/store/reports_tz_test.go:10
↓ 5 callersFunctionnear
(got, want time.Duration)
internal/server/bug3978_rotation_ttl_test.go:62
↓ 5 callersFunctionneeds
()
scripts/ci-result_test.py:16
↓ 5 callersFunctionneedsValueByKey
(resp ItemCopyPreflight, key string)
internal/server/handlers_items_copy_preflight_test.go:255
↓ 5 callersFunctionneedsValueRow
needsValueRow returns the needs_value row for key, or nil.
internal/server/handlers_items_copy_relation_test.go:1200
↓ 5 callersFunctionnewBearerGateItemFixture
(t *testing.T)
internal/server/handlers_items_test.go:2559
↓ 5 callersFunctionnewBlocksGraph
(edges []store.BlocksEdge, colls []models.Collection)
internal/server/needs_scorers.go:337
↓ 5 callersFunctionnewBug3434World
(t *testing.T)
internal/store/bug3434_relationship_reads_test.go:20
↓ 5 callersFunctionnewCalWorld
(t *testing.T)
internal/store/schedule_calendar_test.go:24
↓ 5 callersFunctionnewCopyAttachmentFixture
(t *testing.T)
internal/server/handlers_items_copy_attachment_authz_test.go:56
↓ 5 callersFunctionnewCopyFanoutObserver
(t *testing.T, f *copyPreflightFixture)
internal/server/handlers_items_copy_test.go:562
↓ 5 callersFunctionnewCopyRelationFixture
(t *testing.T)
internal/server/handlers_items_copy_relation_test.go:55
↓ 5 callersFunctionnewFieldValueFixture
(t *testing.T)
internal/store/field_value_dialect_test.go:43
↓ 5 callersFunctionnewPostgresConn
newPostgresConn opens a raw postgres connection (no migrations).
internal/store/store_test.go:338
↓ 5 callersFunctionnewSocialSquat
(t *testing.T)
internal/server/task3351_social_claim_test.go:227
↓ 5 callersFunctionnewStreamAdmission
(maxTotal, maxUser int)
internal/server/stream_admission.go:49
↓ 5 callersFunctionnewStubAuthServer
(t *testing.T, wantToken string)
cmd/pad/env_token_override_test.go:55
↓ 5 callersFunctionnewSubscribeDelayProxy
(t *testing.T, backend string, delay time.Duration)
internal/events/redis_subscribe_confirm_test.go:50
← previousnext →3,501–3,600 of 31,685, ranked by callers