Commit Graph

1217 Commits

Author SHA1 Message Date
Abhinav Raut 653266c6bc Remove unused readme file
Remove participant tooltip for message bubbler as activity log takes care of it
Fix create sender before creating conversation
2026-03-28 22:51:35 +05:30
Abhinav Raut 11eb4d0edc Translate remaining hardcoded eng strings. 2026-03-28 21:48:19 +05:30
Abhinav Raut c59ce4eced Fix overview counts query: cast enum to text for COALESCE 2026-03-28 21:30:22 +05:30
Abhinav Raut 8a1ac870d0 Fix race condition in livechat Send: hold RLock during client iteration 2026-03-28 21:30:07 +05:30
Abhinav Raut eb94f2b06b Refactor widget WS: fix concurrent writes
Update merge visitor to contact query to include other tables
Update default for continuity email config
2026-03-28 21:19:11 +05:30
Abhinav Raut 52995d1cfb remove cache control headers for widget js file 2026-03-28 20:19:35 +05:30
Abhinav Raut 565732c5be add rate limit to show csat page 2026-03-28 20:03:27 +05:30
Abhinav Raut 42f5a7faf5 Show ext id in contact list 2026-03-28 19:59:13 +05:30
Abhinav Raut ea0443e80b Fix contact detail: consistent text-xs font size, add icons for external ID and created date 2026-03-28 19:47:44 +05:30
Abhinav Raut c8b717739c Add isNewConversation param to CreateContactMessage, cap page size to 500 2026-03-28 19:36:26 +05:30
Abhinav Raut 2b645fa4e8 Security fixes: rate-limit widget endpoints, remove JWT from logs, harden middleware checks
Increase max page size to 500
Allow large out of bound page sizes by overriding to maximum set.
Reset websocket reconnect attempts when widget is back online
2026-03-28 19:27:41 +05:30
Abhinav Raut 6a7ecf6b8a Resolve sender using conversation context, show ext_id on contact detail 2026-03-28 18:44:57 +05:30
Abhinav Raut 2f81d60a6f Widget: larger prechat textarea, check email for participant activity, fix notification sound 2026-03-28 18:32:08 +05:30
Abhinav Raut a67f14ce5e Play notification sound only on messages from agents 2026-03-28 18:15:35 +05:30
Abhinav Raut b04d9d6f8d Sign all avatar URLs in widget endpoints and WS broadcasts 2026-03-28 18:03:33 +05:30
Abhinav Raut 3b482e37c6 Fix widget: re-fetch convos on JWT set, prevent double conversation creation 2026-03-28 17:45:17 +05:30
Abhinav Raut 6ae73eef06 Check meta.from vs contact email for participant indicator 2026-03-28 15:48:31 +05:30
Abhinav Raut 1a148bd8ec Show unread notification count in browser tab title 2026-03-28 15:03:14 +05:30
Abhinav Raut 975b996a2c fix: remove duplicate useI18n declaration 2026-03-28 14:54:42 +05:30
Abhinav Raut c3f0b18392 Add participant activity note and visual indicator for non-contact senders 2026-03-28 14:50:58 +05:30
Abhinav Raut 1d36ddde91 Make first name mandatory for live chat jwt 2026-03-28 13:46:23 +05:30
Abhinav Raut 4e0f781bd7 enrich exit only if not already set 2026-03-28 13:23:58 +05:30
Abhinav Raut 1344700973 Remove insecure ref number matching, relax email constraint for ext_id contacts 2026-03-28 13:07:21 +05:30
Abhinav Raut 23e6a70844 Allow contacts with different external_user_ids to share email, add enrichment and remove email check from conversation matching 2026-03-28 12:29:44 +05:30
Abhinav Raut b8519b9070 Fix frontend build warnings: modern Sass API, split codemirror chunk. 2026-03-25 12:10:34 +05:30
Abhinav Raut 14a7bf4435 Add widget.js minification step to build; subtle shadows. 2026-03-25 11:26:08 +05:30
Abhinav Raut c057560251 Sync prechat form labels with custom attributes; hide stale messages during chat load. 2026-03-25 11:16:30 +05:30
Abhinav Raut 2233712f85 Polish widget UX: accessibility, tab nav, expand/collapse, conversation list, and mobile fixes. 2026-03-25 02:28:43 +05:30
Abhinav Raut 8b556d95a6 Polish auth pages, contact detail, and avatar upload UX. 2026-03-25 01:51:05 +05:30
Abhinav Raut 64ffd558d5 Polish automation UI: theme-aware colors, accessibility, and cleanup. 2026-03-25 01:34:45 +05:30
Abhinav Raut 969b5be9a3 Fix mention styling in messages, improve notification panel UX 2026-03-25 01:18:08 +05:30
Abhinav Raut 8fd05667ac Improve sidebar semantics, form label hierarchy, and translate remaining hardcoded strings 2026-03-25 00:47:18 +05:30
Abhinav Raut 9652c6d4bc Clean up i18n keys, sort language files, and refactor admin UI components. 2026-03-24 01:42:35 +05:30
Abhinav Raut 802987dcad Reorder livechat inbox form fields; show reply expectation message when agent is offline during business hours 2026-03-24 00:16:16 +05:30
Abhinav Raut 395a4e80df Refactor ws updates to use direct json payloads instead of prop value pattern.
Add real-time agent availability status updates to widget.

Consolidate multiple WS broadcasts into single calls
2026-03-22 19:34:21 +05:30
Abhinav Raut f26602152b Fix widget unread badge not restoring when chat is closed
showChat() unconditionally hides the unread badge, but hideChat()
never re-evaluates it. If the visitor opens and closes the widget
without viewing any conversation, the badge stays hidden even though
unread messages remain.
2026-03-22 17:33:08 +05:30
Abhinav Raut da2a706a7a Don't show widget launcher until conversation data is loaded. Hide widget on fatal errors (expired JWT, server errors, init failures). 2026-03-22 17:25:02 +05:30
Abhinav Raut 48175300ab Add rate limiting to public endpoints (auth, CSAT), fix rate limiter race condition and missing Content-Type header. Refactor rateLimitWidget into generic rateLimit middleware with config defaults. 2026-03-22 16:59:55 +05:30
Abhinav Raut bcd0ed4fd1 Show conversation status in search results 2026-03-22 15:17:07 +05:30
Abhinav Raut 34aecd268f Fix widget business hours: use assigned team hours instead of always defaulting, fix timezone offset calculation. Show continuity email indicator in agent UI, broadcast email replies to widget as a user could have widget open and reply from email at the same time. 2026-03-18 10:50:55 +05:30
Abhinav Raut a788553137 Use first unread message as subject for continuity emails, add ref number to continuity email subject.
- Continuity email layout fixes and improvments.
- Replace haikunator with email local part for visitor names, fallback to "Visitor"
- Add optional website_url config field for "go to chat" link in continuity email footer
- Remove unused / unncessary i18n keys.
2026-03-16 00:49:20 +05:30
Abhinav Raut b0f0215952 Fix attachment previews in pending messages
- Fix ci
2026-03-15 21:36:02 +05:30
Abhinav Raut b8e236713d Merge branch 'main' into feat/live-chat-channel 2026-03-15 21:09:21 +05:30
Abhinav Raut e7ab571c48 add reply guards, gravatar fallbacks for avatars, draft preview in conversation list, clickable agent avatars. Show sent messages immediately instead of waiting for WebSocket response. 2026-03-11 14:52:21 +05:30
Abhinav Raut 678239027e Refactor incoming message flow, add visitor upgrade on email reply, rate-limit livechat conversations 2026-03-11 12:19:58 +05:30
Abhinav Raut eb0a7b437d Add page visit tracking to widget
- fix duplicate initialization guard
- notification bell for agents
- Refactor and clean up dead code
- Fixes to pre chat form
- Add new column country to users table
- Update ratelimit pkg to be generic
2026-03-11 03:52:07 +05:30
Abhinav Raut 384dad0276 Update README.md 2026-03-09 22:18:21 +05:30
Abhinav Raut b277b30c4c Create issues.yml 2026-03-09 22:16:37 +05:30
Abhinav Raut 36e2bd971b Create issues.yml 2026-03-09 22:15:40 +05:30
Abhinav Raut 68ed6b2df5 Update ROADMAP.md 2026-03-09 00:02:35 +05:30