Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightbeanxyz/brightbean-studio
/ functions
Functions
3,156 in github.com/brightbeanxyz/brightbean-studio
⨍
Functions
3,156
◇
Types & classes
668
↳
Endpoints
120
Function
require_org_role
Decorator that requires a minimum org role. Role hierarchy: owner > admin > member
apps/members/decorators.py:9
Function
require_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
Function
require_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
Method
required_scopes
(self)
providers/youtube.py:70
Method
required_scopes
(self)
providers/google_business.py:69
Method
required_scopes
(self)
providers/threads.py:74
Method
required_scopes
(self)
providers/instagram.py:108
Method
required_scopes
(self)
providers/linkedin_company.py:24
Method
required_scopes
(self)
providers/instagram_login.py:120
Method
required_scopes
OAuth scopes required for full functionality.
providers/base.py:76
Method
required_scopes
(self)
providers/bluesky.py:86
Method
required_scopes
(self)
providers/linkedin.py:94
Method
required_scopes
(self)
providers/facebook.py:103
Method
required_scopes
(self)
providers/devto.py:68
Method
required_scopes
(self)
providers/pinterest.py:68
Method
required_scopes
(self)
providers/mastodon.py:78
Method
required_scopes
(self)
providers/linkedin_personal.py:41
Method
required_scopes
(self)
providers/tiktok.py:134
Function
reschedule_post
HTMX endpoint for drag-and-drop rescheduling of a single PlatformPost.
apps/calendar/views.py:1020
Function
research_content_gaps
(request, org_id)
apps/intelligence/views.py:1379
Method
research_content_gaps
( self, *, niche: str, gap_type: list[str] | None = None, limit: int = 20, min_score: int = 0 )
apps/intelligence/services/client.py:490
Function
resend_invitation
Resend an invitation with a fresh token and expiry. Raises: ValueError: If the invitation is already accepted.
apps/members/services.py:199
Function
resend_invite
Resend an invitation email with a fresh token.
apps/members/views.py:170
Function
reset_site
(apps, schema_editor)
apps/accounts/migrations/0004_set_site_brightbean.py:12
Function
resolve_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
Function
resume
Lift a client-requested hold (on_hold → approved).
apps/approvals/views.py:120
Function
resume_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
Function
retrieve
(request, media_id: uuid.UUID)
apps/api/routers/media.py:208
Function
retrieve
(request, post_id: uuid.UUID)
apps/api/routers/posts.py:290
Function
retry_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
Function
reverse_groups
(apps, schema_editor)
apps/composer/migrations/0006_populate_default_idea_groups.py:36
Function
revert_instagram_login
(apps, schema_editor)
apps/credentials/migrations/0004_rename_instagram_personal_to_login.py:9
Function
revert_instagram_login
(apps, schema_editor)
apps/social_accounts/migrations/0006_rename_instagram_personal_to_login.py:11
Function
revoke_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
Function
revoke_invitation
Revoke an invitation by expiring it immediately.
apps/members/services.py:218
Function
revoke_invite
Revoke a pending invitation.
apps/members/views.py:193
Function
revoke_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
Function
revoke_link
Revoke an active connection link.
apps/onboarding/views.py:141
Function
revoke_magic_link
Revoke an active magic link by expiring it immediately.
apps/client_portal/services.py:133
Method
revoke_token
(self, access_token: str)
providers/youtube.py:649
Method
revoke_token
Revoke a Google OAuth token.
providers/google_business.py:146
Method
revoke_token
(self, access_token: str)
providers/instagram_login.py:567
Method
revoke_token
Delete the AT Protocol session (logout).
providers/bluesky.py:165
Method
revoke_token
(self, access_token: str)
providers/linkedin.py:646
Method
revoke_token
(self, access_token: str)
providers/facebook.py:698
Method
revoke_token
(self, access_token: str)
providers/pinterest.py:337
Method
revoke_token
Revoke a Mastodon OAuth token.
providers/mastodon.py:165
Method
revoke_token
(self, access_token: str)
providers/tiktok.py:613
Function
rn
(e,t=Jr)
static/js/alpine.min.js:5
Function
rr
()
static/js/alpine.min.js:1
Function
run_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
Function
run_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
Function
run_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
Function
s3_seam
Make the presigned tools behave as if S3/R2 storage is configured.
apps/mcp/tests/test_presigned_tools.py:48
Function
save_as_template
Save the current post as a reusable template.
apps/composer/views.py:2994
Function
save_post
Save or update a post (draft, schedule, or publish action).
apps/composer/views.py:744
Function
save_posting_slot
Create or update a posting slot.
apps/calendar/views.py:1113
Method
save_user
Create OAuthConnection after saving a new social signup.
apps/accounts/adapters.py:19
Function
saved_replies_list
List saved replies for a workspace.
apps/inbox/views.py:428
Function
saved_reply_create
Create a new saved reply.
apps/inbox/views.py:439
Function
saved_reply_delete
Delete a saved reply.
apps/inbox/views.py:486
Function
saved_reply_edit
Edit an existing saved reply.
apps/inbox/views.py:463
Function
schedule
(request, post_id: uuid.UUID, payload: ScheduleRequest)
apps/api/routers/posts.py:401
Function
scheduled_post
(db, social_account, user, workspace)
apps/mcp/tests/test_transport.py:439
Function
scheduled_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
Function
scheduled_post
(db, social_account, user, workspace)
apps/api/tests/test_review_fixes.py:314
Function
score_packaging
(request, org_id)
apps/intelligence/views.py:1289
Method
score_packaging
( self, *, title: str | None = None, thumbnail_url: str | None = None,
apps/intelligence/services/client.py:464
Function
score_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
Function
score_video_hook
(request, org_id)
apps/intelligence/views.py:1337
Method
score_video_hook
(self, *, youtube_url: str)
apps/intelligence/services/client.py:483
Function
search
(request, workspace_id)
apps/media_library/views.py:195
Function
second_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
Function
second_account
(db, workspace)
apps/api/tests/test_review_fixes.py:89
Function
second_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
Function
second_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
Function
seed_analytics_platform_config
(apps, schema_editor)
apps/social_accounts/migrations/0010_seed_analytics_platform_config.py:4
Function
seed_platform_visibility
(apps, schema_editor)
apps/social_accounts/migrations/0005_seed_platform_visibility.py:4
Function
seeded_assets
A grab-bag of assets exercising every filter path.
apps/api/tests/test_media_router.py:262
Function
select_account
Show page/account selection after multi-page OAuth.
apps/social_accounts/views.py:440
Function
send_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
Function
send_link_email
Send the connection link to a client email.
apps/onboarding/views.py:157
Function
send_magic_link
Generate and send a portal magic link to a client.
apps/client_portal/views_admin.py:134
Function
send_reply
Send a reply via the platform API and record it.
apps/inbox/views.py:213
Method
setUp
(self)
apps/composer/tests/test_media_stream.py:27
Method
setUp
(self)
apps/composer/tests/test_media_stream.py:114
Method
setUp
(self)
apps/composer/tests/test_proposed_publish_at.py:45
Method
setUp
(self)
apps/composer/tests/test_proposed_publish_at.py:85
Method
setUp
(self)
apps/composer/tests/test_queue_rollback.py:19
Method
setUp
(self)
apps/composer/tests/test_template_picker.py:21
Method
setUp
(self)
apps/composer/tests/test_clone.py:17
Method
setUp
(self)
apps/composer/tests/test_clone.py:72
Method
setUp
(self)
apps/composer/tests/test_csv_upload_size.py:16
Method
setUp
(self)
apps/composer/tests/test_account_scope.py:270
Method
setUp
(self)
apps/composer/tests/test_account_scope.py:322
Method
setUp
(self)
apps/composer/tests/test_preview.py:14
Method
setUp
(self)
apps/composer/tests/test_unsplash.py:104
Method
setUp
(self)
apps/composer/tests/test_unsplash.py:200
Method
setUp
(self)
apps/composer/tests/test_unsplash.py:369
Method
setUp
(self)
apps/composer/tests/test_idea_media_flows.py:17
← previous
next →
1,901–2,000 of 3,156, ranked by callers