🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "assignment"

Found 50 matching component(s)

  • class DocumentDetail_v1

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_old.py

    class documentdetail
  • class ContractDataExtractor

    Extract structured data from legal contracts using LLM analysis

    File: /tf/active/vicechatdev/contract_validity_analyzer/extractor.py

    class contractdataextractor
  • function test_llm_extraction

    A test function that validates LLM-based contract data extraction by processing a sample contract and verifying the extracted fields against expected values.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_extractor.py

    testing contract-extraction llm validation integration-test
  • class AgentExecutor

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/vice_ai/agent_executor.py

    class agentexecutor
  • function add_table_to_word_v1

    Adds a formatted table to a Microsoft Word document using the python-docx library, with automatic column detection, header row styling, and debug logging.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    word-document table-generation docx document-formatting python-docx
  • function add_table_to_word

    Adds a formatted table to a Word document using python-docx, with support for header rows and automatic column sizing based on table data.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    word-document table-generation docx document-formatting python-docx
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • class DocumentTraining

    A model class that manages training requirements and assignments for controlled documents, including enabling/disabling training, assigning training to users, and tracking training status.

    File: /tf/active/vicechatdev/CDocs/models/training.py

    document-management training user-assignment neo4j graph-database
  • class ApprovalCycle

    Model representing an approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    class approvalcycle
  • class ApproverAssignment

    Model class representing an approver assignment within an approval cycle, managing the relationship between an approver and their approval task including status, decisions, and lifecycle tracking.

    File: /tf/active/vicechatdev/CDocs/models/approval_bis.py

    approval-workflow assignment-management database-model status-tracking decision-tracking
  • class ApprovalCycle_v1

    Model representing a approval cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/approval.py

    class approvalcycle
  • class ApproverAssignment_v1

    Model class representing an approver assignment within an approval cycle, managing the relationship between an approver and their approval task including status, decisions, and timeline tracking.

    File: /tf/active/vicechatdev/CDocs/models/approval.py

    approval workflow assignment approver database-model
  • class ReviewCycle

    Model representing a review cycle for a document version.

    File: /tf/active/vicechatdev/CDocs/models/review.py

    class reviewcycle
  • class ReviewerAssignment

    Model class representing a reviewer assignment within a review cycle, managing reviewer information, status, decisions, and lifecycle tracking for document review processes.

    File: /tf/active/vicechatdev/CDocs/models/review.py

    review-management assignment reviewer workflow database-model
  • class NodeLabels

    A constants class that defines string labels for different node types in a Neo4j graph database schema for a document management system (CDocs).

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    constants neo4j graph-database node-labels document-management
  • class RelTypes

    A constants class that defines string literals representing relationship types used in a graph database (Neo4j) for document management and approval workflows.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    constants graph-database neo4j relationships document-management
  • function migrate_approval_cycles

    Migrates legacy Approval nodes and their related structures to the new ApprovalCycle model in a Neo4j graph database, creating ApprovalCycle nodes and ApproverAssignment nodes while maintaining relationships with DocumentVersion nodes.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    database-migration neo4j graph-database approval-workflow data-transformation
  • function validate_schema

    Validates that a Neo4j database schema contains all required constraints and node labels for a controlled document management system.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    database validation schema neo4j graph-database
  • function create_user

    Creates a new user in the system with validation, password hashing, and role assignment, including CDocs user extension setup.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    user-management authentication database validation password-hashing
  • 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

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

    Retrieves detailed information about an approval cycle by its UID, with optional inclusion of comments and associated document details.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management data-retrieval graph-database neo4j
  • 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

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

    Adds a comment to an approval cycle for a controlled document, with support for threaded comments, different comment types, and automatic notifications to relevant stakeholders.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval comment document-management collaboration permissions
  • function complete_approval

    Completes an approval cycle by recording a user's approval decision (APPROVED, REJECTED, etc.) and managing the approval workflow, including sequential approver activation and final cycle completion.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval workflow document-management decision-tracking permissions
  • function cancel_approval_cycle

    Cancels an active approval cycle for a controlled document, updating the approval status, notifying approvers, and reverting the document to DRAFT status if no other active approvals exist.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management document-control workflow cancellation permissions
  • function add_approver_to_active_approval

    Adds a new approver to an active approval cycle for a controlled document, with optional sequence ordering and custom instructions.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-workflow document-management access-control permissions notifications
  • function remove_approver_from_active_approval

    Removes an approver from an active approval cycle with permission checks, validation, and notification handling.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management document-control permission-check workflow audit-trail
  • function get_user_pending_approvals

    Retrieves all pending approval assignments for a specific user, with optional filtering by completion status and date range, returning structured approval data for UI display.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller.py

    approval-management user-approvals document-workflow pagination date-filtering
  • function manage_document_permissions

    Comprehensive function to manage document sharing and user permissions. This function: 1. Creates a share only if needed for active users 2. Adds/updates users with appropriate permissions based on their roles 3. Removes users who shouldn't have access anymore 4. Cleans up shares that are no longer needed 5. Manages ACL entries for write permissions on the document's folder Args: document: The document to manage permissions for Returns: Dict: Result of permission updates with detailed information

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    function manage_document_permissions
  • function get_user_access_url

    Retrieves a share URL for a document version and determines the appropriate access level (read/write) for a specific user based on their role (owner, author, reviewer, approver) and the document's current status.

    File: /tf/active/vicechatdev/CDocs/controllers/share_controller.py

    access-control permissions document-management role-based-access workflow
  • function assign_user_training

    Assigns training requirements to multiple users for a specific controlled document, validating permissions, document training status, and user existence before creating assignments.

    File: /tf/active/vicechatdev/CDocs/controllers/training_controller.py

    training-management document-control user-assignment permission-check audit-logging
  • function complete_user_training_by_uid

    Completes a user's training assignment for a controlled document by updating the training relationship status, recording completion date and score, and logging the event to the audit trail.

    File: /tf/active/vicechatdev/CDocs/controllers/training_controller.py

    training-management compliance document-control neo4j graph-database
  • function remove_training_assignment

    Removes a training assignment relationship between a user and a controlled document in a Neo4j graph database, with audit logging and permission checks.

    File: /tf/active/vicechatdev/CDocs/controllers/training_controller.py

    training-management neo4j graph-database relationship-deletion audit-logging
  • function get_document_training_assignments

    Retrieves training assignments and configuration for a specific controlled document, including assigned users and training requirements.

    File: /tf/active/vicechatdev/CDocs/controllers/training_controller.py

    training-management document-control permission-check user-assignments compliance
  • function get_training_assignment

    Retrieves a specific training assignment for a user from a Neo4j graph database, validating user authorization and parsing a composite UID format.

    File: /tf/active/vicechatdev/CDocs/controllers/training_controller.py

    training assignment neo4j graph-database authorization
  • 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

    approval-workflow document-management transaction permission-check notification
  • 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

    approval-management user-assignments pagination filtering document-workflow
  • 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

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

    Records a user's approval decision (APPROVED or REJECTED) for a document in an approval cycle, updating the approval status and document state accordingly.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-workflow document-management business-rules transaction-management audit-trail
  • function close_approval_cycle_v1

    Administratively closes an approval cycle by setting a final decision (APPROVED or REJECTED), updating the associated document status, and notifying relevant stakeholders.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-management administrative-action document-workflow transaction-management permission-control
  • function cancel_approval_cycle_v1

    Cancels an active approval cycle, reverting the associated document to draft status, logging the cancellation, and notifying all pending approvers.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-workflow document-management transaction permissions audit-trail
  • function extend_approval_deadline_v1

    Extends the deadline of an active approval cycle, validates permissions, logs the change, and notifies pending approvers of the new due date.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-management deadline-extension workflow permissions audit-trail
  • function add_approver_to_active_approval_v1

    Adds a new approver to an active approval cycle with permission checks, validation, audit logging, and email notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-workflow document-management access-control permission-check audit-logging
  • function remove_approver_from_active_approval_v1

    Removes an approver from an active approval cycle with permission checks, audit logging, and notifications.

    File: /tf/active/vicechatdev/CDocs/controllers/approval_controller_bis.py

    approval-workflow document-management permission-control audit-logging notification
  • function prepare_audit_data_for_document_processor

    Prepares comprehensive audit data for a controlled document version, aggregating information from document history, reviews, approvals, and audit events into a structured format for DocumentProcessor.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    audit document-management compliance data-aggregation pdf-generation
  • function create_review_cycle

    Creates a new review cycle for a controlled document, assigning reviewers with optional sequential workflow, custom instructions, and approval requirements.

    File: /tf/active/vicechatdev/CDocs/controllers/review_controller.py

    document-management review-workflow approval-process permission-control audit-trail
  • 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

    review-cycle document-management review-workflow data-retrieval graph-database
  • 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

    document-management review-workflow user-assignments pagination data-aggregation
  • 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

    review comment document-management collaboration threaded-comments
  • 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

    document-management review-workflow approval-process permission-control sequential-workflow

Search Examples