MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 1 callersFunctiontypeQuery
(value: string)
web/src/lib/components/fields/FieldEditor.relation.svelte.test.ts:378
↓ 1 callersFunctiontyped
(id: string, v: string)
web/src/routes/join/[code]/joinConsent.svelte.test.ts:329
↓ 1 callersFunctiontzCloseServer
tzCloseServer closes the helper's current stub server. httptest.Server.Close returns only after every connection goroutine is done, which orders their
cmd/pad/task4101_timezone_test.go:43
↓ 1 callersFunctionuint64Int64
uint64Int64 converts an unsigned value that fits int64 and refuses a larger one, rather than wrapping it negative (BUG-4065, from BUG-4061's note).
internal/mcp/dispatch_http_routes.go:1926
↓ 1 callersFunctionunblockCmd
()
cmd/pad/cmd_item.go:3802
↓ 1 callersFunctionundeclaredFilterKeys
(h http.Header)
internal/cli/client.go:484
↓ 1 callersFunctionundecryptableTOTPUser
BUG-4019: a user read no longer decrypts the TOTP secret. A secret that will not decrypt (an operator key change) must fail the second-factor check al
internal/store/bug4019_totp_lazy_decrypt_test.go:20
↓ 1 callersMethodunder
under requires raw to be an https URL on exactly the manifest's origin.
internal/appmanifest/manifest.go:396
↓ 1 callersFunctionunderPath
underPath reports whether u's path lies under prefix, by whole segments. A path carrying dot segments or percent-encoding is refused outright: a serve
internal/appfetch/appfetch.go:424
↓ 1 callersFunctionunescapeMarkdownLinkText
(s: string)
web/src/lib/utils/markdown.ts:1209
↓ 1 callersFunctionunescapeWikiBody
(s: string)
web/src/lib/chat/refs.ts:190
↓ 1 callersMethodunfreezeAndReleaseAppend
unfreezeAndReleaseAppend reverses the freeze applied at the top of ForceRefreshRoom on a genuine rollback: it clears every conn's frozen flag (peers r
internal/collab/manager.go:1383
↓ 1 callersFunctionunguardedFlag
(t *testing.T, res *CallToolResult)
internal/mcp/plan3555_replace_test.go:32
↓ 1 callersFunctionunimplementsCmd
()
cmd/pad/lineage.go:110
↓ 1 callersFunctionuniqueAgent
(tag: string)
web/e2e/chat-thread-read.spec.ts:29
↓ 1 callersFunctionuniqueAgent
(tag: string)
web/e2e/chat-thread-refs.spec.ts:32
↓ 1 callersFunctionuniqueAgent
(tag: string)
web/e2e/chat-phone-sheet.spec.ts:22
↓ 1 callersFunctionuniqueAgent
(tag: string)
web/e2e/chat-shell.spec.ts:25
↓ 1 callersFunctionuniqueKey
uniqueKey returns name, or name#n for the first n that is free in out. The key is at most maxMapKeyBytes, so the probe is cheap.
internal/logging/scrub.go:269
↓ 1 callersMethoduniqueWorkspaceSlug
uniqueWorkspaceSlug probes on the caller's executor for the same reason createWorkspaceQ does: inside an import it must see that transaction's own unc
internal/store/workspaces.go:255
↓ 1 callersFunctionunitRoots
(u: Unit)
web/src/test/identityFenceGate.ts:457
↓ 1 callersFunctionunknown
()
cmd/pad/bug3476_import_watch_test.go:93
↓ 1 callersFunctionunloadLosesEdits
(input: { rawDirty: boolean; unsentLocalEdits: boolean; recovery: OfflineRecovery | null; })
web/src/lib/collab/offlineEdits.ts:33
↓ 1 callersFunctionunnamedFileInputs
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:84
↓ 1 callersFunctionunnamedPlaceholderFields
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:75
↓ 1 callersFunctionunnamedSelects
(file: string)
web/src/lib/a11y/selectsHaveNames.test.ts:74
↓ 1 callersFunctionunparentedConfirmedRestricted
(metadataKnownFalse: boolean, pendingResync: boolean)
web/src/lib/collections/unparentedFilter.ts:90
↓ 1 callersFunctionunquotedEnd
unquotedEnd is the end of a bare value: up to whitespace or a delimiter.
internal/logging/scrub.go:415
↓ 1 callersMethodunread
(ctx context.Context, agent string)
cmd/pad/cmd_watch_chat.go:77
↓ 1 callersFunctionunreadTotal
(request: APIRequestContext, f: Fixture)
web/e2e/chat-mobile-nav.spec.ts:33
↓ 1 callersFunctionunremindCmd
()
cmd/pad/cmd_reminder.go:235
↓ 1 callersFunctionunresolved
(ref: string)
web/src/lib/stores/chatThread.svelte.test.ts:1636
↓ 1 callersFunctionunsplitCmd
()
cmd/pad/lineage.go:78
↓ 1 callersFunctionunstampedFor
(id: string)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:1268
↓ 1 callersFunctionunstarCmd
()
cmd/pad/cmd_item.go:4481
↓ 1 callersFunctionunsupersedeCmd
()
cmd/pad/lineage.go:94
↓ 1 callersFunctionunsupportedKey
(param, key string)
internal/models/view_calendar.go:56
↓ 1 callersFunctionuntouched
(strip: Element)
web/src/lib/components/connectWorkspaceModalTabs.svelte.test.ts:94
↓ 1 callersFunctionunwiredChatAnchors
(text: string)
web/src/test/linkCensusScan.ts:50
↓ 1 callersFunctionupdateArgumentsInBody
(body: string, args: PlaybookArgument[])
web/src/lib/playbooks/arguments.ts:186
↓ 1 callersFunctionupdateAutoScroll
(clientY: number)
web/src/lib/components/editor/block-drag-handle.ts:700
↓ 1 callersFunctionupdateCalls
The argument text of each `.update(` call on api.items, by paren matching.
web/src/lib/components/items/itemDetailContentWritesRefusePending.test.ts:18
↓ 1 callersFunctionupdateFieldBody
()
web/src/lib/components/items/itemDetailSendsSeqToken.test.ts:19
↓ 1 callersFunctionupdateIsUnguarded
updateIsUnguarded reports whether an update carries neither a version token nor the deliberate-overwrite opt-out.
internal/server/content_write_guard.go:68
↓ 1 callersMethodupdateItemWithParentLinkOnce
( id string, input models.ItemUpdate, precheck func(tx *sql.Tx, existing *models.Item) error, parentLink *
internal/store/items.go:2856
↓ 1 callersMethodupdateLinksInTx
(tx *sql.Tx, workspaceID, oldTitle, newTitle string)
internal/store/documents.go:637
↓ 1 callersFunctionupdateWarning
()
web/src/lib/components/editor/extensions/htmlBlock.ts:300
↓ 1 callersFunctionupdateWriteKind
updateWriteKind classifies an item update. An update that only appends (implementation notes, decisions, a comment) or carries nothing a later write c
internal/server/content_write_guard.go:53
↓ 1 callersFunctionupgrade
(db)
web/src/test/idbHarness.ts:67
↓ 1 callersFunctionupgradeConflictErr
(err error)
internal/server/handlers_apps_upgrade.go:358
↓ 1 callersFunctionupgradePlanFrom
upgradePlanFrom turns a re-derived diff into what the store writes.
internal/server/handlers_apps_upgrade.go:269
↓ 1 callersFunctionupgradePreview
(diff: unknown[])
web/src/lib/components/settings/apps/AppsTab.svelte.test.ts:279
↓ 1 callersFunctionupgradeSortedKeys
(m map[string]V)
internal/server/app_upgrade_diff.go:328
↓ 1 callersFunctionupload
* Upload a file via multipart POST. Returns the persisted * attachment metadata + the canonical download URL. * * @param workspaceSlug works
web/src/lib/api/client.ts:3494
↓ 1 callersFunctionuploadAsGuest
uploadAsGuest drives handleUploadAttachment directly with a synthesized request context (workspace + guest user + "guest" role), mirroring the direct-
internal/server/handlers_attachments_test.go:135
↓ 1 callersFunctionuploadFailedMessage
(filename: string, message: string)
web/src/lib/components/editor/attachment-upload.ts:117
↓ 1 callersFunctionuploadFallbackFileTo
* Upload a NON-image bound to `itemId`, of a type NO RENDERER CLAIMS — so the * surface it opens is the no-bytes fallback arm. * * WAS `text/plain`
web/e2e/item-attachment-strip.spec.ts:99
↓ 1 callersMethoduploadInFlight
uploadInFlight reports whether any upload is currently materializing a blob with the given hash. The orphan GC consults this before deleting a blob —
internal/server/server.go:1358
↓ 1 callersFunctionuploadIntoTextarea
( files: File[], textarea: HTMLTextAreaElement, wsSlug: string, handle: TextareaUploadHandle )
web/src/lib/utils/commentAttachments.ts:115
↓ 1 callersFunctionuploadTo
Upload a PNG bound to `itemId`, so it lands in that item's strip.
web/e2e/item-attachment-strip.spec.ts:61
↓ 1 callersFunctionuploaded
(id: string)
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:1607
↓ 1 callersFunctionupsert
* Single-item upsert. Used by SSE handlers and the optimistic * post-mutation path (e.g. after `api.items.update` returns a full * `Item`, the cal
web/src/lib/stores/localIndex.svelte.ts:2113
↓ 1 callersFunctionupstreamHintFor
upstreamHintFor generates the actionable hint for ErrUpstreamError. 5xx responses are usually transient; the hint encodes that bias.
internal/mcp/errors.go:1739
↓ 1 callersFunctionurl
(id: string)
web/src/lib/components/editor/attachment-metadata.test.ts:16
↓ 1 callersFunctionurlForScheme
(v: string)
web/src/routes/s/[token]/task3798ShareXssPayloads.svelte.test.ts:84
↓ 1 callersFunctionurlKey
()
web/src/lib/stores/chatSurface.svelte.ts:554
↓ 1 callersMethodurlText
urlText is text for a url-named value: reduced to its host, out of the same byte budget as any other string.
internal/logging/scrub.go:651
↓ 1 callersFunctionusable
True only for a measurement that can be divided by.
web/src/lib/attachments/zoom.ts:182
↓ 1 callersFunctionusage
(stage: Record<string, number>, note = 0)
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:76
↓ 1 callersFunctionusage
(used: number)
web/src/lib/components/settings/StorageTab.svelte.test.ts:86
↓ 1 callersFunctionusePad
($: any)
plugin/tests/seen.test.ts:87
↓ 1 callersFunctionuseViewportFit
()
web/src/lib/chat/viewportOwner.svelte.ts:9
↓ 1 callersFunctionusedWords
usedWords is the set of values for key the given writes carry, plus what the blank template seeded: the options must end EXACTLY there.
internal/server/bug3446_blank_library_options_test.go:101
↓ 1 callersFunctionuser
(id: string)
web/src/lib/stores/authIdentityChange.svelte.test.ts:19
↓ 1 callersFunctionuser
(id: string)
web/src/lib/stores/authIdentityEpoch.svelte.test.ts:18
↓ 1 callersMethoduser
(name string)
internal/server/task3939b_push_fixture_test.go:122
↓ 1 callersFunctionuserCells
The user column is the second cell of each body row.
web/src/routes/(console)/settings/admin/auditLogAgentName.svelte.test.ts:67
↓ 1 callersFunctionuserIDKeyPrefix
(userID string)
internal/server/session_presence_keys_test.go:17
↓ 1 callersFunctionuserId
(account: Account)
web/e2e/workspace-tabs.spec.ts:547
↓ 1 callersFunctionusernameCandidate
usernameCandidate is base for n == 1, else base-n, with base cut short so the result stays within maxUsernameLen.
internal/store/account_claim.go:186
↓ 1 callersFunctionusesPad
(e)
plugin/hooks/register.js:1117
↓ 1 callersFunctionutf16Len
utf16Len is the length JavaScript reports for s.
internal/cli/activity_changes.go:67
↓ 1 callersFunctionutf8Bytes
(s: string)
plugin/tests/seen.test.ts:13
↓ 1 callersMethodvalid
()
internal/server/authz_cross_workspace.go:382
↓ 1 callersFunctionvalidArgName
validArgName returns true if s looks like an ordinary identifier-style arg name. Used to reject embedded flag fragments and prose that the regex would
internal/cmdhelp/json.go:368
↓ 1 callersFunctionvalidBzip2Stream
validBzip2Stream recognises a bzip2 stream by "BZh" and its block-size digit. It does NOT decompress. An earlier version decoded through the standard
internal/attachments/mime_magic.go:162
↓ 1 callersFunctionvalidCFBHeader
validCFBHeader recognises a Compound File Binary container by its eight-byte signature (MS-CFB §2.2). It is the container legacy Office wrote .doc, .x
internal/attachments/mime_magic.go:390
↓ 1 callersFunctionvalidCalendarFeedToken
(token string)
internal/store/calendar_feeds.go:35
↓ 1 callersFunctionvalidCursorItemID
validCursorItemID accepts the store's ids (UUIDs) and nothing that could not be one: 1 to 64 characters of letters, digits and hyphens.
internal/needs/cursor.go:107
↓ 1 callersFunctionvalidFLACStream
validFLACStream recognises a native FLAC stream by its four-byte "fLaC" marker (RFC 9639 §8.1). Four bytes is a wider signature than the stdlib uses
internal/attachments/mime_magic.go:152
↓ 1 callersFunctionvalidImportBundle
validImportBundle is failingImportBundle with the slug collision removed and nothing else changed, so a retry differs from the failed attempt in exact
internal/store/import_workspace_husk_test.go:66
↓ 1 callersFunctionvalidRTFStream
validRTFStream recognises Rich Text Format by its opening "{\rtf1" (the RTF specification's required version-1 header). Unlike the CFB header above t
internal/attachments/mime_magic.go:403
↓ 1 callersFunctionvalidSevenZipHeader
validSevenZipHeader recognises a 7z archive by its six-byte signature. There was a start-header CRC check here. It is gone with the rest of the struc
internal/attachments/mime_magic.go:141
↓ 1 callersFunctionvalidSubscriptionID
--- Admin Plan Endpoint (TASK-431) --- validSubscriptionID accepts "" or a Stripe-shaped id (sub_...): letters, digits, '_' and '-', at most 255 bytes
internal/server/handlers_cloud.go:553
↓ 1 callersMethodvalidate
()
internal/appmanifest/manifest.go:171
↓ 1 callersMethodvalidateAssignmentScope
validateAssignmentScope checks that the assigned user and agent role belong to the same workspace as the item. This prevents cross-workspace assignmen
internal/store/items.go:47
↓ 1 callersFunctionvalidateBounds
validateBounds checks the RRule's options are within the boundaries defined in RRFC 5545. This is useful to ensure that the RRule can even have any ti
internal/schedule/internal/rrule/rrule.go:274
↓ 1 callersFunctionvalidateCarriedRoles
(r *models.ScheduleRolesExport)
internal/store/schedule_carry_v2.go:18
↓ 1 callersMethodvalidateConsentCSRFToken
validateConsentCSRFToken implements the form-bound double-submit pattern. Reads the __Host-pad_csrf cookie, reads the csrf_token form field, compares
internal/server/handlers_oauth.go:2403
↓ 1 callersFunctionvalidateExample
(path string, idx int, ex Example, doc *Document, root *cobra.Command)
internal/cmdhelp/example_validation.go:44
← previousnext →15,001–15,100 of 28,840, ranked by callers