MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 7 callersFunctionopLogIDs
(t *testing.T, s *store.Store, itemID string)
internal/store/task3531_compaction_test.go:62
↓ 7 callersMethodopenGatesForBlockerTx
openGatesForBlockerTx observes success on the writer connection before it can disappear. The caller holds the blocker's row, by its UPDATE or its pin,
internal/store/commitment_gates.go:636
↓ 7 callersFunctionoutcomeServer
TASK-3132 (carved from IDEA-3131): `pad item update`'s success line said nothing about the body — "Updated REF" was identical for a one-character edit
cmd/pad/item_update_outcome_test.go:23
↓ 7 callersMethodowned
(method, path string, body any)
internal/server/handlers_milestone_test.go:25
↓ 7 callersFunctionpaneFocusables
( container: HTMLElement, isVisible: (el: HTMLElement) => boolean = isFocusableVisible, )
web/src/lib/collections/paneFocus.ts:37
↓ 7 callersFunctionparseAttachmentFilename
parseAttachmentFilename extracts the filename from a Content-Disposition header. Mirrors the CLI's helper of the same name (cmd/pad/main.go parseAttac
internal/mcp/dispatch_http_attachments.go:197
↓ 7 callersMethodparseError
(resp *http.Response)
internal/cli/client.go:3461
↓ 7 callersFunctionparseFieldFlag
parseFieldFlag parses a --field key=value flag value according to the field's declared schema type. JSON-typed and multi_select fields receive parsed
cmd/pad/cmd_item.go:138
↓ 7 callersFunctionparsePadURI
parsePadURI extracts (workspace, kind, arg) from a pad:// URI. arg is empty for list-style resources (no trailing segment). Forms accepted: pad://w
internal/mcp/resources.go:674
↓ 7 callersFunctionparsesAsCompleteExport
parsesAsCompleteExport reports whether body is a JSON export that claims to be whole: valid JSON whose workspaces array is present.
internal/server/bug3626_account_export_test.go:77
↓ 7 callersFunctionpgErrCode
(err error)
internal/store/runtime_pool_test.go:72
↓ 7 callersFunctionpgOnly
pgOnly returns a store on the startup (unbounded) pool of an isolated cloned Postgres database, skipping when no Postgres is configured.
internal/store/runtime_pool_test.go:32
↓ 7 callersMethodpinCommitmentTx
pinCommitmentTx takes the locks in the order the file comment names and returns the component of the root schedule plus the schedules of any extra ite
internal/store/commitment_links.go:210
↓ 7 callersFunctionplanLimitDetails
planLimitDetails is the structured half of a plan-limit refusal, shared by the 403 and by the bulk envelope's per-item failure. It takes the request s
internal/server/handlers_cloud.go:1808
↓ 7 callersFunctionpostTokenBasic
(srv *Server, form url.Values, clientID, secret string)
internal/server/task3394_install_tokens_test.go:88
↓ 7 callersFunctionpresenceRows
(t *testing.T, srv *Server, token string)
internal/server/task4040_presence_test.go:39
↓ 7 callersFunctionprintChatResponse
(cmd *cobra.Command, action string, raw json.RawMessage)
cmd/pad/cmd_chat.go:257
↓ 7 callersMethodpublishCommentEvent
publishCommentEvent publishes a real-time event for comment changes.
internal/server/handlers_comments.go:613
↓ 7 callersMethodpublishHeartbeats
publishHeartbeats emits one liveness frame per workspace this instance is currently subscribed to. No-op until phase 2 (see config.EventsHeartbeat).
internal/events/redis_heartbeat.go:333
↓ 7 callersFunctionpurgeAll
()
web/src/lib/chat/chatRecords.ts:94
↓ 7 callersFunctionpushCmd
pushCmd is `pad push <ref> -m "message"` (IDEA-2544 Phase 1) — the "push this to my agent" verb: an explicit, user-authored instruction bound to an it
cmd/pad/cmd_push.go:33
↓ 7 callersFunctionputRowlessBlob
--- Rowless-blob sweep (BUG-2406) ------------------------------------- putRowlessBlob writes bytes straight into the fs backend with no attachments r
internal/server/orphan_gc_test.go:747
↓ 7 callersMethodqueryValues
(t *testing.T)
cmd/pad/bug4024_item_list_json_autopage_test.go:96
↓ 7 callersMethodreadAttachment
readAttachment handles pad://workspace/{ws}/attachments/{id}. It requests the existing thumb-md path so authorization, workspace isolation, image proc
internal/mcp/resources.go:551
↓ 7 callersFunctionreadChatSeen
(t *testing.T, path string)
internal/cli/chat_seen_test.go:20
↓ 7 callersFunctionrealDir
(t *testing.T, d string)
internal/buildtools/install_refresh_test.go:1688
↓ 7 callersFunctionrebind2
rebind2 turns this file's single ? (or two) into Postgres placeholders.
internal/store/task3531_compaction_test.go:37
↓ 7 callersFunctionrefsOf
(rows []BootstrapAgendaRow)
internal/store/schedule_bootstrap_test.go:45
↓ 7 callersFunctionrefused
(format string, args ...any)
internal/appfetch/appfetch.go:54
↓ 7 callersMethodreindexCommentMentionsTx
reindexCommentMentionsTx makes comment_mentions agree with a comment's body, inside the caller's transaction (TASK-3917, IDEA-3906). live is false fo
internal/store/comment_mentions.go:57
↓ 7 callersFunctionrelationTargetOf
relationTargetOf reads back the stored target slug for a relation field.
internal/store/collections_relation_rename_test.go:41
↓ 7 callersFunctionrenderItemTable
renderItemTable is the testable core of PrintItemTable: it lays the item list out into maxWidth columns and writes to w. Columns are REF/TITLE · STATU
internal/cli/format.go:257
↓ 7 callersMethodrenegotiateLinked
(i int, in models.CommitmentRenegotiateInput)
internal/store/commitment_renegotiate_cascade_test.go:19
↓ 7 callersMethodrequireAppsGrantOwner
requireAppsGrantOwner is requireAppsOwner for the doors that GRANT an app access or hand out its credentials: install preview and confirm, install cod
internal/server/handlers_apps_install.go:221
↓ 7 callersFunctionrequireInteractiveSession
requireInteractiveSession refuses a request authenticated by a long-lived API token, and is the gate on every door that mints, rotates or edits one (B
internal/server/handlers_tokens.go:64
↓ 7 callersMethodresolveWorkspace
resolveWorkspace resolves a workspace by slug or UUID, scoped to the authenticated user's accessible workspaces when a user context is present. Return
internal/server/server.go:4193
↓ 7 callersMethodresourcePath
(kind, id string)
internal/server/commitment_graph_access_test.go:24
↓ 7 callersFunctionrestorableHusks
restorableHusks is the question the console asks: what would this user see under "Deleted workspaces"? cutoff mirrors the purge retention the handler
internal/server/handlers_cloud_autocreate_husk_test.go:53
↓ 7 callersFunctionrestrictedMember
restrictedMember builds a member whose access is tasks only, a task whose parent sits in ideas (its title is the leak signal), and a task with a hidde
internal/server/bug3334_fail_closed_test.go:192
↓ 7 callersFunctionresultText
(out *CallToolResult)
internal/mcp/scope_population_test.go:203
↓ 7 callersMethodrowExists
(t *testing.T, id string)
internal/store/attachments_gc_claim_test.go:75
↓ 7 callersMethodrunOpLogGCTick
runOpLogGCTick is one tick of the periodic loop. No outer timeout because PruneSweep itself is bounded by the size of the candidate list (one DB query
internal/server/oplog_gc.go:129
↓ 7 callersFunctionrunPidFileRefresh
runPidFileRefresh runs the real script against a stub on the test's own port and returns the pad.pid path and the fixture bytes written to it.
internal/buildtools/bug4068_pidfile_test.go:45
↓ 7 callersFunctionsameTimes
(a, b []time.Time)
internal/schedule/bounds_test.go:33
↓ 7 callersFunctionsameTitles
(t *testing.T, what string, got []string, want ...string)
internal/store/items_field_range_test.go:106
↓ 7 callersFunctionscanAttachment
scanAttachment scans a single row into a models.Attachment, handling nullables via *string / *int.
internal/store/attachments.go:83
↓ 7 callersMethodscheduleChangesQ
(q Queryer, workspaceID, scheduleID string)
internal/store/schedule_carry_v2.go:185
↓ 7 callersMethodscheduleOverridesQ
(q Queryer, workspaceID, scheduleID string)
internal/store/schedule_carry_v2.go:161
↓ 7 callersMethodscheduleRolesQ
(q Queryer, id string)
internal/store/schedule_carry_v2.go:152
↓ 7 callersFunctionscriptEnvHazard
scriptEnvHazard reports why env is unsafe for an install-refresh run: - no port the script would resolve without falling back to its default (PAD_PORT
internal/buildtools/bug4066_harness_guard_test.go:133
↓ 7 callersFunctionseedAccess
seedAccess inserts an access-token row in the chain identified by requestID. ts is the requested_at timestamp; sessionData + scopes land on the row. R
internal/store/connected_apps_test.go:77
↓ 7 callersFunctionseedDormantCorpusLog
TASK-3531 U3/U4: the op-log GC tick compacts a dormant, flushed op-log into one snapshot instead of letting the sweep delete it; the sweep keeps it; a
internal/server/task3531_compaction_test.go:27
↓ 7 callersMethodseedGrantee
seedGrantee creates a throwaway user to be the recipient of a grant, for tests that need a real grant/link ID on a hidden or visible resource (BUG-192
internal/server/handlers_grant_visibility_test.go:128
↓ 7 callersMethodseedSetAside
BUG-3244 ruling 2: rows a schema rebuild set aside refuse EVERY content write, token or not, unless it sends overwrite_pending_edits, which discards t
internal/server/bug3244_set_aside_guard_test.go:20
↓ 7 callersFunctionselectSortCollection
BUG-4400: sorting on a select field ordered by the option TEXT, so `priority:desc` put every medium before every low before every high. Property: prio
internal/store/bug4400_select_sort_test.go:18
↓ 7 callersFunctionsendSync
(t *testing.T, c *websocket.Conn, payload byte)
internal/collab/manager_test.go:494
↓ 7 callersFunctionseqPtr
(v int64)
internal/store/item_workspace_moves_test.go:68
↓ 7 callersFunctionserve
(t *testing.T, h http.HandlerFunc)
internal/notify/gateway_test.go:27
↓ 7 callersMethodserverHonorsKeys
serverHonorsKeys reports whether this server replays a keyed retry (TASK-3585). An older server ignores op_key, so retrying there could apply a write
internal/cli/client.go:1318
↓ 7 callersMethodsession
(t *testing.T, u *models.User)
internal/server/bug3687_activity_visible_page_test.go:61
↓ 7 callersMethodset
(key string, p float64)
internal/decision/attention_test.go:218
↓ 7 callersFunctionsetupSkillTest
BUG-3466: pad init used to rewrite every installed skill file that differed from the running binary's, so a team's edit was lost and an older pad rewr
cmd/pad/bug3466_skill_overwrite_test.go:20
↓ 7 callersFunctionsha
BUG-3124 unit B: a caught-up tab stamps the flush watermark without writing content. The proof is cursor == MAX(op-log id) AND sha256(items.content) =
internal/server/bug3124_watermark_stamp_test.go:17
↓ 7 callersFunctionsha256Hex
sha256Hex returns the hex-encoded sha256 of b. The FS storage backend keys blobs by this exact form, so the value also serves as the storage_key suffi
internal/server/handlers_attachments_thumbnails.go:337
↓ 7 callersFunctionshiftDay
(dateISO: string, days: number)
web/src/lib/calendar/presentation.ts:20
↓ 7 callersFunctionshow
(page: Page, username: string, slug: string, count: number)
web/e2e/lib/workspace-tabs.ts:84
↓ 7 callersMethodsince
since returns all buffered events with ID > sinceID, in chronological order. Returns nil when this buffer cannot vouch for completeness across the req
internal/events/bus.go:506
↓ 7 callersFunctionskipUnlessSQLite
(t *testing.T, s *Store)
internal/store/import_fts_test.go:53
↓ 7 callersMethodsnooze
(t *testing.T, u *models.User, kind string, until time.Time, m *models.NeedsSnoozeMarker)
internal/store/needs_snooze_test.go:71
↓ 7 callersFunctionsortOrderOf
(t *testing.T, s *Store, id string)
internal/store/items_new_item_top_test.go:35
↓ 7 callersMethodstamp
(t *testing.T, body map[string]any)
internal/server/bug3124_watermark_stamp_test.go:49
↓ 7 callersMethodstart
(ctx context.Context, agent string, ensure func(context.Context, string) error)
cmd/pad/cmd_watch_chat_ensure.go:37
↓ 7 callersFunctionstepUpBackends
(t *testing.T, f func(*testing.T, *store.Store))
internal/store/step_up_test.go:18
↓ 7 callersFunctionstepUpUser
(t *testing.T, s *store.Store, email string)
internal/store/step_up_test.go:29
↓ 7 callersFunctionstillThere
BUG-3336: account deletion is irreversible and soft-deletes every owned workspace. Confirm-only (no password) is for the one account that has no passw
internal/server/bug3336_account_delete_test.go:19
↓ 7 callersMethodstop
stop ends the worker, cancelling a publish it is blocked in (a stalled transport otherwise kept its worker and queue alive after being replaced).
internal/server/access_kick.go:199
↓ 7 callersMethodstopMCPSessionTracker
stopMCPSessionTracker signals the sweeper to exit. Called from Server.Stop. Idempotent.
internal/server/middleware_mcp_session.go:245
↓ 7 callersFunctionstripReservedUnparentedViewFilter
(config string)
internal/server/handlers_views.go:321
↓ 7 callersFunctionstubReaderNS
stubReaderNS pins the reader's PID namespace for one test.
internal/cli/session_owner_pidns_linux_test.go:213
↓ 7 callersFunctionstubs
()
web/src/lib/components/items/itemDetailIdentityLoad.svelte.test.ts:184
↓ 7 callersFunctionswapApplierTimeouts
(first, retry time.Duration)
internal/collab/applier_test.go:685
↓ 7 callersFunctiontask3389Block
(t *testing.T, ev pendingEvent)
internal/store/task3389_app_projection_test.go:45
↓ 7 callersFunctiontask3397Fixture
(t *testing.T)
internal/store/task3397_provision_test.go:28
↓ 7 callersFunctiontask3462Update
(srv *Server, ws, ref string, body any)
internal/server/task3462_builtin_update_test.go:66
↓ 7 callersFunctiontask3617Path
(slug string, item models.Item)
internal/server/task3617_verifications_test.go:25
↓ 7 callersFunctiontestTempScope
(t *testing.T)
internal/buildtools/bug4066_harness_guard_test.go:71
↓ 7 callersFunctiontextResult
textResult is a successful result carrying plain text.
internal/mcp/result.go:17
↓ 7 callersMethodtitles
(t *testing.T, p models.ItemListParams)
internal/store/items_field_range_test.go:91
↓ 7 callersFunctiontodayIn
(zone: string, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:16
↓ 7 callersFunctionunescapeDocLinks
(markdown: string)
web/src/lib/utils/markdown.ts:725
↓ 7 callersFunctionupdateFrame
(update: Uint8Array)
web/src/lib/collab/materializer/replay.ts:59
↓ 7 callersFunctionupdatedRowsFor
updatedRowsFor returns the "updated" activity rows on the document, as ListDocumentActivity reports them — which means a default page of 20, ordered b
internal/store/activities_debounce_race_test.go:52
↓ 7 callersMethoduserCount
visibleCollectionIDs returns the set of collection IDs the current user can see in the given workspace. Returns nil if the user has "all" access (no f
internal/server/server.go:3562
↓ 7 callersMethodvalid
()
internal/store/fenced_items.go:45
↓ 7 callersFunctionvalidSchedExport
validSchedExport is a schedule that imports, for the malformed cases to break one field of.
internal/store/schedule_carry_test.go:240
↓ 7 callersFunctionvalidateConversationID
TASK-4038 r6: malformed ids name no conversation; reject them before SQL.
internal/store/conversations.go:88
↓ 7 callersFunctionveErrorCode
veErrorCode extracts the JSON error.code from a response, or "" if the body isn't an error envelope.
internal/server/middleware_verified_email_test.go:143
↓ 7 callersFunctionverifyShareAsset
verifyShareAsset returns true iff sig is a currently-valid signature for (linkID, attachmentID, exp) — constant-time compared and not yet expired. Any
internal/server/handlers_share_attachments.go:103
↓ 7 callersFunctionwaitMail
waitMail blocks for the next captured email or fails on timeout. Emails are sent from a goAsync goroutine, so the caller can't assume synchronous deli
internal/server/handlers_verify_email_test.go:66
↓ 7 callersFunctionwallToInstant
(wall: string, zone: string)
web/src/lib/calendar/presentation.ts:27
← previousnext →2,301–2,400 of 28,840, ranked by callers