🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function update_approval_comment_v1

    Updates an existing approval comment in a document approval workflow, allowing modification of comment text and status (e.g., marking as resolved) with permission checks and audit logging.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 543-625

    approval-workflow comment-management permission-control audit-logging document-management
  • function add_approval_comment_v1

    Adds a comment to an approval cycle with optional location information, page references, and reply threading. Validates user permissions, logs audit trails, and sends notifications to other approvers for issue-type comments.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 419-540

    approval comment document-management collaboration audit-trail
  • function get_user_assigned_approvals

    Retrieves and paginates approval cycles assigned to a specific user, with optional filtering by status and completion state.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 332-416

    approval-management user-assignments pagination filtering document-workflow
  • function get_user_assigned_approvals_v1

    Retrieves all approval assignments for a specific user with optional filtering by status, including associated approval cycles, documents, and version information.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py | Lines: 359-440

    approval-workflow document-management user-assignments pagination controller
  • function get_document_approvals

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

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 263-329

    approval-management document-control database-query neo4j graph-database
  • function get_approval_cycle_v1

    Retrieves an approval cycle by its unique identifier (UID) and optionally includes associated comments and document information.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 210-260

    approval document-management workflow database-query controlled-documents
  • function create_approval_cycle

    Creates a new approval cycle for a document, assigning approvers with configurable workflow options (sequential/parallel), instructions, and due dates.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py | Lines: 34-207

    approval-workflow document-management transaction permission-check notification
  • function create_approval_cycle_v1

    Creates a new approval cycle for a controlled document, managing approver assignments, permissions, notifications, and audit logging.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py | Lines: 37-192

    approval-workflow document-management access-control permissions audit-trail
  • function start_document_approval_workflow

    Initiates an approval workflow for a document in FileCloud, validating document existence, preparing workflow metadata, and logging the workflow start event.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 1118-1201

    workflow approval document-management filecloud integration
  • function delete_document_from_filecloud

    Deletes a document and its associated folder from FileCloud storage, with permission checks, audit logging, and error handling.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 1059-1114

    document-management file-deletion filecloud storage audit-logging
  • function search_documents_in_filecloud

    Searches for controlled documents in FileCloud using text search and optional metadata filters, returning structured document information including UIDs, versions, and metadata.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 963-1055

    document-search filecloud metadata-filtering document-management controlled-documents
  • function manage_user_share_access_v1

    Manages user access permissions to a FileCloud document share, creating the share if needed and setting read-only or write access for a specified user.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 819-960

    document-management access-control file-sharing permissions filecloud
  • function manage_user_share_access_v2

    Manages user access permissions to a FileCloud document share, creating shares if needed and setting read-only or write access for specified users.

    File: /tf/active/vicechatdev/CDocs/controllers/permission_startup_check.py | Lines: 66-297

    filecloud document-management access-control permissions sharing
  • function create_document_share_link

    Creates a shareable link for a document in FileCloud with optional password protection, expiry, and email notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 726-816

    document-sharing filecloud access-control audit-logging file-management
  • function set_document_permissions_in_filecloud

    Sets user and group permissions for a document in FileCloud by updating access controls on the document's folder path and logging the permission changes to an audit trail.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 651-722

    permissions access-control filecloud document-management authorization
  • function update_document_metadata_in_filecloud

    Updates metadata for a document stored in FileCloud, merging new metadata with existing values and logging the update in an audit trail.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 578-647

    document-management metadata filecloud cloud-storage audit-trail
  • function get_document_metadata_from_filecloud

    Retrieves metadata for a specific document (and optionally a specific version) from FileCloud storage system.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 534-574

    document-management metadata filecloud storage controlled-documents
  • function download_document_from_filecloud

    Downloads a document version from FileCloud storage, with optional availability checking and audit logging for user-initiated downloads.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 467-531

    file-download document-management filecloud version-control audit-logging
  • function upload_document_to_filecloud

    Uploads a document version to FileCloud storage system with metadata, handling file creation, folder structure, and audit logging.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 320-463

    document-management file-upload filecloud version-control metadata
  • function ensure_document_folders

    Ensures all required folder hierarchies exist in FileCloud storage for a controlled document, creating them if they don't exist.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py | Lines: 204-316

    filecloud folder-management document-storage file-system hierarchy