OC Connect
Core communication and chat functionality module enabling real-time messaging between users. This is the backend module that powers the OC Connect mobile and desktop app.
Features
- One-on-One Chat: Private conversations between two users
- Group Chats: Create and manage group conversations with multiple participants
- File Sharing: Send files and images in conversations
- Message Reactions: React to messages with emojis
- Message Editing and Deletion: Edit or delete sent messages
- Message Forwarding: Forward messages to other conversations
- Typing Indicators: See when other users are typing in real-time
- Presence Status: View online/offline status of users
- Read Receipts: Track when messages are read
- Unread Tracking: Track unread message counts per conversation
- Chat Management: Archive, mute, or leave conversations
- Pinned Messages: Pin important messages in conversations
- Message Threading: Reply to specific messages with threaded replies
- Mentions: Mention users in messages
- Message Bookmarks: Bookmark messages for quick access
- Message Search: Search across all messages
- Chat Files: View all files shared in a conversation
- Group Management: Update group info, manage participants and roles
- User Search: Search for users to start conversations
- Voice/Video Calls: Call initiation and management (via call endpoints)
Requirements
- Open Core Business Suite (Base System)
- Laravel Reverb (for WebSocket support)
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find OC Connect and click Enable
- Run migrations if prompted
Enable via Command Line
php artisan module:enable OCConnect
php artisan migrate
Post-Installation
Configure Laravel Reverb for WebSocket support:
php artisan reverb:start
Usage
One-on-One Messaging
Start a private conversation with any user:
- Open or create a one-on-one chat with a user
- Send text messages in real-time
- Send files and images
- React to messages
- View read status
Group Chats
Create and manage group conversations:
- Create group chats with multiple participants
- Add or remove participants
- Update participant roles
- Update group name and information
- Leave group conversations
Message Features
Rich messaging capabilities:
- Edit: Edit sent messages
- Delete: Delete sent messages
- Forward: Forward messages to other conversations
- Reply: Reply to specific messages (threading)
- React: Add or remove reactions on messages
- Pin: Pin important messages in a conversation
- Bookmark: Bookmark messages for quick reference
- Search: Search messages across conversations
Chat Management
Manage your conversations:
- Archive/Unarchive: Archive conversations to declutter
- Mute/Unmute: Mute notifications for specific conversations
- Leave: Leave group conversations
Presence and Status
Monitor user availability:
- Update your presence status
- View other users' online/offline status
- Bulk presence check for multiple users
File Management
Manage files shared in conversations:
- Upload and send files in chats
- View all files shared in a conversation
- Delete shared files
- View shared content with specific users
Technical Notes
This module provides API endpoints used by the OC Connect client applications (mobile, desktop, web). It uses Laravel Reverb for WebSocket-based real-time communication, providing low-latency message delivery and presence updates.
Changelog: View version history