MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 4 callersFunctionresetBootstrap
()
web/src/test/reactiveBootstrapMock.svelte.ts:46
↓ 4 callersMethodresolveMove
(t *testing.T, i int, to string, access models.CommitmentAccess, comment *ResolveComment)
internal/store/commitment_resolve_cascade_test.go:12
↓ 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 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:30
↓ 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 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:697
↓ 4 callersFunctionrunComment
(t *testing.T, args ...string)
cmd/pad/task3585_comment_retry_test.go:45
↓ 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 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:933
↓ 4 callersFunctionsanitizeVersion
sanitizeVersion makes a build-version string safe as a filename suffix. Build versions can carry spaces/parens (e.g. "1.2.3 (abc1234)"); collapse anyt
internal/store/migration_guard.go:154
↓ 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:765
↓ 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 callersFunctionscheduleRolesFromExport
(r *models.ScheduleRolesExport)
internal/store/commitment.go:75
↓ 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 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 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 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 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 callersFunctionsessionCookieSet
sessionCookieSet reports whether the response set a non-empty session cookie.
internal/server/handlers_bug3322_totp_doors_test.go:21
↓ 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:207
↓ 4 callersMethodset
(workspaceID string, info *store.WorkspaceStorageInfo)
internal/server/handlers_storage.go:77
↓ 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
↓ 4 callersFunctionsetCSRFCookie
setCSRFCookie writes a new CSRF token cookie. The cookie is NOT HttpOnly so that JavaScript can read it and send it back as a header.
internal/server/middleware_csrf.go:300
↓ 4 callersFunctionsetCollabTimeouts
BUG-3771 / BUG-3636: a collab peer that stops reading or answering is detected and closed within a bounded time. The server pings and reads with a dea
internal/collab/bug3771_ws_deadlines_test.go:23
↓ 4 callersFunctionsetCustomer
(t *testing.T, srv *Server, userID, customerID string)
internal/server/task3549_stripe_customer_cas_test.go:31
↓ 4 callersMethodsetEndpoint
setEndpoint points the provider at a different base URL. Intended for tests standing up an httptest server; production callers leave the default.
internal/decision/typesafe.go:177
↓ 4 callersFunctionsetPlanRaw
(t *testing.T, s *Store, id, plan, source, customer string)
internal/store/task3551_instance_mode_test.go:21
↓ 4 callersMethodsetStatus
---- finished children stay where they are.
internal/store/commitment_links_review_test.go:301
↓ 4 callersFunctionsettingsChangedMeta
settingsChangedMeta is the settings_changed audit metadata: the KEYS that changed, never their values.
internal/server/handlers_admin.go:172
↓ 4 callersFunctionsettle
()
web/src/lib/components/items/itemDetailPeekDismiss.svelte.test.ts:140
↓ 4 callersFunctionsettleContentRoute
settleContentRoute is the route decision, extracted from its I/O so the budget expiry is testable without a seam into the conn anchoring machinery — w
internal/server/handlers_items_content_route.go:228
↓ 4 callersFunctionsetupItemOpenTest
(t *testing.T, handler http.Handler)
cmd/pad/item_open_test.go:15
↓ 4 callersFunctionsetupOwnedDeletedWorkspace
setupOwnedDeletedWorkspace registers Alice + Bob, has Alice create and then soft-delete a workspace, and returns their tokens plus the workspace. Shar
internal/server/handlers_workspaces_test.go:156
↓ 4 callersFunctionshortRoleDate
(value: string, zone: string, now = new Date(Date.now()), options: ShortDateOptions = {})
web/src/lib/calendar/presentation.ts:384
↓ 4 callersFunctionshowFixture
BUG-3448: `pad item show` printed a json field (a playbook's `arguments`) in Go's map syntax, `[map[description:… name:target …]]`, and labelled a pla
cmd/pad/bug3448_item_show_fields_test.go:16
↓ 4 callersFunctionshowMissing
()
web/src/lib/components/editor/attachment-image.ts:489
↓ 4 callersMethodsibling
sibling is a second workspace owned by the same user, on the same store.
internal/store/task3619_storage_limit_test.go:51
↓ 4 callersMethodsignIn
signIn runs a whole delegated sign-in and returns the access token and the grant's request id.
internal/server/task3399_delegated_flow_test.go:312
↓ 4 callersMethodsignalAllLocked
signalAllLocked raises the gap flag for every live subscriber on this instance — the per-INSTANCE half of BUG-2730, for the conditions where the hole
internal/watchevents/redis_bus.go:1865
↓ 4 callersMethodsignalGap
signalGap raises this subscriber's gap flag without blocking.// INVARIANT FOR ANYONE ADDING A THIRD CAUSE: every cause that reaches this channel must
internal/events/bus.go:629
↓ 4 callersFunctionsingleLine
singleLine collapses internal whitespace and newlines for safe inclusion in a markdown table cell.
internal/urlimport/openapi.go:493
↓ 4 callersFunctionskipCapTest
(t *testing.T, why string)
internal/materialize/skip_test.go:13
↓ 4 callersFunctionsleepOrDone
sleepOrDone waits for d or ctx cancellation, whichever comes first. Returns false if ctx was cancelled — the caller should stop looping, not schedule
cmd/pad/cmd_watch.go:223
↓ 4 callersFunctionslot
(userId: string, n: number)
web/src/lib/chat/composerRegistry.ts:25
↓ 4 callersMethodsnapshotBeforeMigrate
snapshotBeforeMigrate copies the live SQLite database file to <db>.pre-<VERSION> before any pending migrations run, so a botched upgrade can be rolled
internal/store/migration_guard.go:107
↓ 4 callersMethodsortOrder
(t *testing.T, id string)
internal/server/task3517_sort_order_test.go:43
↓ 4 callersFunctionsortedRefs
(refs ...string)
internal/server/bug3331_search_scope_test.go:205
↓ 4 callersFunctionspecFromICal
specFromICal reads the DTSTART, RRULE, RDATE and EXDATE lines of a row.
internal/schedule/conformance_test.go:101
↓ 4 callersFunctionsse
()
web/src/lib/components/items/itemDetailIdentityLoad.svelte.test.ts:738
↓ 4 callersFunctionsseEventVisibleFor
sseVisibility is the per-connection event-filter state. All four fields are rebuilt atomically on each revalidation tick so that permission-tightening
internal/server/handlers_events.go:717
↓ 4 callersFunctionssrSafe
()
web/src/lib/stores/localSearch.svelte.ts:403
↓ 4 callersFunctionstaleBodyImportCount
repairedNULCount reads the count the server reports for a --repair-nul import. An ABSENT header is reported as unknown rather than as zero. A server
cmd/pad/cmd_workspace.go:1557
↓ 4 callersFunctionstaleShowServer
--- pad item show: the stale-body notice (contract item 2) ---
cmd/pad/item_update_outcome_test.go:222
↓ 4 callersMethodstate
(t *testing.T)
internal/server/bug3124_watermark_stamp_test.go:59
↓ 4 callersMethodstateFor
stateFor builds the item's current state as qs sees it: with its links when qs is WithLinks, and without the comment trail when qs is NoTrail.
internal/decision/runner.go:495
↓ 4 callersFunctionstatusChipIn
(container: ParentNode)
web/src/lib/components/collections/statusPickerTestKit.ts:15
↓ 4 callersFunctionstepUpExec
(t *testing.T, s *store.Store, q string, args ...any)
internal/store/step_up_test.go:45
↓ 4 callersMethodstepUpFactor
stepUpFactor selects the strongest factor established before the session. A sender needs no public base URL because the email carries a code rather th
internal/server/handlers_step_up.go:46
↓ 4 callersFunctionstoreItemCreateError
storeItemCreateError is a 500 itemCreateError that remembers its store error so write can map a busy database to 503 database_busy.
internal/server/handlers_items.go:945
↓ 4 callersFunctionstoredColor
(t *testing.T, s *Store, id string)
internal/store/bug3407_revalidate_test.go:62
↓ 4 callersMethodstoredFields
(ws, slug string)
internal/server/bug2367_migrate_doors_test.go:76
↓ 4 callersFunctionstoredFilename
(t *testing.T, s *Store, id string)
internal/store/attachment_bidi_backfill_test.go:43
← previousnext →4,201–4,300 of 28,840, ranked by callers