🔍 Code Extractor

Component not found

Browse Components

Showing 20 of 239 components

  • function signal_handler

    A signal handler function that gracefully handles SIGINT (Ctrl+C) interrupts by logging a shutdown message and exiting the program cleanly.

    File: /tf/active/vicechatdev/SPFCsync/main.py | Lines: 25-28

    signal-handling interrupt-handling graceful-shutdown SIGINT Ctrl+C
  • function main_v25

    Entry point function that runs a SharePoint permission diagnostic tool, testing different authentication scopes and providing troubleshooting guidance.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py | Lines: 151-165

    sharepoint diagnostic authentication troubleshooting app-only-tokens
  • function main_v27

    Entry point function that instantiates an ImprovedProjectVictoriaGenerator and executes its complete pipeline to generate disclosure documents.

    File: /tf/active/vicechatdev/improved_project_victoria_generator.py | Lines: 789-793

    entry-point main-function disclosure-generation RAG document-generation
  • function main_v26

    Entry point function that instantiates a FixedProjectVictoriaGenerator and executes its complete pipeline to generate fixed disclosure documents.

    File: /tf/active/vicechatdev/fixed_project_victoria_generator.py | Lines: 1624-1628

    entry-point pipeline disclosure-generation orchestration main-function
  • function main_v10

    Main entry point function that reads a markdown file, converts it to an enhanced Word document with preserved heading structure, and saves it with a timestamped filename.

    File: /tf/active/vicechatdev/improved_word_converter.py | Lines: 187-215

    document-conversion markdown-to-word file-processing docx main-entry-point
  • function main_v9

    Orchestrates and executes a comprehensive test suite for SharePoint to FileCloud synchronization service, running configuration, connection, and operation tests.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py | Lines: 116-151

    testing integration-test sharepoint filecloud sync
  • function main_v8

    Executes a diagnostic analysis for file synchronization issues, analyzes missing files, and saves the results to a JSON file.

    File: /tf/active/vicechatdev/SPFCsync/deep_diagnostics.py | Lines: 266-281

    diagnostics file-synchronization sharepoint filecloud analysis
  • function main_v7

    Entry point function that initializes and serves the CDocs Panel web application with configurable port and debug mode options.

    File: /tf/active/vicechatdev/cdocs_panel_app.py | Lines: 135-156

    entry-point web-application panel server cli
  • function test_sharepoint_with_token

    Tests SharePoint REST API connectivity and authentication by making a GET request to retrieve site information using a provided access token.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py | Lines: 126-149

    sharepoint api-testing authentication oauth rest-api
  • function test_different_scopes

    Tests OAuth2 authentication with different permission scopes for SharePoint and Microsoft Graph APIs, attempting to acquire access tokens and validate them against a SharePoint site.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py | Lines: 70-124

    authentication oauth2 sharepoint microsoft-graph azure-ad
  • function test_tenant_admin_center_approach

    Displays detailed troubleshooting instructions for resolving SharePoint 'Unsupported app only token' errors by providing three alternative configuration approaches through tenant admin center.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_permissions.py | Lines: 25-68

    sharepoint troubleshooting authentication azure admin
  • class SharePointClient

    A SharePoint client class that provides methods for connecting to SharePoint sites, retrieving documents recursively, downloading file content, and managing document metadata using app-only authentication.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_client.py | Lines: 11-173

    sharepoint document-management file-sync azure-ad authentication
  • function main_v24

    Diagnostic function that tests SharePoint tenant configuration by checking Microsoft Graph API access and provides recommendations based on the results.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 219-245

    diagnostic sharepoint microsoft-graph authentication tenant-configuration
  • function provide_admin_instructions

    Displays comprehensive administrative instructions for fixing SharePoint app-only authentication issues by loading configuration and presenting multiple resolution options.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 173-217

    sharepoint admin-instructions troubleshooting authentication app-only-auth
  • function test_drive_items

    Tests access to items in a Microsoft SharePoint drive by querying the Microsoft Graph API and verifying the response.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 143-171

    microsoft-graph-api sharepoint authentication api-testing drive-access
  • function test_site_drive_access

    Tests access to a SharePoint site's document library (drives) via Microsoft Graph API and attempts to access the first drive's root items.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 110-141

    microsoft-graph sharepoint api-testing authentication document-library
  • function test_graph_sites_api

    Tests Microsoft Graph API access to SharePoint sites by attempting to list available sites and locate a specific target site (vicebio.com), then tests drive access if found.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 69-108

    microsoft-graph sharepoint api-testing authentication oauth2
  • function test_graph_api_access

    Tests Microsoft Graph API access by obtaining an OAuth2 token and verifying connectivity to check tenant settings for SharePoint integration.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 25-67

    microsoft-graph authentication oauth2 sharepoint azure-ad
  • function main_v23

    Orchestrates a comprehensive SharePoint connection diagnostic tool that validates Azure AD authentication and SharePoint access by running multiple tests and reporting results.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py | Lines: 189-227

    diagnostics sharepoint azure-ad authentication testing
  • function test_sharepoint_api_call

    Tests SharePoint REST API connectivity by making an authenticated GET request to retrieve basic site information and validates the access token and permissions.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py | Lines: 145-187

    sharepoint api-testing authentication oauth rest-api