MCPcopy Create free account

hub / github.com/brightbeanxyz/brightbean-studio / functions

Functions3,156 in github.com/brightbeanxyz/brightbean-studio

↓ 1 callersFunctiongn
(e,t)
static/js/htmx.min.js:1
↓ 1 callersFunctionhas_engagement_card
True if the platform has both engagement parts AND a reach-like denom. Bluesky/Mastodon/LinkedIn-Personal have no reach denom, so we render o
apps/analytics/metrics.py:145
↓ 1 callersFunctionhead_object_size
ContentLength of the stored object, or ``None`` if it doesn't exist. ``None`` means the agent never completed the upload — the caller turns that
apps/media_library/storage.py:94
↓ 1 callersFunctionhero_card_metrics
Top-line "reach-like" metrics that get their own StatCard in the hero row. Engagement components and the rate itself live in the EngagementCard,
apps/analytics/metrics.py:132
↓ 1 callersFunctionhero_cards
List of {metric, label, derived} for the hero KPI cards. Pass ``series_map`` to reuse an already-fetched :func:`account_analytics_bundle` res
apps/analytics/services.py:307
↓ 1 callersFunctionhero_chart_metrics
Metric chips for the hero chart selector — counts only, no rates.
apps/analytics/services.py:366
↓ 1 callersFunctionhn
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionhn
(n,e)
static/js/htmx.min.js:1
↓ 1 callersFunctionht
(e,t,r)
static/js/alpine.min.js:1
↓ 1 callersFunctionht
(e,t)
static/js/htmx.min.js:1
↓ 1 callersFunctioni
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionie
(e=()=>{})
static/js/alpine.min.js:5
↓ 1 callersFunctionii
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callersMethodis_expired
(self)
apps/members/models.py:158
↓ 1 callersFunctionis_failed_auth_ip_blocked
True iff the IP has accumulated ``>= _AUTH_FAIL_LIMIT`` failures in the current rolling window. Read-only — no increment.
apps/api/limits.py:312
↓ 1 callersFunctionis_meta_permission_error
Return true for Meta auth/scope errors that should trigger reconnect handling.
providers/meta_insights.py:47
↓ 1 callersFunctionis_notification
JSON-RPC: requests without ``id`` are notifications (no response). Note the spec quirk: ``id`` may legitimately be ``null``, so we check for
apps/mcp/protocol.py:82
↓ 1 callersFunctionit
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionje
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctionjn
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionjt
(t,e)
static/js/htmx.min.js:1
↓ 1 callersFunctionke
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionki
()
static/js/alpine.min.js:5
↓ 1 callersFunctionkn
()
static/js/alpine.min.js:1
↓ 1 callersMethodlist_niches
(self)
apps/intelligence/services/client.py:498
↓ 1 callersFunctionlr
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionlt
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctionmain
()
manage.py:8
↓ 1 callersFunctionmake_response
(id_: Any, result: Any)
apps/mcp/protocol.py:71
↓ 1 callersFunctionme
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionme
(t,e,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionmn
(t,n,r)
static/js/htmx.min.js:1
↓ 1 callersFunctionmr
({name:e})
static/js/alpine.min.js:5
↓ 1 callersFunctionni
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callersFunctionno
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionnotification_drawer
HTMX partial: renders the 50 most recent notifications for the drawer.
apps/notifications/views.py:18
↓ 1 callersFunctionoi
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctiononboarding_checklist
Inject onboarding checklist data into every template context.
apps/onboarding/context_processors.py:7
↓ 1 callersFunctionparse_token
Split a raw bearer string into its parts, or None on malformed input. Strict: exact prefix match, exact part count, lookup length, and a plau
apps/api_keys/services.py:93
↓ 1 callersFunctionpe
(t,e,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionper_request_cache
Return ``producer()`` once per request for the given key. ``key`` is a tuple of stable identifiers (e.g. ``(org_id, "me")``).
apps/intelligence/services/cache.py:15
↓ 1 callersMethodportal_session
(self, *, external_org_id: str)
apps/intelligence/services/client.py:249
↓ 1 callersFunctionpost_detail
HTMX-loaded payload for the slide-over post-detail drawer.
apps/analytics/views.py:216
↓ 1 callersFunctionpost_freshness
Return ``(captured_at, next_sync_eta)`` for a per-platform post. The cadence ladder is :func:`apps.analytics.tasks.post_sync_interval` so thi
apps/analytics/freshness.py:69
↓ 1 callersFunctionpresign_upload
Presigned POST for a single object, size-capped at the edge. Returns ``{"method", "url", "fields"}`` — the client submits ``fields`` (which i
apps/media_library/storage.py:68
↓ 1 callersFunctionpreview
Live preview endpoint - renders platform-specific preview from form state. Called via HTMX with debounced POST from the composer. Stateless -
apps/composer/views.py:1178
↓ 1 callersFunctionprotected_resource_metadata
RFC 9728 protected-resource metadata for the /api/v1/mcp endpoint.
apps/oauth_server/metadata.py:36
↓ 1 callersMethodpublish_comment
(self, access_token: str, post_id: str, text: str)
providers/facebook.py:455
↓ 1 callersFunctionqn
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionqr
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionread_object_head_bytes
Range-GET the first ``n`` bytes for server-side magic-byte sniffing.
apps/media_library/storage.py:113
↓ 1 callersFunctionreconcile_intelligence_subscriptions
Catch drift between Intelligence and local IntelligenceSubscription rows that webhook-driven sync may have missed (e.g., a customer.subscripti
apps/intelligence/tasks.py:243
↓ 1 callersFunctionrefresh_subscription_on_visit
Schedule a one-shot reconcile for ``org_id`` if not throttled. Called at the end of the playground view. The throttle (60s in cache) means a
apps/intelligence/tasks.py:306
↓ 1 callersMethodrefresh_token
Refresh an AT Protocol session using the refresh JWT.
providers/bluesky.py:146
↓ 1 callersFunctionreject_post
Reject a post or single platform post. Comment is required.
apps/approvals/services.py:228
↓ 1 callersMethodrender
Substitute variables in body with context values.
apps/inbox/models.py:204
↓ 1 callersMethodreply_to_message
Reply to an inbox message.
providers/base.py:182
↓ 1 callersMethodresolve_handle
Resolve a Bluesky handle to a DID. Uses bsky.social for resolution regardless of PDS URL.
providers/bluesky.py:110
↓ 1 callersFunctionrestore_version
Restore a previous version by creating a new version from its file.
apps/media_library/services.py:281
↓ 1 callersFunctionresubmit_post
Resubmit a post after changes/rejection — or re-review an edited approved post.
apps/approvals/services.py:319
↓ 1 callersMethodrevoke_token
Revoke an OAuth token. Returns True if successful.
providers/base.py:190
↓ 1 callersFunctionri
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callersFunctionrn
(t,n,r)
static/js/htmx.min.js:1
↓ 1 callersFunctionro
(e)
static/js/alpine.min.js:5
↓ 1 callersMethodrotate_key
(self, *, user_id: int | str, external_org_id: str, idempotency_key: str)
apps/intelligence/services/client.py:231
↓ 1 callersFunctionrun_publish_cycle
Poll for due posts and publish them. Registered as a recurring task (every 15s) so that ``python manage.py process_tasks`` handles publishing
apps/publisher/tasks.py:11
↓ 1 callersFunctionschedule_all_health_checks
Enqueue individual health checks for all active accounts.
apps/social_accounts/tasks.py:105
↓ 1 callersFunctionsi
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionst
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctionsubmit_for_review
Submit a post (or single platform post) for internal review.
apps/approvals/services.py:95
↓ 1 callersFunctionsweep_stale_idempotency_records
Delete ``IdempotencyRecord`` rows older than the TTL. Runs hourly via ``django-background-tasks``; the per-iteration cost is one indexed DELE
apps/api/tasks.py:34
↓ 1 callersFunctionti
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctiontn
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctionto
(e,t,r,n)
static/js/alpine.min.js:5
↓ 1 callersMethodto_mcp_dict
Wire shape returned by ``tools/list`` per the MCP spec.
apps/mcp/tools.py:29
↓ 1 callersFunctiontouch_last_used
Update ``last_used_at`` / ``last_used_ip`` at most once per 60s. Uses a raw ``UPDATE`` (no signals, no full save). The debounce is **cache-k
apps/api_keys/services.py:418
↓ 1 callersFunctiontr
(e)
static/js/alpine.min.js:1
↓ 1 callersFunctiontrigger_response
Return an empty response that fires the given ``HX-Trigger`` events. ``triggers`` maps event name → detail, e.g. ``{"showToast": {...}, "appr
apps/common/htmx.py:8
↓ 1 callersFunctiontrim_video
Trim a video using ffmpeg.
apps/media_library/services.py:601
↓ 1 callersFunctiontt
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionun
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersMethodupdate_billing_contact
(self, *, external_org_id: str, billing_email: str, org_name: str)
apps/intelligence/services/client.py:256
↓ 1 callersFunctionut
(e)
static/js/htmx.min.js:1
↓ 1 callersMethodvalidate_token
Quick health check - try get_profile and see if it works.
providers/base.py:194
↓ 1 callersFunctionve
(e,t)
static/js/alpine.min.js:1
↓ 1 callersFunctionvt
(e,t,n,r)
static/js/htmx.min.js:1
↓ 1 callersFunctionwn
(e,t)
static/js/htmx.min.js:1
↓ 1 callersFunctionwr
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionwt
(t,n,e)
static/js/htmx.min.js:1
↓ 1 callersFunctionxi
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionyi
()
static/js/alpine.min.js:5
↓ 1 callersFunctionyn
(e,t)
static/js/htmx.min.js:1
↓ 1 callersFunctionyt
()
static/js/htmx.min.js:1
↓ 1 callersFunctionzi
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctionzn
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionzn
()
static/js/htmx.min.js:1
Function$r
(e,t,r,n=!0)
static/js/alpine.min.js:5
Function$t
static/js/alpine.min.js:5
FunctionAn
()
static/js/alpine.min.js:5
FunctionBn
(e)
static/js/htmx.min.js:1
← previousnext →1,001–1,100 of 3,156, ranked by callers