MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersMethodfinish
finish records the 5 March occurrence as done and the 6 March one as skipped, then moves the item to done when terminal is set.
internal/server/handlers_calendar_test.go:604
↓ 2 callersMethodfinishAdmission
finishAdmission ends the admission span opened by a !waited enterApplierGate — call it exactly once after registerPendingAck returns (success or error
internal/collab/restore_coord.go:123
↓ 2 callersFunctionfinishField
()
web/src/lib/attachments/csv.ts:44
↓ 2 callersFunctionfinishedEntry
(workspace: string, owner_username = 'mara')
web/src/lib/components/home/AgentsPanel.svelte.test.ts:359
↓ 2 callersFunctionfire
()
web/src/lib/items/crashDraft.svelte.test.ts:188
↓ 2 callersMethodfireAll
()
internal/server/home_hint_test.go:1136
↓ 2 callersMethodfireAndDone
()
internal/store/schedule_carry_matrix_test.go:79
↓ 2 callersFunctionfireLoad
Simulate the <img> decoding at `naturalWidth x naturalHeight`, then flush.
web/src/lib/components/common/Lightbox.svelte.test.ts:3495
↓ 2 callersMethodfireOpen
()
web/src/lib/services/sseLiveness.svelte.test.ts:41
↓ 2 callersMethodfireOpen
()
web/src/lib/services/sseReconnect.svelte.test.ts:43
↓ 2 callersMethodfireOurs
(at time.Time)
internal/store/schedule_carry_matrix_test.go:56
↓ 2 callersFunctionfirePathPGStore
Postgres-only pins for the fire path's row pin (IDEA-2641). reminderFireable READS liveness; the pin HOLDS it. TestFirePathInvariant covers the inter
internal/store/reminders_pg_test.go:36
↓ 2 callersFunctionfiredFloating
firedFloating makes a fired floating schedule for a recipient in zone, whose outstanding occurrence is the wall 2026-11-02T09:00.
internal/store/schedule_outstanding_test.go:235
↓ 2 callersFunctionfirstBlockDom
The paragraph `startDrag` dims to 0.2 and every teardown path restores.
web/src/lib/components/editor/blockDragHandleModalArbitration.svelte.test.ts:132
↓ 2 callersFunctionfirstFromWall
firstFromWall is the occurrence with the earliest instant after nowT among those whose wall is at or after fw, in view. Wall order and instant order d
internal/store/schedule_carry_copy.go:214
↓ 2 callersFunctionfirstHandlerMentioned
(reason string)
internal/mcp/dispatch_http_allowlist_guard_test.go:1014
↓ 2 callersFunctionfixedTextRepairTally
fixedTextRepairTally returns a copy of t whose Declined reason is a fixed sentence. repairBodyNULEscapes builds its reason from the document (it can n
internal/server/handlers_import_bundle.go:1588
↓ 2 callersFunctionflagHeldDraftStale
(userId: string, itemId: string, keeper: string, now = Date.now())
web/src/lib/items/refusedRawDraft.ts:381
↓ 2 callersFunctionflatJSONBody
flatJSONBody serializes selected input keys into a JSON object. Empty-string values are skipped; nil values are skipped. For more complex shapes (nes
internal/mcp/dispatch_http_routes.go:226
↓ 2 callersFunctionflipIdentity
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:204
↓ 2 callersFunctionflipIdentity
()
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:409
↓ 2 callersFunctionflush
()
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:56
↓ 2 callersFunctionflush
()
web/src/routes/[username]/[workspace]/dashboardLiveOnboarding.svelte.test.ts:97
↓ 2 callersFunctionflush
()
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:79
↓ 2 callersFunctionflush
()
web/src/lib/stores/chatThread.lateRefusal.svelte.test.ts:73
↓ 2 callersFunctionflush
()
web/src/lib/stores/chatInbox.svelte.test.ts:59
↓ 2 callersFunctionflush
()
web/src/lib/services/sseLiveness.svelte.test.ts:98
↓ 2 callersFunctionflush
()
web/src/lib/services/sseReconnect.svelte.test.ts:88
↓ 2 callersFunctionflush
(ctx: CollabFlushContext, markdown: string, keepalive: boolean)
web/src/lib/collab/collabFlush.svelte.ts:255
↓ 2 callersFunctionflushCalls
()
web/src/lib/components/items/itemDetailCollabFlushCursor.svelte.test.ts:211
↓ 2 callersFunctionflushDeferred
* Run the deferred writes ONE AFTER ANOTHER (insertion order, each isolated), * clearing the Map BEFORE running so nothing can run twice. A write tha
web/src/lib/stores/chatSurface.svelte.ts:177
↓ 2 callersFunctionflushRoute
(slug: string)
web/src/lib/stores/tabs.svelte.ts:136
↓ 2 callersFunctionflushUntilError
BUG-3827: chi's WrapResponseWriter (logger, metrics, MCP audit) and its compressor implement Flush but not FlushError, so a ResponseController flush t
internal/server/bug3827_flush_error_test.go:24
↓ 2 callersFunctionflushWatch
($)
plugin/hooks/register.js:1087
↓ 2 callersFunctionfmtTimes
(ts []time.Time)
internal/schedule/conformance_test.go:159
↓ 2 callersFunctionfnName
* A STABLE name for a function, used as the key in `KNOWN_UNFENCED`. * * The fallback deliberately avoids byte offsets. An offset-keyed entry change
web/src/lib/components/items/childIdentityFencePopulation.test.ts:401
↓ 2 callersFunctionfocusables
The viewer's focusable controls, in tab order — what the trap cycles over.
web/src/lib/components/common/Lightbox.svelte.test.ts:230
↓ 2 callersFunctionfocusedCard
()
web/e2e/attachment-viewer-owners.spec.ts:351
↓ 2 callersFunctionfoldReportBuckets
foldReportBuckets re-keys UTC fine-grained counts into local buckets.
internal/store/reports_tz.go:47
↓ 2 callersMethodfootprint
footprint counts structural reachability, even when a date will not change. A validated graph has unique incoming edges: descendants cannot be revisit
internal/schedule/links.go:660
↓ 2 callersMethodforceRefreshConns
forceRefreshConns sends force_refresh then closes each of conns, with the same per-conn bound forceRefreshAll documents. The caller must NOT hold appe
internal/collab/room.go:1122
↓ 2 callersMethodforecastEventTx
(tx *sql.Tx, workspaceID, itemID, scheduleID, action, value, prev, actor, kind, source, ts string)
internal/store/milestone.go:160
↓ 2 callersMethodforecastEvents
(q Queryer, scheduleID string)
internal/store/milestone.go:643
↓ 2 callersFunctionforecastLate
(forecast: string, deadline: string | null | undefined, zone: string)
web/src/lib/calendar/presentation.ts:449
↓ 2 callersFunctionforecastOnly
()
web/src/lib/calendar/monthGrid.test.ts:145
↓ 2 callersFunctionforecastSetter
(f: CommitmentForecastSummary)
web/src/lib/calendar/presentation.ts:295
↓ 2 callersFunctionforecastSetterCLI
(f *models.CommitmentForecast)
cmd/pad/cmd_schedule_forecast.go:11
↓ 2 callersFunctionforeignKeyViolations
foreignKeyViolations runs PRAGMA foreign_key_check on tx for the supplied tables, or every table if none are supplied. Only listing the tables is fata
internal/store/store.go:1164
↓ 2 callersFunctionforgetGroupOf
Forget the burst a toast belonged to once the toast is gone.
web/src/lib/stores/toast.svelte.ts:186
↓ 2 callersFunctionformatBytes
(n: number)
web/src/lib/workspaces/exportError.ts:16
↓ 2 callersFunctionformatChangeValue
formatChangeValue renders a JSON-decoded field value as a human-readable string for the activity-feed `changes` summary. Primitives use Go's default f
internal/server/handlers_documents.go:621
↓ 2 callersFunctionformatLaneLabel
(value: unknown)
web/src/lib/collections/boardColumns.ts:138
↓ 2 callersFunctionformatProjectRunSummary
( registered: readonly string[], moduleCountsByProject: ReadonlyMap<string, number>, )
web/src/test/vitestProjects.ts:130
↓ 2 callersFunctionformatUnsatisfiedProjectsError
(unsatisfied: readonly UnsatisfiedProject[])
web/src/test/vitestProjects.ts:99
↓ 2 callersMethodforward
forward copies client → server, parking the first chunk that carries a SUBSCRIBE.
internal/events/redis_subscribe_confirm_test.go:161
↓ 2 callersFunctionframe
(t *testing.T, v any)
internal/materialize/worker_test.go:15
↓ 2 callersFunctionframe
(type: number, write: (enc: encoding.Encoder) => void)
web/src/lib/collab/wsProviderRemoteChange.svelte.test.ts:22
↓ 2 callersMethodfreezeAndFinalizePending
freezeAndFinalizePending is the atomic heart of the version-restore ↔ applier coordination (BUG-2276 residual 2). Called by ForceRefreshRoom with appe
internal/collab/applier.go:1129
↓ 2 callersFunctionfromTokens
(list: readonly string[])
web/src/lib/components/home/agentLane.ts:48
↓ 2 callersMethodftsHits
ftsHits returns the comment ids whose body matches word, through each dialect's own index (FTS5 on SQLite, search_vector on Postgres).
internal/store/task3391_comments_rebuild_test.go:49
↓ 2 callersFunctionfull
(p: string)
web/src/lib/api/bug3789ListWalks.test.ts:83
↓ 2 callersMethodfullyVisibleCollectionIDs
fullyVisibleCollectionIDs is the set checkCollectionFullyVisible decides against, computed once, for a caller that asks about many collections (TASK-3
internal/server/authz_cross_workspace.go:886
↓ 2 callersFunctionfunctionBody
functionBody returns the source of the named method, from its declaration to the next top-level func. Crude on purpose — it only needs to bound a subs
internal/mcp/dispatch_http_allowlist_guard_test.go:1033
↓ 2 callersFunctionfunnelOwner
funnelOwner bootstraps an owner with a workspace and a seeded item and parent comment, written through the store so the account has not written.
internal/server/task3926_funnel_metrics_test.go:275
↓ 2 callersFunctiongateCases
()
internal/server/task3939b_push_gates_test.go:31
↓ 2 callersFunctiongateIDs
(gates []models.ScheduleGate)
internal/store/commitment_gates_order_test.go:45
↓ 2 callersFunctiongateMigrationSQL
(t *testing.T, pg bool)
internal/store/commitment_gates_migration_test.go:18
↓ 2 callersFunctiongatheredNames
(t *testing.T, m *Metrics)
internal/metrics/redis_up_test.go:46
↓ 2 callersFunctiongenerateTempPassword
generateTempPassword returns a random hex temporary password for an operator-initiated reset (16 bytes → 32 hex chars). Shared by the admin reset endp
internal/server/handlers_admin_users.go:560
↓ 2 callersMethodgetAPIToken
getAPIToken retrieves a single API token by ID.
internal/store/api_tokens.go:399
↓ 2 callersFunctiongetActiveKey
(pathname: string, wsPrefix: string)
web/src/lib/nav/destinations.ts:85
↓ 2 callersFunctiongetCSRFToken
()
web/src/lib/stores/admin.svelte.ts:77
↓ 2 callersMethodgetCollectionInWorkspaceTx
getCollectionInWorkspaceTx reads a live collection inside the transaction, scoped to a workspace. The scope is the security boundary, not a hint: it i
internal/store/items_cross_workspace_copy.go:1208
↓ 2 callersMethodgetCollectionSlugTx
getCollectionSlugTx reads collections.slug for a collection_id inside the supplied tx. Tiny helper used by the wiki-link cascade hooks that need the s
internal/store/items.go:713
↓ 2 callersFunctiongetDialog
()
web/src/lib/components/common/Modal.svelte.test.ts:28
↓ 2 callersFunctiongetEpoch
()
web/src/lib/components/items/itemDetailCollabFlushCursor.svelte.test.ts:137
↓ 2 callersMethodgetItemLinkQ
getItemLink is the unfiltered post-insert readback used by CreateItemLink to hydrate the freshly-inserted row with collection/source/target metadata.
internal/store/items.go:4398
↓ 2 callersFunctiongetJSON
(src Sources, u string, github bool, v any)
cmd/depages/main.go:394
↓ 2 callersMethodgetLatestVersionRawQ
getLatestVersionRawQ is getLatestVersionRaw against a caller-supplied executor, so an in-transaction caller reads through its own transaction.
internal/store/versions.go:69
↓ 2 callersMethodgetRelationBacklinks
getRelationBacklinks drives the endpoint as `user` and decodes the payload.
internal/server/relation_backlinks_test.go:29
↓ 2 callersFunctiongetUser
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:52
↓ 2 callersMethodgetWebhookQ
(q Queryer, id string)
internal/store/webhooks.go:76
↓ 2 callersMethodgetWithHeaderContext
(ctx context.Context, path string, result interface{})
internal/cli/client.go:3596
↓ 2 callersFunctiongh
(...args)
docs/brand/social/render.mjs:30
↓ 2 callersFunctiongithubItemPath
(workspace, ref string)
internal/mcp/dispatch_http_github.go:90
↓ 2 callersFunctiongithubUnlinkCmd
()
cmd/pad/cmd_github.go:374
↓ 2 callersFunctiongoSourceFiles
(t *testing.T)
internal/links/markdown_citation_test.go:47
↓ 2 callersMethodgot
()
internal/mcp/task4035_catch_up_test.go:41
↓ 2 callersMethodgrantID
(rr *httptest.ResponseRecorder)
internal/server/workspace_access_notify_test.go:138
↓ 2 callersMethodgrantSpecific
()
internal/server/task3939b_push_gates_test.go:347
↓ 2 callersFunctiongrantUserAndEveryone
(t *testing.T, target string, userSID, everyoneSID *windows.SID, userInherit, everyoneInherit uint32, secInfo
internal/cli/credentials_acl_windows_test.go:28
↓ 2 callersFunctiongraphGateRecipients
(t *testing.T, f *linkFix)
internal/store/commitment_graph_lifecycle_test.go:233
↓ 2 callersFunctiongraphHTTPState
(t *testing.T, f *graphHTTP)
internal/server/schedule_reopen_privacy_test.go:182
↓ 2 callersFunctiongraphPolicy
(policy *string)
internal/server/handlers_commitment_links.go:152
↓ 2 callersFunctiongraphRole
(field string, value *string)
internal/server/handlers_commitment_links.go:100
↓ 2 callersFunctiongraphWriteBody
(input map[string]any, keys ...string)
internal/mcp/dispatch_http_schedule.go:302
↓ 2 callersFunctiongroupEntries
(entries: AgendaEntry[])
web/src/lib/calendar/presentation.ts:104
↓ 2 callersFunctiongroupItem
(name: string)
web/src/routes/(console)/agenda/agenda.svelte.test.ts:49
↓ 2 callersFunctiongroupItemsByField
groupItemsByField preserves server order within and between groups, except that missing values always come last.
cmd/pad/cmd_item.go:713
↓ 2 callersMethodguardActiveAdminLossTxCtx
guardActiveAdminLossTx is called inside every transaction that can take userID out of the set of active human admins: a demotion, a disable, an accoun
internal/store/users.go:1101
← previousnext →8,001–8,100 of 31,685, ranked by callers