MCPcopy Create free account

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

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

Functionrequire_org_role
Decorator that requires a minimum org role. Role hierarchy: owner > admin > member
apps/members/decorators.py:9
Functionrequire_permission
Decorator that checks a specific permission key against effective permissions. This works with both built-in roles and custom roles via the e
apps/members/decorators.py:69
Functionrequire_workspace_role
Decorator that requires a minimum workspace role. For users with custom roles, this checks the custom role's permissions against the built-in
apps/members/decorators.py:32
Methodrequired_scopes
(self)
providers/youtube.py:70
Methodrequired_scopes
(self)
providers/google_business.py:69
Methodrequired_scopes
(self)
providers/threads.py:74
Methodrequired_scopes
(self)
providers/instagram.py:108
Methodrequired_scopes
(self)
providers/linkedin_company.py:24
Methodrequired_scopes
(self)
providers/instagram_login.py:120
Methodrequired_scopes
OAuth scopes required for full functionality.
providers/base.py:76
Methodrequired_scopes
(self)
providers/bluesky.py:86
Methodrequired_scopes
(self)
providers/linkedin.py:94
Methodrequired_scopes
(self)
providers/facebook.py:103
Methodrequired_scopes
(self)
providers/devto.py:68
Methodrequired_scopes
(self)
providers/pinterest.py:68
Methodrequired_scopes
(self)
providers/mastodon.py:78
Methodrequired_scopes
(self)
providers/linkedin_personal.py:41
Methodrequired_scopes
(self)
providers/tiktok.py:134
Functionreschedule_post
HTMX endpoint for drag-and-drop rescheduling of a single PlatformPost.
apps/calendar/views.py:1020
Functionresearch_content_gaps
(request, org_id)
apps/intelligence/views.py:1379
Methodresearch_content_gaps
( self, *, niche: str, gap_type: list[str] | None = None, limit: int = 20, min_score: int = 0 )
apps/intelligence/services/client.py:490
Functionresend_invitation
Resend an invitation with a fresh token and expiry. Raises: ValueError: If the invitation is already accepted.
apps/members/services.py:199
Functionresend_invite
Resend an invitation email with a fresh token.
apps/members/views.py:170
Functionreset_site
(apps, schema_editor)
apps/accounts/migrations/0004_set_site_brightbean.py:12
Functionresolve_public_ip
Resolve url's hostname to a public IPv4/IPv6 string, or return None. Unlike is_safe_url (which only returns True/False), this returns the actual
apps/common/validators.py:52
Functionresume
Lift a client-requested hold (on_hold → approved).
apps/approvals/views.py:120
Functionresume_hold
Lift a client-requested hold — move an ``on_hold`` post back to ``approved``. Reviewer-side counterpart to :func:`request_hold`, so a held post i
apps/approvals/services.py:294
Functionretrieve
(request, media_id: uuid.UUID)
apps/api/routers/media.py:208
Functionretrieve
(request, post_id: uuid.UUID)
apps/api/routers/posts.py:290
Functionretry_failed_deliveries
Retry pending notification deliveries that are past their backoff window. Registered on a 1-minute repeating schedule. ``notify()`` dispatches th
apps/notifications/tasks.py:74
Functionreverse_groups
(apps, schema_editor)
apps/composer/migrations/0006_populate_default_idea_groups.py:36
Functionrevert_instagram_login
(apps, schema_editor)
apps/credentials/migrations/0004_rename_instagram_personal_to_login.py:9
Functionrevert_instagram_login
(apps, schema_editor)
apps/social_accounts/migrations/0006_rename_instagram_personal_to_login.py:11
Functionrevoke_api_key
Mark a key revoked and bust the in-process cache. Worst-case revocation propagation after this returns is bounded by ``REVOCATION_CACHE_TTL``
apps/api_keys/services.py:289
Functionrevoke_invitation
Revoke an invitation by expiring it immediately.
apps/members/services.py:218
Functionrevoke_invite
Revoke a pending invitation.
apps/members/views.py:193
Functionrevoke_key
Soft-revoke a key. The actual delete is deferred to the background sweep (or a future admin action) — we only set ``revoked_at`` so the verif
apps/api_keys/views.py:451
Functionrevoke_link
Revoke an active connection link.
apps/onboarding/views.py:141
Functionrevoke_magic_link
Revoke an active magic link by expiring it immediately.
apps/client_portal/services.py:133
Methodrevoke_token
(self, access_token: str)
providers/youtube.py:649
Methodrevoke_token
Revoke a Google OAuth token.
providers/google_business.py:146
Methodrevoke_token
(self, access_token: str)
providers/instagram_login.py:567
Methodrevoke_token
Delete the AT Protocol session (logout).
providers/bluesky.py:165
Methodrevoke_token
(self, access_token: str)
providers/linkedin.py:646
Methodrevoke_token
(self, access_token: str)
providers/facebook.py:698
Methodrevoke_token
(self, access_token: str)
providers/pinterest.py:337
Methodrevoke_token
Revoke a Mastodon OAuth token.
providers/mastodon.py:165
Methodrevoke_token
(self, access_token: str)
providers/tiktok.py:613
Functionrn
(e,t=Jr)
static/js/alpine.min.js:5
Functionrr
()
static/js/alpine.min.js:1
Functionrun_approval_reminders_cycle
Send reminders/escalations for stalled approvals (registered hourly). Wraps ``check_approval_reminders`` so the plain function stays callable
apps/approvals/tasks.py:177
Functionrun_inbox_sync_cycle
Run one inbox cycle on the shared ``process_tasks`` worker (every deploy target). Delegates to ``InboxSyncEngine.run_cycle`` — the same entry poi
apps/inbox/tasks.py:197
Functionrun_orphaned_media_sweep
Delete media assets no longer referenced by any post, idea, or template. Wraps ``services.sweep_orphaned_media`` (the same code path as the `
apps/media_library/tasks.py:207
Functions3_seam
Make the presigned tools behave as if S3/R2 storage is configured.
apps/mcp/tests/test_presigned_tools.py:48
Functionsave_as_template
Save the current post as a reusable template.
apps/composer/views.py:2994
Functionsave_post
Save or update a post (draft, schedule, or publish action).
apps/composer/views.py:744
Functionsave_posting_slot
Create or update a posting slot.
apps/calendar/views.py:1113
Methodsave_user
Create OAuthConnection after saving a new social signup.
apps/accounts/adapters.py:19
Functionsaved_replies_list
List saved replies for a workspace.
apps/inbox/views.py:428
Functionsaved_reply_create
Create a new saved reply.
apps/inbox/views.py:439
Functionsaved_reply_delete
Delete a saved reply.
apps/inbox/views.py:486
Functionsaved_reply_edit
Edit an existing saved reply.
apps/inbox/views.py:463
Functionschedule
(request, post_id: uuid.UUID, payload: ScheduleRequest)
apps/api/routers/posts.py:401
Functionscheduled_post
(db, social_account, user, workspace)
apps/mcp/tests/test_transport.py:439
Functionscheduled_post
A scheduled Post with one PlatformPost child plus a non-empty ``platform_post_id`` so we exercise every field the old MCP serializer used to d
apps/mcp/tests/test_rest_parity.py:110
Functionscheduled_post
(db, social_account, user, workspace)
apps/api/tests/test_review_fixes.py:314
Functionscore_packaging
(request, org_id)
apps/intelligence/views.py:1289
Methodscore_packaging
( self, *, title: str | None = None, thumbnail_url: str | None = None,
apps/intelligence/services/client.py:464
Functionscore_pct
Convert a sub-score on the 0–10 axis into an integer percent for progress-bar widths in templates. Clamps to [0, 100] so a 12/10 score doesn't
apps/intelligence/templatetags/intelligence_extras.py:51
Functionscore_video_hook
(request, org_id)
apps/intelligence/views.py:1337
Methodscore_video_hook
(self, *, youtube_url: str)
apps/intelligence/services/client.py:483
Functionsearch
(request, workspace_id)
apps/media_library/views.py:195
Functionsecond_account
A SocialAccount in the same workspace that the MCP key is NOT scoped to — used for confused-deputy regression tests.
apps/mcp/tests/test_transport.py:121
Functionsecond_account
(db, workspace)
apps/api/tests/test_review_fixes.py:89
Functionsecond_account
Second account in the SAME workspace that the key is NOT scoped to. Used to construct a Post whose only PlatformPost targets an account outsi
apps/api/tests/test_routers.py:439
Functionsecond_account
Second SocialAccount in the same workspace — used to build a multi-child post for the MCP cancel atomic test.
apps/api/tests/test_review_fixes_round2.py:588
Functionseed_analytics_platform_config
(apps, schema_editor)
apps/social_accounts/migrations/0010_seed_analytics_platform_config.py:4
Functionseed_platform_visibility
(apps, schema_editor)
apps/social_accounts/migrations/0005_seed_platform_visibility.py:4
Functionseeded_assets
A grab-bag of assets exercising every filter path.
apps/api/tests/test_media_router.py:262
Functionselect_account
Show page/account selection after multi-page OAuth.
apps/social_accounts/views.py:440
Functionsend_daily_digests
Send daily email digests to users who have digest mode enabled. Should be scheduled to run once daily (e.g., 08:00 in each user's timezone).
apps/notifications/tasks.py:18
Functionsend_link_email
Send the connection link to a client email.
apps/onboarding/views.py:157
Functionsend_magic_link
Generate and send a portal magic link to a client.
apps/client_portal/views_admin.py:134
Functionsend_reply
Send a reply via the platform API and record it.
apps/inbox/views.py:213
MethodsetUp
(self)
apps/composer/tests/test_media_stream.py:27
MethodsetUp
(self)
apps/composer/tests/test_media_stream.py:114
MethodsetUp
(self)
apps/composer/tests/test_proposed_publish_at.py:45
MethodsetUp
(self)
apps/composer/tests/test_proposed_publish_at.py:85
MethodsetUp
(self)
apps/composer/tests/test_queue_rollback.py:19
MethodsetUp
(self)
apps/composer/tests/test_template_picker.py:21
MethodsetUp
(self)
apps/composer/tests/test_clone.py:17
MethodsetUp
(self)
apps/composer/tests/test_clone.py:72
MethodsetUp
(self)
apps/composer/tests/test_csv_upload_size.py:16
MethodsetUp
(self)
apps/composer/tests/test_account_scope.py:270
MethodsetUp
(self)
apps/composer/tests/test_account_scope.py:322
MethodsetUp
(self)
apps/composer/tests/test_preview.py:14
MethodsetUp
(self)
apps/composer/tests/test_unsplash.py:104
MethodsetUp
(self)
apps/composer/tests/test_unsplash.py:200
MethodsetUp
(self)
apps/composer/tests/test_unsplash.py:369
MethodsetUp
(self)
apps/composer/tests/test_idea_media_flows.py:17
← previousnext →1,901–2,000 of 3,156, ranked by callers