🔍 Code Extractor

Browse Components

Showing 20 of 446 components

  • class SharePointRestClient

    A SharePoint REST API client that provides app-only authentication and methods for retrieving and downloading documents from SharePoint sites.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_rest_client.py | Lines: 7-236

    sharepoint rest-api oauth2 authentication document-management
  • class Config

    Configuration class that manages environment-based settings for a SharePoint to FileCloud synchronization application.

    File: /tf/active/vicechatdev/SPFCsync/config.py | Lines: 9-72

    configuration environment-variables sharepoint filecloud sync
  • function test_filecloud_integration

    Integration test function that verifies the SharePoint Graph API client works correctly with FileCloud synchronization service by creating a sync service instance and testing document retrieval.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py | Lines: 72-97

    integration-test sharepoint filecloud sync graph-api
  • function test_graph_client

    A test function that validates the SharePoint Graph API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py | Lines: 15-70

    testing sharepoint graph-api integration-test microsoft-graph
  • function test_rest_client

    A test function that validates the SharePoint REST API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_rest_client.py | Lines: 16-59

    testing sharepoint rest-api integration-test azure
  • 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 rest
  • 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_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 uuid
  • 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