🔍 Code Extractor

Search Components

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

Search Results for "approval"

Found 50 matching component(s)

  • function check_fixes

    A diagnostic function that prints a comprehensive summary report of email notification fixes implemented in a CDocs system, verifying template files and documenting debugging enhancements.

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

    diagnostic verification email-templates debugging documentation
  • function main_v28

    A test function that validates email template rendering by testing multiple HTML email templates with sample data structures for document review and approval workflows.

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

    testing email-templates validation document-management template-rendering
  • function test_fixes

    A comprehensive test function that validates email template rendering and CDocs application link presence in a document management system's email notification templates.

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

    testing email-templates template-rendering validation document-management
  • function get_document

    Retrieves comprehensive details of a controlled document by its UID, with optional inclusion of version history, review cycles, and approval cycles.

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

    document-management controlled-documents retrieval version-control review-workflow
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

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

    document-management publishing pdf-conversion audit-trail controlled-documents
  • class DocumentDetail

    Document detail view component

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

    class documentdetail
  • class DocumentDetail_v1

    Document detail view component

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

    class documentdetail
  • function provide_admin_instructions

    Displays comprehensive administrative instructions for fixing SharePoint app-only authentication issues by loading configuration and presenting multiple resolution options.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py

    sharepoint admin-instructions troubleshooting authentication app-only-auth
  • class DocumentProcessor

    A comprehensive document processing class that converts documents to PDF, adds audit trails, applies security features (watermarks, signatures, hashing), and optionally converts to PDF/A format with document protection.

    File: /tf/active/vicechatdev/document_auditor/src/document_processor.py

    document-processing pdf-generation audit-trail security watermarking
  • class AuditPageGenerator

    A class that generates comprehensive PDF audit trail pages for documents, including document information, reviews, approvals, revision history, and event history with electronic signatures.

    File: /tf/active/vicechatdev/document_auditor/src/audit_page_generator.py

    pdf-generation audit-trail document-management compliance electronic-signature
  • class ContentStatus

    An enumeration class that defines the possible status values for content generation and editing workflows.

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

    enum enumeration status content-management workflow
  • function get_document_type

    Retrieves configuration details for a specific document type by looking it up in DOCUMENT_CONFIG or DOCUMENT_TYPES, returning a dictionary with document metadata or an empty dict if not found.

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

    document-management configuration lookup metadata document-type
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

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

    class controlleddocumentflaskapp
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

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

    class controlleddocumentapp
  • class ControlledDocument

    Model representing a controlled document.

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

    class controlleddocument
  • class ApprovalComment

    Model class representing a comment made during a document approval cycle, with support for resolution tracking and database persistence.

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

    approval comment document-workflow database-model 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 ApprovalComment_v1

    A model class representing a comment made during a document approval cycle, with support for resolution tracking and database persistence.

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

    approval comment document-management workflow resolution-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 DocUser

    Extended User model for document management system. This class wraps and extends the existing User model in the system, adding document-specific roles, departments, and permissions.

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

    class docuser
  • function get_next_status

    Determines the next logical status in a document lifecycle workflow based on the current status, using either configured transitions or a predefined fallback flow.

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

    workflow status-management document-lifecycle state-machine business-logic
  • function get_version

    Returns a list of valid status codes that a document can transition to from its current status, using either configured transitions from settings or predefined fallback rules.

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

    workflow state-machine status-management document-lifecycle validation
  • function get_document_with_relationships

    Retrieves a complete document from Neo4j graph database along with all its related entities including versions, reviews, approvals, and authors.

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

    neo4j graph-database document-management relationships cypher-query
  • 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 initialize_schema

    Initializes the Neo4j database schema by creating required constraints, indexes, root nodes, audit trails, and migrating existing data structures to current schema versions.

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

    database neo4j schema initialization migration
  • function migrate_approval_data

    Migrates legacy single-step approval records in Neo4j to a new multi-step approval model by creating ApprovalStep nodes and Approver nodes with proper relationships.

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

    database-migration neo4j graph-database data-transformation approval-workflow
  • 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 initialize_approval_workflow_types

    Initializes default approval workflow types in a Neo4j database by creating or updating four predefined workflow type nodes (STANDARD, DEPARTMENT, QUALITY, REGULATORY) with their configurations.

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

    neo4j database-initialization workflow approval-workflow graph-database
  • function check_document_permission

    Validates whether a user has specific permission(s) to access or modify a document based on their roles, ownership status, and configured role permissions.

    File: /tf/active/vicechatdev/CDocs/config/permissions.py

    authorization permissions RBAC access-control document-management
  • function get_system_stats

    Retrieves comprehensive system statistics from a Neo4j graph database for display on an admin dashboard, including user counts, document counts, review cycles, and approval metrics.

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

    admin dashboard statistics metrics neo4j
  • function get_document_types

    Retrieves document type configurations from application settings, optionally filtering by a specific type code, and returns them as a list of dictionaries with detailed metadata.

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

    document-management configuration metadata settings document-types
  • 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_document_approval_cycles

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

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

    approval-management document-control database-query neo4j approval-cycles
  • 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 update_approval_comment

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

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

    approval-workflow comment-management permission-control audit-logging notification
  • 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 close_approval_cycle

    Closes a completed approval cycle and optionally updates the associated document's status, with permission checks, audit logging, and notifications.

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

    approval-management document-workflow permission-control status-transition audit-logging
  • 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 extend_approval_deadline

    Extends the deadline for an active approval cycle, validating permissions and business rules, then notifying affected approvers.

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

    approval-management deadline-extension document-control permission-check audit-trail
  • 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_approval_statistics_v1

    Retrieves comprehensive approval statistics from a Neo4j graph database, including counts of total, pending, completed, approved, and rejected approval cycles and decisions, along with calculated approval rates.

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

    statistics analytics approval-workflow neo4j graph-database
  • function get_approval

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

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

    approval document-management workflow retrieval controlled-documents

Search Examples