🔍 Code Extractor

Component not found

Browse Components

Showing 20 of 246 components

  • class SharePointGraphClient

    SharePoint client using Microsoft Graph API. This bypasses SharePoint REST API app-only token issues.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_graph_client.py | Lines: 8-526

    class sharepointgraphclient
  • function analyze_structure

    Analyzes and reports on the folder structure of a SharePoint site, displaying folder paths, file counts, and searching for expected folder patterns.

    File: /tf/active/vicechatdev/SPFCsync/analyze_structure.py | Lines: 10-92

    sharepoint analysis folder-structure microsoft-graph audit
  • function check_site_vs_channels

    Diagnostic function that analyzes and compares SharePoint site structure, specifically examining the main site document library versus Teams channel document libraries to identify the correct library for synchronization.

    File: /tf/active/vicechatdev/SPFCsync/check_site_library.py | Lines: 10-167

    sharepoint diagnostic microsoft-graph document-library teams-channels
  • function dry_run_test

    Performs a dry run test of SharePoint to FileCloud synchronization, analyzing up to a specified number of documents without actually transferring files.

    File: /tf/active/vicechatdev/SPFCsync/dry_run_test.py | Lines: 40-265

    dry-run testing sharepoint filecloud sync
  • function format_datetime

    Converts an ISO format datetime string into a human-readable UTC datetime string formatted as 'YYYY-MM-DD HH:MM:SS UTC'.

    File: /tf/active/vicechatdev/SPFCsync/dry_run_test.py | Lines: 30-38

    datetime formatting string-manipulation ISO-format UTC
  • function format_file_size

    Converts a file size in bytes to a human-readable string format with appropriate units (B, KB, MB, GB, TB).

    File: /tf/active/vicechatdev/SPFCsync/dry_run_test.py | Lines: 19-28

    file-size formatting utility human-readable bytes-conversion
  • function format_file_size_v1

    Converts a file size in bytes to a human-readable string format with appropriate units (B, KB, MB, GB, TB).

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py | Lines: 16-25

    file-size formatting utility human-readable bytes-conversion
  • function main_v5

    Main entry point for a SharePoint to FileCloud synchronization application that handles command-line arguments, connection testing, and orchestrates single or continuous sync operations.

    File: /tf/active/vicechatdev/SPFCsync/main.py | Lines: 30-133

    cli entry-point synchronization sharepoint filecloud
  • function main_v28

    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_v27

    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_v26

    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_v25

    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 main_v24

    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 main_v23

    Entry point function for a FileCloud ACL management test script that parses command-line arguments and initiates ACL testing.

    File: /tf/active/vicechatdev/test_acl_functions.py | Lines: 127-137

    cli command-line testing filecloud acl
  • function main_v22

    Entry point function that parses command-line arguments and orchestrates the FileCloud email processing workflow to find, download, and convert .msg files.

    File: /tf/active/vicechatdev/msg_to_eml.py | Lines: 1518-1535

    cli command-line entry-point filecloud email-processing
  • function main_v21

    Main test function that validates SharePoint Graph API integration, tests the Graph client connection, and verifies FileCloud sync functionality.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py | Lines: 99-145

    testing integration-test sharepoint graph-api filecloud
  • function main_v20

    Main test function that validates SharePoint REST API connectivity by loading configuration, setting up logging, and executing REST client tests.

    File: /tf/active/vicechatdev/SPFCsync/test_rest_client.py | Lines: 61-90

    testing sharepoint rest-api integration-test configuration
  • function main_v19

    A diagnostic function that explores SharePoint site structure to investigate why only 2 folders are visible when more are expected in the web interface.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 248-288

    diagnostic sharepoint debugging folder-exploration configuration-validation
  • function main_v18

    Interactive CLI helper function that generates and displays instructions for granting SharePoint app permissions to an Azure AD application.

    File: /tf/active/vicechatdev/SPFCsync/grant_sharepoint_access.py | Lines: 24-85

    sharepoint azure-ad permissions cli-helper configuration
  • function main_v17

    A validation function that checks SharePoint configuration settings from environment variables and provides diagnostic feedback on their validity.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 79-128

    validation configuration sharepoint azure environment-variables