MCPcopy Create free account

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

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

Methodtest_unaudited_options_use_self_only_for_implicit_default
(self, mock_request)
tests/providers/test_tiktok.py:423
Methodtest_unauthenticated_post_advertises_oauth
(self)
apps/mcp/tests/test_oauth_auth.py:115
Methodtest_unauthenticated_post_to_no_slash_url_advertises_oauth
(self)
apps/mcp/tests/test_oauth_auth.py:124
Methodtest_unauthenticated_request_redirects
(self)
apps/media_library/tests/test_tag_endpoints.py:99
Methodtest_unauthenticated_returns_401
(self)
apps/api/tests/test_media_router.py:139
Methodtest_unavailable_platform_returns_reason
(self, client_with_token, linkedin_personal_account)
apps/api/tests/test_analytics_router.py:281
Methodtest_unchanged_save_keeps_approved
(self)
apps/approvals/test_workflow.py:316
Methodtest_unconfigured_app_secret_returns_403
(self, client)
apps/inbox/tests/test_webhooks.py:171
Methodtest_unconfigured_token_returns_403
(self, client)
apps/inbox/tests/test_webhooks.py:71
Methodtest_under_cap_csv_proceeds_to_mapping
(self)
apps/composer/tests/test_csv_upload_size.py:46
Methodtest_unicode_digit_cover_timestamp_does_not_500
(self)
apps/composer/tests/test_unsplash.py:405
Methodtest_unique_constraint
Same workspace + platform + platform_id should be unique.
apps/social_accounts/tests/test_models.py:59
Methodtest_unique_instance_url
(self, db)
apps/social_accounts/tests/test_models.py:144
Methodtest_unknown_account_is_403
(self, client_with_token)
apps/api/tests/test_analytics_router.py:314
Methodtest_unknown_field_rejected_by_additional_properties_false
(self, client_with_token, social_account)
apps/mcp/tests/test_review_fixes.py:156
Methodtest_unknown_method_logs_404
(self, client_with_token, issued_key)
apps/mcp/tests/test_review_fixes.py:211
Methodtest_unknown_method_returns_method_not_found
(self, client_with_token)
apps/mcp/tests/test_transport.py:222
Functiontest_unknown_platforms_pass_through_unchanged
()
tests/test_oauth_aliases.py:30
Methodtest_unknown_tool_call_returns_invalid_params
(self, client_with_token)
apps/mcp/tests/test_transport.py:265
Methodtest_unread_count_endpoint
(self, client, user)
apps/notifications/tests.py:150
Methodtest_unsatisfiable_range_returns_416
(self)
apps/composer/tests/test_media_stream.py:86
Methodtest_unscoped_deselect_never_deletes_published_row
(self)
apps/composer/tests/test_account_scope.py:118
Methodtest_unscoped_deselect_still_deletes_draft_row
(self)
apps/composer/tests/test_account_scope.py:127
Methodtest_update_already_gone_slot_is_idempotent_self_heal
Editing the time of an own-workspace slot that is already gone refreshes the grid (HX-Trigger) instead of 404ing — mirrors the delete self-hea
apps/calendar/tests.py:209
Methodtest_update_busts_verify_token_cache
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:618
Methodtest_update_slot_belonging_to_different_workspace_is_noop
A slot outside the caller's workspace must never be modified.
apps/calendar/tests.py:156
Methodtest_upload_media_rejects_oversize_base64
Sending just over the 1 MB raw cap (~1.4 MB base64) — comfortably under Django's 2.5 MB DATA_UPLOAD_MAX_MEMORY_SIZE so our explicit JS
apps/api/tests/test_media_router.py:439
Methodtest_upload_media_via_base64
(self, client_with_token)
apps/api/tests/test_media_router.py:426
Methodtest_upload_then_create_draft_all_over_oauth
(self, s3_seam)
apps/mcp/tests/test_presigned_tools.py:195
Methodtest_uploaded_content_type_is_overridden_by_sniff
(self)
apps/media_library/tests/test_security.py:78
Methodtest_uploads_an_image
(self, client_with_token)
apps/api/tests/test_media_router.py:122
Methodtest_valid_account_param_renders_scope_input
(self)
apps/composer/tests/test_account_scope.py:159
Methodtest_valid_bearer_passes
(self, client_with_token)
apps/mcp/tests/test_transport.py:164
Methodtest_valid_signature_processes_dm
(self, client, ig_login_account)
apps/inbox/tests/test_webhooks.py:101
Methodtest_valid_token_authenticates
(self, client_with_token)
apps/api/tests/test_routers.py:150
Methodtest_valid_token_resolves
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:195
Methodtest_valid_transitions_from_draft
(self)
apps/composer/tests/__init__.py:21
Methodtest_valid_transitions_from_publishing
(self)
apps/composer/tests/__init__.py:35
Methodtest_valid_transitions_from_scheduled
(self)
apps/composer/tests/__init__.py:29
Methodtest_validate_file_accepts_real_jpeg
(self)
apps/media_library/tests/test_security.py:58
Methodtest_validate_file_rejects_html_labelled_as_jpeg
(self)
apps/media_library/tests/test_security.py:48
Methodtest_validate_token_returns_bool
validate_token should return False when get_profile fails.
tests/providers/test_base.py:107
Methodtest_video_cover_timestamp_forwarded_as_int
(self, mock_request)
tests/providers/test_tiktok.py:575
Methodtest_video_cover_timestamp_invalid_or_absent_omitted
(self, mock_request)
tests/providers/test_tiktok.py:588
Methodtest_video_over_max_duration_blocked_before_init
(self, mock_request)
tests/providers/test_tiktok.py:451
Methodtest_video_within_max_duration_proceeds
(self, mock_request)
tests/providers/test_tiktok.py:473
Methodtest_viewer_cannot_create_event
(self)
apps/calendar/test_security.py:54
Methodtest_viewer_denied_permission_gated_tool
(self)
apps/mcp/tests/test_oauth_auth.py:194
Methodtest_viewer_get_post_redacts_internal_notes
(self)
apps/mcp/tests/test_oauth_auth.py:284
Methodtest_viewer_level_admin_cannot_demote_owner_via_workspace_form
(self)
apps/members/tests/test_role_hierarchy.py:269
Methodtest_viewer_level_admin_cannot_remove_owner_via_workspace_form
(self)
apps/members/tests/test_role_hierarchy.py:286
Methodtest_well_formed_args_still_succeed
(self, client_with_token, social_account)
apps/mcp/tests/test_review_fixes.py:173
Methodtest_whitespace_only_returns_empty_list
(self)
apps/common/tests/test_validators.py:60
Methodtest_within_debounce_does_not_re_update
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:664
Methodtest_without_upload_media_permission_returns_403
(self, db, user, owner_memberships, workspace, social_account)
apps/api/tests/test_media_router.py:144
Methodtest_workspace_manager_can_invite_client
(self)
apps/members/tests/test_role_hierarchy.py:332
Methodtest_workspace_options_partial_handles_bad_uuid
Codex P6 regression: Django UUIDField raises ``ValidationError``, not ``ValueError``, so the previous narrower catch let bad UUIDs bub
apps/api/tests/test_review_fixes_round2.py:421
Methodtest_workspace_override_takes_precedence_over_org
(self)
apps/calendar/tests.py:307
Methodtest_workspace_scope_excludes_other_workspaces
(self)
apps/calendar/tests.py:505
Methodtest_workspace_scoped_manager
for_workspace() should filter by workspace.
apps/social_accounts/tests/test_models.py:79
Methodtest_wrong_secret_constant_time_compare_fails
Tamper the random part while keeping the lookup; HMAC compare must fail.
apps/api_keys/tests/test_services.py:207
Methodtest_wrong_token_returns_403
(self, client)
apps/inbox/tests/test_webhooks.py:62
Methodtest_xff_honoured_when_remote_is_trusted
(self, settings)
apps/api/tests/test_review_fixes.py:212
Methodtest_xff_ignored_when_remote_is_not_in_trusted_list
(self, settings)
apps/api/tests/test_review_fixes.py:203
Methodtest_xss_payload_persists_verbatim
(self)
apps/composer/tests/test_save_post_tags.py:76
Methodtest_xss_payload_persists_verbatim_and_renders_escaped
A tag containing HTML must round-trip through save → render escaped.
apps/media_library/tests/test_tag_endpoints.py:129
Methodtest_xss_payload_renders_escaped_in_compose_edit
Post a tag with HTML, then GET the compose edit page; assert escaped.
apps/composer/tests/test_save_post_tags.py:83
Methodtest_yt_tags_truncated_to_total_chars_cap
(self)
apps/composer/tests/test_save_post_tags.py:169
Methodtest_zero_cover_timestamp_persisted
(self)
apps/composer/tests/test_unsplash.py:410
Methodtest_zero_daily_post_limit_override_locks_account
(self, social_account)
apps/api/tests/test_review_fixes.py:124
Functionthumbnail_picker
Modal picker for selecting an image asset as a YouTube thumbnail. Image-only, selection dispatches a client-side event; does not attach anyth
apps/composer/views.py:1293
Functionthumbnail_upload
Upload an image from the local machine to the media library and return its id + URL so the composer can wire it as a YouTube thumbnail. Image
apps/composer/views.py:1316
Functiontiktok_creator_info
Fetch TikTok creator info for the composer's TikTok settings panel. TikTok's integration guidelines require querying this fresh before each p
apps/composer/views.py:1800
Functiontn
()
static/js/alpine.min.js:5
Methodto_python
(self, value)
apps/common/encryption.py:78
Methodto_python
(self, value)
apps/common/encryption.py:99
Functiontoggle_posting_slot_day
Toggle is_active for all posting slots of an account on a given day. Account-level op: unlike delete/update (which self-heal a vanished *slot*),
apps/calendar/views.py:1192
Functiontransition_platform_post
Transition a single PlatformPost to a target editorial status. Used by the composer's per-account chip menu so the user can take a single soc
apps/composer/views.py:1046
Functiontwo_draft_children
Post with two draft children targeting two different accounts; both in the key's allowlist so the route accepts it.
apps/api/tests/test_review_fixes.py:361
Functionunread_count
JSON endpoint for polling unread badge count.
apps/notifications/views.py:97
Functionunread_notification_count
Add unread notification count to all template contexts.
apps/notifications/context_processors.py:1
Functionunsplash_import
Download selected Unsplash photos server-side and attach them as media. Mirrors upload_media: attaches to the post when post_id is given, else
apps/composer/views.py:1613
Functionunsplash_search
Proxy an Unsplash photo search so the API key stays server-side. Returns results trimmed to what the composer modal needs. Grid images are ho
apps/composer/views.py:1547
Functionupdate
(request, post_id: uuid.UUID, payload: UpdatePostRequest)
apps/api/routers/posts.py:298
Functionupdate_api_key
Edit an existing key's permissions, account allowlist, and expiry in place. Used by the org UI's "Edit" action so a key's scope can change after
apps/api_keys/services.py:215
Functionupdate_billing_contact
(request, org_id)
apps/intelligence/views.py:1116
Functionupdate_comment
Update a comment's body. Only the author can edit. When `workspace` is provided, the comment's post is required to belong to that workspace —
apps/approvals/comments.py:65
Functionupdate_member_org_role
Update a member's organization role. Raises: ValueError: If demoting the last owner, or if `caller` lacks authority to either
apps/members/services.py:255
Functionupdate_member_role
Update a member's organization role.
apps/members/views.py:274
Functionupdate_posting_slot
Update a posting slot's time. Idempotent: a slot that is already gone refreshes the grid (clearing the phantom row) instead of 404ing.
apps/calendar/views.py:1228
Functionupdate_workspace_assignments
Update workspace assignments for a member. Args: org: Organization. user: The user whose assignments to update. assignmen
apps/members/services.py:291
Functionupload
Upload a binary into the workspace's media library. Body is ``multipart/form-data`` because agents posting videos can't cleanly base64-encode
apps/api/routers/media.py:81
Functionupload
(request, workspace_id)
apps/media_library/views.py:135
Functionupload_media
Upload a file directly from the composer and optionally attach to a post.
apps/composer/views.py:1982
Methodusage
(self)
apps/intelligence/services/client.py:459
Functionuse_template
Redirect to composer with template data pre-filled.
apps/composer/views.py:3063
Functionuser
(db)
conftest.py:10
Functionuser
(db)
apps/accounts/tests/test_adapters.py:18
Functionuser
(db)
apps/mcp/tests/test_review_fixes.py:53
Functionuser
(db)
apps/mcp/tests/test_transport.py:72
← previousnext →3,001–3,100 of 3,156, ranked by callers