Commit Graph

1259 Commits

Author SHA1 Message Date
Abhinav Raut 02f7c19082 Move trusted domaisn check to middleware 2026-04-04 22:21:34 +05:30
Abhinav Raut 5367bafa09 fix chunking for widget app 2026-04-04 21:39:49 +05:30
Abhinav Raut 6abb6ad017 Move continuity config and intervals to live chat inbox form from toml.
- Refactor widget.js.
- Fix possible race conditions in inbox reload logic.
- Reload only the updated inbox when an inbox is updated / created not all.
- Retain last inbox while navigatin back from admin -> inbox
2026-04-04 21:35:04 +05:30
Abhinav Raut 87ab8f5c73 Fix sidebar user dropdown positioning and notification panel double-fetch 2026-04-04 18:52:20 +05:30
Abhinav Raut b34e581616 Skip redundant contact updates when JWT values unchanged 2026-04-04 18:42:44 +05:30
Abhinav Raut 73ea8741a2 Fix dev backend failing to start without the frontend being built. 2026-04-04 18:40:52 +05:30
Abhinav Raut 5a06a90152 Revert minification step for widget.js in production build process as the widget js is already very small and is not needed now 2026-04-04 18:36:36 +05:30
Abhinav Raut 0a9e57dcc5 Revamp live chat widget JS API, use inbox UUID, non-blocking installation
Update installation instructions for clarity
Remove unncessary convo custom attribs being passed in JWT tokens for live chat
2026-04-04 18:11:54 +05:30
Abhinav Raut 000fd83b30 Add uuid column to inboxes table to use as widget public identifiers
Auto focus on form inputs in widget
Use defer widget in widget installation script
2026-04-03 02:34:07 +05:30
Abhinav Raut 1118a6f465 Fix duplicate webhook events for conversations created via api 2026-04-02 15:10:14 +05:30
Abhinav Raut 090ea7393d Update caniuse-lite browserslist database 2026-04-02 14:35:27 +05:30
Abhinav Raut b739783eec Render reply and private not template variables before saving them in DB. 2026-04-02 14:31:53 +05:30
Abhinav Raut d590ace4a9 Fix typing indicator broadcast to exclude the sender by comparing client IDs 2026-04-02 11:48:54 +05:30
Abhinav Raut 9ce5f60023 Fix widget business hours showing wrong time due to missing UTC offset 2026-04-02 01:45:47 +05:30
Abhinav Raut d0a3527269 Sync contact name/email from JWT on every widget request 2026-04-01 17:15:22 +05:30
Abhinav Raut 9c43654021 Add conversation ref number to list conversations api response 2026-04-01 16:16:26 +05:30
Abhinav Raut 9610c15603 Simplify notification toggle check 2026-03-30 18:51:58 +05:30
Abhinav Raut 13db8d2843 Fix command palette macros not working due to previous variable rename causing issues.
Improve sidebar navigation to retain open conversation

Fix notification when disabled app still tries sending emails.
2026-03-30 18:51:23 +05:30
Abhinav Raut 2a8d4b3a96 Fix notification count in document title on navigation 2026-03-30 17:17:27 +05:30
Abhinav Raut 747d3ca781 Preserve notification count in document title on navigation 2026-03-30 17:08:04 +05:30
Abhinav Raut 3c00028c5b Fix gravatar not visible in convo list 2026-03-30 17:01:51 +05:30
Abhinav Raut d260eb565a Fix vue-i18n nested placeholder error in context link i18n strings 2026-03-30 16:09:59 +05:30
Abhinav Raut c8c39cd87a add phone country code to context link payload 2026-03-30 16:02:26 +05:30
Abhinav Raut b1bef238cf Feat: context links, context links allow admins to set urls to external system from sidebar with encrypted payload in query parameters. 2026-03-30 16:00:37 +05:30
Abhinav Raut 18409589ed Show default name and email fields in pre-chat form config 2026-03-30 03:05:22 +05:30
Abhinav Raut 71c8ec88c0 Remove unused WS unsubscribe functions 2026-03-30 02:26:15 +05:30
Abhinav Raut 7d8c2d9fa3 Check conversation ownership before broadcasting typing event on conversations 2026-03-30 02:23:07 +05:30
Abhinav Raut 9ae8100e8a Use widget upload API response directly instead of refetchign entire conversation
Return ChatMessage format in upload api
Fix scroll on content replace
2026-03-30 02:04:23 +05:30
Abhinav Raut 5f6ca63dc4 Refactor use already fetched inbox config and set it in ctx for widget handlers 2026-03-30 01:22:43 +05:30
Abhinav Raut 114656e64e required jwt fields middleware for user 2026-03-30 01:10:02 +05:30
Abhinav Raut d02e0418e1 Expose IsContinuityEmail flag to email templates for conditional rendering 2026-03-30 01:03:17 +05:30
Abhinav Raut 5590ae6ae3 Create contact from JWT in widget middleware for visitor merge, fix message input focus and pending cleanup 2026-03-30 00:28:33 +05:30
Abhinav Raut faa23967bf Focus back on text area once widget message is sent
Sign pending avatar urls
2026-03-29 23:35:26 +05:30
Abhinav Raut fb3ab68ef6 Sign avatar URLs in widget WS broadcasts, add CORS for launcher settings 2026-03-29 19:08:09 +05:30
Abhinav Raut 2d64cfcca3 Skip conversation access check for unattached media 2026-03-29 17:18:11 +05:30
Abhinav Raut c06311b93b Rename AdminPageWithHelp to AdminSplitLayout 2026-03-29 16:52:38 +05:30
Abhinav Raut ed9b97f16e Polish message bubble envelope 2026-03-29 14:13:32 +05:30
Abhinav Raut 789a58ed0c Add echo_id for pending message matching, show ext_id in contact search, minor UI polish 2026-03-29 13:32:38 +05:30
Abhinav Raut a84d6aa001 Update continuity config defaults 2026-03-29 00:08:12 +05:30
Abhinav Raut e942e51720 Fix report overview sql 2026-03-29 00:03:33 +05:30
Abhinav Raut 0b5fa46825 Simplify mig query 2026-03-29 00:02:14 +05:30
Abhinav Raut b4b4c809d4 Fix Reply-To double-set: caller-provided takes priority over inbox-level plus-addressing 2026-03-28 23:53:56 +05:30
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