MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 4 callersFunctionremapStore
--------------------------------------------------------------------------- Chunked remap (TASK-4278). Every test builds its fixture through the store
internal/store/attachments_remap_chunk_test.go:60
↓ 4 callersMethodremindAt
(t *testing.T, i int)
internal/store/commitment_links_review_test.go:306
↓ 4 callersFunctionreminderConstraintFixture
IDEA-2883. item_reminders.workspace_id is denormalized from the item, and until migration 086 nothing but a repeated read-side predicate stopped the t
internal/store/reminder_workspace_constraint_test.go:22
↓ 4 callersMethodreminderQ
(q Queryer, workspaceID, id string)
internal/store/reminder_commitment.go:11
↓ 4 callersFunctionrenderAttachmentChip
( meta: AttachmentMeta, displayText: string | undefined, workspaceSlug: string, urlBuilder?: AttachmentUrl
web/src/lib/markdown/attachments.ts:253
↓ 4 callersFunctionrenderAttachmentImage
( meta: AttachmentMeta, alt: string, workspaceSlug: string, variant: 'thumb-sm' | 'thumb-md' = 'thumb-md',
web/src/lib/markdown/attachments.ts:228
↓ 4 callersFunctionrenderCommentsMarkdown
renderCommentsMarkdown is the markdown counterpart of cli.PrintCommentTable. Comments are not tabular — the terminal form prints an attribution line t
cmd/pad/cmd_item.go:3578
↓ 4 callersFunctionrenderCommitmentLink
(w io.Writer, l displayCommitmentLink)
cmd/pad/cmd_schedule_link.go:335
↓ 4 callersFunctionrenderRect
()
web/src/lib/components/editor/attachment-crop-modal.ts:303
↓ 4 callersMethodreneg
(tok string, preview bool, revision string, ack bool)
internal/server/commitment_graph_entry_test.go:72
↓ 4 callersFunctionrenegotiateBody
()
internal/server/handlers_commitments_test.go:346
↓ 4 callersFunctionreplaceDBName
replaceDBName swaps the database name in a postgres:// URL. e.g. "postgres://pad:pad@localhost:5432/pad?sslmode=disable" becomes "postgres://pad:pad@l
internal/store/store_test.go:351
↓ 4 callersFunctionreportCollectionFor
reportCollectionFor resolves the done field and terminal values shared by reports and item-level completion feeds.
internal/store/reports.go:662
↓ 4 callersMethodreportOpFailed
(op string)
internal/server/session_presence_observer.go:58
↓ 4 callersMethodreportResumeGap
(workspaceID string)
internal/events/observer.go:310
↓ 4 callersMethodreq
(sig string)
internal/store/bug3678_refresh_after_revoke_test.go:44
↓ 4 callersFunctionrequestDeadline
* An abort signal that fires after `ms`, and also when the caller's own signal * does. Linked by hand rather than with `AbortSignal.any`, which needs
web/src/lib/api/client.ts:990
↓ 4 callersFunctionrequestIsLoopback
(r *http.Request)
internal/server/handlers_auth.go:290
↓ 4 callersFunctionrequestTimeoutError
(isIdempotent: boolean)
web/src/lib/api/client.ts:1016
↓ 4 callersFunctionrequestVia
requestVia builds the client the way client commands do and sends one request.
cmd/pad/bug3646_pad_toml_token_test.go:59
↓ 4 callersFunctionrequireForecastOnly
(t *testing.T, body map[string]any, id string)
internal/server/handlers_agenda_forecast_test.go:241
↓ 4 callersMethodrequireKeyMintStepUp
requireKeyMintStepUp gates every door that hands out or widens a key secret (TASK-4693): the session has a live step-up grant, or its own stored sign-
internal/server/handlers_step_up.go:34
↓ 4 callersFunctionreservedFieldRemedy
reservedFieldRemedy names the write path that legitimately maintains a reserved metadata key, for the refusal message the field-patch gate emits (BUG-
internal/server/handlers_items_copy_preflight.go:1715
↓ 4 callersMethodreset
(reason string)
internal/watchevents/observer.go:180
↓ 4 callersFunctionresetBootstrap
()
web/src/test/reactiveBootstrapMock.svelte.ts:46
↓ 4 callersFunctionresetEpoch
()
web/src/test/identityEpochMock.svelte.ts:50
↓ 4 callersMethodresetFloatingForItem
resetFloatingForItem resets the item's armed floating managed row, after its assignee changed.
internal/store/schedule_fire.go:357
↓ 4 callersFunctionresolveDBFilePath
resolveDBFilePath resolves symlinks even when the output file does not exist.
cmd/pad/db_restore_sqlite.go:128
↓ 4 callersMethodresolveMove
(t *testing.T, i int, to string, access models.CommitmentAccess, comment *ResolveComment)
internal/store/commitment_resolve_cascade_test.go:12
↓ 4 callersMethodresolveNeedsSnoozeItem
resolveNeedsSnoozeItem is the shared front half: the item, visible to the caller, and the caller's user id. It has written the response when ok is fal
internal/server/handlers_needs_snooze.go:28
↓ 4 callersMethodresolveReportCollections
resolveReportCollections lists the workspace's collections (optionally filtered to the given slugs) and resolves each one's done field + positive term
internal/store/reports.go:688
↓ 4 callersMethodresolveStatus
BUG-3635: a public share link must serve nothing once its target is no longer live. GetItem checks only the item's own deleted_at, so before the fix a
internal/server/bug3635_share_archived_target_test.go:19
↓ 4 callersMethodresolvedOptions
()
web/src/lib/collab/materializer/polyfills.ts:186
↓ 4 callersMethodresourceArgs
()
internal/mcp/resources_http_attachment_acl_test.go:119
↓ 4 callersFunctionresponse
(entries: AgendaEntry[] = [row()], extra: Partial<AgendaResponse> = {})
web/src/routes/(console)/agenda/agenda.svelte.test.ts:31
↓ 4 callersFunctionresponse
(attachments: AttachmentListItem[])
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:151
↓ 4 callersMethodresponseMaxBytes
()
internal/mcp/response_cap.go:33
↓ 4 callersMethodrestricted
restricted is an editor who sees only the tasks collection.
internal/server/bug3687_activity_visible_page_test.go:71
↓ 4 callersFunctionrestrictedWarnings
(t *testing.T, f *copyPreflightFixture, u *models.User)
internal/server/handlers_items_copy_preflight_test.go:1661
↓ 4 callersMethodresubscribe
resubscribe installs a fresh subscription and receive loop.
internal/watchevents/heartbeat.go:414
↓ 4 callersFunctionretitle
(t *testing.T, s *Store, itemID, title string)
internal/store/decisions_debounce_test.go:55
↓ 4 callersFunctionretryRecorder
TASK-3399: a deadlocked transaction is run again from the start, at most three times.
internal/store/task3399_deadlock_retry_test.go:10
↓ 4 callersMethodretryUnrecorded
retryUnrecorded runs at the start of every tick, before the gateway check and the claim, so it needs no gateway: recording is database work. A record
internal/server/push_dispatch.go:405
↓ 4 callersMethodrevision
(t *testing.T)
internal/store/commitment_revision_test.go:24
↓ 4 callersMethodrevokeDelegatedGrantsTx
revokeDelegatedGrantsTx ends the delegated app grants a person holds, in one workspace (workspaceID) or in every one (""), inside the caller's transac
internal/store/app_grants.go:200
↓ 4 callersFunctionrewriteBracketAtV0
BUG-2804 differential tests for the single-pass rewrite. WHY THE OBVIOUS TEST WOULD BE VACUOUS, stated because the GO condition was worded as "Rewrit
internal/links/rewrite_brackets_diff_test.go:31
↓ 4 callersMethodroleOf
(userID string)
internal/server/bug3355_last_owner_test.go:23
↓ 4 callersFunctionrootFlagsToArgs
rootFlagsToArgs converts a startup root-flags map into the pre-formatted CLI token list every fetch should append. Empty values are skipped (matching
internal/mcp/resources.go:677
↓ 4 callersMethodrow
(t *testing.T, u *models.User)
internal/server/handlers_needs_not_mine_test.go:370
↓ 4 callersFunctionrunAgendaCLI
(t *testing.T, h http.HandlerFunc, args ...string)
cmd/pad/agenda_audience_test.go:12
↓ 4 callersFunctionrunAttachmentRestore
(t *testing.T, stub *restoreStub, args ...string)
cmd/pad/attachment_restore_test.go:55
↓ 4 callersFunctionrunAuthLeaf
(t *testing.T, cmd *cobra.Command, format string, args ...string)
cmd/pad/cmd_auth_agent_signup_test.go:95
↓ 4 callersFunctionrunCapped
runCapped executes cmd with stdout capped at stdoutLimit and stderr capped at stderrMaxBytes. Both writers keep draining (discarding) past their limit
internal/mcp/response_cap.go:68
↓ 4 callersFunctionrunComment
(t *testing.T, args ...string)
cmd/pad/task3585_comment_retry_test.go:45
↓ 4 callersFunctionrunDecisionTick
(t *testing.T, srv *Server)
internal/server/dashboard_attention_decisions_test.go:59
↓ 4 callersFunctionrunShow
(t *testing.T)
cmd/pad/item_update_outcome_test.go:236
↓ 4 callersFunctionrunShow3448
(t *testing.T, item map[string]any)
cmd/pad/bug3448_item_show_fields_test.go:36
↓ 4 callersFunctionrunStepUp
runStepUp asks for whichever proof the session's current factor takes and verifies it once (GET /auth/step-up, then POST /auth/step-up/verify). It run
cmd/pad/stepup.go:37
↓ 4 callersFunctionrunTopEscape
(event?: KeyboardEvent)
web/src/lib/stores/escapeStack.ts:85
↓ 4 callersFunctionsafeString
(raw: unknown)
web/src/lib/fields/fieldShape.ts:51
↓ 4 callersFunctionsamplePlaybook
()
internal/artifact/encode_test.go:13
↓ 4 callersFunctionsanitizeHeaderFilename
sanitizeHeaderFilename strips characters that can't safely appear in a Content-Disposition filename header: quotes, backslashes, control characters an
internal/server/handlers_attachments.go:1012
↓ 4 callersMethodsave
Remember the focused element. Keeps the FIRST capture until `restore()`, * so an effect that re-runs while open cannot overwrite the trigger with
web/src/lib/a11y/focusReturn.ts:23
↓ 4 callersFunctionsaveCredentials
(cfg *config.Config, resp *cli.LoginResponse)
cmd/pad/cmd_auth.go:814
↓ 4 callersFunctionscalarHydrated
scalarHydrated unwraps a SCALAR `relation_targets` entry. Added in U4, when the entry became a RelationTargetSet that carries either one target or a
internal/store/relation_titles_test.go:220
↓ 4 callersFunctionscalarTarget
Door-level legs for exact-title resolution and read hydration (PLAN-2857 U6). internal/store already tests the title ladder and the hydrator directly
internal/server/relation_titles_doors_test.go:37
↓ 4 callersFunctionscanBool
---- helpers ---- scanBool normalizes the dialect-specific bool encoding (SQLite INTEGER 0/1; Postgres BOOLEAN true/false) into a Go bool. Mirrors the
internal/store/oauth_connections.go:848
↓ 4 callersFunctionscanBracketBody
scanBracketBody finds the body of the wiki-link bracket starting at `position`, honouring the escape grammar. It implements exactly the parser's body
internal/links/links.go:670
↓ 4 callersFunctionscanConversationMessage
(row rowScanner)
internal/store/conversations.go:466
↓ 4 callersMethodsched
()
internal/store/schedule_carry_matrix_test.go:41
↓ 4 callersMethodscheduleID
TASK-4236: next_from and unexpanded on the workspace agenda. next_from promises that every instant before it was examined, so it is emitted only when
internal/server/handlers_agenda_bounds_test.go:16
↓ 4 callersFunctionschemaTypeBrief
schemaTypeBrief returns a one-line type description for a schema proxy: the declared type, format if present, item type for arrays, or the ref name fo
internal/urlimport/openapi.go:455
↓ 4 callersFunctionsearch
* Synchronous ranked search. Returns at most `opts.limit` (default 50) * id+score pairs ordered by descending score. Empty / whitespace * queries
web/src/lib/stores/localSearch.svelte.ts:560
↓ 4 callersMethodsearchMatchIDs
searchMatchIDs builds the distinct matching item IDs for the combined count and facet query without evaluating ranking scores.
internal/store/search.go:398
↓ 4 callersFunctionseedAttachment
seedAttachment stores a blob and its row bound to itemID, as an earlier upload would have, and returns the row's id.
internal/server/task3401_app_api_test.go:157
↓ 4 callersFunctionseedDashboardZone
Seed before any rendering, including commands with no instant columns. Older dashboards without zone metadata leave the lazy lookup available.
cmd/pad/userzone.go:54
↓ 4 callersFunctionseedDeletedAttachment
(t *testing.T, s *Store, ws string, item, parent *string, stamp time.Time)
internal/store/attachments_deleted_test.go:37
↓ 4 callersMethodseedFull
TASK-4358: milestone members in export/import, copy/move and the schema. seedMilestone gives f's item a forecast (set twice), a child, a waiver and a
internal/store/milestone_carry_test.go:15
↓ 4 callersMethodseedItem
seedItem creates a collection (idempotent on slug) + an item with the given title, returning the resolved item record.
internal/server/handlers_ref_resolver_test.go:99
↓ 4 callersFunctionseedOpLog
seedOpLog appends rows standing in for a closed tab's unflushed edits — content that exists ONLY in the op-log, because items.content was never update
internal/server/handlers_collab_prune_atomicity_test.go:39
↓ 4 callersMethodseedPendingEdit
seedPendingEdit leaves the item in the BUG-3000 state and proves it, so no leg below measures a clean item by accident.
internal/server/handlers_item_versions_bug3031_test.go:30
↓ 4 callersMethodseedRaw
seedRaw stores fields verbatim through the store, which does not validate — the way a legacy row holding "" came to exist.
internal/server/bug3028_relation_blank_test.go:38
↓ 4 callersMethodseedRawOriginal
seedRawOriginal stores body under mime, anchored to itemID, WITHOUT any derived variant — the legacy shape the lazy-derive path backfills. Unlike putB
internal/server/handlers_share_attachments_derive_test.go:50
↓ 4 callersMethodseedRule
seedRule stores rule on a schedule directly, past the firing floor that create and update enforce: the way a test models a schedule stored before the
internal/store/schedule_bounds_test.go:34
↓ 4 callersFunctionseedStart
seedStart returns a seed's fields.start, and whether it has one.
internal/collections/templates_manifest.go:277
↓ 4 callersFunctionseedUpdateActivity
(t *testing.T, srv *Server, itemID, changes string)
internal/server/handlers_timeline_cursor_test.go:35
↓ 4 callersMethodseesNothing
()
internal/store/catch_up.go:26
↓ 4 callersFunctionselected
(strip: Element, at: number)
web/src/lib/components/connectWorkspaceModalTabs.svelte.test.ts:25
↓ 4 callersFunctionsendBarrier
BUG-3523: a client's barrier is answered in readLoop order, after every sync frame it sent before the barrier, with OK false exactly when one of those
internal/collab/barrier_bug3523_test.go:15
↓ 4 callersFunctionsendImport
sendImport writes one import request on conn: headers, then each piece with gap between them. keepAlive leaves the connection open for another request
internal/server/handlers_import_bundle_bug3184_test.go:226
↓ 4 callersFunctionseq
seq is 0..n-1.
internal/schedule/rule.go:378
↓ 4 callersFunctionserve
(refs: ChatRef[])
web/src/lib/stores/chatThread.svelte.test.ts:1836
↓ 4 callersFunctionserveWorker
serveWorker is RunWorker's loop over an already-loaded Runner. Split out so the tests of the loop share one loaded bundle instead of paying the load (
internal/materialize/worker.go:106
↓ 4 callersFunctionserviceTokenForm
(resource string)
internal/server/task3394_install_tokens_test.go:99
↓ 4 callersFunctionsessionIndexKey
(userID string)
internal/server/session_presence_keys_test.go:16
↓ 4 callersMethodsessionIndexKey
DEPLOYMENT SCOPING, inherited from internal/watchevents/redis_bus.go's note of the same name and restated here because this is a THIRD keyspace living
internal/server/session_presence_redis.go:410
↓ 4 callersFunctionsessionKey
(userID, sessionID string)
internal/server/session_presence_keys_test.go:13
↓ 4 callersMethodset
(path string, fi fs.FileInfo)
internal/cli/credentials.go:209
↓ 4 callersMethodsetAppRate
(t *testing.T, limit rate.Limit, burst int)
internal/server/handlers_apps_u10c_test.go:213
↓ 4 callersMethodsetAsideRows
(t *testing.T)
internal/server/bug3244_set_aside_guard_test.go:35
← previousnext →4,601–4,700 of 31,685, ranked by callers