Sojan Jose
8c67ea56e7
chore: Campaign conversations should be created in open state ( #8209 )
...
- Ensure that conversations originating from campaigns are created in the open state.
2023-10-25 13:03:08 -07:00
Muhsin Keloth
54bc4c23df
fix: Telegram model specs ( #8207 )
2023-10-26 00:14:09 +05:30
Muhsin Keloth
58f47eb02c
feat: Handle Facebook send message/attachments errors ( #8197 )
2023-10-25 08:59:25 -07:00
Muhsin Keloth
4fc62ed9ae
feat: Handle Instagram send message/attachments errors ( #8174 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-25 08:56:09 -07:00
Muhsin Keloth
4a89bab23a
feat: Handle Telegram send message/attachments errors ( #8173 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-25 08:36:31 -07:00
Shivam Mishra
b9694a0818
feat: support reply to for Telegram ( #8105 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-20 13:14:20 +05:30
Shivam Mishra
7416bbb25e
feat: support reply to for outgoing message in WhatsApp ( #8107 )
...
- This PR enables replies to WhatsApp.
2023-10-19 13:24:46 -07:00
Muhsin Keloth
78ce8a4652
feat: Add support for Instagram delivery reports ( #8125 )
2023-10-18 23:42:34 -07:00
Muhsin Keloth
04c874fe35
feat: Add delivery reports for API channel ( #8116 )
2023-10-18 10:11:13 +05:30
Shivam Mishra
c20415f3ba
test: reset Current.user before each example ( #8126 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-10-17 15:42:45 -07:00
Shivam Mishra
9018ec9678
test: reset Current.user after spec ( #8123 )
2023-10-17 18:06:54 +05:30
Shivam Mishra
e55fe33f1b
test: fix flaky test by adding margin for time diff ( #8121 )
2023-10-17 14:20:40 +05:30
Shivam Mishra
62d8ec7edb
feat: support reply to for incoming messages on facebook ( #8076 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-13 16:33:50 +05:30
Muhsin Keloth
980013abae
feat: Add delivery reports for live chat ( #8092 )
2023-10-12 20:48:20 +05:30
Vishnu Narayanan
ae52ca87aa
fix: Handle empty status in conversation controller ( #8091 )
...
Fixes CW-2644
2023-10-12 17:11:04 +05:30
Vishnu Narayanan
415bb23c37
fix: Handle invalid metric in ReportsController ( #8086 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Fixes CW-2643
2023-10-12 17:01:23 +05:30
Muhsin Keloth
bd918ee506
fix: Change the message status to failed if the Twilio message delivery status is undelivered ( #8097 )
2023-10-12 15:27:38 +05:30
Muhsin Keloth
0bc20873f6
feat: Add delivery status for Twilio Channel ( #8082 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-11 21:17:46 +05:30
Sojan Jose
6a07251007
feat: Add the ability to self-assign conversations in macros ( #8048 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-10 09:38:23 +05:30
Muhsin Keloth
26e8877cd9
feat: Support link unfurling for all the channels within the same connected channel account. ( #8033 )
2023-10-08 17:55:03 +05:30
Sojan Jose
72ba429159
fix: Show sources in bot response only if documents are present ( #8055 )
...
- show sources section in bot only based on appropriate conditions
2023-10-05 00:11:01 -07:00
Pranav Raj S
3227cf7ff3
fix: Update query to support multiple tag conditions ( #8054 )
2023-10-05 10:47:42 +05:30
Sojan Jose
6f19546c3c
feat: Add article messages along with bot responses ( #7993 )
...
ref: https://linear.app/chatwoot/issue/CW-2464/bot-should-also-return-links-to-the-information
2023-10-04 15:40:59 -07:00
Nithin David Thomas
b71a580573
feat: Adds dark theme support for public portal [CW-2525] ( #7979 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-04 11:56:00 +05:30
Sojan Jose
6a73953003
chore: Add delay before running dataimport job ( #8039 )
...
- We have observed some failures for data import jobs in the cloud due to race conditions with job executions and active storage file uploading. This PR adds delays and retries to accommodate that.
2023-10-03 22:18:57 -07:00
Sojan Jose
336af1ac9a
chore: Create client API conversations with custom attributes ( #8040 )
...
- Update client API create conversations endpoint to accept custom attributes as well.
2023-10-03 22:18:35 -07:00
Sojan Jose
826d9ec5a7
chore: Refactor Response Bot Data Schema ( #8011 )
...
This PR refactors the schema we introduced in #7518 based on the feedback from production tests. Here is the change log
- Decouple Inbox association to a new table inbox_response_sources -> this lets us share the same response source between multiple inboxes
- Add a status field to responses. This ensures that, by default, responses are created in pending status. You can do quality assurance before making them active. In future, this status can be leveraged by the bot to auto-generate response questions from conversations which require a handoff
- Add response_source association to responses and remove hard dependency from response_documents. This lets users write free-form question answers based on conversations, which doesn't necessarily need a response source.
2023-10-01 19:31:38 -07:00
Muhsin Keloth
24fe3805d8
feat: Slack link unfurling ( #7940 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-29 19:35:56 +05:30
Pranav Raj S
fd633e1613
feat: Add inbox webhook events ( #8006 )
...
- Add webhook events for inbox creation/updation.
- Right now, the feature is added under a feature_flag. It is not available by default on all installations.
2023-09-28 15:28:10 -07:00
Pranav Raj S
12a64f1b10
chore: Add an API to find the contacts using contact inbox sourceId ( #8012 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2578/search-by-facebook-id
2023-09-28 15:26:28 -07:00
Sojan Jose
647161121e
chore: pass to agent if there is error parsing json ( #7990 )
...
- GPT bot should pass the conversation to the agent if AI returns invalid json or any other error
2023-09-26 21:05:21 -07:00
Muhsin Keloth
cbbe939662
fix: Set avatar for users(agent/contact) in slack channels ( #7960 )
2023-09-26 09:38:14 +05:30
Pranav Raj S
ff915dd2ea
fix: Avoid joining tables to fix the distinct value query ( #7965 )
...
DISTINCT query with custom attributes return an error. To avoid the error, this PR refactors the query to include tags only when it is required.
Fixes #7931
Fixes #7836
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-22 19:48:56 -07:00
Liam
bdeb2f9812
feat: Searching contacts by company name ( #7867 )
...
Implement the functionality of being able to search the contacts page by company name.
Fixes : #7818
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-21 00:53:12 -07:00
Nithin David Thomas
53dc38e650
fix: Renders youtube and vimeo links within blank lines as embeds ( #7422 )
...
Within the article we are now rendering every link for youtube and vimeo as embeds. This isn't a good solution, as users might need to have plain links as well. This fix will render only links within two blank lines as embeds.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-21 00:16:03 -07:00
Sojan Jose
9ba5adfd60
chore: Support multiple values for automation message content ( #7871 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-19 13:04:58 +05:30
Shivam Mishra
53d530b815
feat: Add upload under account scope ( #7914 )
2023-09-19 09:51:54 +05:30
Vishnu Narayanan
7b6a56714f
fix: double rendor error on message create api for suspended accounts ( #7917 )
2023-09-14 20:06:48 +05:30
Sojan Jose
616371adbb
chore: Improve the behavior of lock to single conversation ( #7899 )
2023-09-14 12:32:57 +05:30
Muhsin Keloth
2d4ef0c328
feat: Add None option in automation assign agent actions ( #7900 )
2023-09-14 09:01:58 +05:30
Vishnu Narayanan
5e6e234afe
feat (perf): Remove conversation count in contacts list view ( #7915 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-14 08:49:37 +05:30
Muhsin Keloth
18e9e771b5
fix: Check body exists before deleting null bytes in Twilio ( #7910 )
2023-09-13 13:40:26 +05:30
Jordan Brough
4f5c5e9f85
fix: Erase null bytes from incoming Twilio messages ( #7901 )
...
We've had some messages come in from a few different phone numbers that had null bytes in them. I don't know how this happens. They don't seem to be malicious.
They currently cause the Postgres gem to raise an error when Chatwoot attempts to save the message body to the database:
ArgumentError (string contains null byte)
Related Rails GitHub issue: rails/rails#26891
2023-09-12 18:07:18 -07:00
Pranav Raj S
f05535c5ad
Revert "chore: Improve the behaviour of lock to single conversation (… ( #7886 )
2023-09-09 09:59:21 +05:30
Sojan Jose
bfd192ebb2
chore: Improve the behaviour of lock to single conversation ( #7863 )
2023-09-08 11:16:24 +05:30
Shivam Mishra
e529e1206e
fix: Update inline image processing logic to fix missing images when multiple inline images present ( #7861 )
2023-09-06 14:35:19 +05:30
Shivam Mishra
9ebabb9832
feat: common attachment endpoint follow-up changes ( #7826 )
2023-09-01 15:18:48 +07:00
Shivam Mishra
deec1d213b
feat: add a common upload endpoint ( #7806 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-08-31 10:36:02 +07:00
Sojan Jose
6ab964b161
chore: fix flaky spec ( #7686 )
...
- fix flaky reporting specs
- fix flaky export spec
2023-08-25 00:11:41 -07:00
Shivam Mishra
5598b4b27e
feat: implement mutex for SlackSendJob ( #7783 )
2023-08-25 11:58:29 +07:00