1. Tab Navigation and UX Improvements
- Added data-remember attribute to tab navigation elements across multiple templates for better state persistence
- Implemented Safari browser support for tab navigation
- Enhanced replaceable variables UI with remembered tabs functionality
2. Bot System Enhancements
- Added 'Keep chat locked' option in bot action text to maintain chat lock from visitor messages
- Refactored condition handling in bot workflow to support JSON parsing for dynamic conditions
- Enhanced attribute filtering in bot action text with improved non-empty value processing
- Updated CURL building UI for better usability
3. Mail Conversation System
- Added signature fetching functionality with AJAX endpoint for improved email handling
- Added button to append fetched signature to email templates
- Enhanced input field layout for better usability and accessibility
4. Bot Conditions Form
- Added datalist options for filter fields in conditions form with predefined options
- Options include Chat ID, Status, Department ID, User ID, Email, Phone, Nickname, and Country Code
5. System and Configuration
- Added ability to clear cache from command line
- Implemented opcache cache clearing functionality
- Added fallback if default config file is not found
- Inform operator when external operator is writing messages
6. Performance Optimizations
- Various performance optimizations in core components
- Improved command title handling as argument
- Enhanced proper checking mechanisms
7. Bug Fixes and Improvements
- Removed unnecessary variable declarations
- Various sync improvements
For update just follow standard update procedure. For manual update it's update_342.sql
## What's Changed
**Full Changelog**: https://github.com/LiveHelperChat/livehelperchat/compare/4.74v...4.75v
1. Bot System and Actions Enhancements
- Added option to keep chat locked from visitor via bot actions
- Enhanced variable replacement logic in bot actions with custom arguments handling
- Implemented option to remove chat_variables variable through bot commands
- Improved command action to update only required fields for better performance
- Enhanced text actions with advanced variable replacement capabilities
- Fixed masking message in REST API that sometimes broke JSON body structure
- Added logging for first response in streaming mode for REST API actions
- Added use cases modal and validation for bots with comprehensive documentation
- Improved bot name display in REST API use cases
- Added modal for REST API use cases with dynamic content
2. Widget and Interface Improvements
- Added override back button option for widget offline mode
- Updated widget logic and survey redirect handling for offline scenarios
- Improved image sizing in widget interface
- Removed default colors from widget theme configuration
- Fixed scroll behavior on mobile devices in popup mode
- Enhanced offline chat handling with better redirect logic
3. Mail Conversation System
- Enhanced audit logging capabilities for mail conversations
- Added merge conversation audit logging
- Improved send email audit tracking
- Added option to set reply-to email only to mailbox
- Fixed UI elements in mail conversation templates
4. Proactive Invitations and Auto Responder
- Fixed auto responder display logic to ensure proper handling of empty values
- Enhanced auto responder display with improved formatting
- Added proactive invitation and auto responder templates to chat interface
- Improved webhook link formatting in bot forms
- Activity period now applies to all types of invitations
- Added explanatory text that limit numbers are inclusive
5. User Interface and UX Improvements
- Added explanatory notices for inclusive limit numbers in department forms
- Enhanced chat information display with better template organization
- Improved spacing and layout in various templates
- Updated default translations with new strings
6. System and Configuration
- Updated environment variable handling in settings
- Improved system variable checking in core components
- Fixed null handling in cronjob/test mode
- Updated .gitignore configuration
- Added GitHub workflow for triggering Laravel tests
- Removed editor-specific settings from repository
7. Statistics and Reporting
- Included user with id 0 in default user filter for statistics
- Enhanced user filtering for edge cases
8. Bug Fixes and Improvements
- Fixed missing column reference in user department management
- Fixed transfer to human action to update only relevant attributes
- Various UI fixes and spacing adjustments
- Improved template consistency across modules
For update just follow standard update procedure. No database update this time
**Full Changelog**: https://github.com/LiveHelperChat/livehelperchat/compare/4.73v...4.74v
For update just follow standard update procedure. For manual update it's update_341.sql
**Full Changelog**: https://github.com/LiveHelperChat/livehelperchat/compare/4.72v...4.73v
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
For update just follow standard update procedure. For manual update it's update_340.sql
**Full Changelog**: https://github.com/LiveHelperChat/livehelperchat/compare/4.71v...4.72v
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
**Full Changelog**: https://github.com/LiveHelperChat/livehelperchat/compare/4.70v...4.71v