Tejaswini Chile
2b736f4698
fix: Update from_email in the name to fix the syntax error ( #6900 )
2023-04-13 10:42:38 -07:00
Tejaswini Chile
9ca21df9fd
feat: Route emails based on x-original-to in email channel ( #6901 )
...
Fixes : #6608
ref: https://linear.app/chatwoot/issue/CW-30/emails-not-routed-based-on-x-original-to
2023-04-13 14:52:12 +05:30
Tejaswini Chile
44837aa657
Fix: save twitter profile for inbox ( #6667 )
...
Fixes : #737
2023-04-12 14:16:24 +05:30
Tejaswini Chile
d45512df72
feat: Account deletion with deleteObjectJob ( #6885 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1365/allow-super-admin-to-delete-an-account
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 13:54:01 +05:30
Tejaswini Chile
610463c980
fix: flatten template array for whatsapp templates ( #6880 )
...
- Refactor the WhatsApp template sync job
- Fix the issue when fetching the next set of templates
2023-04-11 17:48:17 +05:30
Vishnu Narayanan
ad75a79135
feat: add pagination support for audit logs API ( #6843 )
...
Add pagination support for audit logs API
2023-04-10 21:07:01 +05:30
Tejaswini Chile
d49989ace1
chore: Specs for Whatsapp template pagination ( #6870 )
...
Spec for https://github.com/chatwoot/chatwoot/pull/6835
2023-04-10 20:44:43 +05:30
Tejaswini Chile
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
Pranav Raj S
e877b01e00
fix: Invalidate cache if any of the related objects change ( #6860 )
...
* fix: Invalidate cache if any of the related objects change
* Add specs:
* Update context
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-04-10 15:47:13 +05:30
Pranav Raj S
463c09184c
fix: Disable processing events if account is suspended ( #6849 )
2023-04-07 12:01:03 -07:00
Muhsin Keloth
a521762dd6
feat: Support after param in messages end point ( #6848 )
...
Adds support to `after` param while fetching messages
Fixes: https://linear.app/chatwoot/issue/CW-1475/support-after-param-in-messages-end-point
2023-04-07 13:42:54 +05:30
Pranav Raj S
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
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
Tejaswini Chile
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Tejaswini Chile
d2d6d271c3
CW-1399 Phone number import ( #6815 )
2023-04-03 13:53:59 +05:30
Pranav Raj S
ebc144683a
chore: Update conversation thread rendering in Slack ( #6812 )
2023-04-02 22:26:08 -07:00
Tejaswini Chile
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Tejaswini Chile
21da03fe5b
Fix: Consider bot message on slack integration ( #6793 )
2023-03-31 18:56:51 +05:30
Sojan Jose
7930902ec8
chore: Refactor Automation Specs ( #6796 )
...
The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files.
fixes: CW-1447
2023-03-30 21:02:52 +05:30
Tejaswini Chile
d8604107aa
fix: Add link to conversation in slack message ( #6768 )
2023-03-30 13:03:19 +05:30
Muhsin Keloth
cef44bc557
fix: Check valid params exists in WhatsAapp payload ( #6780 )
...
Fixes #6779
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-30 12:10:59 +05:30
Sojan Jose
7e3a4d2c20
fix: Adds assignee as a participant during auto-assign ( #6789 )
...
- Ensures that the assignee is added as a participant during auto-assign
2023-03-30 11:39:53 +05:30
Sojan Jose
a4c9a2b2f2
chore: Support telegram edited_message events ( #6785 )
...
- Add support for telegram edited_message events: Update the user message back in the Chatwoot dashboard when updated by the contact on telegram
2023-03-29 18:48:16 +05:30
Chamath K.B. Attanayaka
6002394fcf
feat: Support input_select messages on telegram ( #5887 )
...
- Adding interactive button support for telegram for outgoing and incoming messages.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-28 22:50:07 +05:30
Tejaswini Chile
54a809ea54
fix: Case insensitive email match ( #6760 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1354/email-id-case-sensitive
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-28 15:23:41 +05:30
Tejaswini Chile
fdb067a352
fix: mentions are not rendered properly in slack ( #6762 )
2023-03-28 13:40:16 +05:30
Muhsin Keloth
3535a1a708
chore: Auto capitalize the last name field while sending the canned response/variables ( #6767 )
...
* Capitalize last name
* Add more spec
* Fix last name spec issue
* More spec fixes
* Add more spec fixes
* Update user_drop_spec.rb
2023-03-28 13:03:51 +05:30
Shivam Mishra
4c10845acd
fix: [CW-44] don't count private message as first reply ( #6707 )
...
* fix: don't count private message as first reply
* fix: update first_human_response_logic
* refactor: separate valid_first_reply method
* test: valid first reply
* feat: add check for automation rule
* test: update step that creates data
* fix: add boundary condition in case first_reply_created_at is not present
* test: fix report builder
* refactor: conditions
* test: remove second message condition
2023-03-27 21:23:37 +05:30
Muhsin Keloth
5b7bed9640
chore: Auto capitalize the name field while sending the canned response/variables ( #6758 )
...
* capitalize name before sending the message
* Fix specs
* Code cleanups
2023-03-27 18:49:48 +05:30
Shivam Mishra
00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] ( #6710 )
...
* feat: allow caching of labels in the account scope
* feat: send cache keys in account json response
* feat: kickstart web worker
* feat: setup basic architecture for workers
* feat: install idb
* feat: add datamanger
* fix: typos
* refactor: rename method
* feat: make init db a manual step
* refactor: separate accountIdFromRoute
* feat: cache enabled API client
* feat: enable caching for inboxes and labels
* feat: enable cache for team
* feat: manage exceptions for team
* feat: add team to data manager
* feat: add a generic listener
* refactor: send only cache keys
* refactor: separate validate method
* feat: add listeners
* feat: add event for revalidate
* feat: add cache keys endpoint
* refactor: fetch cache keys instead of full account data
* fix: key pattern
* feat: don't fetch account for cache_keys
* fix: cache key base class
* refactor: cache keys helper
* feat: add helper
* fix: cache-key update logic
* feat: delete indexeddb on logout
* feat: remove worker.js
* refactor: move data-manager
* refactor: name of file
* feat: add test for DataManager
* refactor: add fake idb to jest setup
* test: cache keys helper
* test: cache keys helper
* test: cache_keys in accounts controller
* refactor: remove cache_keys context
* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
Tejaswini Chile
856d9067b0
fix: Super admin redirect issue [CW-1370] ( #6715 )
2023-03-23 14:37:21 +05:30
Tejaswini Chile
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
Tejaswini Chile
9c040af028
[CW-1348] fix: Update email regex validation for contact_inbox ( #6705 )
2023-03-21 10:51:12 +05:30
Shivam Mishra
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Tejaswini Chile
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Tarang
0c9f129c74
Fix issues with Microsoft Provider ( #6702 )
2023-03-20 12:27:43 +05:30
Tejaswini Chile
cf487c76a0
fix: delete user record if belongs to no account ( #6664 )
2023-03-15 21:49:49 +05:30
Sojan Jose
a99c37ae5e
chore: Resolve bundle audit ( #6671 )
...
- Update gems to resolve bundle Audit advisories
2023-03-15 14:05:54 +05:30
Sojan Jose
da76537011
chore: Search optimisations ( #6644 )
...
- Strip search term before searching
- order messages by created_at desc
- order contacts by last_activity_at desc
- order conversations by created_at desc
- Search only resolved contacts
- Optimize resolved contacts query
ref: #6583
2023-03-13 19:10:31 +05:30
Tejaswini Chile
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30
Jacson Santos
2e95d3a173
fix: Duplicate conversations and contacts WA and Brazil numbers ( #6222 )
...
Resolves issue when receiving a message from Brazil Whatsapp number.
Fixes : #5840
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-13 13:20:53 +05:30
Tejaswini Chile
f2684545d9
fix: Handle dialogflow hook without setting and credentials ( #6638 )
2023-03-09 20:11:08 +05:30
Tejaswini Chile
fbdc79df76
Fix: skip invalid access token from sentry ( #6639 )
2023-03-09 16:28:45 +05:30
Tejaswini Chile
54b7c98795
fix: Warn Facebook error code 100-2018218 ( #6632 )
2023-03-09 13:51:10 +05:30
Tejaswini Chile
dd8f8fc845
chore: Disable error tracking for Whatsapp error webhooks ( #6627 )
...
https://developers.facebook.com/docs/whatsapp/on-premises/webhooks/components
We are not going to handle the WhatsApp error component webhook event.
https://chatwoot-p3.sentry.io/issues/3957884597/?project=4504723538771968&query=is%3Aunresolved&referrer=issue-stream
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 20:50:59 +05:30
CristianDuta
c20410f3f4
feat: Ability to update CSAT over Client APIs ( #6470 )
...
This PR allows updating CSAT over Client APIs.
ref: #6328
Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 18:42:49 +05:30
Sojan Jose
9bc0f67f54
feat: Add specs for WHATSAPP_CLOUD_BASE_URL env variable ( #6630 )
...
ref: #6622
2023-03-08 18:38:54 +05:30
Tejaswini Chile
9c9183a352
chore: spec ensuring first_reply_created doesn't trigger automations
...
Specs to ensure that first_reply_created event doesn't trigger automations
ref: #6618
2023-03-07 17:40:17 +05:30
Tejaswini Chile
ec04ddc725
Fallback name branch ( #6591 )
2023-03-03 12:26:59 +05:30
Tejaswini Chile
a4fc0eef4b
fix: Exception tracking for dialogflow bot service ( #6593 )
2023-03-02 21:33:07 +05:30