Sojan Jose
d107d0adec
fix: Twilio channel attachment issues ( #10167 )
...
We received customer reports that attachments in Twilio messages
required page reloads to appear. This issue occurred because in the old
Twilio builder, we saved the message and attachment in two stages. The
new builders follow a streamlined approach, where both are saved in a
single transaction. This update aligns the Twilio channel with the new
builder format and resolves the issue.
### Testing:
Tests cover the attachment cases, ensuring that all original tests pass
with these changes.
2024-09-25 18:03:28 -07:00
Muhsin Keloth
682a2aea1c
chore: Handle twillio Down::ClientError ( #8757 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2992/downclienterror-400-bad-request-downclienterror
2024-01-22 15:33:26 +04:00
Muhsin Keloth
52a5a59ddb
fix: Handle error if the Twillio attachment download fails to download ( #8705 )
2024-01-15 19:13:44 +05:30
Muhsin Keloth
7d6085cefd
fix: Log twillio attachment error ( #8703 )
2024-01-15 12:46:58 +05:30
Muhsin Keloth
1577288843
fix: Twilo attachment download fallback to the step where authorization headers are not passed. ( #8681 )
...
In the previous release, we enabled "HTTP Basic Authentication" to secure all attachments requiring HTTP authentication. This is particularly important for media files that may contain sensitive data, as recommended by Twilio. However, some users experienced issues because they did not enable this option despite our alerts prompting them to do so. If the authenticated attachment download call fails, add another call to download the attachment without authentication.
2024-01-11 17:23:31 -08:00
Muhsin Keloth
3ae64822e1
chore: Enforce HTTP Basic Authentication for Twilio medias. ( #8396 )
2023-11-27 13:24:53 +05:30
Muhsin Keloth
16c36a78f0
chore: Remove sentry exceptions for the message status failed errors ( #8285 )
...
- Remove sending exceptions to Sentry after capturing the message failed errors.
2023-11-02 12:00:22 -07:00
Muhsin Keloth
29f18c7f18
fix: Handle Twilio::REST::RestError ( #8257 )
2023-10-31 16:23:34 +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
616371adbb
chore: Improve the behavior of lock to single conversation ( #7899 )
2023-09-14 12:32:57 +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
Jordan Brough
996f842882
feat: Allow Twilio::REST::TwilioError errors to raise and prevent Inbox creation ( #7379 )
...
This update will mean that errors will roll back the current transaction and the error will be sent back to the frontend and the user will know that the Inbox did not finish setting up successfully.
2023-08-16 15:00:02 -07:00
Sojan Jose
e310230f62
chore: Refactor Contact Inbox Builders ( #5617 )
...
- Remove duplicate code and move everything to builders
- fixes : #4680
2022-10-13 15:12:04 -07:00
Jordan Brough
59b31615ed
chore: Use "create!" and "save!" bang methods when not checking the result ( #5358 )
...
* Use "create!" when not checking for errors on the result
* Use "save!" when not checking the result
2022-09-13 17:40:06 +05:30
Sojan Jose
ea1a27c7d4
fix: Twilio channel selection when MessagingServiceSid is empty ( #5040 )
...
- Fixes channel selection logic in incoming_message_service for Twilio messages
ref: #4242
2022-07-14 15:16:07 +02:00
Jordan Brough
49d08a6773
feat: Support Twilio Messaging Services ( #4242 )
...
This allows sending and receiving from multiple phone numbers using Twilio messaging services
Fixes : #4204
2022-07-08 18:20:07 +05:30
Sojan Jose
04dfb034cc
chore: Upgrade Exception tracking ( #4638 )
...
- Upgrade Sentry Libraries
- Enable provision for account and user info in error tracking
- Add ChatwootExceptionTracker
fixes : #4375
2022-05-09 14:23:19 +05:30
Sojan Jose
2c73df4292
Chore: Provide fixed attachment URLs for Channels ( #4507 )
...
Prior to this change, The attachment URL sent from Chatwoot to 3rd party integrations like Whatsapp and Facebook
involved a 301 redirect before the original content is served. This causes intermittent breakages for the sent attachments.
fixes : #3632
ref: https://blog.saeloun.com/2021/09/14/rails-7-adds-expiring-urls-to-active-storage.html
2022-04-20 22:42:13 +05:30
Vishnu Narayanan
8155024b6a
feat: fix logging levels ( #4314 )
...
https://ruby-doc.org/stdlib-2.7.0/libdoc/logger/rdoc/Logger.html
Fixes https://github.com/chatwoot/chatwoot/issues/4313
2022-03-28 18:14:30 +05:30
Tejaswini Chile
dddab0bbce
chore: Handle the Twilio exception in sentry
...
Fix trying to extract the Sid from non created message.
Fixes #3029
2021-09-21 23:02:45 +05:30
Tejaswini Chile
772d4ae726
feat: Send MMS through Twilio Inbox ( #2959 )
...
Send MMS message to customer for Twilio integration inbox.
Fixes #2311
2021-09-07 00:05:14 +05:30
Sojan Jose
8daf1fe033
chore: Add down gem for Local file downloads ( #2765 )
...
- Add down gem to handle downloading files to host machine
- Remove the LocalResource class
- Introduce max limit for contact avatars send via SDK
2021-08-11 16:40:28 +05:30
Sojan Jose
edec74c389
chore: Fix Twilio send message error ( #2761 )
2021-08-06 13:34:20 +05:30
Sojan Jose
dfddf9cacc
chore: one off SMS campaign APIs ( #2589 )
2021-07-14 12:24:09 +05:30
Sojan Jose
59bee66e63
chore: Handle exceptions on external URL calls ( #1334 )
2020-10-11 20:22:21 +05:30
Sojan Jose
afb5694ed6
chore: Enable runtime metrics on Heroku ( #1178 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-09-03 15:24:08 +05:30
Sojan Jose
2193de9853
chore: General fixes and clean up ( #1169 )
2020-08-25 23:04:02 +05:30
Sojan Jose
cc02611007
Chore: Convert Message Sender to polymorphic ( #740 )
...
Fixes #680
2020-06-27 21:34:53 +05:30
Sojan Jose
4f83d5451e
Chore: Routine Bugfixes and enhancements ( #979 )
...
- Fix slack scopes
- Docs for authentication
Fixes : #704 , #973
2020-06-25 23:35:16 +05:30
Sojan Jose
432dad203b
Feature: Inbox greeting message ( #927 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-06-09 23:54:35 +05:30
Pranav Raj S
0cb7333977
Feature: Twilio Whatsapp Integration ( #779 )
...
Twilio Whatsapp Integration
Co-authored-by: Sojan <sojan@pepalo.com >
2020-04-30 01:41:13 +05:30
Pranav Raj S
a1a81e3799
Feature: Twilio SMS Channel ( #658 )
...
Twilio SMS Channel
Fixes : #350
2020-04-05 22:11:27 +05:30