MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctioncv
(e: Element | null)
web/e2e/lib/boardClickProbe.ts:49
↓ 2 callersFunctiondashboardAllItemsParams
(collIDs, itemIDs []string, opts dashboardBuildOpts)
internal/server/handlers_dashboard.go:427
↓ 2 callersFunctiondashboardArrayField
dashboardArrayField pulls a named array out of a decoded dashboard payload, returning a typed []map[string]any so the callers can filter / sort by str
internal/mcp/dispatch_http_project.go:326
↓ 2 callersFunctiondashboardGets
()
web/src/routes/[username]/[workspace]/dashboardLiveOnboarding.svelte.test.ts:95
↓ 2 callersFunctiondashboardGets
()
web/src/routes/[username]/[workspace]/dashboardPollGate.svelte.test.ts:110
↓ 2 callersFunctiondashboardOrphanTasksParams
(collIDs, itemIDs []string)
internal/server/handlers_dashboard.go:436
↓ 2 callersFunctiondata
()
web/src/lib/components/calendar/CalendarView.svelte.test.ts:10
↓ 2 callersFunctiondatabaseBusyMessage
(serverMessage: unknown, isWrite: boolean)
web/src/lib/api/client.ts:663
↓ 2 callersFunctiondateBucketSubstr
dateBucketSubstr truncates a UTC RFC3339 TEXT timestamp to its day ("hour" → chars 1-13 "YYYY-MM-DDTHH"; otherwise → chars 1-10 "YYYY-MM-DD"). The SUB
internal/store/dialect.go:424
↓ 2 callersFunctiondateButton
(day: string)
web/src/routes/(console)/agenda/agenda.svelte.test.ts:1230
↓ 2 callersFunctiondateString
(date: Date)
web/src/lib/calendar/monthGrid.ts:11
↓ 2 callersFunctiondateTime
(at: string, zone: string, allDay = false)
web/src/lib/calendar/presentation.ts:264
↓ 2 callersFunctiondayLabel
(iso: string, now: Date = new Date())
web/src/lib/chat/grouping.ts:34
↓ 2 callersFunctiondayNumber
(day: string)
web/src/lib/calendar/presentation.ts:386
↓ 2 callersFunctiondayStartPtr
dayStartPtr reads users.day_start_minute: NULL is nil (never set).
internal/store/users.go:66
↓ 2 callersFunctiondayStartWall
dayStartWall rewrites a bare-date start D to DTHH:MM:00 at the CALLER's day start (unset reads 09:00), never the recipient's. The wall is read in the
internal/server/handlers_commitments.go:243
↓ 2 callersFunctiondbMigrateToPgCmd
()
cmd/pad/cmd_db.go:445
↓ 2 callersFunctiondbReleaseCloudCmd
dbReleaseCloudCmd is the deliberate way to take a Pad Cloud database to a self-hosted instance (TASK-3551). A cloud boot marks its database cloud-owne
cmd/pad/cmd_db_release_cloud.go:49
↓ 2 callersFunctiondeadPID
deadPID returns the pid of a process that has already exited and been reaped. The number can in principle be reused before the caller looks, which wou
internal/cli/pid_file_test.go:471
↓ 2 callersFunctiondeadlineInstant
The instant a deadline passes. A date-only deadline holds through its whole local day.
web/src/lib/calendar/presentation.ts:419
↓ 2 callersMethoddeadlinePage
(now time.Time, cursor *deadlineCandidate)
internal/store/schedule_deadline_eval.go:159
↓ 2 callersFunctiondeadlineTone
(deadline: string, zone: string, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:423
↓ 2 callersFunctiondeadlocksSettled
deadlocksSettled returns how many deadlocks were recorded since `before`, having given Postgres's statistics flush time to catch up. It returns the m
internal/store/items_cross_workspace_copy_pg_test.go:318
↓ 2 callersMethoddebounceRowUnchanged
debounceRowUnchanged reports whether the row still carries the exact metadata the caller read, and is the only thing that can tell the merge UPDATE's
internal/store/activities.go:465
↓ 2 callersMethoddecideAttachmentWrite
decideAttachmentWrite is the authorization ladder shared by attachment delete and restore, after the caller has loaded the row and checked that it bel
internal/server/handlers_storage.go:378
↓ 2 callersFunctiondecideFirstRequest
( width: number | null | undefined, height: number | null | undefined, platform: Platform )
web/src/lib/attachments/viewerLoading.ts:112
↓ 2 callersFunctiondecideTarget
decideTarget posts a consent decision carrying one target parameter (key is "resource" or "audience") and returns the redirect's query.
internal/server/task3363_resource_missing_test.go:204
↓ 2 callersFunctiondecimalIntString
decimalIntString admits a string only when it is a plain decimal integer, ^-?(0|[1-9][0-9]*)$: an optional '-', then "0" or digits with no leading zer
internal/mcp/dispatch_http_routes.go:2065
↓ 2 callersFunctiondecisionFileConfig
decisionFileConfig is the config-file source of the decision provider's settings, handed to the server at boot (SetDecisionBase).
cmd/pad/server_info.go:142
↓ 2 callersFunctiondecisionNotBefore
decisionNotBefore is the not_before a job gets, from the row of latestDecisionEvaluationSQL: that evaluation plus window, or "" (NULL, claimable now)
internal/store/decisions.go:108
↓ 2 callersFunctiondecisionSQLState
decisionSQLState returns the five-character SQLSTATE of a Postgres error, or "" for anything else (SQLite has none) or a code of an unexpected shape.
internal/store/decisions.go:434
↓ 2 callersMethoddecisionSetResolver
()
internal/store/decisions.go:56
↓ 2 callersFunctiondecisionWindowFor
decisionWindowFor is debounce(set), or zero when no debounce is installed.
internal/store/decisions.go:89
↓ 2 callersMethoddecisionsNow
decisionsNow is Decisions plus, per row, the fingerprint of its question as registered now ("" when there is none), for the surfacing test.
internal/decision/runner.go:840
↓ 2 callersFunctiondeclName
declName names a top-level declaration: "Func", "Recv.Method", or "var"/ "const"/"type" for a GenDecl (a reader inside a package-level initializer is
internal/server/body_reader_census_test.go:181
↓ 2 callersFunctiondeclarations
(src: AstSource)
web/src/test/identityFenceAst.ts:1557
↓ 2 callersFunctiondeclaringConvention
(t *testing.T, s *Store, workspaceID string)
internal/store/trait_dedupe_test.go:89
↓ 2 callersMethoddeclineInvitation
declineInvitation is what declining means behind both doors: the pending invitation is deleted and a member_invite_declined audit event records it. A
internal/server/handlers_members.go:558
↓ 2 callersFunctiondecodeArtifactBytes
decodeArtifactBytes is parseArtifactRequest's steps (2) to (5) over bytes already read and size-capped: the import door and the app installer's staged
internal/server/artifact_import.go:115
↓ 2 callersFunctiondecodeBoardText
(res *CallToolResult, decode func([]byte) error)
internal/mcp/dispatch_http_board.go:204
↓ 2 callersFunctiondecodeBusy
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task4278_error_mapping_test.go:146
↓ 2 callersMethoddecodeCall
(tool string, raw []byte)
cmd/pad/chatgpt_scope_test.go:115
↓ 2 callersFunctiondecodeDeleted
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/handlers_deleted_attachments_test.go:72
↓ 2 callersFunctiondecodeErrEnvelope
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/bug3069_workspace_not_found_test.go:28
↓ 2 callersFunctiondecodeErrorBody
BUG-2951: the prefix-grammar refusal reached the caller as "An internal error occurred" — a 500 with no text — because the collection doors mapped onl
internal/server/handlers_collections_refusal_status_test.go:23
↓ 2 callersFunctiondecodeInto
decodeInto unmarshals a recorder body, failing with the body on error so a decode failure names what came back rather than only that it did not parse.
internal/server/relation_titles_copy_test.go:113
↓ 2 callersFunctiondecodePayload
decodePayload parses the "<epoch>|<id>|<json>" wire form publishScript emits. Splitting into exactly three parts on the FIRST two separators is what
internal/watchevents/redis_bus.go:1454
↓ 2 callersFunctiondecodeToolSurface
(t *testing.T)
internal/mcp/tool_surface_test.go:28
↓ 2 callersFunctiondecodeUIDismissals
decodeUIDismissals reads the stored set. Keys no longer in the allow-list (a suggestion that was retired) are dropped, so they never reach a client.
internal/store/ui_dismissals.go:21
↓ 2 callersFunctiondecodeWatermarkAdvanced
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task4871_watermark_door_test.go:124
↓ 2 callersFunctiondecodeWorkspace
(t *testing.T, body []byte)
internal/server/handlers_import_partial_marker_test.go:35
↓ 2 callersFunctiondefaultExportPath
defaultExportPath is the file `pad item export` writes when no -o is given: the server-suggested name, else "<ref>.pad.md". BUG-3185: when that name'
cmd/pad/cmd_item.go:3265
↓ 2 callersFunctiondefaultIfEmpty
(v, fallback string)
cmd/pad/cmd_bootstrap.go:366
↓ 2 callersFunctiondefaultLeaseHolder
defaultLeaseHolder is the holder a claim or release names when the caller passes none, and the identity `pad project next` / `ready` compare leases ag
internal/server/handlers_item_lease.go:212
↓ 2 callersFunctiondefaultScheduleZone
defaultScheduleZone is the creator's zone for a schedule that names neither a zone nor floating. It returns the zone name and the note that explains a
internal/server/handlers_schedules.go:216
↓ 2 callersFunctiondeferListIndex
A `/items-index` the test answers by hand, so the ordering is the test's.
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:33
↓ 2 callersFunctiondeferred
()
web/src/lib/stores/localIndexMovedOutFloor.svelte.test.ts:76
↓ 2 callersFunctiondeferredRemapFailure
The deferred retry runs after a keep-path error (here: an oversized blob). Its remap failure rides next to that primary error; the answer is the non-r
internal/server/task4278_remap_failures_test.go:111
↓ 2 callersFunctiondeferringCallee
(src: AstSource, call: Node)
web/src/test/identityFenceAst.ts:671
↓ 2 callersMethoddefinition
* A function defined inside the unit. A helper that is only ever CALLED is * checked at each call site instead (`inline`); anything else — a helper
web/src/test/identityFenceAst.ts:1075
↓ 2 callersFunctiondelegatedFixtureOn
delegatedFixtureOn builds the fixture on Pad Cloud, or on a self-host with apps enabled and MCP left off (cloud=false).
internal/server/task3399_delegated_flow_test.go:33
↓ 2 callersMethoddeleteAppWebhookTx
(tx *sql.Tx, installID string)
internal/store/app_webhooks.go:126
↓ 2 callersFunctiondeleteAsync
(s *Store, userID string)
internal/store/bug3099_delete_account_lock_test.go:27
↓ 2 callersFunctiondeleteButtons
()
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:117
↓ 2 callersFunctiondeleteButtons
()
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1019
↓ 2 callersFunctiondeleteCmd
--- delete ---
cmd/pad/cmd_item.go:1966
↓ 2 callersMethoddeleteSchedule
---- the item-keyed gate: deleting a blocker's commitment, and timing edits ----
internal/store/commitment_gates_pg_test.go:157
↓ 2 callersMethoddeleteScheduleCheckedTx
(tx *sql.Tx, cur *models.ItemSchedule)
internal/store/schedules.go:1261
↓ 2 callersFunctiondeletedListAs
Walk the registered route and invoke its handler with the same injected principal as the existing delete/restore authorization fixtures. Missing regis
internal/server/handlers_deleted_attachments_test.go:50
↓ 2 callersFunctiondeletedMatrix
(t *testing.T, driver store.DriverType, restore bool)
internal/server/handlers_deleted_attachments_test.go:100
↓ 2 callersFunctiondelimitDeclaration
* Delimit a FUNCTION DECLARATION's body. * * Not `delimit` above, and the difference is not cosmetic: a signature can * contain braces of its own,
web/src/test/identityFenceSource.ts:308
↓ 2 callersFunctiondeliver
(msg: Relay)
web/src/lib/services/accessStream.svelte.ts:125
↓ 2 callersMethoddeliver
deliver performs a non-blocking send of n to every registered subscriber. A full channel drops that hint for that subscriber and is counted in dropped
internal/server/home_hint_hub.go:52
↓ 2 callersMethoddeliver
deliver sends a webhook, retrying transient failures up to maxDeliveryAttempts with linear backoff, records the final outcome once via the store, and
internal/webhooks/dispatcher.go:551
↓ 2 callersMethoddeliverCounted
deliverCounted is deliver, also reporting how many requests it made.
internal/webhooks/dispatcher.go:572
↓ 2 callersFunctiondeliverRefusal
(userId: string, n: number, body: string, outcome: LateOutcome, replySeq: number | null)
web/src/lib/chat/composerRegistry.ts:37
↓ 2 callersMethoddelivers
TASK-4041: chat is global; do not resolve an empty workspace on either path.
internal/server/handlers_watch_events.go:938
↓ 2 callersMethoddemoteGuardedTx
demoteGuardedTx sets userID's role to member on tx, refusing with ErrLastAdmin when that would leave no active human admin.
internal/store/users.go:1492
↓ 2 callersMethoddenied
()
internal/server/handlers_watch_events.go:935
↓ 2 callersFunctionderiveClaimCodeForBucket
deriveClaimCodeForBucket is the inner derive — split out so VerifyClaimCode can derive both the current and previous bucket without re-computing the b
internal/server/claim_codes.go:86
↓ 2 callersFunctiondescribeRule
(rrule *string)
cmd/pad/cmd_schedule.go:89
↓ 2 callersMethoddestinationContent
destinationContent reads the copied item's stored body.
internal/server/handlers_items_copy_attachment_authz_test.go:177
↓ 2 callersMethoddestroyReplacedSessions
destroyReplacedSessions deletes the session rows named by the session cookies this request presented, which the sign-in that just minted a new row is
internal/server/handlers_auth.go:502
↓ 2 callersFunctiondetectFieldConflicts
detectFieldConflicts builds the canonical map and refuses on it. It is the ONLY place a conflict is decided; the emission code below runs knowing the
internal/mcp/catalog_item_fields.go:208
↓ 2 callersFunctiondetectPlatform
()
web/src/lib/utils/platform.ts:15
↓ 2 callersFunctiondeviceIDs
(ds []PushDevice)
internal/store/task3939_push_dispatch_test.go:77
↓ 2 callersFunctiondeviceRateLimit
(t *testing.T, sharedIP bool)
internal/server/handlers_activate_test.go:151
↓ 2 callersMethoddial
dial screens the address actually dialed. The request's origin rides in the context, because the transport sees only host:port.
internal/appfetch/appfetch.go:145
↓ 2 callersFunctiondialAndClose
(t *testing.T, baseURL, itemID string)
internal/server/materialize_recovery_test.go:178
↓ 2 callersFunctiondialFakeTab
(t *testing.T, baseURL, itemID, body string)
internal/server/task3585_patch_key_test.go:96
↓ 2 callersFunctiondialWithServerName
(t *testing.T, trust *tls.Config, addr, serverName string)
internal/redisdial/redisdial_test.go:164
↓ 2 callersFunctiondialog
(kind: 'Move' | 'Snooze')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:36
↓ 2 callersMethoddied
died classifies a child that is gone (or going) and returns the job's error.
internal/materialize/supervisor.go:910
↓ 2 callersFunctiondigest
(over: Record<string, unknown> = {})
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:54
↓ 2 callersFunctiondirectionFileFields
(t *testing.T, path string)
internal/cli/chat_direction_generation_test.go:10
↓ 2 callersMethoddisableGuardedTx
disableGuardedTx is DisableUserAndRevokeAccess's transaction body: the active-admin guard, before any row lock (BUG-3811), then the disable. The guard
internal/store/users.go:1361
↓ 2 callersFunctiondisconnect
()
web/src/lib/services/sse.svelte.ts:821
↓ 2 callersMethoddispatch
(t *testing.T, cmd []string, input map[string]any)
internal/mcp/dispatch_http_stored_state_test.go:86
↓ 2 callersMethoddispatchChat
(verb string)
internal/mcp/dispatch_http_chat.go:122
↓ 2 callersFunctiondispatchClaimLinkRemote
(t *testing.T, stub *claimLinkStub)
internal/mcp/task4944_claim_link_test.go:29
← previousnext →7,701–7,800 of 31,685, ranked by callers