🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • class SignatureImage_v1

    A custom ReportLab Flowable class that renders signature images in PDF documents with automatic fallback to placeholder text when images are unavailable or cannot be loaded.

    File: /tf/active/vicechatdev/document_auditor/src/audit_page_generator.py | Lines: 26-52

    pdf-generation reportlab flowable signature image-rendering
  • class PDFConverter_v1

    A comprehensive document-to-PDF converter class that handles multiple file formats (Word, Excel, PowerPoint, images) with multiple conversion methods and automatic fallbacks for reliability.

    File: /tf/active/vicechatdev/CDocs/utils/pdf_utils.py | Lines: 55-561

    pdf conversion document-processing file-conversion word
  • class FileCloudIntegration

    Manages integration with FileCloud for document storage and metadata

    File: /tf/active/vicechatdev/CDocs/utils/filecloud_integration.py | Lines: 26-1313

    class filecloudintegration
  • function create_relationship_with_retry

    Creates a relationship between two nodes in a graph database with automatic retry logic that handles case-insensitive UID matching when the initial attempt fails.

    File: /tf/active/vicechatdev/CDocs/utils/uid_helper.py | Lines: 62-114

    graph-database neo4j relationship-creation retry-logic case-insensitive
  • function extract_uid

    Extracts a UID (Unique Identifier) from an object or dictionary by checking both 'uid' and 'UID' properties, returning a string representation or a default value if not found.

    File: /tf/active/vicechatdev/CDocs/utils/uid_helper.py | Lines: 28-60

    uid-extraction utility data-access identifier dictionary
  • function normalize_uid

    Normalizes a UID value by converting it to a string, or generates a new UUID v4 if the input is empty or None.

    File: /tf/active/vicechatdev/CDocs/utils/uid_helper.py | Lines: 10-26

    uid uuid normalization database identifier
  • function get_user_pending_reviews

    Retrieves all pending (and optionally completed) document reviews assigned to a specific user, with support for date filtering and pagination.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1977-2049

    review-management user-assignments document-review pagination filtering
  • function get_review

    Retrieves a specific review cycle by its unique identifier (UID) with optional inclusion of associated document details and review comments.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1884-1972

    document-management review-cycle workflow retrieval query
  • function get_review_statistics

    Retrieves comprehensive review statistics from a Neo4j graph database, including counts of review cycles, approval rates, and reviewer decisions.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1774-1882

    statistics analytics review-system neo4j graph-database
  • function remove_reviewer_from_active_review

    Removes a reviewer from an active review cycle, updating assignment status, adjusting sequential review orders if needed, logging the event, and notifying the removed reviewer.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1616-1771

    review-management reviewer-removal document-review permission-check audit-trail
  • function add_reviewer_to_active_review

    Adds a reviewer to an active review cycle with optional sequence ordering and instructions, handling permissions, notifications, and audit logging.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1471-1613

    document-management review-cycle reviewer-assignment permissions audit-logging
  • function extend_review_deadline

    Extends the deadline for a document review cycle, validating permissions and business rules, then notifying active reviewers of the change.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1347-1468

    document-management review-cycle deadline-extension permission-check audit-trail
  • function cancel_review_cycle

    Cancels an active review cycle for a controlled document, updating the review status, notifying reviewers, and reverting the document status if necessary.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1187-1344

    document-management review-cycle cancellation workflow permissions
  • function close_review_cycle

    Closes a completed review cycle for a controlled document, with optional document status update, permission validation, and stakeholder notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 1044-1184

    document-management review-cycle workflow permissions audit
  • function complete_review

    Completes a document review cycle by submitting a reviewer's decision (APPROVED/REJECTED), updating review status, managing sequential review workflows, and triggering notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 827-1040

    document-management review-workflow approval-process permission-control sequential-workflow
  • function update_review_comment

    Updates an existing review comment's text and/or status with permission checks, audit logging, and notifications for resolved comments.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 658-824

    review-management comment-update permission-control audit-logging notification
  • function add_review_comment

    Adds a comment to a document review cycle with support for threaded comments, different comment types, and location-based annotations.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 465-653

    review comment document-management collaboration threaded-comments
  • function get_user_assigned_reviews

    Retrieves all review assignments for a specific user with optional filtering by status, including associated review cycle, document, and version details.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 380-461

    document-management review-workflow user-assignments pagination data-aggregation
  • function get_document_review_cycles

    Retrieves all review cycles associated with a specific document, with optional filtering for active cycles only.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 308-377

    document-management review-cycles database-query neo4j controlled-documents
  • function get_review_cycle

    Retrieves comprehensive information about a review cycle, including optional reviewer assignments, comments, and associated document details.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py | Lines: 216-305

    review-cycle document-management review-workflow data-retrieval graph-database