MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionsanitiseStoredTextChanged
sanitiseStoredTextChanged is sanitiseStoredText plus the fact a caller needs when the value is an IDENTITY rather than free text: whether anything was
internal/server/middleware_request_text.go:945
↓ 2 callersFunctionsanitizeFTSQuery
sanitizeFTSQuery wraps each token in double quotes so FTS5 treats special characters (like hyphens) as literals rather than operators. The final token
internal/store/search.go:751
↓ 2 callersFunctionsanitizePGFTSQuery
sanitizePGFTSQuery returns a copy of q with hyphens replaced by spaces. Used as the second leg of the OR-combined PG FTS query: postgres' english pars
internal/store/search.go:830
↓ 2 callersMethodsaveLocked
saveLocked is Save for a caller that holds the credentials lock.
internal/cli/credentials.go:389
↓ 2 callersFunctionscaleOf
* The `scale(...)` factor currently on the image, or NaN if there is none. * * jsdom lays nothing out, so the geometry the zoom module reads is all
web/src/lib/components/common/Lightbox.svelte.test.ts:266
↓ 2 callersFunctionscanAgendaItemEvents
(rows *sql.Rows)
internal/store/agenda_item_events.go:89
↓ 2 callersFunctionscanAttachmentsUses
scanAttachmentsUses counts the uses of the internal/attachments package in af and reports every one outside the audited pure helpers. The local name c
internal/store/task4278_store_network_io_guard_test.go:115
↓ 2 callersFunctionscanBoundHolds
(t *testing.T, laterHistory bool)
internal/server/handlers_agenda_test.go:508
↓ 2 callersMethodscanBucketCounts
scanBucketCounts runs a "SELECT <bucket>, COUNT(*) ... GROUP BY <bucket>" query and returns a label→count map.
internal/store/reports.go:892
↓ 2 callersFunctionscanDeadline
(row interface{ Scan(...any) error }, approximate bool)
internal/store/schedule_deadline_eval.go:133
↓ 2 callersFunctionscanItemSnapshot
scanItemSnapshot scans one itemSnapshotSelect row and hydrates it exactly as a single-item read does. sql.ErrNoRows is returned unwrapped.
internal/store/items.go:898
↓ 2 callersFunctionscanItemVersions
(rows *sql.Rows)
internal/store/items.go:7054
↓ 2 callersFunctionscanItemWorkspaceMove
scanner (api_tokens.go) is satisfied by both *sql.Row and *sql.Rows.
internal/store/item_workspace_moves.go:191
↓ 2 callersFunctionscanLink
(r interface{ Scan(...any) error })
internal/store/commitment_links.go:145
↓ 2 callersFunctionscanNeedsNotMine
(sc interface{ Scan(...any) error })
internal/store/needs_not_mine.go:155
↓ 2 callersMethodscanNotification
(r rowScanner)
internal/store/push_dispatch.go:68
↓ 2 callersFunctionschedule
(view: EditorView)
web/src/lib/components/editor/attachment-upload.ts:372
↓ 2 callersFunctionschedule
()
web/src/lib/chat/viewport.ts:23
↓ 2 callersFunctionscheduleIDs
(s []*models.ItemSchedule)
internal/store/commitment_links_test.go:177
↓ 2 callersMethodscheduleSnapshotQ
(q Queryer, id string)
internal/store/schedule_journal.go:103
↓ 2 callersFunctionscheduleSpreadSync
* Answer a server `sync_required` after a random delay instead of at once * — see syncSpread.ts for why and for the window. `needsSync` is set NOW,
web/src/lib/services/sse.svelte.ts:317
↓ 2 callersFunctionscheduleUpdateBody
(p scheduleParams, currentStart string)
internal/mcp/dispatch_http_schedule.go:252
↓ 2 callersFunctionschemaSpec
()
web/src/lib/collab/materializer/entry.ts:171
↓ 2 callersFunctionschemaSpecOf
(editor: Editor)
web/src/lib/collab/materializer/schemaSpec.ts:17
↓ 2 callersFunctionschemaTagRules
(schema: Schema)
web/src/lib/components/editor/extensions/htmlProse.ts:82
↓ 2 callersFunctionscopeStale
An outstanding stale ask that no resync started after it has answered.
web/src/lib/stores/localIndex.svelte.ts:953
↓ 2 callersFunctionscratchCollection
(fixture: SuiteFixture, request: APIRequestContext)
web/e2e/bug-3159-roles-children-touch-drag.spec.ts:51
↓ 2 callersFunctionscratchCollection
(fixture: SuiteFixture, request: APIRequestContext)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:35
↓ 2 callersFunctionscreenDialAddr
screenDialAddr rejects a dial to a private/reserved IP. The dialer calls this with the resolved connection address (ip:port), so it validates the exac
internal/webhooks/dispatcher.go:379
↓ 2 callersFunctionscrubInTxErr
scrubInTxErr runs the scrub on its own transaction and RETURNS the error, unlike the shared scrubInTx helper which fails the test from whatever gorout
internal/store/event_outbox_bounds_test.go:439
↓ 2 callersMethodscrubOutboxRowTxCtx
scrubOutboxRowTx rewrites one candidate row, retrying against concurrent writers. A REWRITE ONLY EVER SHRINKS A ROW, and the claim path depends on it
internal/store/event_outbox.go:1019
↓ 2 callersMethodsearchMatches
searchMatches builds one row per item before sorting and paging, without computing snippets. Materialization keeps SQLite ranks in their MATCH context
internal/store/search.go:465
↓ 2 callersMethodsearchStatusFilters
(params SearchParams)
internal/store/search.go:110
↓ 2 callersMethodsearchTotalAndFacets
searchTotalAndFacets computes the match total and all search facets (collections, statuses, and—for unscoped searches—workspace counts) in a single qu
internal/store/search.go:694
↓ 2 callersFunctionsecureSQLiteFiles
secureSQLiteFiles ensures a filesystem SQLite database and its sidecar files (-wal, -shm, -journal) are not readable or writable by group or other use
internal/store/sqlite_perms.go:28
↓ 2 callersFunctionseed
(fixture: SuiteFixture, request: APIRequestContext, coll: string, title: string, status: string)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:48
↓ 2 callersMethodseed
(t *testing.T, id, key, js string)
internal/store/field_value_dialect_test.go:76
↓ 2 callersFunctionseedActiveAccessTokenForChain
seedActiveAccessTokenForChain inserts one active access-token row in the chain identified by requestID for subject userID. Lets the IsWorkspaceCovered
internal/server/handlers_claim_code_test.go:25
↓ 2 callersMethodseedAppRows
seedAppRows inserts n live original rows attributed to the install, each of size bytes, as if uploaded earlier.
internal/appstore/attachments_test.go:275
↓ 2 callersFunctionseedBUG3755Database
(t *testing.T)
internal/store/bug3755_migration_054_fields_test.go:11
↓ 2 callersFunctionseedCollectionWithItems
(t *testing.T, srv *Server, ws, name string, n int)
internal/server/task2189_collection_restore_test.go:25
↓ 2 callersFunctionseedConventionFromLibrary
seedConventionFromLibrary converts a LibraryConvention into a SeedConvention. Its fields are LibraryConventionFields, the blob library ACTIVATION sto
internal/collections/templates.go:312
↓ 2 callersFunctionseedDiffVersion
seedDiffVersion replaces the item's history with one unhashed diff row.
internal/store/bug3839_invalid_utf8_version_test.go:325
↓ 2 callersFunctionseedFailureLeavesNoRestorableHusk
(t *testing.T, driver store.DriverType)
internal/server/handlers_cloud_autocreate_husk_test.go:156
↓ 2 callersFunctionseedField
seedField returns one of a seed's fields, and whether it has it.
internal/collections/templates_manifest.go:280
↓ 2 callersMethodseedFromTemplate
seedFromTemplate is SeedCollectionsFromTemplate's body, for a template already resolved: a nil tmpl seeds the default collections and nothing else.
internal/store/collections.go:1279
↓ 2 callersFunctionseedItem
( fixture: SuiteFixture, request: APIRequestContext, title: string, )
web/e2e/item-action-bar-band.spec.ts:46
↓ 2 callersFunctionseedNoteCollection
Create a fresh, test-scoped collection with a plain `note` text field so a * per-item value can prove which item a stale continuation wrote to (mirr
web/e2e/pane-async-race.spec.ts:129
↓ 2 callersFunctionseedNoteItem
( fixture: SuiteFixture, request: APIRequestContext, collSlug: string, title: string, note: string, body
web/e2e/pane-async-race.spec.ts:145
↓ 2 callersFunctionseedOldGates
seedOldGates writes three gates in the old shape: a gated by b (a commitment), a gated by c (no commitment, already opened), d gated by b.
internal/store/commitment_gates_migration_test.go:55
↓ 2 callersFunctionseedOwnerWorkspace
32 hex chars, never issued seedOwnerWorkspace bootstraps the first admin (so RequireAuth is active and users exist) and returns the owner plus a fresh
internal/server/handlers_invitation_preview_test.go:28
↓ 2 callersFunctionseedTasks
(request: APIRequestContext, f: Fixture, ws = f.workspaceSlug)
web/e2e/chat-url-writes.spec.ts:36
↓ 2 callersMethodseedToOneMore
seedToOneMore leaves room for exactly one more 15-byte upload, by file count or by bytes.
internal/appstore/attachments_test.go:388
↓ 2 callersFunctionseedUnrelatedReminderMigrationViolations
(t *testing.T, s *Store)
internal/store/reminder_migration_fk_test.go:12
↓ 2 callersFunctionseedUser
seedUser inserts a user directly with the given plan + created_at so tests can deterministically populate the customers_by_plan and new_signups_30d ag
internal/server/handlers_admin_billing_test.go:59
↓ 2 callersFunctionseedV1Database
( userId: string | null, ws: string, items: ItemIndexRow[] = [], meta?: { cursor: string; schemaVersion: n
web/src/test/idbHarness.ts:125
↓ 2 callersMethodsegmentLen
segmentLen is the byte length of the title segment a matched bracket will carry: the optional escaped `<collSlug>/` prefix plus the escaped title. Com
internal/links/links.go:714
↓ 2 callersFunctionselfRender
selfRender renders a value that chose how it prints, for the value path and the map-key path alike (one switch, so the two cannot drift): a URL reduce
internal/logging/scrub.go:219
↓ 2 callersMethodsendCatchUp
* Send the whole document as one update (TASK-1319 / TASK-2199), so every * local edit is in it. On an open socket it settles what was owed; it is
web/src/lib/collab/wsProvider.svelte.ts:1533
↓ 2 callersMethodsendProviderLinkedNotice
sendProviderLinkedNotice emails the account's owner that a provider was linked (TASK-4745 ruling). Best effort and asynchronous: a send failure is log
internal/server/oauth_pending_link.go:167
↓ 2 callersMethodsendWith
sendWith is the internal send implementation.
internal/email/sender.go:152
↓ 2 callersMethodsentinel
(it models.Item, status string)
internal/server/workspace_access_notify_test.go:444
↓ 2 callersFunctionseqCorruptions
()
internal/events/bug2744_seq_guard_test.go:60
↓ 2 callersFunctionserve
(runner *Runner, payload []byte)
internal/materialize/worker.go:167
↓ 2 callersMethodserveCappedWithLimit
(req *http.Request, limit int64)
internal/mcp/response_cap.go:47
↓ 2 callersFunctionserveCmd
()
cmd/pad/cmd_server.go:51
↓ 2 callersFunctionserveSchemes
(h http.Handler, body string)
internal/mcp/chatgpt_security_test.go:28
↓ 2 callersFunctionserved
()
web/src/lib/components/billing/BillingIntervalPicker.svelte.test.ts:6
↓ 2 callersFunctionservedOriginal
( naturalWidth: number | null | undefined, naturalHeight: number | null | undefined )
web/src/lib/attachments/viewerLoading.ts:145
↓ 2 callersFunctionserverBusyMessage
(retryAfterMs?: number)
web/src/lib/api/serverBusyToast.ts:38
↓ 2 callersFunctionserverStartCommand
serverStartCommand is the auto-started server's command. Its env is this process's, minus config.InternalNoDataDirWarningEnv: an MCP tool-call child c
internal/cli/server.go:86
↓ 2 callersFunctionserverTabs
* TASK-3279 (PLAN-3002 U5): every landing in a visible workspace outside the * open set opens it as an EPHEMERAL tab, and a write there keeps it. Eac
web/e2e/workspace-tabs.spec.ts:531
↓ 2 callersFunctionsess
( agent: string | undefined, state: LiveSession['state'], armed: boolean = state === 'online', id = Math.r
web/src/lib/chat/presence.test.ts:6
↓ 2 callersFunctionsessResp
(...ss: ReturnType<typeof sess>[])
web/src/lib/stores/chatInbox.svelte.test.ts:81
↓ 2 callersFunctionsession
(chatEnabled?: boolean)
web/src/routes/layoutChatGating.svelte.test.ts:58
↓ 2 callersMethodsessionHasStepUp
sessionHasStepUp reports whether this user's authenticated session has a live grant.
internal/server/handlers_step_up.go:18
↓ 2 callersMethodsessionID
(token string)
internal/server/handlers_push_devices_test.go:60
↓ 2 callersFunctionsessionPid
($)
plugin/hooks/register.js:1073
↓ 2 callersFunctionsessionWorkerID
sessionWorkerID derives a stable lease worker id from the account and the MCP session id (TASK-3613): the same session always gets the same id, so a l
internal/mcp/client_identity.go:252
↓ 2 callersFunctionsetAccessRevokedHandler
(handler: AccessRevokedHandler | null)
web/src/lib/api/client.ts:583
↓ 2 callersFunctionsetActivationPending
* The pending contract, minimal (TASK-2434). * * Activation awaits a HEAD. On a cache hit that is one microtask and * nothing is visible;
web/src/lib/components/editor/attachment-image.ts:480
↓ 2 callersFunctionsetAsideRowsIn
setAsideRowsIn reads set_aside_rows from a refusal's details (BUG-3244).
internal/mcp/errors.go:1750
↓ 2 callersFunctionsetBoolSetting
setBoolSetting returns settingsJSON with key set to v and every other key unchanged.
internal/models/awaits_human.go:95
↓ 2 callersMethodsetBuiltinSeedExec
(ex interface { Exec(string, ...any) (sql.Result, error) }, itemID string, o models.BuiltinOrigin)
internal/store/builtin_origin.go:158
↓ 2 callersFunctionsetConsentCSP
(w http.ResponseWriter, nonce string)
internal/server/handlers_oauth.go:1816
↓ 2 callersMethodsetCreated
(t *testing.T, it *models.Item, at string)
internal/store/items_field_range_test.go:47
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:57
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/library/libraryIdentityFence.svelte.test.ts:36
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:106
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/settings/settingsIdentityFence.svelte.test.ts:160
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:312
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/[collection]/collectionChatUrlWrites.svelte.test.ts:275
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/roles/rolesWorkspaceSwitch.svelte.test.ts:35
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/roles/rolesIdentityFence.svelte.test.ts:50
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/tags/tagsLoadError.svelte.test.ts:59
↓ 2 callersFunctionsetEpoch
(n: number)
web/src/routes/[username]/[workspace]/tags/tagsIdentityFence.svelte.test.ts:59
↓ 2 callersMethodsetErr
(err error)
internal/server/task3585_push_key_test.go:37
↓ 2 callersFunctionsetIdentityProvider
(provider: (() => string | null) | null)
web/src/lib/api/client.ts:546
↓ 2 callersFunctionsetImportCollapsedHeader
(w http.ResponseWriter, report store.ImportReport)
internal/server/import_nul_repair.go:148
↓ 2 callersFunctionsetLast
(next: Last | null)
web/src/lib/items/crashDraft.ts:77
← previousnext →9,301–9,400 of 31,685, ranked by callers