OwlCyberSecurity - MANAGER
Edit File: changelog.txt
4.73v 1. Only priority field was missed for grouping operation and disabled user flow. execute doc/update_db/update_340.sql for update 4.72v 1. Operator Assignment and Priority Management - Added 'only_priority' feature for operator assignment allowing operators to receive only chats with specific priority levels - Enhanced chat priority search functionality in the back office - Improved UX for priority display with better visual indicators - Added priority filtering to chat search panel - Refactored department group saving process with transactions for improved error handling and data integrity 2. Proactive Invitations System Enhancements - Implemented per-session invitation support for all invitation types - Enhanced dynamic invitation logic with better state management - Improved invitation expiration handling with proper cleanup of invitation_id - Added automatic invitation reset for returning visitors - Enhanced invitation seen count tracking for better analytics - Updated UX for invitation management with better visual feedback - Implemented operator message reset when invitation is assigned - Added filtering for online operators by their status 3. Bot System and Conditions - Added support for mathematical parsing in bot conditions for complex logic evaluation - Implemented {rnumber} variable support for random number generation - Enhanced NodeTriggerActionConditions with execution notices and theme fetching - Added debugging capabilities for specific trigger output - Improved bot message translation handling to assume visitor language - Added CSS class support for bot holder elements - Enhanced match event handling in bot workflows - Added presence checking for variables before processing 4. Canned Messages and Variables - Implemented replaceable variable option to canned messages with change logging - Added default replaceable variable method for consistent variable handling - Enhanced variable replacement process with better error handling - Added support for context-aware variable replacement 5. Mail Conversation System Improvements - Enhanced mail conversation handling and storage management - Added option to include mail body in forward e-mail while skipping in reply - Implemented copy e-mail function for easier message handling - Added option to copy raw message body for debugging - Implemented sender address length limitation for better database handling - Enhanced search functionality with improved filters - Added JSON view for better debugging of mail conversations - Implemented option to split messages into separate API calls for mixed content handling - Added support for debugging specific messages - Improved IMAP connection testing with shorter timeouts - Enhanced header value handling and exclusion of debug messages from system logs - PDF Checking for suspicious content 6. Survey and Widget Enhancements - Implemented survey styling through widget themes for better customization - Enabled CSS cache for survey to improve loading performance - Updated widget version to 263 with enhanced cookie handling - Added support for subject filter override in surveys - Implemented subject title override capability 7. Chat System Improvements - Added bulk fetching for pending messages in chat sync for better performance - Implemented whisper message support for private operator notes - Added context menu support for previous messages - Enhanced UI with various fixes and spacing adjustments - Improved online dashboard tab persistence as default view - Added reset functionality for online visitors filter on widget filters reset action - PDF Checking for suspicious content 8. User Interface and Experience - Implemented editor options for better content management - Enhanced form height for improved usability - Added minimize text printing functionality - Improved spacing and layout adjustments throughout the interface - Enhanced auto responder debugging with better object visibility 9. REST API and Protocol Management - Added REST API protocol choosing option for flexible integration - Enhanced header value handling and skip functionality - Improved error messaging with more precise error descriptions 10. System Configuration and Permissions - Added missing permissions for various operations - Enhanced permission checking throughout the system - Implemented database version limit validation (minimum 60) - Updated database version tracking 11. Bug Fixes and Improvements - Fixed issue #2321 related to system functionality - Addressed discussion #2320 with appropriate fixes - Improved invitation logic with multiple fixes - Enhanced variable presence checking before processing - Fixed translation issues for empty messages - Corrected method echo behavior in debug output - Various UX fixes and improvements throughout the application execute doc/update_db/update_340.sql for update 4.71v 1. Department Management and User Administration - Enhanced department group statistics modal for better oversight of group performance - Implemented read-only status toggle for department assignments with visual feedback - Added confirmation modal for assigned department edits to prevent accidental changes - Improved user department management with transaction handling for data integrity - Added utility to cleanup orphan departments and maintain database consistency - Enhanced department assignment UI with better UX and simultaneous request prevention - Added filtering for users by assigned departments for improved navigation - Implemented department limitation handling and cache version updates on changes - Added red/green color indicators for operator online status visibility 2. Bot System and Webhook Improvements - Enhanced bot conditions handling with condition identifiers for better query filtering - Updated trigger link display to show bot name alongside trigger name for clarity - Disabled cache for bot actions and conditions to ensure real-time updates - Added 'single_event' support to webhook functionality for better event handling - Implemented webhook search panel with filtering capabilities for easier management - Added event field to webhook search panel and configuration options - Enhanced bot trigger validation with improved button assignment verification - Added support for conditional text generation in bot responses - Implemented 'sub_source' parameter to sendBotResponse for better tracking - Added option to check chat status after REST API calls 3. File Management and Image Processing - Added HEIC image conversion support in verifyaccess.php for modern image formats - Implemented file download restrictions and settings to mail conversation module - Enhanced image verification process with re-verification features - Added modal display for attached image files with better user experience - Implemented resize support for form files to optimize storage and performance - Added option to download files inline with modal interface - Enhanced file extension detection and validation for security - Added fallback options when browser cannot render images - Implemented option to ignore specific image files during verification - Added resize functionality for large mail message screenshots 4. Chat System and Message Handling - Added system message indicating when chat was accepted by operator - Enhanced image handling and conditions in the chat system - Implemented separate events for messages added via incoming webhooks - Added loading spinner overlay to main widget for better user feedback - Enhanced form submission experience with spinner on submit button - Added option to inherit start chat form settings for consistency - Improved message handling with better error display and validation - Enhanced chat search capabilities with message ID search functionality - Added support for raw file embed syntax in chat messages - Implemented conditional text generation for dynamic responses 5. Security and Performance Improvements - Implemented strict locking mechanisms for critical operations - Added transaction handling for operator transfers and chat attribute updates - Enhanced permission checking in export functions for better security - Implemented proper transaction handling for icon operations - Added cache clearing mechanisms for improved performance - Enhanced error handling for failed file downloads and operations - Implemented audit log truncation option from back office - Added better logging for auto assignment operations and error tracking - Enhanced REST API with option to skip empty body requests 6. User Interface and Experience Enhancements - Enhanced department assignment functionality with improved UI feedback - Added 'user-select-none' class to labels for better user experience - Implemented lazy load option for widget theme optimization - Added argument titles to command execution for better clarity - Enhanced form styling with improved input field appearance - Added link to documentation for better user guidance - Updated React app version with enhanced network failure handling - Improved checkbox re-enabling logic after request completion - Added nowrap styling for department group lists for better display 7. System Maintenance and Bug Fixes - Fixed issue #2298, #2304, #2305, #2306 addressing various system bugs - Updated dependencies and php-imap reference for security and compatibility - Enhanced error handling for non-existing users in reports - Fixed replacement process and edge case scenarios - Improved file type validation and extension setting for known formats - Fixed undefined display issues in pending wait time calculations - Enhanced aggregation queries by removing duplicates for better performance - Updated default translations for better internationalization support execute doc/update_db/update_339.sql for update 4.70v 1. REST API and Bot Enhancements - Added retry options for REST API calls with configurable retry attempts and delays - Enhanced bot trigger validation to ensure buttons are correctly assigned to triggers - Improved trigger argument importing to support all available trigger arguments - Enhanced bot condition support with new "Not in list" condition type for more flexible logic flows - Better error handling and continuation logic when customers don't set matching triggers 2. File Management and Search Improvements - Enhanced file search functionality with new chat ID and user ID filters - Added display of attached files in chat modification view for better file visibility - Improved file search panel UI with better styling and user experience - Enhanced JavaScript for dynamic form submission on input changes - Implemented indefinite file download capability for better file access management 3. Forms and Offline Chat Integration - Major offline form tight integration (#2286) with React Component migration - Enhanced offline form to use React Components instead of legacy offline form system - Added conditions for offline form prefilling fields from previous chat sessions - Improved form error rendering for number field types - Better handling of input_data passing to offline templates - Enhanced forms integration with edge case scenario updates 4. Chat and Message Handling Improvements - Added support for image requests with visitor messages - Improved file attachment flow to prevent message overlapping during file uploads - Enhanced scroll positioning for file preview functionality - Better handling of visitor message display and file attachment rendering - Improved message object passing for enhanced chat functionality 5. Security and Permissions - Fixed permission handling issues (#2288, #2291) - Enhanced file verification events for attachment flows - Better access control and security validations throughout the system 6. UI and User Experience Enhancements - Enhanced file list module to support new search parameters - Improved styling of input fields for better user experience - Better JavaScript handling for dynamic form interactions - Enhanced chat modification interface with file display capabilities 7. System and Internal Improvements - Increased length of internal type fields for better data handling - Updated database structure with new field length requirements - Enhanced schedule checks with new ActionConditions class - Better chat blocking tests and validation logic 8. Technical Infrastructure - Updated widget React components for better offline form handling - Enhanced translation system and updated translation files execute doc/update_db/update_338.sql for update 4.69v 1. File and Image Preview System Enhancement - Implemented comprehensive file and image preview functionality before sending to operator - Added temporary file handling with new `tmp` field in `lh_chat_file` table - Enhanced widget React components to support file preview with better user experience - File attachments are now rendered at the top of messages for better visibility - Improved file upload workflow with progress indicators and preview capabilities - This enhancement prepares the foundation for future OpenAI Responses API for images implementation 2. Widget and Chat Interface Improvements - Enhanced attachment rendering system with dedicated top-level templates - Improved AI-generated content checks and validation - Better file uploader component with enhanced preview functionality - Optimized widget React components for better performance and user experience - Enhanced chat file handling with improved meta message rendering 3. Department and Chat Management Enhancements - Added support for using department alias when provided in chat widget and status checks - Improved department handling logic for better chat routing - Enhanced chat widget functionality with streamlined department selection 4. Export and Data Handling Improvements - Fixed JSON export formatting with proper UTF-8 charset headers for Unicode support and pretty printing (#2283) - Enhanced bot export functionality with correct content-type headers - Improved REST API export with proper encoding - Better theme export handling with Unicode support 5. File Configuration and Management - Added new file configuration options for better file handling control - Enhanced file upload settings with improved validation and processing - Better integration between file upload API and widget components - Improved file metadata handling and storage 6. Technical Infrastructure Improvements - Updated database structure with new temporary file handling capabilities - Enhanced widget REST API endpoints for better file and chat management - Improved translation support and internationalization 7. User Experience Enhancements - Streamlined file attachment workflow with instant preview - Better visual feedback for file operations - Enhanced message rendering with improved attachment display - Optimized loading and rendering performance for file-heavy conversations execute doc/update_db/update_337.sql for update