Commit Graph

2512 Commits

Author SHA1 Message Date
Abhinav Raut 4498cb4ced allow Telegram auto replies after failed sends 2026-09-27 23:44:51 +05:30
Abhinav Raut 67c3c2dbbe ignore Telegram messages from blocked contacts, and count overnight hours on the day they open 2026-09-27 23:26:44 +05:30
Abhinav Raut 889d054fac share duplicated Telegram helpers with existing code and trim repeated work 2026-09-27 12:39:51 +05:30
Abhinav Raut 0adfa69e47 fix Telegram webhook updates when an inbox is toggled, and stop retrying failed auto replies 2026-09-27 11:58:16 +05:30
Abhinav Raut 9f45dcc4ab use named constants for the Telegram channel and its limits 2026-09-27 11:58:09 +05:30
Abhinav Raut 1efd0e8637 shorten Telegram inbox strings and sort the translation file 2026-09-27 11:42:01 +05:30
Abhinav Raut c3a7534734 Merge remote-tracking branch 'origin/feat-whatsapp' into feat-telegram
# Conflicts:
#	README.md
#	cmd/init.go
#	cmd/upgrade.go
#	frontend/apps/main/src/api/index.js
#	frontend/apps/main/src/constants/emitterEvents.js
#	frontend/apps/main/src/features/admin/inbox/LivechatInboxForm.vue
#	frontend/apps/main/src/features/admin/inbox/WhatsAppInboxForm.vue
#	frontend/apps/main/src/features/conversation/ReplyBox.vue
#	frontend/apps/main/src/features/conversation/ReplyBoxContent.vue
#	frontend/apps/main/src/features/conversation/ReplyBoxMenuBar.vue
#	frontend/apps/main/src/features/conversation/list/ConversationListItem.vue
#	frontend/apps/main/src/features/conversation/message/MessageBubble.vue
#	frontend/apps/main/src/features/conversation/sidebar/ConversationInfo.vue
#	frontend/apps/main/src/views/admin/whatsapp/NewWhatsAppTemplate.vue
#	i18n/en-US.json
#	internal/conversation/conversation.go
#	internal/conversation/message.go
#	internal/conversation/queries.sql
#	internal/conversation/whatsapp.go
#	internal/csat/csat.go
#	internal/csat/queries.sql
2026-09-27 11:25:32 +05:30
Abhinav Raut e5a427dec3 wip telegram 2026-09-27 11:19:07 +05:30
Abhinav Raut 38deabcd23 fix the WhatsApp spec for the lowercase brand name and drop an unchecked test cleanup v2.9.0-rc.8 2026-09-25 21:58:44 +05:30
Abhinav Raut 3dfcde8e30 remove duplicate and unneeded WhatsApp translation strings 2026-09-25 21:41:08 +05:30
Abhinav Raut a38a89ebc4 name the v2.9.0 migration v2.9.0-rc.8 2026-09-25 21:30:08 +05:30
Abhinav Raut c0d6131e47 Merge remote-tracking branch 'origin/main' into feat-whatsapp 2026-09-25 21:12:01 +05:30
Abhinav Raut 0bfaa890a4 Merge remote-tracking branch 'origin/main' into feat-whatsapp 2026-09-25 21:08:55 +05:30
Abhinav Raut ab3a5ca682 Merge pull request #641 from abhinavxd/fix-svg-uploads
stop uploaded SVG files from running scripts
2026-09-25 21:08:48 +05:30
Abhinav Raut 6f77cfb1ad sandbox only downloaded files so videos play in Chrome again 2026-09-25 20:01:43 +05:30
Abhinav Raut 8272aa2d07 add forced download cases to the media serve test 2026-09-25 18:52:50 +05:30
Abhinav Raut dc516bdd20 refactor: replace string literals with constants for content disposition 2026-09-25 18:36:03 +05:30
Abhinav Raut c42e121135 Merge pull request #642 from abhinavxd/fix-zoom-overflow
fix content spilling out of panels and dialogs when zoomed in or out
2026-09-25 18:19:34 +05:30
Abhinav Raut 8ec3b1a0c7 wrap long one-word contact names inside the sidebar 2026-09-25 17:44:45 +05:30
Abhinav Raut 7c79f6e44d fix content spilling out of panels and dialogs when zoomed in or out 2026-09-25 14:39:55 +05:30
Abhinav Raut fae3251dfc stop uploaded SVG files from running scripts
An upload could send a file type like "image/svg+xml; x". We saved that
type as sent, so it skipped the SVG check and the file opened in the tab
with scripts on. Types ending in +xml had the same hole.

We now clean up the type before saving it and again when serving it,
which also fixes files uploaded before this change. Files served from
libredesk get scripts turned off, except PDFs, because Chrome's PDF
viewer won't load that way. SVG and other XML types always download.

On S3, uploads store the cleaned type and a download or inline header
on the file.
2026-09-25 11:52:31 +05:30
Abhinav Raut 9e4a114220 preserve leading zeros in Congo WhatsApp numbers
Keep the national leading zero for Congo (+242) when converting phone numbers for WhatsApp. Add cases for local and international numbers and a mismatched country code.
2026-09-25 02:45:04 +05:30
Abhinav Raut 5cd6b3bbe2 fix WhatsApp contact blocking and reply variables
Drop messages from blocked contacts before media downloads or conversation updates. Restore variables in regular replies and add regression tests while preserving Meta template parameters.
2026-09-25 02:29:11 +05:30
Abhinav Raut 9f686ac568 remove redundant translations and semicolons 2026-09-25 02:06:02 +05:30
Abhinav Raut b101170bdc log when time trigger evaluation starts 2026-09-25 01:54:44 +05:30
Abhinav Raut 7c3b239793 make the time trigger lookback configurable 2026-09-25 01:50:24 +05:30
Abhinav Raut 7f5b3467e4 add last resolved rules and consolidate migration tests 2026-09-25 01:42:21 +05:30
Abhinav Raut 277ef89e3e consolidate database test helpers into testutil 2026-09-25 01:36:05 +05:30
Abhinav Raut 5529754b19 drop the leading 0 from local WhatsApp numbers and fix composer Cypress tests 2026-09-25 01:29:53 +05:30
Abhinav Raut 6c3006cc6d share the channel icon mapping across components 2026-09-25 01:09:45 +05:30
Abhinav Raut 544a3e1bd6 keep prereleases from updating latest Docker tags 2026-09-25 01:01:31 +05:30
Abhinav Raut 96b88dcfe8 revamp the new conversation composer and preserve drafts
Add a floating composer with minimize and expand controls. Restore
email and WhatsApp drafts after reload, and support CC/BCC on new emails.
2026-09-25 01:00:35 +05:30
Abhinav Raut 503f7519a5 fix WhatsApp ingester shutdown order 2026-09-25 00:36:23 +05:30
Abhinav Raut e0727283aa Merge remote-tracking branch 'origin/main' into feat-whatsapp 2026-09-24 02:10:38 +05:30
Abhinav Raut df9de13b97 show the WhatsApp icon next to the inbox in the conversation sidebar 2026-09-24 02:01:44 +05:30
Abhinav Raut 4bcc7a3f64 move the reopen window field and focus template search on open
The reopen window field now sits under the CSAT switch at half width. The Send template window puts the cursor in the search box so agents can type right away.
2026-09-24 01:55:45 +05:30
Abhinav Raut db1eecc9d5 Merge pull request #637 from abhinavxd/fix-minimize-icon
move the reply box minimize line to the bottom of its button
2026-09-24 01:55:38 +05:30
Abhinav Raut f9fe57dacc move the reply box minimize line to the bottom of its button 2026-09-24 01:54:57 +05:30
Abhinav Raut 6b0f8c434d scroll the template row into view before checking it in the WhatsApp delete test 2026-09-24 01:38:21 +05:30
Abhinav Raut 3001a7a6e0 merge main into feat-whatsapp 2026-09-24 01:28:52 +05:30
Abhinav Raut 96d29eb8ba Update README.md 2026-09-24 01:18:18 +05:30
Abhinav Raut 35196e0eb1 Merge pull request #618 from abhinavxd/mobile-improvements
fix mobile layouts
2026-09-24 00:32:35 +05:30
Abhinav Raut 5067eb256a keep focus in the tag picker after each pick 2026-09-24 00:25:03 +05:30
Abhinav Raut e4fb9770c7 make the phone message avatar bigger 2026-09-24 00:10:21 +05:30
Abhinav Raut f4d5adf336 show the avatar next to the sender name on phones 2026-09-24 00:08:59 +05:30
Abhinav Raut 804e4578b0 add reply recipient tests and tidy three small UI details 2026-09-23 23:59:55 +05:30
Abhinav Raut f07efc0dec close the phone sidebar when opening the view form 2026-09-23 23:42:23 +05:30
Abhinav Raut 21be970951 show the desktop layout from 1024px and fix phone layout bugs 2026-09-23 23:34:43 +05:30
Abhinav Raut 240aef8282 fix bugs found while testing WhatsApp end to end 2026-09-23 16:41:50 +05:30
Abhinav Raut 9b2c0ec6a9 keep text formatting in WhatsApp replies 2026-09-23 14:19:03 +05:30