MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 4 callersMethodfillOccurrenceAt
fillOccurrenceAt sets OccurrenceAt on the managed rows among rs in one query: the outstanding occurrence's instant, through outstandingInstant. A fire
internal/store/schedule_fire.go:265
↓ 4 callersMethodfillScheduleAcknowledgements
fillScheduleAcknowledgements reads evidence for current occurrences in one journal query and resolves all account names in one query. It uses the call
internal/store/schedule_ack.go:73
↓ 4 callersFunctionfindVisibleWorkspace
(visible []models.Workspace, slug string)
internal/server/handlers_workspace_tabs.go:61
↓ 4 callersFunctionfire
()
web/src/lib/items/linksRetry.ts:80
↓ 4 callersFunctionfireEachReminder
fireEachReminder is the pass's isolation property, split out so a test can inject a failing fire for one id and observe that the ids after it still ru
internal/store/reminders.go:608
↓ 4 callersFunctionfirstErr
(err, fallback error)
internal/store/milestone.go:153
↓ 4 callersMethodflag
(n: Node, what: string, key?: string)
web/src/test/identityFenceAst.ts:1021
↓ 4 callersFunctionflush
()
web/src/lib/stores/chatThread.svelte.test.ts:147
↓ 4 callersFunctionflushPipeline
(rawMarkdown: string, index: readonly LinkEntry[])
web/src/lib/collab/materializer/headless.ts:120
↓ 4 callersFunctionforcePlainColor
forcePlainColor disables ANSI so width/content assertions are deterministic regardless of whether the test binary's stdout happens to be a TTY.
internal/cli/format_test.go:15
↓ 4 callersFunctionforecastOnlyPaths
(w *agendaWorld)
internal/server/handlers_agenda_forecast_test.go:212
↓ 4 callersFunctionformatChatLine
TASK-4041, DOC-4036: authority is decided from fetched authorship and fresh local consent. No field from the notification can confer it.
cmd/pad/cmd_watch_chat.go:91
↓ 4 callersMethodfreshRows
freshRows gives bob n new single-row groups, each on its own clean item.
internal/server/task4032_push_record_failure_test.go:205
↓ 4 callersFunctionfrontRoot
()
web/src/lib/a11y/viewerBackdrop.ts:64
↓ 4 callersFunctiongateLateStale
gateLateStale is the invariant check on a built bundle: no item the bundle carries may be marked as behind its live collaborative document (BUG-3032,
cmd/pad/cmd_db.go:851
↓ 4 callersFunctiongaugeValue
(t *testing.T, m *metrics.Metrics)
internal/server/stream_admission_test.go:366
↓ 4 callersFunctiongenerateTwoFAChallengeAt
generateTwoFAChallengeAt creates a short-lived, HMAC-signed challenge token that proves the user already passed password verification. The token is bo
internal/server/twofactor_challenge.go:86
↓ 4 callersFunctionget
(k)
plugin/hooks/register.js:46
↓ 4 callersMethodgetAPITokenQ
getAPITokenQ is getAPIToken on a caller-supplied executor: the mint and the rotation read their row back on their OWN transaction, so the write and th
internal/store/api_tokens.go:398
↓ 4 callersFunctiongetCSRFToken
()
web/src/lib/api/client.ts:877
↓ 4 callersMethodgetChildItems
(q childQueryer, parentItemID string, includeDeletedCollections bool)
internal/store/items.go:5811
↓ 4 callersFunctiongetDecisions
(t *testing.T, srv *Server, wsSlug, itemSlug string)
internal/server/handlers_decisions_test.go:59
↓ 4 callersFunctiongetDraft
(userId: string, n: number)
web/src/lib/chat/chatRecords.ts:60
↓ 4 callersFunctiongetEpoch
()
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:120
↓ 4 callersFunctiongetEpoch
()
web/src/routes/[username]/[workspace]/settings/bug3260NameOnColdLoad.svelte.test.ts:105
↓ 4 callersFunctiongetItem
---- helpers ----
internal/server/handlers_artifact_test.go:566
↓ 4 callersFunctiongetItemFields
getItemFields re-reads the item over HTTP and returns its decoded fields blob. Deliberately a fresh GET rather than the PATCH response: the question t
internal/server/handlers_items_reserved_fieldpatch_test.go:40
↓ 4 callersMethodgetItemScanQ
(q Queryer, id string, includeDeleted bool)
internal/store/items.go:917
↓ 4 callersFunctiongetNaturalBoundsPx
()
web/src/lib/components/editor/attachment-crop-modal.ts:299
↓ 4 callersFunctiongit
(*args, cwd=None)
scripts/ci-scope.py:34
↓ 4 callersFunctiongitHubPRUpdate
gitHubPRFieldPatch returns the one-key field patch that refreshes an item's stored PR metadata. BUG-3049: this replaces mergeGitHubPRIntoFields, whic
cmd/pad/reconcile.go:404
↓ 4 callersFunctiongrandfatherReservedKey
BUG-2685 — a collection schema that DECLARES a reserved metadata key. `validateNoReservedFieldKeys` (BUG-2674) stops a schema NEWLY declaring one, bu
internal/server/bug2685_grandfathered_reserved_key_test.go:28
↓ 4 callersFunctiongrant
(name: string, cb: (lock: unknown) => unknown)
web/src/lib/services/sseStreamBudget.svelte.test.ts:49
↓ 4 callersMethodgraphResource
(kind string)
internal/server/commitment_graph_access_test.go:27
↓ 4 callersFunctionguardLF
guardLF normalises CRLF to LF. Every extraction below splits on "\n" or "\n\n", so a CRLF checkout would otherwise turn a paragraph into the whole fil
internal/cli/agent_identity_test.go:450
↓ 4 callersFunctionhandleCmdhelpCapabilitiesFallback
handleCmdhelpCapabilitiesFallback scans args for the --cmdhelp-capabilities flag (cmdhelp v0.1 §8 fallback form). If found, it writes the capability b
cmd/pad/main.go:171
↓ 4 callersMethodhandleCopyItem
handleCopyItem copies one item into another workspace, optionally archiving the source. See the file header for the full contract.
internal/server/handlers_items_copy.go:377
↓ 4 callersFunctionhasCanonicalStatus
(value: unknown)
web/src/lib/utils/fieldColors.ts:128
↓ 4 callersFunctionhasField
(err error, field, code string)
internal/store/milestone_test.go:84
↓ 4 callersMethodhasInFlight
True while a send awaits its answer; callers defer realtime refetches meanwhile.
web/src/lib/chat/model.ts:95
↓ 4 callersFunctionheaders
(f: Fixture, agent?: string)
web/e2e/chat-thread-write.spec.ts:17
↓ 4 callersFunctionheaders
(f: Fixture, agent?: string)
web/e2e/chat-thread-read.spec.ts:23
↓ 4 callersFunctionheadlessExtensions
(markdownOverrides: Record<string, unknown> = {})
web/src/lib/collab/materializer/headless.ts:74
↓ 4 callersFunctionhumanBytes
(n int64)
cmd/pad/cmd_server.go:1389
↓ 4 callersMethodhydrateVersionsAppAttribution
(versions []models.Version)
internal/server/app_attribution.go:65
↓ 4 callersFunctioniconForAttachment
( mime: string | null | undefined, filename?: string | null, )
web/src/lib/attachments/display.ts:217
↓ 4 callersFunctionidsOf
(entries []models.TimelineEntry)
internal/server/handlers_timeline_collapse_test.go:38
↓ 4 callersFunctionimageEl
()
web/src/lib/components/common/Lightbox.svelte.test.ts:2750
↓ 4 callersFunctionimportFixture
BUG-3103, store half. ImportWorkspace with WithPlanLimit decides items_per_workspace inside its own transaction, and refuses a bundle that would land
internal/store/import_plan_limit_test.go:37
↓ 4 callersFunctionimportStatus
(t *testing.T, srv *Server, key, token string)
internal/server/handlers_import_bundle_bug3475_test.go:60
↓ 4 callersMethodimportSynthetic
(t *testing.T, m map[string]any)
internal/store/schedule_link_hostile_test.go:62
↓ 4 callersFunctionimportWithQuery
(t *testing.T, srv *Server, query string, body []byte)
internal/server/handlers_workspace_import_nul_test.go:53
↓ 4 callersMethodinFlightFor
* The promise of the run currently in flight FOR THIS KEY, or null. * * A single slot tagged with its key, not a per-key map, and that is the *
web/src/lib/stores/singleFlight.ts:75
↓ 4 callersMethodindex
(t *testing.T)
internal/server/bug3428_phase2_epoch_guard_test.go:81
↓ 4 callersFunctioninsertActivityAt
BUG-2781: activity feeds page over rows that MOVE (a debounce merge restamps created_at) and, before this fix, ordered them by a column stored at whol
internal/store/activities_paging_test.go:16
↓ 4 callersMethodinsertOAuthRequestRow
============================================================ Helpers — shared by the three "request-row" tables ======================================
internal/store/oauth.go:698
↓ 4 callersMethodinsertScheduleTx
insertScheduleTx stores the initial kind/end and native role columns in the same statement. Legacy callers populate their roles immediately afterwards
internal/store/schedules.go:622
↓ 4 callersMethodinstallLifecycleDone
(w http.ResponseWriter, r *http.Request, workspaceID, installID, action string, extra func(*appInstallStateRes
internal/server/handlers_apps_lifecycle.go:72
↓ 4 callersFunctioninstallList
()
cmd/pad/cmd_agent.go:165
↓ 4 callersFunctioninstallUpdate
(force bool)
cmd/pad/cmd_agent.go:254
↓ 4 callersFunctionintp
(v int)
internal/server/handlers_timeline_collapse_test.go:131
↓ 4 callersFunctioninvalidateAttachmentMetadata
(workspaceSlug: string, uuid: string)
web/src/lib/components/editor/attachment-metadata.ts:283
↓ 4 callersFunctionisCrossWorkspaceHref
(href: string)
web/src/lib/collections/paneTarget.ts:61
↓ 4 callersFunctionisExpectedCopyRejection
isExpectedCopyRejection reports whether err is a refusal the CALLER is meant to render — a 4xx — rather than an incident an operator should see. Kept
internal/store/items_cross_workspace_copy.go:1617
↓ 4 callersFunctionisReferenceChild
(child: Item, collections: Collection[])
web/src/lib/collections/childProgress.ts:88
↓ 4 callersFunctionisRemapFailure
isRemapFailure reports whether err carries ANY failure of the attachment reference remap, first chunk or later (importRemapError).
internal/server/handlers_import_bundle.go:1553
↓ 4 callersFunctionisSupportedOAuthProvider
isSupportedOAuthProvider reports whether provider is one pad accepts.
internal/server/handlers_cloud.go:36
↓ 4 callersFunctionisolateText
(s: string)
web/src/lib/attachments/display.ts:53
↓ 4 callersFunctionitem
(fields: Record<string, unknown>)
web/src/lib/components/share/shareView.test.ts:12
↓ 4 callersMethoditem
(t *testing.T, coll *models.Collection, title, role string, column *string)
internal/store/convention_role_backfill_test.go:51
↓ 4 callersMethoditem
(ws, coll, title string, fields map[string]any)
internal/server/bug2367_migrate_doors_test.go:65
↓ 4 callersFunctionitemCopyList
itemCopyList renders a list of server-supplied strings. Every element is quoted, unconditionally — unlike itemCopyLine, which quotes only when it mus
cmd/pad/cmd_item.go:2997
↓ 4 callersFunctionitemCopyTally
(rows []cli.ItemCopyPreflightNeedsValue)
cmd/pad/cmd_item.go:2799
↓ 4 callersFunctionitemDisplayLabel
(item *models.Item)
cmd/pad/lineage.go:211
↓ 4 callersFunctionitemEntriesSQL
(t *testing.T, pg bool)
internal/store/item_entries_migration_test.go:17
↓ 4 callersFunctionitemExpectedSeqParam
itemExpectedSeqParam reads the BUG-3037 optimistic-concurrency token off an MCP input map, as an integer. It REFUSES a fractional value rather than t
internal/mcp/dispatch_http_advanced.go:822
↓ 4 callersFunctionitemFields
(t *testing.T, srv *Server, ws, slug string)
internal/server/handlers_items_bulk_test.go:31
↓ 4 callersFunctionitemGets
()
web/src/lib/components/items/itemDetailIdentityLoad.svelte.test.ts:197
↓ 4 callersMethoditemIn
BUG-3366 (TASK-3345 #4: HIDE). An item-grant guest sees the items they were granted, and nothing about the items those link to. Lineage (parent title/
internal/server/bug3366_lineage_guest_test.go:20
↓ 4 callersFunctionitemListPage
(h http.Header)
internal/cli/client.go:361
↓ 4 callersFunctionitemStatus
(item *models.Item)
internal/server/handlers_apps_provision.go:347
↓ 4 callersFunctionitemUrlId
(item: Item)
web/src/lib/types/index.ts:3381
↓ 4 callersMethoditemsWithRows
TASK-3939 part B2a: the summary push and the 30/h cap, the retry matrix, and the expire and retention sweeps. itemsWithRows gives bob n more items wit
internal/server/task3939b2a_push_test.go:19
↓ 4 callersFunctionjoinServer
joinServer is newCollabTestServer that also reports when each Join returns, so a test can bound how long a dead peer is held.
internal/collab/bug3771_ws_deadlines_test.go:29
↓ 4 callersMethodjournalResolutionTx
(tx *sql.Tx, u *resolutionUndo, id, change, key, role, before, after, actor, reason, source string)
internal/store/schedule_reopen.go:635
↓ 4 callersMethodjournalRows
(t *testing.T, i int)
internal/store/commitment_links_review_test.go:313
↓ 4 callersMethodjournalScheduleChangeReasonTx
(tx *sql.Tx, id, change, key, role, before, after, actor, reason, source string)
internal/store/schedule_journal.go:129
↓ 4 callersMethodjournalScheduleChangeTx
Journal population: schedule create/update/delete and resolves; native role writes; occurrence and series renegotiations (RenegotiateCommitment); dead
internal/store/schedule_journal.go:125
↓ 4 callersFunctionjsonHandler
()
internal/server/middleware_compress_test.go:19
↓ 4 callersFunctionkeep
(m: string)
web/src/lib/nav/shallowGuards.test.ts:41
↓ 4 callersFunctionkeyFor
(userId: string, itemId: string, slot: RefusedRawDraftSlot = 'pending')
web/src/lib/items/refusedRawDraft.ts:71
↓ 4 callersFunctionkeysOf
(m map[string]bool)
internal/store/commitment_links.go:454
↓ 4 callersMethodkilledFor
()
internal/materialize/supervisor.go:476
↓ 4 callersFunctionkindEnabled
kindEnabled applies the recipient's settings (G5) and the agent-activity switch (G6) to n. A kind the dispatcher has no text for is skipped, not sent.
internal/server/push_gates.go:176
↓ 4 callersFunctionleaks
leaks lists every UUID-shaped value, email-shaped string, and id/email key in v, by path. allowed names the comment handle keys.
cmd/pad/chatgpt_projection_test.go:148
↓ 4 callersFunctionleaveElection
()
web/src/lib/services/accessStream.svelte.ts:145
↓ 4 callersFunctionlegacyRoles
(kind, dtstart, dtend string)
internal/store/schedule_journal.go:26
↓ 4 callersFunctionlines
Split into lines that keep their terminating newline.
web/src/lib/items/draftPatch.ts:26
↓ 4 callersFunctionlinkClone
(st State)
internal/schedule/links_test.go:50
↓ 4 callersFunctionlinkNodeLess
(a, b Node)
internal/schedule/links.go:576
← previousnext →3,901–4,000 of 28,840, ranked by callers