MCPcopy Create free account

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

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

↓ 3 callersMethod_setup_daily_slots_and_queue
Give the account a 09:00 slot every day + a queue, so the soonest open slot is always within ~1 day — well before any far-future floor.
apps/composer/tests/test_proposed_publish_at.py:308
↓ 3 callersMethod_setup_org
(self, name, page_id, secret)
apps/inbox/tests/test_webhooks.py:239
↓ 3 callersFunction_sign_connection_link_state
Create a signed OAuth state for the connection link flow.
apps/onboarding/views.py:62
↓ 3 callersFunction_sync_tags_to_model
Ensure Tag records exist for all given tag names in a workspace.
apps/composer/views.py:3365
↓ 3 callersFunction_transition_post_children
Transition every (or selected) PlatformPost child of *post* to *target*. Returns ``(moved, skipped)`` lists of PlatformPost instances. Children
apps/composer/views.py:626
↓ 3 callersFunction_unsign_state
Verify and decode the OAuth state parameter.
apps/social_accounts/views.py:126
↓ 3 callersMethod_wait_for_container
Poll a Threads media container until it is FINISHED. Threads exposes the ingest state via the container's ``status`` field (values: I
providers/threads.py:290
↓ 3 callersMethod_wait_for_container
Poll container status until FINISHED or error.
providers/instagram.py:368
↓ 3 callersMethod_wait_for_container
Poll container status until FINISHED or error.
providers/instagram_login.py:365
↓ 3 callersMethodactivate_commit
( self, *, validation_token: str, contact_email: str = "", contact_ful
apps/intelligence/services/client.py:202
↓ 3 callersMethodactivate_preflight
( self, *, session_id: str, expected_external_org_id: str, plan_slug:
apps/intelligence/services/client.py:172
↓ 3 callersFunctionae
(e,t,r,n)
static/js/alpine.min.js:5
↓ 3 callersFunctionbackfill_account_analytics
One-shot backfill on account connect / reconnect. Account-level: writes today's row (the only one we can reliably get without provider time-s
apps/analytics/tasks.py:633
↓ 3 callersMethodcheck_eligibility
(self, *, external_org_id: str)
apps/intelligence/services/client.py:101
↓ 3 callersMethodcreate_session
Create an AT Protocol session using handle and app password. Returns an ``OAuthTokens`` with *accessJwt* as ``access_token`` and *ref
providers/bluesky.py:127
↓ 3 callersFunctionenforce_storage_quota
Raise ``StorageQuotaExceededError`` if accepting ``incoming_bytes`` would push the org over its resolved limit. No-op when ``STORAGE_QUOTA_ENA
apps/media_library/quotas.py:143
↓ 3 callersFunctionextract_video_metadata
Extract video metadata using ffprobe.
apps/media_library/services.py:406
↓ 3 callersFunctionfe
(e,t)
static/js/alpine.min.js:1
↓ 3 callersFunctionfingerprint_request
Stable hash of (method, path, canonical-JSON body). Used to detect "client reused the idempotency key for a different intent". We hash a sort
apps/api/middleware.py:120
↓ 3 callersMethodfrom_social_account
(cls, sa)
apps/api/schemas.py:70
↓ 3 callersFunctiongenerate_recurring_posts
Generate individual Post records from active RecurrenceRules. Runs daily. For each active rule, computes recurrence dates from the source pos
apps/calendar/tasks.py:20
↓ 3 callersMethodget_auth_url
(self, redirect_uri: str, state: str, code_verifier: str | None = None)
providers/tiktok.py:162
↓ 3 callersMethodget_user_pages
Fetch the pages that the authenticated user manages. Returns a list of dicts each containing id, name, access_token, category, and pi
providers/facebook.py:230
↓ 3 callersFunctiongt
(e,t,n)
static/js/htmx.min.js:1
↓ 3 callersFunctionhe
(e,t=()=>{})
static/js/alpine.min.js:5
↓ 3 callersFunctionje
()
static/js/alpine.min.js:5
↓ 3 callersFunctionk
(e)
static/js/htmx.min.js:1
↓ 3 callersFunctionkn
(e)
static/js/htmx.min.js:1
↓ 3 callersFunctionnn
(t,e,n)
static/js/htmx.min.js:1
↓ 3 callersFunctiono
(e,t)
static/js/htmx.min.js:1
↓ 3 callersFunctionparse_insights_response
(data: dict[str, Any])
providers/meta_insights.py:26
↓ 3 callersFunctionpe
(e,t,r)
static/js/alpine.min.js:5
↓ 3 callersMethodpending_activation
(self, *, external_org_id: str)
apps/intelligence/services/client.py:108
↓ 3 callersFunctionprovision_organization_and_workspace
Create a default Organization, Workspace, and memberships for a new user. Skips if the user already belongs to an organization (e.g. invited user
apps/accounts/signals.py:7
↓ 3 callersFunctionq
(e)
static/js/htmx.min.js:1
↓ 3 callersFunctionrecord_failed_auth
Increment the failed-auth counter for this IP. On the first failure, ``cache.add`` seeds the bucket with the window TTL. On subsequent failur
apps/api/limits.py:319
↓ 3 callersMethodrefresh_oauth_token
Refresh this account's OAuth access token via *provider* and persist it. Returns the new access token. Propagates whatever the provider's
apps/social_accounts/models.py:96
↓ 3 callersFunctionremove_from_queue
Remove a single entry, leaving a gap; neighbours are untouched. Comment §3: delete the QueueEntry and clear the matching PlatformPost's sched
apps/calendar/services.py:302
↓ 3 callersFunctionreorder_queue
Reassign the queue's occupied slot times to entries in a new order. Drag-reorder under the slot model: the SET of occupied datetimes is prese
apps/calendar/services.py:347
↓ 3 callersFunctionreslot_to_next_available
Free this entry's slot and move it to the queue's next gap.
apps/calendar/services.py:329
↓ 3 callersFunctionresolve_app_secret
Return the single app secret for one org's platform (.env dominant). Used to bind inbound-webhook verification to the specific account/org being
apps/credentials/models.py:142
↓ 3 callersFunctionresolve_platform_limit
Effective per-24h cap for one ``SocialAccount``. Order: per-account override → platform default → fallback. Note the explicit ``is not None`
apps/api/limits.py:69
↓ 3 callersMethodsetUp
(self)
apps/composer/tests/test_unsplash.py:58
↓ 3 callersMethodsupports_first_comment
Whether this account can have a first comment posted by the worker. Most platforms answer purely from PLATFORM_FIELD_CONFIG. LinkedIn Persona
apps/social_accounts/models.py:195
↓ 3 callersFunctiontoast_response
204 that shows a client toast and optionally fires extra HX-Trigger events. The approval surfaces listen for ``showToast`` (renders the toast) pl
apps/common/htmx.py:17
↓ 3 callersFunctionverify_token
Resolve a raw bearer string to an active ``ApiKey``, or None. Returns None for: malformed token, unknown prefix, hash mismatch, revoked key,
apps/api_keys/services.py:331
↓ 3 callersFunctionwe
(e,t)
static/js/htmx.min.js:1
↓ 3 callersFunctionxn
(e)
static/js/htmx.min.js:1
↓ 3 callersFunctionze
(e)
static/js/alpine.min.js:5
↓ 3 callersFunctionzt
()
static/js/htmx.min.js:1
↓ 2 callersFunction$t
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionAe
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionAr
(e,t)
static/js/alpine.min.js:5
↓ 2 callersFunctionB
()
static/js/htmx.min.js:1
↓ 2 callersFunctionCe
(t)
static/js/htmx.min.js:1
↓ 2 callersFunctionDe
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionDr
(e,t)
static/js/alpine.min.js:5
↓ 2 callersFunctionEn
(e)
static/js/alpine.min.js:5
↓ 2 callersFunctionEt
(e)
static/js/alpine.min.js:5
↓ 2 callersFunctionFe
(e,t,{during:r,start:n,end:i}={},o=()=>{},s=()=>{})
static/js/alpine.min.js:5
↓ 2 callersFunctionHe
(e,o,i,t)
static/js/htmx.min.js:1
↓ 2 callersFunctionIe
static/js/alpine.min.js:5
↓ 2 callersFunctionIe
(e,t)
static/js/htmx.min.js:1
↓ 2 callersFunctionIr
(e)
static/js/alpine.min.js:5
↓ 2 callersFunctionJ
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionK
(e,t,n)
static/js/htmx.min.js:1
↓ 2 callersFunctionKt
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionL
(e,t)
static/js/htmx.min.js:1
↓ 2 callersFunctionLt
(e)
static/js/htmx.min.js:1
↓ 2 callersFunctionMt
static/js/alpine.min.js:5
↓ 2 callersFunctionOe
(t,n)
static/js/htmx.min.js:1
↓ 2 callersFunctionOr
(e,t,r={})
static/js/alpine.min.js:5
↓ 2 callersFunctionOt
(e)
static/js/alpine.min.js:5
↓ 2 callersFunctionOt
(e,t)
static/js/htmx.min.js:1
↓ 2 callersFunctionPe
(e,t)
static/js/alpine.min.js:5
↓ 2 callersFunctionPr
(e,t,r)
static/js/alpine.min.js:5
↓ 2 callersFunctionPt
(t)
static/js/htmx.min.js:1
↓ 2 callersFunctionRt
(e,t)
static/js/alpine.min.js:5
↓ 2 callersFunctionSn
(e,t,r,n)
static/js/alpine.min.js:5
↓ 2 callersFunctionSt
(r,e,t,n)
static/js/htmx.min.js:1
↓ 2 callersFunctionTe
(e)
static/js/alpine.min.js:1
↓ 2 callersFunctionTt
(e,t,r)
static/js/alpine.min.js:5
↓ 2 callersFunctionU
(t)
static/js/htmx.min.js:1
↓ 2 callersFunctionX
(e,t)
static/js/alpine.min.js:5
↓ 2 callersFunctionYr
static/js/alpine.min.js:5
↓ 2 callersMethod__init__
( self, message: str, status_code: int | None = None, **kwargs, )
providers/exceptions.py:52
↓ 2 callersMethod__init__
(self, *args, retry_after: int | None = None, **kwargs)
apps/intelligence/services/exceptions.py:56
↓ 2 callersFunction_activate_two_phase
Two-phase + lost-key rotation. May raise ``_DeferredToWorker`` to signal a worker fallback.
apps/intelligence/views.py:637
↓ 2 callersFunction_apply_analytics_scope_flag
Set ``provider.include_analytics_scopes`` based on AnalyticsPlatformConfig. Providers add their analytics-only scopes (e.g. ``read_insights``,
apps/social_accounts/views.py:58
↓ 2 callersFunction_apply_reconcile_update
(sub: IntelligenceSubscription, remote: dict)
apps/intelligence/tasks.py:276
↓ 2 callersFunction_auth_fail_cache_key
(request: HttpRequest)
apps/api/limits.py:308
↓ 2 callersMethod_auth_headers
(access_token: str)
providers/devto.py:164
↓ 2 callersMethod_basic_auth_header
Build HTTP Basic auth header for token endpoints.
providers/pinterest.py:83
↓ 2 callersFunction_build_feed_events_context
(workspace, selected_feed_id="all", offset=0)
apps/composer/views.py:3699
↓ 2 callersMethod_build_post_info
(self, content: PublishContent, privacy_level: str)
providers/tiktok.py:378
↓ 2 callersFunction_cell_compose_params
Workspace-tz wall-clock (date, time) strings for a display-tz grid cell. The composer reads ``?scheduled_date``/``?scheduled_time`` in the *works
apps/calendar/views.py:305
↓ 2 callersFunction_combine_schedule_dt
Combine the composer's date + time inputs into a workspace-tz-aware datetime. Returns ``None`` unless both parts are present. Shared by the real
apps/composer/views.py:693
↓ 2 callersMethod_compose_html
(self)
apps/composer/tests/test_unsplash.py:82
↓ 2 callersFunction_derive_key
Derive a 256-bit encryption key from SECRET_KEY via HKDF.
apps/common/encryption.py:22
↓ 2 callersFunction_dispatch
Dispatch a single delivery to its channel.
apps/notifications/engine.py:201
← previousnext →401–500 of 3,156, ranked by callers