MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/bug-3036-item-snapshot-order.spec.ts:27
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/pane-collection-migration-race.spec.ts:43
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/task-2244-mobile-touch-targets.spec.ts:162
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/pane-async-race.spec.ts:122
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/bug-3143-tag-saver-occ.spec.ts:23
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/selection-comment-peek.spec.ts:24
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/bug-3158-landscape-touch-drag.spec.ts:31
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/pane-content-link-anchors.spec.ts:57
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/bug-3115-refused-title-keeps-text.spec.ts:32
↓ 3 callersFunctionauthHeaders
(fixture: SuiteFixture)
web/e2e/lib/demo-seed.ts:26
↓ 3 callersMethodauthorizeCrossWorkspace
(r *http.Request, workspaceSlugOrID string, scope CrossWorkspaceScope, needEdit bool)
internal/server/authz_cross_workspace.go:521
↓ 3 callersFunctionautosaveEntry
TestCollapseAutosaveBursts guards the BUG-1612 clutter fix: the web editor flushes a collab-snapshot version every ~5s while typing, so an uninterrupt
internal/server/handlers_timeline_collapse_test.go:14
↓ 3 callersMethodawaitExitFor
(d time.Duration)
internal/materialize/supervisor.go:487
↓ 3 callersFunctionb4710Resolve
(t *testing.T, c *schedCopy, in ResolveInput, now string)
internal/store/bug4710_move_carry_test.go:40
↓ 3 callersFunctionb4710Source
b4710Source creates the source schedule at created and moves its outstanding occurrence to D1 at b4710Moved. One older `done` row is history the move
internal/store/bug4710_move_carry_test.go:24
↓ 3 callersFunctionbackdateCLIAuthExpiry
(t *testing.T, srv *Server, code string)
internal/server/bug4836_cli_auth_expired_approval_test.go:34
↓ 3 callersMethodbackfillBidiAttachmentFilenames
backfillBidiAttachmentFilenames takes the rename as a parameter so tests can drive the refusal and a concurrent rename; production passes ServedFilena
internal/store/attachment_bidi_backfill.go:83
↓ 3 callersMethodbackfillUsernames
backfillUsernames generates usernames for existing users that don't have one. Idempotent: skips users who already have a non-empty username.
internal/store/users.go:2052
↓ 3 callersMethodbackfillWorkspaceOwners
backfillWorkspaceOwners ensures every workspace has at least one owner. For workspaces with no members, the first admin user is added as owner. This h
internal/store/workspace_members.go:1656
↓ 3 callersFunctionbacklinksArgs
BUG-4026: `pad item backlinks --format json` without `--limit` now pages to completion, so MCP's `pad_item` `backlinks` action must inject a default l
internal/mcp/bug4026_backlinks_bounds_test.go:14
↓ 3 callersFunctionbacklinksCmd
backlinksCmd serves `pad item backlinks <ref>` — the CLI surface for PLAN-1593's reverse `[[...]]` index. Lists items that contain a `[[<ref>]]` refer
cmd/pad/cmd_item.go:3728
↓ 3 callersMethodbearerHeaders
()
internal/server/handlers_comments_bearer_gate_test.go:32
↓ 3 callersFunctionbefore
(next Next, dt time.Time, inc bool)
internal/schedule/internal/rrule/util.go:160
↓ 3 callersMethodbegin
* Take a token WITHOUT superseding outstanding ones. For the view fence, and * for anything that must coexist with its siblings — two concurrent del
web/src/lib/attachments/viewFence.ts:138
↓ 3 callersMethodbeginMoveOf
beginMoveOf is a cross-workspace move of item i that has not committed: it holds the item's schedule row lock and has archived the item, ended the sch
internal/store/commitment_links_pg_test.go:306
↓ 3 callersMethodbeginWorkspaceMint
beginWorkspaceMint runs every precondition that does not need the body, and returns false having already written the response when one refuses. Call
internal/server/workspace_mint.go:59
↓ 3 callersFunctionbetween
(next Next, after, before time.Time, inc bool)
internal/schedule/internal/rrule/util.go:147
↓ 3 callersMethodbindOAuthIdentityTx
bindOAuthIdentityTx binds `subject` to userID for provider, or confirms it is already. The caller holds the account lock. A concurrent bind of the sam
internal/store/oauth_identities.go:86
↓ 3 callersFunctionboardCols
(t *testing.T, r *CallToolResult)
internal/mcp/board_test.go:87
↓ 3 callersFunctionbodyOf
(t *testing.T, c recordedCall)
cmd/pad/task4356_remind_test.go:213
↓ 3 callersMethodbreakStoredRule
breakStoredRule makes the stored rule uncompilable by writing the row directly, the way a rule that aged out of the grammar would look.
internal/store/schedules_test.go:389
↓ 3 callersFunctionbtn
(container: HTMLElement, label: RegExp)
web/src/lib/components/layout/createWorkspaceModalImportProgress.svelte.test.ts:55
↓ 3 callersFunctionbtoa
btoa: every code unit must be 0-255.
internal/materialize/globals.go:97
↓ 3 callersFunctionbuf
(rel: string)
web/src/lib/attachments/pdfjsBuildOutput.test.ts:42
↓ 3 callersFunctionbug2103DrainForForceRefresh
bug2103DrainForForceRefresh reads c until it closes or d elapses and reports whether a force_refresh control frame arrived. The initial op_log_cursor
internal/collab/prune_evict_bug2103_test.go:67
↓ 3 callersFunctionbug2685CreateItem
(t *testing.T, srv *Server, ws, coll string, body map[string]interface{})
internal/server/bug2685_grandfathered_reserved_key_test.go:67
↓ 3 callersFunctionbug3163SeededItem
bug3163SeededItem is a task whose stored blob holds notes and decisions, seeded below the write doors.
internal/server/bug3163_reserved_write_doors_test.go:250
↓ 3 callersFunctionbug3202CompareFixture
BUG-3202: field writes now keep a number's literal, so one VALUE can be stored as different TEXT (1e3 and 1000). Every place that compares field value
internal/server/bug3202_semantic_compare_test.go:22
↓ 3 callersFunctionbug3314Get
get returns the body after checking the door answered, so an empty 403 or 404 can never pass as "no leak".
internal/server/bug3314_activity_ip_test.go:81
↓ 3 callersFunctionbug3314Setup
(t *testing.T, srv *Server)
internal/server/bug3314_activity_ip_test.go:31
↓ 3 callersFunctionbug3346Setup
(t *testing.T)
internal/server/bug3346_body_ids_test.go:26
↓ 3 callersFunctionbug3400Refresh
BUG-3400: fosite revokes a reused refresh token's (or code's) whole family BEFORE checking that the token belongs to the requesting client. Pad's stor
internal/server/bug3400_reuse_ownership_test.go:21
↓ 3 callersFunctionbug3659OwnerAndWorkspace
(t *testing.T, srv *Server)
internal/server/bug3659_account_export_deadline_test.go:96
↓ 3 callersFunctionbug3678Refresh
BUG-3678, through fosite's real token endpoint: a revoke or a second refresh that lands after fosite validated a refresh token and before it rotated i
internal/server/bug3678_refresh_window_test.go:14
↓ 3 callersFunctionbug3683AssertError
(t *testing.T, rr *httptest.ResponseRecorder, code, message string)
internal/server/bug3683_password_limit_test.go:21
↓ 3 callersFunctionbug3691TwoArtifactDerived
(f task3397Fix)
internal/store/bug3691_app_plan_limit_test.go:47
↓ 3 callersFunctionbug3789Walk
walk follows next-offset from offset 0, asking for pageSize rows a page.
internal/server/bug3789_bounded_lists_test.go:41
↓ 3 callersFunctionbug3790Check
BUG-3790: pad_item starred never pages. Both transports ask for one row past the list cap, and a result that had the extra row comes back trimmed to t
internal/mcp/bug3790_starred_truncation_test.go:19
↓ 3 callersFunctionbug3791Walk
bug3791Walk pages from since to the end, calling between after each page that has a next one.
internal/server/bug3791_changes_cursor_test.go:41
↓ 3 callersFunctionbug3811ActiveAdmins
(t *testing.T, s *Store)
internal/store/bug3811_last_admin_race_test.go:26
↓ 3 callersFunctionbug3812Collection
(t *testing.T, srv *Server, slug string)
internal/server/bug3812_unique_race_test.go:18
↓ 3 callersFunctionbug3812Holders
holders counts the live items whose code is value.
internal/server/bug3812_unique_race_test.go:34
↓ 3 callersFunctionbug3812Race
race runs fn on bug3812Writers goroutines released together, and answers their status codes.
internal/server/bug3812_unique_race_test.go:47
↓ 3 callersFunctionbug3839Panics
(f func())
internal/diff/bug3839_no_panic_test.go:51
↓ 3 callersFunctionbug3864Check
(t *testing.T, env mcp.ErrorEnvelope, want bug3864Want)
cmd/pad/bug3864_permission_reasons_test.go:226
↓ 3 callersFunctionbug3864Same
bug3864Same: one refusal, one answer. The message may differ (the remote dispatcher refuses some writes before the server sees them), but the code, de
cmd/pad/bug3864_permission_reasons_test.go:272
↓ 3 callersFunctionbug3864Stdio
(t *testing.T, f *capFixture, token string, op bug3864Op)
cmd/pad/bug3864_permission_reasons_test.go:197
↓ 3 callersFunctionbug3864Token
(t *testing.T, f *capFixture, u *models.User, scopes string)
cmd/pad/bug3864_permission_reasons_test.go:142
↓ 3 callersFunctionbug3864User
(t *testing.T, f *capFixture, email string, unverified bool)
cmd/pad/bug3864_permission_reasons_test.go:133
↓ 3 callersFunctionbug3870PreviewCanGrant
BUG-3870: an invitee who is already a member, holding an invitation whose inviter can no longer grant it (BUG-3770, BUG-3634), is already in: the acce
internal/server/bug3870_member_dead_invitation_test.go:18
↓ 3 callersFunctionbug4019Sessions
(t *testing.T, srv *Server, userID string)
internal/server/bug4019_totp_lazy_decrypt_test.go:66
↓ 3 callersFunctionbug4082Input
(t *testing.T, edits string)
internal/mcp/bug4082_line_hint_test.go:53
↓ 3 callersFunctionbug4644Active
bug4644Active reports whether token introspects active for bearer.
internal/server/bug4644_oauth_form_cap_test.go:96
↓ 3 callersFunctionbug4644Multipart
bug4644Multipart encodes form as multipart/form-data, padded with a field so the body is at least minSize bytes (0 for no padding).
internal/server/bug4644_oauth_form_cap_test.go:73
↓ 3 callersFunctionbug4644Padded
bug4644Padded encodes form and appends a padding field so the body is exactly size bytes.
internal/server/bug4644_oauth_form_cap_test.go:43
↓ 3 callersFunctionbug4644TokenForm
(clientID, code, verifier string)
internal/server/bug4644_oauth_form_cap_test.go:108
↓ 3 callersFunctionbug4644WantInvalidClient
bug4644WantInvalidClient asserts a 401 RFC 6749 invalid_client and, when hint is set, that the description carries the handler's own hint (which fosit
internal/server/bug4644_oauth_form_cap_test.go:265
↓ 3 callersFunctionbug4644With
(base, extra url.Values)
internal/server/bug4644_oauth_form_cap_test.go:251
↓ 3 callersFunctionbug4954AssertScrubbed
bug4954AssertScrubbed checks a row survived with no identity, IP, user agent or personal metadata key, and kept its non-personal keys.
internal/store/bug4954_activity_scrub_test.go:60
↓ 3 callersFunctionbug4954AssertUntouched
bug4954AssertUntouched checks a row is exactly as seeded.
internal/store/bug4954_activity_scrub_test.go:82
↓ 3 callersMethodbuildAppPreviewQ
buildAppPreviewQ validates the pack against this workspace and normalizes every artifact exactly as the importer would store it, with every read on q:
internal/server/handlers_apps_install.go:393
↓ 3 callersFunctionbuildHTTPRequest
buildHTTPRequest constructs the in-process request, attaching the user via the exported server.WithCurrentUser helper so the handler chain treats the
internal/mcp/dispatch_http.go:706
↓ 3 callersFunctionbuildMultiPagePdf
(pages: number, pageHeight = 792)
web/e2e/lib/pdf-fixtures.ts:36
↓ 3 callersMethodbuildProvisionRequest
buildProvisionRequest re-normalizes the pending record's STAGED bytes and compares each artifact with what the owner reviewed, first on the pool (a fa
internal/server/handlers_apps_provision.go:150
↓ 3 callersFunctionbuildRRule
(arg ROption)
internal/schedule/internal/rrule/rrule.go:159
↓ 3 callersFunctionbuildRemapWorld
buildRemapWorld makes n items, each with its OWN source id and its own destination clone (an attachments row with no stamp), referenced from the item'
internal/store/attachments_remap_chunk_test.go:113
↓ 3 callersMethodbuildWithCommitment
---- an abandoned blocker item ---- buildWithCommitment is a build item (shipped delivers, discarded abandons) with a commitment of its own.
internal/store/commitment_gates_outcome_test.go:535
↓ 3 callersFunctionbuiltinRegistry
builtinRegistry gathers every built-in: the convention and playbook libraries, every template's seeds, and the onboard seed. One key names one text: t
internal/collections/builtin.go:220
↓ 3 callersFunctionbumpEpoch
(ws: string)
web/src/lib/stores/localSearch.svelte.ts:390
↓ 3 callersFunctionbundleAttachmentTarHeader
bundleAttachmentTarHeader builds the tar.Header for an attachment blob entry.
internal/server/handlers_export_bundle.go:352
↓ 3 callersFunctionbundleTarHeader
bundleTarHeader builds the tar.Header for a bundle entry. Both the tar writer (writeTarFileFrom, streamAttachmentToTar) and the pre-flight entry count
internal/server/handlers_export_bundle.go:342
↓ 3 callersFunctionbundleWithAttachmentOnBeta
bundleWithAttachmentOnBeta exports a workspace holding items Alpha and Beta and one attachment owned by Beta, and returns the tar bundle and the attac
internal/server/bug3357_bundle_ownership_test.go:58
↓ 3 callersFunctionbusyServer
TASK-4278: the database bound's 503 reads as a plain, retryable message with the server's wait, and no write is retried by the client on its own.
internal/cli/task4278_database_busy_test.go:13
↓ 3 callersMethodbySource
bySource reads back every provenance row for one source, newest first. A test-local query rather than a store accessor: the only production read of t
internal/store/item_workspace_moves_test.go:78
↓ 3 callersFunctioncalendarFeedCaller
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:26
↓ 3 callersFunctioncalendarPaging
calendarPaging settles the paging fields once the day cut (nextFrom, partial) and the schedules' time cut are both known. - A set cut offers no next_
internal/server/handlers_calendar.go:418
↓ 3 callersMethodcall
call invokes a bundle function. Callers hold r.mu, except New.
internal/materialize/materialize.go:292
↓ 3 callersMethodcall
call runs a tool and returns its raw JSON-RPC response.
internal/mcp/bug2772_remote_agent_identity_test.go:191
↓ 3 callersMethodcallAs
TASK-1809: several agents commonly share ONE account. A claim with no holder used to default to the account's email, so a second agent's claim matched
internal/server/task1809_lease_agent_default_test.go:21
↓ 3 callersMethodcallBothRaw
callBothRaw drives handleCopyItemPreflight and handleCopyItem over the SAME request bytes, the same context, and the same route params — the only diff
internal/server/handlers_items_copy_parity_test.go:81
↓ 3 callersFunctioncalleeExpr
calleeExpr strips parentheses and generic instantiation from a call's function expression.
internal/appstore/boundary_check_test.go:457
↓ 3 callersFunctioncalleeKey
(src: AstSource, callee: Node)
web/src/test/identityFenceAst.ts:368
↓ 3 callersFunctioncallerDayStartInstant
callerDayStartInstant places a bare date at the CALLER's day start (unset reads 09:00) in the CALLER's account zone, never the recipient's: reading th
internal/server/day_start_place.go:30
↓ 3 callersFunctioncanPreviewAsPdf
(mime: string | null | undefined)
web/src/lib/attachments/display.ts:463
↓ 3 callersFunctioncanResolve
(entry: AgendaEntry)
web/src/lib/calendar/presentation.ts:149
↓ 3 callersFunctioncancel
()
web/src/lib/collab/collabFlush.svelte.ts:233
↓ 3 callersFunctioncanonicalDir
canonicalDir resolves a directory to its real, absolute, cleaned path when it exists (symlinks followed), and to its cleaned absolute spelling otherwi
cmd/pad/cmd_session.go:306
↓ 3 callersFunctioncanonicalJSON
(t *testing.T, s string)
internal/mcp/bug4082_line_hint_test.go:40
↓ 3 callersFunctioncapPlan
BUG-3653: every door that adds attachment bytes to a workspace is charged against the storage cap TASK-3619 enforces at upload, and is refused when ov
internal/server/bug3653_storage_cap_doors_test.go:22
↓ 3 callersFunctioncapRoutes
capRoutes is DR-5's table, all 23 routes. {id} and {ws} are replaced per fixture. Unknown connection and client ids are deliberate: each of those hand
cmd/pad/mcp_capability_test.go:41
← previousnext →5,301–5,400 of 31,685, ranked by callers