MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 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 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:324
↓ 5 callersFunctionisUUID
isUUID checks if a string looks like a UUID (8-4-4-4-12 hex).
internal/store/items.go:993
↓ 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 callersFunctionitemOpenCmdWithOpener
(opener func(string) error)
cmd/pad/cmd_item.go:1101
↓ 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:47
↓ 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 callersFunctionitoa
itoa is a tiny strconv.Itoa wrapper kept local to avoid an extra import in this single-file test.
internal/server/handlers_admin_users_test.go:198
↓ 5 callersFunctionjsonUnmarshalString
(s string, v any)
internal/server/bug3331_search_scope_test.go:297
↓ 5 callersFunctionkeepRefusedRawDraft
( userId: string, itemId: string, markdown: string, now = Date.now(), base?: { seq: number; body: string;
web/src/lib/items/refusedRawDraft.ts:92
↓ 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:676
↓ 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:558
↓ 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 callersMethodlink
(t *testing.T, src, tgt *models.Item, typ string)
internal/store/bug3434_relationship_reads_test.go:26
↓ 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 callersFunctionlistCmd
()
cmd/pad/cmd_item.go:462
↓ 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 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:96
↓ 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:722
↓ 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:1086
↓ 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 callersFunctionmissedOccurrences
missedOccurrences is the walk ScheduleMissed counts and a resolve records, so the count a reader saw and the rows a done/skip writes cannot disagree.
internal/store/schedule_outstanding.go:82
↓ 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 callersFunctionmountWith
(body: unknown)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:77
↓ 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 callersMethodnativeDeadline
nativeDeadline makes sc a native-role schedule whose deadline is secs after its outstanding occurrence, with the occurrence forced to deadlineOccAt.
internal/store/schedule_deadline_eval_test.go:27
↓ 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:438
↓ 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 callersFunctionnewSocialSquat
(t *testing.T)
internal/server/task3351_social_claim_test.go:225
↓ 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
↓ 5 callersFunctionnewSubscriber
newSubscriber builds a subscriber with BOTH channels, so no path can register one whose gaps channel is nil — a nil channel silently swallows every si
internal/watchevents/watchevents.go:621
↓ 5 callersFunctionnewTokenRecorder
(t *testing.T)
cmd/pad/bug3646_pad_toml_token_test.go:25
↓ 5 callersFunctionnewWatchVisCache
(s *Server, r *http.Request, user *models.User)
internal/server/handlers_watch_events.go:629
↓ 5 callersFunctionnoFlock
BUG-3828: Save truncates credentials.json in place before it writes, under the exclusive lock. A caller that could not take the lock (a holder past cr
internal/cli/credentials_bug3828_test.go:21
↓ 5 callersFunctionnoLeak
(t *testing.T, what string, rr *httptest.ResponseRecorder)
internal/server/bug3334_fail_closed_test.go:252
↓ 5 callersFunctionnorm
* Normalize a select value for lookup: lowercase, hyphens → underscores. * * Takes `unknown`, and answers '' for anything that is not a string (BUG-
web/src/lib/utils/fieldColors.ts:88
↓ 5 callersFunctionnormalizeRemindAt
normalizeRemindAt re-parses and re-formats an instant, and REFUSES anything that is not RFC3339. The HTTP edge already normalizes, so on that path th
internal/store/reminders.go:129
↓ 5 callersFunctionnormalizeServerURL
normalizeServerURL canonicalizes a server URL for use as a credential key. Trailing slash and surrounding whitespace are stripped; nothing else is tou
internal/cli/credentials.go:606
↓ 5 callersFunctionnormalizeSkill
normalizeSkill is what every hash is taken over: CRLF made LF and trailing newlines dropped, so a Windows checkout (core.autocrlf) or an editor that a
internal/cli/skillstamp.go:31
↓ 5 callersMethodnote
(owner_username: string, slug: string)
web/src/lib/stores/lastWorkspace.svelte.ts:21
↓ 5 callersMethodnoteResourceMissing
noteResourceMissing records a request that omitted the RFC 8707 resource parameter (TASK-3363, TASK-3345): one log line naming the client (id and regi
internal/server/handlers_oauth.go:667
↓ 5 callersMethodnow
now reads the bus's clock. The seam is nil in every real construction; tests set it so an idle threshold can be crossed without sleeping through one.
internal/events/redis_heartbeat.go:163
↓ 5 callersMethodnow
()
internal/watchevents/heartbeat_test.go:25
↓ 5 callersFunctionnullStr
(p *string)
internal/store/schedules.go:1231
↓ 5 callersMethodobserveOAuthFlowDuration
observeOAuthFlowDuration records the elapsed time since `start` for the given stage. Designed to be `defer`'d at the top of each OAuth flow handler so
internal/server/handlers_oauth.go:139
↓ 5 callersMethodobserver
()
internal/collab/observer.go:92
↓ 5 callersMethodoccs
occs reads a schedule's history, with the comment id replaced by the comment's body so ids that were re-minted compare equal.
internal/store/schedule_carry_test.go:74
↓ 5 callersMethodoccurrences
()
internal/server/handlers_commitments_resolve_test.go:29
↓ 5 callersFunctionok
(resp: Awaited<ReturnType<APIRequestContext['get']>>, what: string)
web/e2e/workspace-access-live.spec.ts:27
↓ 5 callersFunctiononlySession
onlySession reads the user's one remaining session: a rotation revokes every other one.
internal/server/bug3978_rotation_ttl_test.go:32
↓ 5 callersFunctionopLogRowCount
(t *testing.T, f *recoveryFixture, itemID string)
internal/server/task3531_compaction_test.go:48
↓ 5 callersMethodopenGET
openGET opens GET /mcp over a raw connection and waits for the session to register. It returns the connection and a reader positioned after the respon
internal/server/bug3808_mcp_stalled_reader_test.go:76
↓ 5 callersFunctionopenRaw
openRaw opens the file with the store's DSN pragmas, below the store.
internal/store/bug3664_legacy_numbering_test.go:25
↓ 5 callersMethodopenSSEStream
openSSEStream wraps w, or refuses when w cannot take a write deadline. The bound is always sseFrameWriteTimeout: a method taking no timeout, so a hand
internal/server/sse_stream.go:63
↓ 5 callersFunctionopenStalledStream
openStalledStream sends one GET for path over a raw connection, reads the response head, and then never reads again. The connection stays open until t
internal/server/bug3637_sse_stalled_reader_test.go:112
↓ 5 callersFunctionopenStatusPicker
(container: ParentNode)
web/src/lib/components/collections/statusPickerTestKit.ts:31
↓ 5 callersFunctionoutputJSON
(v interface{})
cmd/pad/main.go:384
↓ 5 callersFunctionoverdueToday
overdueToday renders the calendar day deadlines are measured against: the day now falls on in now's own location, so callers convert to the viewer's z
internal/server/overdue.go:40
↓ 5 callersFunctionoverrideFor
(m map[string]string, role string)
internal/store/commitment.go:134
↓ 5 callersFunctionownedTokens
(t *testing.T, env *tokenAuthEnv)
internal/server/handlers_plan_limit_race_test.go:224
↓ 5 callersFunctionpaneNavInFlight
()
web/src/lib/collections/paneHostController.ts:147
↓ 5 callersMethodparkUnrecorded
parkUnrecorded remembers rows the gateway delivered but whose 'sent' record failed (TASK-4032). A row left pending is reclaimed after the lease and pu
internal/server/push_dispatch.go:356
↓ 5 callersFunctionparkedSend
--- r4-L4: a send that outlives its lease ---
internal/server/task3939b_push_dispatch_test.go:255
↓ 5 callersFunctionparseChatPath
(pathname: string)
web/src/lib/stores/chatSurface.svelte.ts:36
← previousnext →3,201–3,300 of 28,840, ranked by callers