Pranav
7cf051aba0
fix: Show campaigns only if the feature is enabled ( #11420 )
...
If the feature is disabled (manually or due to plan changes), the
customer cannot disable the existing campaigns. This PR would fix that.
Fixes
https://linear.app/chatwoot/issue/CW-3691/fix-disable-campaigns-on-plan-downgrade
2025-05-05 19:41:28 -07:00
Pranav
46ec92c86e
fix: Improve performance of most hit APIs in widget ( #11089 )
...
- Cache campaigns for better performance
- Fix N+1 queries in inbox members
- Remove unused related articles
2025-03-14 17:37:36 -07:00
Muhsin Keloth
467700499b
fix: message_type in widget conversation create end point ( #10120 )
...
The `before_type_cast` method sometimes returns a string for
`message_type`, creating inconsistencies in conversation create API
response.
2024-09-16 22:34:09 +05:30
Shivam Mishra
bce2a07d03
feat: do not send contact details to the widget ( #9223 )
...
* refactor: use has_email instead of email
* feat: remove usage of details directly in forms
* test: update payload
* test: fix transcript test
* refactor: use computed hasEmail
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-12 15:30:07 +05:30
Muhsin Keloth
af7631d9f1
chore: Update MarkMessagesAsReadJob to accept delivered status ( #8319 )
2023-11-08 13:44:57 -08:00
Muhsin Keloth
24fbab94c3
chore: Refactor MarkMessagesAsReadJob based on conversation id and time stamp ( #8217 )
...
- Mark all messages as read by providing the conversation ID and timestamp.
- For Instagram, ensure all previous messages that weren't marked as failed are now marked as read. This is because the read events are only triggered for the most recent message and not for any previous ones.
2023-10-27 15:21:39 -07:00
Shivam Mishra
d94108bf3f
feat: show ReplyTo in widget UI ( #8094 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-27 13:35:02 +05:30
Muhsin Keloth
980013abae
feat: Add delivery reports for live chat ( #8092 )
2023-10-12 20:48:20 +05:30
Pranav Raj S
9e173fca3c
fix: Return 404 if conversation is nil ( #8098 )
2023-10-12 17:00:51 +05:30
Luis
533f9f7fe4
fix: Email collect overriding existing contact name ( #7355 )
...
Currently, if Enable email collect box is enabled, and the user starting the chat already has an account with the same email, it will override the current account with {name} from the email name@email.com , this fixes it.
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-22 19:09:12 +05:30
Muhsin Keloth
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Shivam Mishra
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Pranav Raj S
c998c84bc0
fix: Name missing when email is collected via email hook ( #6530 )
...
- The name is not updated when the email is updated via the email collect message. This PR fixes that.
2023-02-24 15:24:53 +05:30
Pranav Raj S
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-01-09 11:52:31 -08:00
Muhsin Keloth
b5f7be0cd2
fix: Full name update when creating a conversation without an email id ( #5832 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-14 19:39:46 -08:00
Muhsin Keloth
2e7ab484bd
fix: Discard invalid contact attributes in widget conversation end point ( #5664 )
...
Fixes : chatwoot/product#601
2022-10-18 13:16:29 -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
Pranav Raj S
32291f4f7d
fix: Update browser_language logic to include all languages ( #5090 )
2022-07-22 13:14:17 +05:30
Sojan Jose
e4b159dd54
chore: Fix contact model silently discarding invalid attributes ( #4994 )
...
fixes : #4775
2022-07-08 13:58:09 +05:30
Sojan Jose
f71980bd95
chore: Enhance contact merge action for identified users ( #4886 )
...
- Discard conflicting keys
- Do not merge if there is already an identified contact
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-23 15:48:56 +05:30
Pranav Raj S
7434b60f71
fix: Revert changes to fix name updation from pre-chat form ( #4741 )
2022-05-25 12:38:23 +05:30
Muhsin Keloth
b082b0e58c
fix: Dig params in widget contact end point ( #4516 )
2022-04-21 20:39:45 +05:30
Muhsin Keloth
7e5ec7925c
feat: Add phone_number & custom_attributes in create conversation end point ( #4421 )
2022-04-08 14:53:37 +05:30
Pranav Raj S
0b03e4b296
feat: Add an option to disable endConversation button ( #4352 )
2022-04-06 13:54:55 +05:30
Pranav Raj S
b77fad52fb
fix: Add missing contact information to fix invalid activity messages ( #4195 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2022-03-18 13:43:02 +05:30
Tejaswini Chile
207a03155e
Feat: authenticate direct upload ( #4160 )
2022-03-16 13:54:18 +05:30
Aswin Dev P.S
c4837cd7ac
feat: End conversation from widget ( #3660 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-15 22:07:30 +05:30
Muhsin Keloth
f405572e5c
Revert "feat: Custom fields in pre-chat form ( #4135 )" ( #4182 )
...
This reverts commit e730804b48 .
2022-03-15 16:54:33 +05:30
Muhsin Keloth
e730804b48
feat: Custom fields in pre-chat form ( #4135 )
...
Fixes : #2744
2022-03-14 15:06:56 +05:30
Muhsin Keloth
46c1734ba1
feat: Add additional attributes in setUser method ( #3958 )
2022-02-28 12:10:55 +05:30
Tejaswini Chile
94a473c9f8
chore: Delayed deploy of direct uploads ( #3966 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-15 16:16:54 +05:30
Tejaswini Chile
69eaf3ff7f
feat: Activestorage direct upload ( #3768 )
2022-01-27 15:57:22 +05:30
Pranav Raj S
2f63ebb8a6
fix: Add fixes for sentry errors ( #3522 )
...
- Add fixes for sentry errors
2021-12-09 11:50:28 +05:30
Muhsin Keloth
a2764e5c1d
chore: Update deleteCustomAttribute method in SDK ( #3334 )
2021-11-15 14:56:35 +05:30
sarzynski
b3e313a200
fix: Ensure HMAC mandatory when enabled ( #3350 )
...
Add missing condition checking if HMAC is mandatory.
Fixes #3349
2021-11-11 09:48:38 +05:30
Sojan Jose
6fdd4a2996
chore: Security Improvements to the API ( #2893 )
...
- Devise auth tokens are reset on password update
- Avatar attachment file type is limited to jpeg,gif and png
- Avatar attachment file size is limited to 15 mb
- Widget Message attachments are limited to types ['image/png', 'image/jpeg', 'image/gif', 'image/bmp', 'image/tiff', 'application/pdf', 'audio/mpeg', 'video/mp4', 'audio/ogg', 'text/csv']
- Widget Message attachments are limited to 40Mb size limit.
2021-09-01 15:08:05 +05:30
Aswin Dev P.S
9e052fd5b2
chore: Set phone_number through Website SDK ( #2803 )
...
Fixes : #2599
2021-08-13 17:26:09 +05:30
Sojan Jose
a0886d37bc
chore: Expose widget config via an API ( #2645 )
...
Expose widget config via an API so that the UI could be detached from the rails Application.
2021-07-21 01:26:32 +05:30
Sojan Jose
dd9d5e410c
feat: Add CSAT response APIs ( #2503 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-29 20:59:41 +05:30
Pranav Raj S
bd1b17baf3
feat: Show the CSAT response to the agent ( #2511 )
2021-06-25 13:37:51 +05:30
Muhsin Keloth
dbddb1ece4
feat: Add CSAT response submit action ( #2506 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-25 12:00:49 +05:30
Sojan Jose
853db60f8e
feat: Add Public APIs for API Channel ( #2375 )
2021-06-15 20:09:17 +05:30
Sojan Jose
1bf7227843
chore: Fix emails being sent with the wrong translations ( #2236 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-08 22:45:01 +05:30
Sojan Jose
467b45b427
feat: Improved password security policy ( #2345 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-07 17:26:08 +05:30
Sojan Jose
98e2a9b8b5
feat: Builder for creating Campaign conversations ( #2192 )
...
- Builder for creating Campaign conversations
- Widget endpoint to fetch the campaigns
2021-05-03 20:23:09 +05:30
Sojan Jose
c453455ad1
fix: Handle application errors in Sentry ( #1982 )
...
- Handle notification errors for attachment messages
- Fix empty identifiers being passed
- Fix 404 when invalid source id
- Handle webhook exceptions
2021-03-27 12:27:48 +05:30
Nithin David Thomas
3043ee5058
Fix: Hide prechat for sessions inititated with setUser ( #1914 )
2021-03-20 17:44:20 +05:30
Pranav Raj S
ec557205f4
fix: Add validations dynamically for pre-chat form ( #1779 )
2021-02-16 15:15:37 +05:30
Pranav Raj S
037ffc7419
feat: Add a pre-chat form on widget ( #1769 )
2021-02-16 00:14:13 +05:30
freddii
229fcc18b7
chore: fixed typos in code comments ( #1701 )
2021-01-28 10:39:37 +05:30