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
Pranav Raj S
9e8eb293e9
fix: Allow integration apps to be listed by an agent ( #6587 )
...
* fix: Allow integration apps to be listed by an agent
* Fix rubocop
2023-03-02 13:02:21 +05:30
Tejaswini Chile
61d0a63bf7
Fix: product#804: email sender improvement ( #6579 )
2023-03-02 10:57:14 +05:30
Vishnu Narayanan
d870b0815a
feat: Audit log APIs ( #6434 )
...
- Adds the appropriate APIs for Audit Logs.
ref: #6015
2023-03-01 20:02:58 +05:30
Tejaswini Chile
34a2486e9c
chore: Support plus forwarding in email channel ( #6482 )
...
- Support for plus forwarding in the email addresses for email channels
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-01 15:42:48 +05:30
Sojan Jose
c9c3ac4b44
chore: Load only required APMs ( #6497 )
...
- Disable requiring the gems for all the APMs
- Switch to selectively requiring them.
2023-03-01 14:31:51 +05:30
Sojan Jose
4c921d3d0e
chore: fix flaky tests ( #6569 )
...
- fixing flaky test in search service spec
2023-03-01 11:44:16 +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
b141fc1289
fix: Fetch categories by locale ( #6557 )
2023-02-27 09:12:14 -08:00
Tejaswini Chile
ce807d3251
fix: Condition based backend validation ( #6554 )
2023-02-27 20:22:07 +05:30
Tejaswini Chile
b76fda53a2
fix: Email subject automation issue ( #6533 )
2023-02-27 18:33:11 +05:30
Shivam Mishra
06ffaa90fc
fix: bots included in time to response metrics ( #6409 )
...
* feat: ignore bots in avg_first_response_time
* feat: ignore bots in avg_first_response count
* feat: add bot handoff event
* feat: add handoff event listener and reporting event
* fix: ignore agent bot in first response
* refactor: calculate first_response with last handoff
* refactor: method defn order
* test: new reporting events
* feat: Revert "feat: ignore bots in avg_first_response count"
This reverts commit de1977c219a2e7a9180dd02272244fe3b3f7ce89.
* feat: Revert "feat: ignore bots in avg_first_response_time"
This reverts commit bb9171945d5e3b2f6015f4f96dd1b76b3efb6987.
* fix: business hour calculation for first_reply
* fix: event_start_time for first_response
* feat: add migration to recompute first_responses
* refactor: separate mute helpers for conversation
* refactor: rename migration
* refactor: migration script
* fix: migration typo
* fix: typo in query
* feat: update schema.rb
* Revert "feat: update schema.rb"
This reverts commit 353ef355f2d956dd219907bb66982dc90ca5d896.
* feat: update schema
* refactor: update events as a batch job
* fix: ignore the event if value is negative
* feat: don't create a new hand-off if it's already present
* refactor: break the action into smaller chunks
* refactor: update reporting listener spec
Handle the case to ensure extra bot handoffs are not created for a give conversation
* fix: import error
---------
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2023-02-25 09:48:48 +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
Tejaswini Chile
26e760a281
Add sender_name in the SMTP reply mails ( #6528 )
2023-02-24 13:20:56 +05:30
Vishnu Narayanan
71f2b27728
fix: ActiveRecord::RecordNotFound Couldn't find Channel::WebWidget ( #6523 )
...
* fix: resucue ActiveRecord::RecordNotFound for webwidget controller
* chore: add rails.log
2023-02-23 19:16:07 +05:30
Vishnu Narayanan
930863b25b
fix: sentry CHATWOOT-37A ActiveRecord::RecordNotUnique ( #6496 )
...
* fix: sentry CHATWOOT-37A #6457
* chore: add spec
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-02-21 09:34:51 +05:30
Sojan Jose
ca1adb9960
feat: conversation participants ( #4145 )
...
Fixes #241
Fixes : chatwoot/product#648
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-16 13:35:06 +05:30
Shivam Mishra
7be2ef3292
feat: Google OAuth for login & signup ( #6346 )
...
This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account.
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-02-16 11:12:02 +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
Pranav Raj S
98ff185d42
chore: Add formatting for the view count ( #6447 )
2023-02-13 14:29:14 -08:00
Shubham Kumar
29025759d6
feat: Add webhook events for contact created, updated ( #6415 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-13 13:28:27 -08:00
Sojan Jose
5cbfcfbfa0
chore: Limit conversation resolution Job ( #6433 )
...
We will be adding a limit to the resolution job so that it is performed at a spaced interval. This will ensure there won't be a sudden spike in resource usage
fixes : chatwoot/product#707
2023-02-13 14:00:52 +05:30
Tejaswini Chile
c5b245977a
Added one more endpoint to attach tempfile and get logo ( #6407 )
2023-02-09 14:05:45 +05:30
Tejaswini Chile
7c21cef467
Added event for conversation opened ( #6412 )
2023-02-08 12:05:22 +05:30
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
Shivam Mishra
f8aa544aae
fix: order for canned response ( #6400 )
...
* feat: order canned response
Order canned responses by short_code match first and then with content
* Added specs
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-06 12:53:48 -08:00
Pranav Raj S
d672aa357b
chore: Add subject to the slack message ( #6404 )
2023-02-06 12:42:06 -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
Tejaswini Chile
5cce04da78
Chore: specs for process_emails in message builder ( #6379 )
2023-02-02 18:36:52 +05:30
Tejaswini Chile
2ab0b8552a
fix: Identity JSON response header ( #6326 )
2023-02-02 11:01:18 +05:30