MCPcopy Create free account

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

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

↓ 1 callersMethod_publish_single
(self, access_token: str, content: PublishContent)
providers/instagram_login.py:298
↓ 1 callersMethod_publish_text_or_link
(self, access_token: str, page_id: str, content: PublishContent)
providers/facebook.py:286
↓ 1 callersMethod_publish_text_post
(self, access_token: str, author: str, content: PublishContent)
providers/linkedin.py:241
↓ 1 callersMethod_publish_video
(self, access_token: str, page_id: str, content: PublishContent)
providers/facebook.py:412
↓ 1 callersMethod_publish_video_pin
Upload a video pin via the media endpoint.
providers/pinterest.py:240
↓ 1 callersMethod_publish_video_post
(self, access_token: str, author: str, content: PublishContent)
providers/linkedin.py:318
↓ 1 callersMethod_raise_classified_publish_error
Re-raise an APIError from video init, marking permanent codes non-retryable.
providers/tiktok.py:395
↓ 1 callersMethod_read_media_bytes
Load media into memory from a local file path or HTTP(S) URL.
providers/linkedin.py:693
↓ 1 callersFunction_refresh_follower_count
(account, metrics)
apps/analytics/tasks.py:577
↓ 1 callersFunction_refresh_one_subscription
Background worker for refresh_subscription_on_visit.
apps/intelligence/tasks.py:322
↓ 1 callersFunction_remind_clients
Send reminder to client members.
apps/approvals/tasks.py:123
↓ 1 callersFunction_remind_reviewers
Send reminder to workspace members with approve_posts permission.
apps/approvals/tasks.py:101
↓ 1 callersFunction_render_calendar_partial
Render the appropriate calendar partial based on view type.
apps/calendar/views.py:693
↓ 1 callersFunction_render_kanban_column_fragment
Render a single Kanban column fragment.
apps/composer/views.py:2330
↓ 1 callersFunction_render_tool_error
Map a typed client error to the right HTMX result partial.
apps/intelligence/views.py:148
↓ 1 callersFunction_require_perm
(request: HttpRequest, key: str)
apps/api/routers/media.py:50
↓ 1 callersFunction_resolve_active_membership
Pick the workspace an OAuth caller operates in. Mirrors the dashboard's "current workspace" notion (see ``apps.members.middleware.RBACMiddlew
apps/api/auth.py:256
↓ 1 callersFunction_resolve_effective_permissions
Intersection of (key.permissions) ∩ (issuer's current perms). The issuer-membership existence check has already happened inside ``verify_toke
apps/api/auth.py:60
↓ 1 callersFunction_resolve_oauth_actor
Resolve a non-bb_studio_ bearer as a django-oauth-toolkit access token. Looks the token up by its indexed ``token_checksum`` (the path DOT's own
apps/api/auth.py:277
↓ 1 callersMethod_resolve_post_fields
(self, access_token: str, post_id: str)
providers/facebook.py:500
↓ 1 callersMethod_resolve_post_type
Derive the correct PostType from context. Priority: 1. Explicit hint in platform_extra (validated against PostType enum) 2. P
apps/publisher/engine.py:486
↓ 1 callersFunction_resolve_template_data
Resolve a ?template= value into a template_data dict. Accepts either a numeric ID for a built-in template (defined in apps.composer.builtin_t
apps/composer/views.py:324
↓ 1 callersMethod_resolve_video_id
Resolve a stored ``platform_post_id`` to a TikTok video ID. :meth:`publish_post` stores the Content Posting API ``publish_id`` (``v_p
providers/tiktok.py:512
↓ 1 callersFunction_resp
(data)
tests/providers/test_meta_insights.py:9
↓ 1 callersFunction_row_context
Adapt an ``ApiKey`` row into the dict the list template expects. ``memo`` is a per-request cache (``{"grantable": {ws_id: ...}, "accounts": {
apps/api_keys/views.py:134
↓ 1 callersFunction_save_preferences
Handle POST from preferences form.
apps/notifications/views.py:151
↓ 1 callersFunction_seed_ig_account_snapshots
Populate enough rows to drive a non-zero derive over a 7-day window.
apps/mcp/tests/test_transport.py:642
↓ 1 callersFunction_seed_published_ig_post
Create a published IG PlatformPost with a small snapshot history.
apps/mcp/tests/test_transport.py:659
↓ 1 callersFunction_set_org_timezone_from_browser
Update the user's organization timezone from the browser_timezone cookie.
apps/accounts/signals.py:50
↓ 1 callersMethod_share_count
(data: dict)
providers/facebook.py:592
↓ 1 callersFunction_slug_for
(status: int)
apps/api/api.py:245
↓ 1 callersFunction_studio_base_url
The publicly-reachable base URL for THIS Studio deployment. Intelligence validates ``return_base_url`` against the registered ``StudioDeploym
apps/intelligence/views.py:1423
↓ 1 callersMethod_summary_total
(data: dict, key: str)
providers/facebook.py:583
↓ 1 callersMethod_sync_account
Sync messages for a single social account.
apps/inbox/tasks.py:60
↓ 1 callersFunction_sync_youtube_post_analytics
Snapshot lifetime per-video YouTube Analytics metrics for ``on_date``. Bridges the gap between the YouTube Data API (which exposes per-video
apps/analytics/tasks.py:465
↓ 1 callersFunction_t
(e)
static/js/htmx.min.js:1
↓ 1 callersFunction_to_uuid
(value)
apps/composer/services.py:162
↓ 1 callersFunction_unsign_connection_link_state
Verify and decode the connection link OAuth state.
apps/onboarding/views.py:76
↓ 1 callersMethod_update_rate_limit
Update rate limit state from API response headers.
apps/publisher/engine.py:590
↓ 1 callersMethod_upload_binary
Read media from a local file path or URL and upload to LinkedIn. Args: source: A local file path or an HTTP(S) URL to download fr
providers/linkedin.py:667
↓ 1 callersMethod_upload_media
Upload a media file and return its media ID.
providers/mastodon.py:297
↓ 1 callersMethod_upload_video_chunk
PUT a single video chunk and return its ETag for finalizeUpload. Per LinkedIn's Videos API docs, the chunk upload URL is pre-authenticated
providers/linkedin.py:703
↓ 1 callersFunction_upsert_facebook_comment
Upsert a Facebook comment from a webhook event.
apps/inbox/webhooks.py:172
↓ 1 callersFunction_upsert_facebook_mention
Upsert a Facebook mention from a webhook event.
apps/inbox/webhooks.py:192
↓ 1 callersFunction_validate_pinterest_board_selection
Selected Pinterest accounts need a board before composer save/submit.
apps/composer/views.py:227
↓ 1 callersFunction_validate_thumbnail_upload
Reject any uploaded file that isn't a real, small image. Returns (base64_string, None) on success; (None, error_message) on rejection. Defend
apps/intelligence/views.py:1235
↓ 1 callersFunction_validate_tool_arguments
Enforce the tool's published ``inputSchema`` against ``arguments``. Uses ``jsonschema`` (already pulled in transitively). We raise our own ``
apps/mcp/transport.py:104
↓ 1 callersFunction_verify_meta_signature
Verify HMAC-SHA256 signature (X-Hub-Signature-256) from Meta.
apps/inbox/webhooks.py:47
↓ 1 callersMethod_wait_for_video_available
Poll until the video reaches AVAILABLE status (or fail fast on terminal errors). Posting against a video that is still WAITING_UPLOAD / PROCE
providers/linkedin.py:767
↓ 1 callersFunction_week_view
Render week view with hourly rows.
apps/calendar/views.py:879
↓ 1 callersFunction_word_diff
Word-level diff tokens for caption changes. Returns a list of ``{"t": text, "k": "same"|"add"|"del"}`` so the template can render additions/r
apps/approvals/views.py:326
↓ 1 callersFunctionaccept_invitation
Accept an invitation: create org + workspace memberships. Args: invitation: The Invitation to accept. user: The User accepting.
apps/members/services.py:142
↓ 1 callersFunctionaccount_freshness
Return ``(captured_at, next_sync_eta)`` for an account. * ``(None, None)`` for platforms in :data:`NO_ANALYTICS_PLATFORMS` — no background
apps/analytics/freshness.py:35
↓ 1 callersFunctionapply_image_edits
Apply image edits (crop, resize, rotate, flip) using Pillow. operations: dict with optional keys: crop: {x, y, width, height} in pixels
apps/media_library/services.py:542
↓ 1 callersFunctionapprove_post
Approve a post or single platform post. If the workspace runs the two-stage internal+client flow and we're moving out of ``pending_review``,
apps/approvals/services.py:134
↓ 1 callersFunctionauthorization_server_metadata
RFC 8414 authorization-server metadata document.
apps/oauth_server/metadata.py:18
↓ 1 callersFunctionbi
()
static/js/alpine.min.js:5
↓ 1 callersFunctioncheck_folder_depth
Validate that adding a child to parent_folder won't exceed 3 levels.
apps/media_library/services.py:32
↓ 1 callersMethodcheck_sla
Check for SLA-overdue messages and send notifications.
apps/inbox/tasks.py:147
↓ 1 callersFunctioncheck_social_account_health
Check health of a single social account. Validates the OAuth token by calling get_profile(). If the token is expiring soon, attempts to refre
apps/social_accounts/tasks.py:13
↓ 1 callersFunctionci
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctioncreate_default_queue_and_slots
Create a default Queue and PostingSlots for a newly connected social account. Skips creation if the account already has a queue (e.g. on re-conne
apps/calendar/services.py:19
↓ 1 callersFunctioncreate_folder
Create a new media folder.
apps/media_library/services.py:46
↓ 1 callersFunctioncreate_pending_upload
Choose a server key, presign a direct upload, and persist a PendingUpload. Backs the MCP ``request_media_upload`` tool: the agent uploads bytes s
apps/media_library/services.py:114
↓ 1 callersFunctioncreate_portal_session
Create a portal session for the client user. Logs in the user and sets portal-specific session variables.
apps/client_portal/services.py:142
↓ 1 callersMethodcreate_superuser
(self, email, password=None, **extra_fields)
apps/accounts/models.py:20
↓ 1 callersFunctionct
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctiondetermine_file_type
Map a MIME type to our FileType enum value.
apps/media_library/validators.py:50
↓ 1 callersFunctiondi
static/js/alpine.min.js:5
↓ 1 callersFunctiondn
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctiondt
()
static/js/alpine.min.js:1
↓ 1 callersFunctiondt
(e,t)
static/js/htmx.min.js:1
↓ 1 callersFunctionei
(e,t)
static/js/alpine.min.js:5
↓ 1 callersFunctionen
(t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionengagement_card
Engagement-rate card payload, or ``None`` if the platform lacks a denom. Returns a dict with: - ``rate``: DerivedMetric for the rate headli
apps/analytics/services.py:332
↓ 1 callersFunctioneo
(e)
static/js/alpine.min.js:5
↓ 1 callersFunctioner
(e)
static/js/alpine.min.js:1
↓ 1 callersFunctionet
(e)
static/js/htmx.min.js:1
↓ 1 callersFunctionexecute_scheduled_org_deletion
Delete an org whose 14-day grace period has elapsed. Idempotent and cancellation-safe: re-reads the current state and bails out if the org is
apps/organizations/tasks.py:14
↓ 1 callersFunctionextract_image_metadata
Extract dimensions from an image file using Pillow.
apps/media_library/services.py:355
↓ 1 callersFunctionextract_video_frames
Extract one JPEG per timestamp from a video using ffmpeg input-seeking. ``source`` is a local path or an http(s) URL (ffmpeg seeks remote inputs
apps/media_library/services.py:492
↓ 1 callersFunctionfn
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callersFunctionfr
(e)
static/js/alpine.min.js:5
↓ 1 callersMethodfrom_platform_post
(cls, pp: PlatformPost)
apps/api/schemas.py:259
↓ 1 callersFunctionft
(t,n,e)
static/js/htmx.min.js:1
↓ 1 callersFunctiongenerate_storage_key
A server-chosen key mirroring ``MediaAsset.file``'s ``upload_to``. The basename is a fresh UUID — the agent's filename never reaches the path,
apps/media_library/storage.py:51
↓ 1 callersMethodget_account_metrics
(self, access_token: str, date_range: tuple[datetime, datetime])
providers/instagram_login.py:454
↓ 1 callersMethodget_account_metrics
TikTok account-level analytics are intentionally disabled. The implemented TikTok analytics surface is video-only and relies on ``vid
providers/tiktok.py:599
↓ 1 callersFunctionget_all_templates
Return all templates.
apps/composer/builtin_templates.py:965
↓ 1 callersMethodget_boards
Fetch all boards for the authenticated account.
providers/pinterest.py:295
↓ 1 callersFunctionget_checklist_items
Return a list of checklist item dicts with dynamic completion status. Each item has: key, title, description, completed (bool), url, icon_color,
apps/onboarding/checklist.py:10
↓ 1 callersFunctionget_comments_for_post
Get comments for a post, filtered by user's visibility access. Clients only see external comments. Team members see all.
apps/approvals/comments.py:121
↓ 1 callersFunctionget_featured_templates
Return the 3 featured templates.
apps/composer/builtin_templates.py:959
↓ 1 callersFunctionget_feed_categories
()
apps/composer/curated_feeds.py:310
↓ 1 callersFunctionget_feeds_for_category
(slug)
apps/composer/curated_feeds.py:326
↓ 1 callersFunctionget_holidays_for_range
Return holidays falling within the date range. Returns a dict keyed by (month, day) tuples, with values being lists of holiday dicts (multipl
apps/calendar/holidays.py:20
↓ 1 callersMethodget_post_metrics
(self, access_token: str, post_id: str)
providers/instagram.py:430
↓ 1 callersMethodget_profile
(self, access_token: str)
providers/threads.py:187
↓ 1 callersMethodget_profile
(self, access_token: str)
providers/facebook.py:208
↓ 1 callersFunctionget_tool
(name: str)
apps/mcp/tools.py:52
← previousnext →901–1,000 of 3,156, ranked by callers