Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
Method
handleRotateAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:128
Method
handleRotateUserToken
handleRotateUserToken generates a new secret for an existing token, invalidating the old one. The token metadata is preserved.
internal/server/handlers_tokens.go:323
Method
handleRunPlaybook
handleRunPlaybook parses the caller's args against the playbook's declared argument spec and returns the rendered body + bound args. Side-effect-free:
internal/server/handlers_playbooks.go:479
Method
handleSaveReportLayout
handleSaveReportLayout upserts the current user's Insights layout for the workspace. Per-user; requires an authenticated user. PUT /workspaces/{slug
internal/server/handlers_reports.go:153
Method
handleSendChatMessage
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:234
Method
handleServerCapabilities
WHAT A BUILD THAT CANNOT DECODE A FORMAT ACTUALLY COSTS THE READER (BUG-2964, documented here because this endpoint is where a client asks what this b
internal/server/handlers_capabilities.go:130
Method
handleServerIdentity
(w http.ResponseWriter, r *http.Request)
internal/server/server_identity.go:30
Method
handleSessionActivity
handleSessionActivity writes only the credential user's worker activity. POST /api/v1/sessions/activity
internal/server/handlers_sessions.go:120
Method
handleSessionCheck
handleSessionCheck returns current auth status.
internal/server/handlers_auth.go:1385
Method
handleSetMemberCollectionAccess
handleSetMemberCollectionAccess updates a member's collection visibility. Only workspace owners can change other members' access.
internal/server/handlers_members.go:813
Method
handleSetPlan
handleSetPlan handles POST /api/v1/admin/plan. Called by the pad-cloud sidecar to update a user's billing plan after Stripe subscription events. `sou
internal/server/handlers_cloud.go:583
Method
handleSetStripeCustomerID
--- Stripe Customer ID (TASK-505) --- handleSetStripeCustomerID handles POST /api/v1/admin/stripe-customer-id. Called by the pad-cloud sidecar after a
internal/server/handlers_cloud.go:918
Method
handleShareLinkViews
handleShareLinkViews returns view history for a share link. GET /workspaces/{ws}/share-links/{linkID}/views
internal/server/handlers_share_links.go:927
Method
handleShowPlaybook
handleShowPlaybook returns the full playbook item identified by ref, slug, OR invocation_slug. The resolver walks both invocation_slug (the user-facin
internal/server/handlers_playbooks.go:445
Method
handleSnoozeNeedsItem
handleSnoozeNeedsItem dismisses or defers an item for the caller, replacing any earlier snooze. PUT /api/v1/workspaces/{slug}/items/{itemSlug}/needs/s
internal/server/handlers_needs_snooze.go:58
Method
handleStampCollabWatermark
handleStampCollabWatermark is POST /workspaces/{ws}/items/{itemSlug}/collab-watermark (BUG-3124 unit B): a caught-up browser tab whose document still
internal/server/handlers_collab_watermark.go:26
Method
handleStarItem
handleStarItem stars an item for the authenticated user (idempotent). POST /api/v1/workspaces/{slug}/items/{itemSlug}/star
internal/server/handlers_stars.go:14
Method
handleStepUpEmail
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:88
Method
handleStepUpStatus
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:69
Method
handleStepUpVerify
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:133
Method
handleStripeEventComplete
handleStripeEventComplete handles POST /api/v1/admin/stripe-event-complete (BUG-3561): the sidecar reports that the handler for a claimed event succee
internal/server/handlers_cloud.go:1245
Method
handleStripeEventProcessed
--- Stripe Webhook Idempotency (TASK-696) --- handleStripeEventProcessed handles POST /api/v1/admin/stripe-event-processed. Called by the pad-cloud si
internal/server/handlers_cloud.go:1168
Method
handleStripeEventUnmark
handleStripeEventUnmark handles POST /api/v1/admin/stripe-event-unmark. Called by the pad-cloud sidecar as a best-effort rollback when a webhook handl
internal/server/handlers_cloud.go:1310
Method
handleTOTPDisable
handleTOTPDisable disables 2FA for the current user. Requires the current password for verification.
internal/server/handlers_2fa.go:181
Method
handleTOTPLoginVerify
handleTOTPLoginVerify completes a login that requires 2FA verification. Requires a valid challenge token (from the login response) plus a TOTP code or
internal/server/handlers_2fa.go:275
Method
handleTOTPSetup
handleTOTPSetup generates a TOTP secret and returns the provisioning URI for the user to scan with their authenticator app. The secret is stored but 2
internal/server/handlers_2fa.go:63
Method
handleTOTPVerify
handleTOTPVerify verifies a TOTP code against the provided secret and enables 2FA if valid. The secret must match the one stored in the database (set
internal/server/handlers_2fa.go:109
Method
handleTestEmail
handleTestEmail sends a test email to verify the email configuration. Admin-only.
internal/server/handlers_admin.go:179
Method
handleTestWebhook
handleTestWebhook sends a test payload to the specified webhook.
internal/server/handlers_webhooks.go:163
Method
handleTutorialPoster
handleTutorialPoster: GET /tutorials/posters/{slug}. Cloud only. Serves the poster the catalog names for slug, fetched once from getpad.dev and kept i
internal/server/tutorials.go:244
Method
handleUninstallAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:153
Method
handleUnsnoozeNeedsItem
handleUnsnoozeNeedsItem removes the caller's snooze, so the item shows in their inbox again. Idempotent: no snooze is not an error. DELETE /api/v1/wor
internal/server/handlers_needs_snooze.go:95
Method
handleUnstarItem
handleUnstarItem removes a star from an item for the authenticated user. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/star
internal/server/handlers_stars.go:77
Method
handleUnsubscribe
handleUnsubscribe processes GET /api/v1/unsubscribe?email=x&token=y This endpoint is unauthenticated — anyone with a valid HMAC token can opt out.
internal/server/handlers_unsubscribe.go:28
Method
handleUpdateAgentRole
handleUpdateAgentRole updates an existing agent role.
internal/server/handlers_agent_roles.go:92
Method
handleUpdateAppsSettings
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:732
Method
handleUpdateCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:397
Method
handleUpdateComment
handleUpdateComment edits a comment's body. Editing is an authorship operation — distinct from delete, which any item editor may do — so only the comm
internal/server/handlers_comments.go:260
Method
handleUpdateCommitmentLink
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:329
Method
handleUpdateConnectedAppFlags
handleUpdateConnectedAppFlags: PATCH /api/v1/connected-apps/{id}/flags Body: {may_create_workspaces, all_current_workspaces}. Both are written atomica
internal/server/handlers_connected_apps.go:462
Method
handleUpdateCurrentUser
handleUpdateCurrentUser updates the authenticated user's profile. Supports updating name and/or password. Password changes require the current passwor
internal/server/handlers_auth.go:1546
Method
handleUpdateDecisionSettings
handleUpdateDecisionSettings: PUT /api/v1/admin/decision-provider. Admin-only; refused on Pad Cloud. A field the environment sets is REFUSED rather th
internal/server/decision_settings.go:360
Method
handleUpdateDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:115
Method
handleUpdateItem
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_items.go:1470
Method
handleUpdateMCPSettings
handleUpdateMCPSettings: PUT /api/v1/admin/mcp {enabled}. Admin-only. Refused on Pad Cloud (always on) and when PAD_MCP_ENABLED forces the value: a wr
internal/server/handlers_admin_mcp.go:316
Method
handleUpdateMemberRole
handleUpdateMemberRole changes a member's role in a workspace.
internal/server/handlers_members.go:315
Method
handleUpdateUserToken
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_tokens.go:474
Method
handleUpdateView
handleUpdateView modifies an existing saved view.
internal/server/handlers_views.go:200
Method
handleUpdateWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:653
Method
handleUpdateWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:275
Method
handleUpdateWorkspaceTab
handleUpdateWorkspaceTab: PATCH /{slug} {pin?, last_route?}. pin makes an ephemeral tab durable (there is no unpin); last_route replaces the stored ro
internal/server/handlers_workspace_tabs.go:218
Method
handleVerifyEmail
handleVerifyEmail consumes an email-verification token and flips the owning user's email_verified_at to now (PLAN-1933 DR-5). It backs the link mailed
internal/server/handlers_auth.go:2058
Method
handleWatchEventsStream
handleWatchEventsStream streams the caller's watch/nudge notifications. GET /api/v1/events/stream (TASK-2533, per DOC-2479's SSE-endpoint design). Un
internal/server/handlers_watch_events.go:105
Method
handleWorkspaceClaimCode
GET /api/v1/workspaces/{slug}/claim-code — claim-code generation + smart-suppression endpoint (PLAN-1519 / TASK-1525 / IDEA-1517 §4). The "Connect a
internal/server/handlers_claim_code.go:58
Function
handler
(e: Event)
web/src/lib/components/items/ItemPicker.svelte.test.ts:855
Method
handler
(w http.ResponseWriter, r *http.Request)
internal/cli/chat_agent_target_test.go:32
Method
handler
(w http.ResponseWriter, r *http.Request)
cmd/pad/attachment_attach_test.go:24
Method
handler
(w http.ResponseWriter, r *http.Request)
cmd/pad/comment_edit_delete_test.go:26
Method
handler
(w http.ResponseWriter, r *http.Request)
cmd/pad/notes_append_gate_test.go:29
Method
handler
(w http.ResponseWriter, r *http.Request)
cmd/pad/search_collection_gate_test.go:23
Function
hardBreak
(ed: Doc)
web/src/lib/utils/markdown.renameMarker.svelte.test.ts:132
Method
hardware
True when unmodified Enter sends.
web/src/lib/chat/inputMode.svelte.ts:32
Function
hasCollectionSearchHandler
()
web/src/lib/stores/ui.svelte.ts:171
Function
hasDeferredWrite
A write is held under `key` (a heal uses live state instead of the URL then).
web/src/lib/stores/chatSurface.svelte.ts:477
Function
hasRe
(re: RegExp)
web/src/lib/components/editor/mermaidThemeWiring.test.ts:36
Function
hasTag
(item: Pick<Item, 'tags'>, tag: string)
web/src/lib/items/localLists.ts:27
Function
hasUndoMenu
(entry: AgendaEntry)
web/src/lib/calendar/undo.ts:8
Function
headless
()
web/src/lib/collab/materializer/headless.ts:56
Function
heldChange
()
web/e2e/bug-3204-cursor-snapback.spec.ts:124
Function
highlightAddWorkspace
()
web/src/lib/stores/ui.svelte.ts:142
Function
history
()
web/src/lib/stores/toast.svelte.ts:317
Function
holdFor
(c: (url: string, body: string) => boolean)
web/e2e/bug-3204-cursor-snapback.spec.ts:117
Function
holdPIDFile
holdPIDFile is a no-op on Windows: there is no flock in the pattern this package uses elsewhere (session_lock_other.go documents the same boundary). O
internal/cli/pidfile_windows.go:15
Function
href
(v: string)
web/src/routes/(console)/settings/billing/billingInterval.svelte.test.ts:71
Function
html
({ text }: Tokens.HTML | Tokens.Tag)
web/src/lib/chat/markdown.ts:31
Function
identityEpoch
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:18
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:99
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task2190NoPassword.svelte.test.ts:55
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task3940Notifications.svelte.test.ts:47
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task4315ChatSetting.svelte.test.ts:55
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task2193TokenConfirm.svelte.test.ts:56
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task3867EditTokenAccess.svelte.test.ts:43
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task4101Timezone.svelte.test.ts:68
Function
identityEpoch
()
web/src/routes/(console)/settings/account/task3505TokenRotate.svelte.test.ts:63
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:63
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryIdentityFence.svelte.test.ts:42
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryLoadError.svelte.test.ts:10
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/library/library2256.svelte.test.ts:12
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryRenamedCollections.svelte.test.ts:12
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/playbooksRenamedCollection.svelte.test.ts:12
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/bug3852BuiltinUpdate.svelte.test.ts:22
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookEditorRenamedCollection.svelte.test.ts:12
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/task2191PlaybookDraftGuard.svelte.test.ts:31
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:109
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/activity/activityFilters.svelte.test.ts:30
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/activity/activityLoadError.svelte.test.ts:31
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/conventions/conventionsBulkToggle.svelte.test.ts:11
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/conventions/conventionsRenamedCollection.svelte.test.ts:11
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/settings/task2190MemberGuards.svelte.test.ts:67
Function
identityEpoch
()
web/src/routes/[username]/[workspace]/settings/task3376SystemCollectionPicker.svelte.test.ts:69
← previous
next →
27,501–27,600 of 28,840, ranked by callers