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
Tejaswini Chile
138afd9af6
Feat: Fetch whatsapp templates till next cursor ( #6835 )
2023-04-10 14:44:27 +05:30
Tejaswini Chile
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54: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
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
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
Pranav Raj S
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
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
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
fbdc79df76
Fix: skip invalid access token from sentry ( #6639 )
2023-03-09 16:28:45 +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
Clairton Rodrigo Heinzen
eb4da33cdc
feat: Ability to customize the base url for Whatsapp Cloud Service ( #6622 )
...
Configure a custom endpoint for Whatsapp Cloud Service via `WHATSAPP_CLOUD_BASE_URL`.
refs: #5142
2023-03-08 18:23:25 +05:30
Sojan Jose
d59fd6b747
chore: Ensure Template messages work even when bot is connected ( #6455 )
...
ref: #5592
2023-03-08 18:01:00 +05:30
Tejaswini Chile
60fee519bd
Exception tracker with account ( #6603 )
2023-03-03 12:14:44 +05:30
Sojan Jose
d4e7eaecce
feat: New APIs for search ( #6564 )
...
- Adding new API endpoints for search
- Migrations to add appropriate indexes
2023-02-28 22:00:36 +05:30
Pranav Raj S
7044eda281
chore: Add controllers for conversation participants ( #6462 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-02-15 16:33:31 -08:00
Pranav Raj S
949ddf68ba
chore: Refactor the notification service for participants ( #6461 )
2023-02-15 14:14:56 -08:00
Jacson Santos
73d14f204e
feat: Add the ability to receive contact(vCard) on a WhatsApp inbox ( #6330 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-07 19:36:38 -08:00
Sojan Jose
38aee8d9ea
chore: Switch to web-push gem ( #6390 )
...
- The previous gem, `webpush` was last updated a while ago. Also, with the recent ruby upgrade, we needed a fix for zaru/webpush#106 . Hence switching to the `web-push` gem where the issues are fixed.
2023-02-03 18:55:22 +05:30
Vishnu Narayanan
b1ec67d110
chore: upgrade ruby to 3.1.3 ( #5555 )
...
* chore: update to ruby 3.1.3
* chore: ping docker version to alpine3.16 for nodev16.x
Starting with Node 17, nodejs switched to OpenSSL3. The docker builds
are installing node18.xx with alpine-3.1.3.
From Node.js 17's announcement post:
If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application
with Node.js 17, it’s likely that your application or a module you’re
using is attempting to use an algorithm or key size which is no longer
allowed by default with OpenSSL 3.0. A new command-line option,
--openssl-legacy-provider, has been added to revert to the legacy
provider as a temporary workaround for these tightened restrictions.
Looks like a webpack issue. This is fixed in webpacl 5+ and we are on
webpack4 at the moment.
Solutions
Upgrade webpack.
Pin nodejs version to be 16.x.x
Use --openssl-legacy-provider as a workaround.
Pin docker version to alpine3.16 branch to have node16.x by default
ref:
https://github.com/chatwoot/chatwoot/pull/5555#issuecomment-1379778532
* chore: update webmock
* chore: fix ruby gem path in dockerfile
* chore: switch to node16 in circleci
* chore: update ruby version in linux installer script
* chore: update ruby version in linux installer script
* chore: fix circleci
* chore: fix circleci
* feat: upgrade node version to 16.x in linux installer
* chore: update systemd files
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-01-24 23:55:07 +05:30
Sojan Jose
e2ccac78d2
fix: Error when unsupported Whatsapp message status ( #6295 )
...
fixes error when unsupported WhatsApp message status
2023-01-19 18:52:38 +05:30
Tejaswini Chile
00cbdaa8ca
Feat: Support for Microsoft Oauth in Email Channel ( #6227 )
...
- Adds the backend APIs required for Microsoft Email Channels
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-01-17 02:39:05 +05:30
Sojan Jose
c16624dc5d
fix: Duplicate messages in Whatsapp Channel ( #6220 )
...
fixes : #5433
2023-01-10 18:57:34 +05:30
Sojan Jose
fbdc921ee5
chore: Fix sentry errors for Instagram channel ( #6189 )
...
fixes : #6188
2023-01-06 17:18:31 +05:30
OMAR.A
7b5f1e4876
feat: Support for telegram incoming location message ( #6158 )
...
Support for incoming location messages in the telegram channel.
ref: #3398
2023-01-04 16:11:54 +05:30
Tejaswini Chile
a08099bbcc
fix: Custom attr filter on conversations ( #5978 )
2022-12-02 10:37:32 +05:30
giquieu
0cad3bed71
fix: Files in Whatsapp arrives with a different Name ( #5907 )
...
- Add file name parameter to the WhatsApp attachment payload
fixes : #4481
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-11-29 16:54:49 +03:00
Clairton Rodrigo Heinzen
edcbd53425
feat: Read/Delivery status for Whatsapp Cloud API ( #5157 )
...
Process field statuses received in webhook WhatsApp cloud API
ref: #1021
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2022-11-29 15:51:37 +03:00
Tejaswini Chile
fc9fc5a661
fix: destroy bulk service ( #5921 )
2022-11-25 22:46:50 +05:30
Sojan Jose
8ea0660862
chore: Add reauthorization prompt for Whatsapp Channel ( #5929 )
...
- Add reauthorization prompt for Whatsapp Channel
fixes : #5782
2022-11-24 14:50:32 +03:00
Tejaswini Chile
9bfbd528ef
feat: Assign team with teams none option ( #5871 )
2022-11-17 14:15:16 +05:30
Tejaswini Chile
e85f998a08
feat: Remove labels in macro ( #5875 )
2022-11-17 12:30:47 +05:30
Tejaswini Chile
826a735cdb
fix: Assign agent action changes ( #5827 )
2022-11-15 13:15:27 +05:30
Fayaz Ahmed
9eb861a3b7
feat: Custom attributes in automations and refactor ( #4548 )
...
* Custom attributes
* Custom Attrs Manifest
* Fix dropdown values for custom attributes
* Handle edit mode for custom attributes
* Ported duplicate logic to a mixin
* fix Code climate issue
* Fix Codeclimate complexity warning
* Bug fix - Custom attributes getting duplicated
* Bug fixes and Code Climate issue fix
* Code Climate Issues Breakdown
* Fix test spec
* Add labels for Custom attributes in dropdown
* Refactor
* Refactor Automion mixin
* Refactor Mixin
* Refactor getOperator
* Fix getOperatorType
* File name method refactor
* Refactor appendNewCondition
* spec update
* Refactor methods
* Mixin Spec update
* Automation Mixins Test Specs
* Mixin Spec Rerun
* Automation validations mixin spec
* Automation helper test spec
* Send custom_attr key
* Fix spec fixtures
* fix: Changes for custom attribute type and lower case search
* fix: Specs
* fix: Specs
* fix: Ruby version change
* fix: Ruby version change
* Removes Lowercased values and fix label value in api payload
* Fix specs
* Fixed Query Spec
* Removed disabled labels if no attributes are present
* Code Climate Fixes
* fix: custom attribute with indifferent access
* fix: custom attribute with indifferent access
* Fix specs
* Minor label fix
* REtrigger circle ci build
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* fix: Custom attribute case insensitivity search
* Add missing reset action method to input
* Set team_input to single select instead of multiple
* fix: remove value case check for date,boolean and number data type
* fix: cognitive complexity
* fix: cognitive complexity
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: codeclimate
* fix: codeclimate
* fix: action cable events for label update
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* Fix margin bottom for attachment button
* Remove margin bottom to avoid conflict from macros
* Fix automation action query generator using the right key
* fix: not running message created event for activity message
* fix: not running message created event for activity message
* codeclimate fix
* codeclimate fix
* codeclimate fix
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/shared/mixins/specs/automationHelper.spec.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/helper/automationHelper.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-11-10 10:53:29 +05:30
salman652
6ff0c93659
feat: Ability to receive location on whatsapp inbox ( #5742 )
...
- Ability to receive location messages on WhatsApp Inbox
ref: https://github.com/chatwoot/chatwoot/issues/3398
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-11-07 21:36:47 -08:00
Tejaswini Chile
a23974d8b9
Feat/5733 Add private note action in macros ( #5805 )
2022-11-07 22:12:10 +05:30
Tejaswini Chile
00e06e5139
fix: Unsupported message type ( #5783 )
...
- fix handling unsupported message types
2022-11-01 15:21:45 -07:00
Tejaswini Chile
a0606d36f6
fix: Set message sender to macros excution ( #5769 )
2022-10-31 19:33:12 +05:30
Tejaswini Chile
a274a1702a
chore: Macros enhancement ( #5609 )
...
- Fixed send_attachment and send_email_transcript
- Fixed duplicate activity messages
- Fixed Order of execution
Fixes : #5584
2022-10-20 19:41:48 -07:00
Tejaswini Chile
0343acdb7e
fix: ensure contact_inbox if contact exists( #5667 )
...
- Fixing Instagram issue for existing contacts in the inbox
2022-10-19 12:56:39 -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
Tejaswini Chile
a533f43fbf
fix: Stop raising errors for unsupported Whatsapp messages ( #5541 )
...
- Handle unsupported Whatsapp messages
2022-10-13 13:31:49 -07:00
Chamath K.B. Attanayaka
6b47c7b43d
fix: Attachment not sending to bots message creation ( #5353 )
2022-09-28 13:13:29 -07:00
Tejaswini Chile
fcb9a9ab0c
fix: contact is not available for inaccessible sender ( #5509 )
...
Fixes : #5508
We can not read contact information because of this error, as the messages echo when the sender sends messages to contacts. We don't have the user's consent until and unless they send messages to us.
So after this result, information about the contact is empty, and we are trying to create a contact inbox for the same, and the error appears.
type: OAuthException, code: 230, message: (#230 ) User consent is required to access user profile, x-fb-trace-id: AaitxF/whwY [HTTP 403] (Koala::Facebook::ClientError)
2022-09-28 12:50:23 -07:00
Shivam Chahar
6b80afaf50
fix: un-assign agent from conversation after removal ( #5417 )
...
Unassign agents from the conversation when they are removed from the account.
Fixes : #4555
2022-09-19 18:14:55 -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
Tejaswini Chile
9c67814724
Fix: Instagram webhook test event ( #5317 )
2022-08-22 16:10:14 +05:30