🔍 Code Extractor

Browse Components

Showing 20 of 1353 components

  • function check_filecloud_structure

    Diagnostic function that checks the FileCloud server structure and verifies accessibility of various paths including root, SHARED, and configured base paths.

    File: /tf/active/vicechatdev/SPFCsync/check_filecloud_structure.py | Lines: 9-82

    diagnostic filecloud connectivity-check path-verification debugging
  • class SyncDiagnostics

    A diagnostic class that analyzes and reports on synchronization issues between SharePoint and FileCloud, identifying missing files and root causes of sync failures.

    File: /tf/active/vicechatdev/SPFCsync/deep_diagnostics.py | Lines: 20-264

    diagnostics sync-analysis sharepoint filecloud troubleshooting
  • function quick_test

    A diagnostic function that tests SharePoint Graph API connectivity and verifies access to the main site library by checking for expected folder structures in the root directory.

    File: /tf/active/vicechatdev/SPFCsync/quick_test.py | Lines: 10-74

    sharepoint diagnostic testing connectivity microsoft-graph
  • function search_for_folders

    Searches for specific predefined folders in a SharePoint site using Microsoft Graph API and prints the search results with their locations.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 224-246

    sharepoint microsoft-graph folder-search api document-management
  • function explore_alternative_endpoints

    Tests multiple Microsoft Graph API endpoints to locate missing folders in a SharePoint drive by trying different URL patterns and searching for expected folders.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 188-222

    sharepoint microsoft-graph-api diagnostic debugging api-testing
  • function explore_site_lists

    Retrieves and displays all SharePoint lists from a specified site using Microsoft Graph API, printing their display names, IDs, template types, and web URLs.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 165-186

    sharepoint microsoft-graph api lists discovery
  • function explore_library_items

    Retrieves and displays items from a SharePoint document library using Microsoft Graph API, showing the total count and details of up to 5 items.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 144-163

    sharepoint microsoft-graph document-library api file-listing
  • function explore_document_libraries

    Retrieves and displays all document libraries from a SharePoint site using Microsoft Graph API, then explores items within each library.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 114-142

    sharepoint microsoft-graph document-libraries api-integration data-exploration
  • function explore_drive_root

    Retrieves and displays the contents of a SharePoint drive's root directory, showing folders and files with their counts and names.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 89-112

    sharepoint microsoft-graph api drive-exploration file-system
  • function explore_all_drives

    Retrieves and displays all document drives from a SharePoint site using Microsoft Graph API, then explores the root folder of each drive.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 65-87

    sharepoint microsoft-graph api drives document-libraries
  • function explore_site_structure

    Explores and displays the complete structure of a SharePoint site using Microsoft Graph API, including drives, document libraries, lists, and alternative API endpoints.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 17-63

    sharepoint microsoft-graph site-exploration diagnostic api-discovery
  • function load_config

    Parses a .env file and loads key-value pairs into a dictionary, ignoring comments and handling errors gracefully.

    File: /tf/active/vicechatdev/SPFCsync/grant_sharepoint_access.py | Lines: 10-22

    configuration environment-variables file-parsing dotenv settings
  • function load_env_file

    Reads and parses environment variables from a .env file in the current directory, returning them as a dictionary.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 58-77

    environment-variables configuration file-parsing dotenv settings
  • function validate_azure_client_secret

    Validates an Azure client secret by checking for placeholder values, minimum length requirements, and common invalid patterns.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 45-56

    validation azure authentication configuration security
  • function validate_azure_client_id

    Validates that an Azure client ID string conforms to the standard GUID format (8-4-4-4-12 hexadecimal pattern) and is not a placeholder value.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 33-43

    validation azure authentication guid client-id
  • function validate_sharepoint_url

    Validates that a given URL string conforms to SharePoint site URL format requirements, checking for proper protocol, domain, and path structure.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 13-31

    validation sharepoint url-validation microsoft configuration
  • function check_all_libraries

    Discovers and lists all document libraries (drives) in a SharePoint site, displaying their metadata and contents including folders and files.

    File: /tf/active/vicechatdev/SPFCsync/check_libraries.py | Lines: 10-103

    sharepoint microsoft-graph document-libraries discovery audit
  • function test_upload_modalities

    Integration test function that validates FileCloud upload functionality by testing both new file creation and existing file update scenarios.

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py | Lines: 37-228

    testing integration-test file-upload filecloud cloud-storage
  • function create_test_file

    Creates a temporary test file with specified content and filename in a temporary directory.

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py | Lines: 27-35

    testing file-creation temporary-files test-utilities file-upload
  • class FileCloudClient

    A client class for interacting with FileCloud server API, providing authentication, file management, folder creation, and file upload capabilities.

    File: /tf/active/vicechatdev/SPFCsync/filecloud_client.py | Lines: 8-463

    filecloud file-management cloud-storage api-client file-upload