🔍 Code Extractor

Search Components

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

Search Results for "training"

Found 31 matching component(s)

  • function get_instruction_templates

    Flask API endpoint that returns a dictionary of predefined instruction templates for different document types including SOPs, work instructions, quality forms, and document comparison guidelines.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api endpoint templates instructions
  • 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 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 UserTraining

    A model class representing a user's training status for a specific controlled document, managing training assignments, completion tracking, and expiration dates.

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

    training-management compliance document-control neo4j graph-database
  • class ControlledDocument

    Model representing a controlled document.

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

    class controlleddocument
  • 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 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 enable_document_training

    Enables training requirements for a controlled document, setting validity period, quiz requirements, and instructions for users who need to complete training on the document.

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

    training document-management compliance authorization audit
  • 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

    Marks a user's training as complete for a specific controlled document, validating quiz requirements and setting expiration dates.

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

    training compliance document-management user-training certification
  • 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 reset_document_training

    Resets all training records for a specific controlled document, typically used when a document is republished or updated, requiring users to retrain.

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

    training-management document-control quality-management permission-check audit-trail
  • function get_user_training_dashboard

    Retrieves a user's training dashboard data by querying Neo4j for required and completed training records associated with controlled documents.

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

    training dashboard neo4j graph-database user-training
  • function get_training_overview

    Retrieves a comprehensive training overview for the admin panel, including training plans, active assignments, and recent completions from a Neo4j graph database.

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

    training admin overview dashboard neo4j
  • 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 disable_document_training

    Disables the training requirement for a specific controlled document, verifying user permissions and logging the action to the audit trail.

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

    training-management document-control permissions audit-logging authorization
  • function get_document_training_info

    Retrieves comprehensive training information for a specific controlled document, including training configuration, assigned users, completion status, and statistics.

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

    document-management training-tracking neo4j graph-database user-management
  • function update_document_v1

    Updates a controlled document's properties (title, description, status, owner, metadata) with validation, audit logging, and special handling for status transitions that require PDF publishing or training resets.

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

    document-management update status-transition audit-trail permissions
  • function log_controller_action

    A decorator factory that logs controller actions with different log levels based on whether the action is routine or non-routine, and handles exceptions during execution.

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

    decorator logging controller error-handling monitoring
  • function log_training_event

    A wrapper function that logs training-related events by delegating to a generic log_event function with pre-configured resource type.

    File: /tf/active/vicechatdev/CDocs/utils/audit_trail.py

    logging audit-trail training events documentation
  • class TrainingCompletion

    UI component for completing training requirements.

    File: /tf/active/vicechatdev/CDocs/ui/training_completion.py

    class trainingcompletion
  • function create_training_completion

    Factory function that instantiates and returns a TrainingCompletion object for managing training completion workflows in a document control system.

    File: /tf/active/vicechatdev/CDocs/ui/training_completion.py

    factory-function training document-management controlled-documents training-completion
  • class DocumentDashboard

    Dashboard for viewing and managing controlled documents.

    File: /tf/active/vicechatdev/CDocs/ui/document_dashboard.py

    class documentdashboard
  • class TrainingManagement

    UI component for managing document training.

    File: /tf/active/vicechatdev/CDocs/ui/training_management.py

    class trainingmanagement
  • function create_training_management

    Factory function that instantiates and returns a TrainingManagement object with optional parent application and document UID parameters.

    File: /tf/active/vicechatdev/CDocs/ui/training_management.py

    factory-function training-management document-control instantiation wrapper
  • class DocumentDetail_v2

    Document detail view component

    File: /tf/active/vicechatdev/CDocs/ui/document_detail.py

    class documentdetail
  • class TrainingDashboard

    Training dashboard for users to view and complete training requirements.

    File: /tf/active/vicechatdev/CDocs/ui/training_dashboard.py

    class trainingdashboard
  • function create_training_dashboard

    Factory function that creates and initializes a TrainingDashboard instance with optional user context from a parent application.

    File: /tf/active/vicechatdev/CDocs/ui/training_dashboard.py

    factory-function dashboard training ui-component initialization

Search Examples