MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionstopAutoScroll
()
web/src/lib/components/editor/block-drag-handle.ts:726
↓ 3 callersFunctionstopObserver
()
web/src/lib/a11y/viewerBackdrop.ts:170
↓ 3 callersFunctionstopPolling
()
web/src/lib/services/sse.svelte.ts:185
↓ 3 callersMethodstopPushDispatch
stopPushDispatch signals the loop to exit. Safe when it never started.
internal/server/push_dispatch.go:300
↓ 3 callersMethodstopRedisSubscription
stopRedisSubscription cancels and cleans up the Redis subscription for a workspace. Must be called with b.mu held.
internal/events/redis_bus.go:2086
↓ 3 callersMethodstopReminderTick
stopReminderTick signals the loop to exit. Safe when it never started.
internal/server/reminder_tick.go:123
↓ 3 callersMethodstopTokenReaper
stopTokenReaper signals the loop to exit. Called from Server.Stop(). Safe to call when the loop never started.
internal/server/token_reaper.go:85
↓ 3 callersFunctionstopWatchdog
()
web/src/lib/services/sse.svelte.ts:257
↓ 3 callersFunctionstorage
()
web/src/lib/billing/upgradeResume.ts:19
↓ 3 callersFunctionstoredCustomer
(t *testing.T, srv *Server, userID string)
internal/server/task3549_stripe_customer_cas_test.go:41
↓ 3 callersFunctionstoredFields
(t *testing.T, srv *Server, slug, itemSlug string)
internal/server/handlers_items_refuse_undeclared_test.go:39
↓ 3 callersFunctionstrToTimeInLoc
(str string, loc *time.Location)
internal/schedule/internal/rrule/str.go:26
↓ 3 callersFunctionstringifyFieldValue
stringifyFieldValue renders one `fields` value into the string form a `field: ["key=value"]` entry carries. Scalars only — nested structures and nulls
internal/mcp/catalog_item_fields.go:987
↓ 3 callersFunctionstrip
(page: Page)
web/e2e/task-2244-mobile-touch-targets.spec.ts:17
↓ 3 callersFunctionstripPointer
(target: Element, type: string, x: number, y = 100, time = 0, pointerType = 'touch', pointerId = 1)
web/src/test/weekStripGesture.ts:4
↓ 3 callersFunctionstripeCancelledBusyMessage
stripeCancelledBusyMessage words the 503 for an account deletion that hit a database bound AFTER Stripe was cancelled (TASK-4278). unknown is true whe
internal/server/handlers_account.go:799
↓ 3 callersMethodstructuralGraph
structuralGraph is every stored link, live or not: the footprint admission (CheckLink) must hold whatever is live when a move later runs.
internal/store/commitment_links.go:474
↓ 3 callersFunctionstructuredTimelineEntries
structuredTimelineEntries turns the item's implementation notes and decision-log entries into timeline entries, applying the same cursor predicate the
internal/server/handlers_timeline.go:331
↓ 3 callersFunctionstubLookup
(t *testing.T, answers map[string]string)
internal/urlimport/bug3358_address_policy_test.go:36
↓ 3 callersFunctionstubWebhookLookup
(t *testing.T, fn func(host string) ([]net.IP, error))
internal/webhooks/bug3661_delivery_classification_test.go:16
↓ 3 callersMethodsubscribeAndReplay
subscribeAndReplay is the single body behind all three Subscribe* entry points, so none of them can drift in how it establishes a subscription. IT SP
internal/events/redis_bus.go:1033
↓ 3 callersFunctionsummarizeKeys
summarizeKeys / summarizeMessages render at most a handful of caller-supplied strings, each truncated, for an error message. The request body is cappe
internal/server/handlers_items_copy_preflight.go:1629
↓ 3 callersFunctionsummarizeMessages
(msgs []string)
internal/server/handlers_items_copy_preflight.go:1631
↓ 3 callersFunctionsurfaceKey
()
web/src/lib/stores/chatSurface.svelte.ts:264
↓ 3 callersFunctionsurfacedAttentionSet
surfacedAttentionSet is the attention set as it shipped before TASK-4643: needs_human_decision surfaced at 0.7. No production set surfaces it now, but
internal/decision/attention_test.go:137
↓ 3 callersFunctionsweepSeed
BUG-3301: SweepExpiredOAuthRows deletes exactly the rows below each table's cutoff, on both dialects, in bounded batches.
internal/store/oauth_sweep_test.go:12
↓ 3 callersFunctionsweepSignatures
(t *testing.T, s *Store, table string)
internal/store/oauth_sweep_test.go:32
↓ 3 callersFunctionswipeStrip
(target: Element, dx = -80, dy = 0, duration = 300, start = 200, pointerType = 'touch')
web/src/test/weekStripGesture.ts:12
↓ 3 callersFunctionsymlinkedCredentials
(t *testing.T, targetDir string, seed bool, mode os.FileMode)
internal/cli/credentials_bug3648_test.go:339
↓ 3 callersFunctiont
(type: string, clientY: number)
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:262
↓ 3 callersFunctiont4137NoSession
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task4137_pkce_twofactor_test.go:99
↓ 3 callersFunctiont4590MoveSnooze
t4590MoveSnooze moves the outstanding occurrence to D1, then snoozes it to S.
internal/store/task4590_move_snooze_test.go:41
↓ 3 callersFunctiontab
(page: Page, slug: string)
web/e2e/workspace-tabs.spec.ts:108
↓ 3 callersFunctiontabRow
(t *testing.T, s *Store, userID, wsID string)
internal/store/workspace_tabs_test.go:52
↓ 3 callersMethodtake
()
internal/server/task2308_mcp_scope_test.go:34
↓ 3 callersMethodtake
Take a ticket for a write about to be sent.
web/src/lib/items/fieldWriteOrder.ts:63
↓ 3 callersFunctiontask3392SetKind
task3392SetKind flips a row's kind by SQL. Credentials are minted for a human row and the row then becomes a bot, which is how a test gets a bot that
internal/store/task3392_bot_principal_test.go:61
↓ 3 callersFunctiontask3408FixtureIn
(t *testing.T, f task3394Fix)
internal/store/task3408_delivery_test.go:31
↓ 3 callersFunctiontask3539Workspace
(t *testing.T, srv *Server, name string)
internal/server/task3539_schema_uniqueness_test.go:35
↓ 3 callersFunctiontask3867ApproveCLI
(t *testing.T, e *tokenAuthEnv)
internal/server/task3867_token_access_test.go:699
↓ 3 callersFunctiontask3867Send
(e *tokenAuthEnv)
internal/server/task3867_token_access_test.go:166
↓ 3 callersFunctiontask4602Status
task4602Status returns the raw status body, so an absent key is visible.
internal/server/task4602_step_up_reason_test.go:21
↓ 3 callersFunctiontask4693Ago
(d time.Duration)
internal/server/handlers_tokens_stepup_test.go:76
↓ 3 callersFunctiontask4693SpareScopes
task4693SpareScopes sets the spare key's scopes, or reads them when set is "".
internal/server/handlers_tokens_stepup_test.go:37
↓ 3 callersFunctiontask4699Patch
TASK-4699: users.day_start_minute over the API. The caller's own setting, "HH:MM" or null on /auth/me and the session payload, written only through PA
internal/server/task4699_day_start_test.go:13
↓ 3 callersFunctiontask4699Values
task4699Values reads day_start from GET /auth/me and from the session payload, failing when either omits the key.
internal/server/task4699_day_start_test.go:22
↓ 3 callersFunctiontask4918Bootstrap
(t *testing.T, s *Server, wsSlug string)
internal/server/task4918_template_start_test.go:120
↓ 3 callersFunctiontask4918Item
(t *testing.T, s *Store, wsID, coll, title string)
internal/store/task4918_seed_refs_test.go:31
↓ 3 callersFunctiontask4918Template
TASK-4918: a template seed's {{ref:<key>}} becomes the ref of the item the keyed seed made (or already had), and a ref-bearing seed is no built-in.
internal/store/task4918_seed_refs_test.go:16
↓ 3 callersFunctiontemplatePlaybook
(name, key string)
internal/collections/templates_playbooks.go:81
↓ 3 callersFunctiontestPIDNamespace
testPIDNamespace is this test process's PID namespace inode, for stamping hand-written registry rows as same-namespace rows (BUG-4090). Without the st
cmd/pad/pidns_linux_test.go:17
↓ 3 callersFunctiontestReminderMigrationLifecycle
(t *testing.T, state string)
internal/store/reminder_commitment_migration_test.go:77
↓ 3 callersFunctiontestSQLiteFileURI
(t *testing.T, path, rawQuery string)
internal/store/migration_guard_test.go:615
↓ 3 callersFunctiontestStamp
testStamp is the marker line, computed independently of the code under test: sha256 over the body with CRLF made LF and trailing newlines dropped.
cmd/pad/bug3466_skill_overwrite_test.go:56
↓ 3 callersFunctiontext
(x: Node)
web/src/lib/eachKeyCensus.test.ts:67
↓ 3 callersFunctiontimelineFixture
Regression coverage for BUG-1086. The timeline handler previously seeded `beforeID` with the literal byte "\xff" to act as a sentinel that "sorts aft
internal/store/timeline_pagination_test.go:27
↓ 3 callersFunctiontimelineRaw
BUG-2774. `before_id` went from the query string into the cursor predicate unchecked. Postgres refuses a text parameter that carries a NUL, and one th
internal/server/handlers_timeline_cursor_validation_test.go:32
↓ 3 callersFunctiontoAppAttachment
(a *models.Attachment)
internal/appstore/attachments.go:69
↓ 3 callersFunctiontoItemVersionSummaries
toItemVersionSummaries is the summary projection, which stdio MCP's pad_item.history returns as it stands.
cmd/pad/cmd_item.go:1796
↓ 3 callersFunctiontoPyWeekday
Python: MO-SU: 0 - 6 Golang: SU-SAT 0 - 6
internal/schedule/internal/rrule/util.go:28
↓ 3 callersFunctiontokenLive
(srv *Server, tok string)
internal/server/task3397_lifecycle_test.go:32
↓ 3 callersFunctiontokenRevokeCmd
()
cmd/pad/cmd_token.go:252
↓ 3 callersFunctiontokyoSource
tokyoSource has resolved the Tokyo 29th and is waiting for the 30th. Its assignee is not a member of B, so B reads the schedule in the copier's LA zon
internal/store/schedule_copy_r3_test.go:34
↓ 3 callersFunctiontools
(scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:4211
↓ 3 callersFunctiontotpEnrolStepUp
totpEnrolStepUp runs only after the server answered step_up_required, so it always asks: the server's refusal outranks an active_until read against th
cmd/pad/cmd_auth_2fa.go:180
↓ 3 callersFunctiontouch4988Value
(t *testing.T, srv *Server, token string)
internal/server/task4988_touch_edit_test.go:24
↓ 3 callersMethodtrackSubscription
trackSubscription records the channel's workspace and bumps the gauges, so every successful subscribe path does the same bookkeeping.
internal/metrics/instrumented_bus.go:79
↓ 3 callersFunctiontranslateResourceToAudience
===================================================================== oauth/authorize — start auth-code flow =========================================
internal/server/handlers_oauth.go:557
↓ 3 callersMethodtryMarkRead
* Tell the server what was DISPLAYED: the newest confirmed seq in the window, * and only while the bottom sentinel is in view on a visible tab and t
web/src/lib/stores/chatThread.svelte.ts:593
↓ 3 callersMethodtryUpdate
tryUpdate applies a PATCH to the fixture's schedule and returns the store's answer.
internal/store/schedule_bounds_test.go:225
↓ 3 callersFunctiontutorialsResponse
(status int, ctype, body string)
internal/server/task3452_tutorials_test.go:24
↓ 3 callersFunctiontz4101StableDay
Retry the request once across midnight, then assert only a stable day's result.
internal/server/task4101_timezone_test.go:431
↓ 3 callersFunctionu11Prepare
u11Prepare adds to an app API fixture: the install's manifest (title and base_url), one item action on the companion collection, and a viewer who is a
internal/server/task3414_item_actions_test.go:35
↓ 3 callersFunctionuaBoundSession
uaBoundSession creates a user + a session bound to a fixed client IP and User-Agent, returning the raw session token. Tests drive requests through doG
internal/server/middleware_session_ua_test.go:15
↓ 3 callersFunctionuncategorizedWrite
(field: FieldDef | undefined | null)
web/src/lib/collections/laneDrafts.ts:58
↓ 3 callersFunctionunescapeWikiBody
(s: string)
web/src/lib/utils/markdown.ts:1176
↓ 3 callersFunctionunfillableOnlyPreflight
unfillableOnlyPreflight is a refusal whose ONLY unresolved field is a relation nobody can supply (IDEA-2899).
cmd/pad/item_copy_test.go:1885
↓ 3 callersFunctionuniq
(deps []Dep)
cmd/depages/main.go:267
↓ 3 callersFunctionuniqueBy
(list: readonly T[], key: (entry: T) => K)
web/src/lib/utils/unique.ts:9
↓ 3 callersFunctionuniqueNonEmpty
(values []string)
internal/cli/detect.go:367
↓ 3 callersMethoduniqueSlug
uniqueSlug generates a unique slug within a scope by appending -2, -3, etc.
internal/store/store.go:2049
↓ 3 callersFunctionuniqueStrings
(list: readonly string[])
web/src/lib/utils/unique.ts:22
↓ 3 callersMethoduniqueUsernameTx
uniqueUsernameTx returns the first of base, base-2, base-3, ... that passes the username rules (reserved names included) and that no OTHER account hol
internal/store/account_claim.go:202
↓ 3 callersFunctionunitLabel
(src: AstSource, u: Unit)
web/src/test/identityFenceGate.ts:271
↓ 3 callersFunctionunnamed
(file: string, open: RegExp, needsName: (attrs: string) => boolean)
web/src/lib/a11y/selectsHaveNames.test.ts:54
↓ 3 callersFunctionunreachableKey
(ws: string, userId: string | null)
web/src/lib/stores/localIndex.svelte.ts:301
↓ 3 callersFunctionunstampedReleaseTags
unstampedReleaseTags lists the release tags that wrote skill files without a stamp: every v* tag that has a skill but not internal/cli/skillstamp.go.
internal/cli/skill_legacy_hashes_gen_test.go:71
↓ 3 callersMethodunsubscribeLocked
unsubscribeLocked is Unsubscribe's body, split out so a caller that is already inside a critical section can deregister a subscriber without releasing
internal/events/redis_bus.go:1344
↓ 3 callersMethodunsubscribeSecret
unsubscribeSecret derives a stable HMAC key from the Maileroo API key. This avoids needing a separate secret config — if the API key changes, old unsu
internal/server/handlers_unsubscribe.go:18
↓ 3 callersFunctionuntil
* A BroadcastChannel message is delivered a few macrotasks later, and how many * is not fixed — so wait for a WITNESS of delivery rather than a tick
web/src/lib/services/sseSyncSpread.svelte.test.ts:106
↓ 3 callersMethoduntilSpent
untilSpent says the rule's UNTIL lies wholly before q, so the rule can add nothing at or after it (TASK-4100). The wall-clock test carries a wallMargi
internal/schedule/engine.go:84
↓ 3 callersMethodupdateAssignee
(t *testing.T, userID string)
internal/store/commitment_c1_test.go:447
↓ 3 callersMethodupdateAt
updateAt is update at a chosen clock.
internal/store/schedules_test.go:63
↓ 3 callersMethodupdateFields
()
internal/collections/builtin.go:79
↓ 3 callersMethodupdateItem
updateItem is handleUpdateItem, or a built-in update when b is set.
internal/server/handlers_items.go:1538
↓ 3 callersFunctionuploadAsGuestChannels
uploadAsGuestChannels is uploadAsGuest with independent control over the two item_id input channels: queryItemID rides the query string (the web clien
internal/server/handlers_attachments_test.go:143
↓ 3 callersMethodupsertScheduleOverrideStoredTx
(tx *sql.Tx, id string, o models.ScheduleOverrideExport)
internal/store/schedule_overrides.go:16
↓ 3 callersMethodusage
(t *testing.T)
internal/server/task2188_field_usage_test.go:62
↓ 3 callersFunctionusePad
($: any, command = 'pad bootstrap --format json')
plugin/tests/watch.test.ts:82
↓ 3 callersMethoduser
(t *testing.T, name, role string)
internal/server/task3615_catch_up_test.go:58
← previousnext →6,401–6,500 of 31,685, ranked by callers