Kevin Lin
dd09d560d5
fix: logic error when setting new relic logging forwarding ( #8687 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2024-01-11 21:05:04 +05:30
Sivin Varghese
c60c523851
fix: TypeError cannot read properties of undefined (reading 'queryselector') ( #8671 )
2024-01-11 20:42:24 +05:30
Sivin Varghese
22c2235d90
fix: TypeError: Cannot read properties of null (reading 'assignee') ( #8647 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-01-11 11:31:02 +05:30
Sojan Jose
35c26367da
chore: Unset Redis config after spec ( #8685 )
...
The sentinel configuration set in this specification seems to be affecting other specifications. So, let's ensure that the memoised config variable gets unset after execution of the spec.
2024-01-10 15:32:48 -08:00
Sojan Jose
aaf4fee9a6
chore: Fix sentry errors in email processing for bounce notifications ( #8677 )
...
This case occurs for bounce notification emails where the from address is From: "" (Mail Delivery System) . We will be discarding these emails for now.
Fixes: https://linear.app/chatwoot/issue/CW-2793/activerecordrecordinvalid-validation-failed-email-invalid-email
2024-01-10 14:30:23 -08:00
Sivin Varghese
3c21f62485
fix: Error ResizeObserver loop completed with undelivered notifications. ( #8680 )
2024-01-10 11:44:13 -08:00
Shivam Mishra
50b2ca014e
feat: UI for unsupported message ( #8660 )
...
Display an unsupported message in UI when handling unsupported messages from channels like facebook, Instagram etc.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-09 21:53:58 -08:00
Vishnu Narayanan
d731c972ad
fix: skip auditlogs for whatsapp template sync ( #8579 )
...
Skips audit logs for whatsapp_template sync
Fixes: https://linear.app/chatwoot/issue/CW-2641/skip-whatsapp-template-updates-from-audit-logs
2024-01-09 21:51:48 -08:00
Sojan Jose
5845881b08
chore: Handle stripe events without plan data ( #8668 )
...
`plan` isn't a guaranteed object in stripe `customer.subscription.updated` events. It can be null for cases like `send_invoice` for `past_due` event as seen in the payload shown in sentry error.
fixes: https://linear.app/chatwoot/issue/CW-2925/nomethoderror-undefined-method-[]-for-nilnilclass-nomethoderror
2024-01-09 14:48:07 -08:00
Muhsin Keloth
64138ef220
chore: Rescue Slack::Web::Api::Errors::NotInChannel error ( #8670 )
...
The primary cause of this issue is when Chatwoot sends a message to a channel that has either been deleted or is unauthorized. So, we will prompt reauthorization when this error occurs.
Fixes https://linear.app/chatwoot/issue/CW-2930/slackwebapierrorsnotinchannel-not-in-channel
2024-01-09 14:30:17 -08:00
Sojan Jose
046ce68a45
chore: Improve Openai json rendering ( #8666 )
...
We have been observing JSON parsing errors for responses from GPT. Switching to the gpt-4-1106-preview model along with using response_format has significantly improved the responses from OpenAI, hence making the switch in code.
ref: https://openai.com/blog/new-models-and-developer-products-announced-at-devday
fixes: #CW-2931
2024-01-08 17:02:25 -08:00
dependabot[bot]
e34ab5957f
chore(deps): bump puma from 6.3.1 to 6.4.2 ( #8663 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:51:30 -08:00
Pranav Raj S
75a5492840
fix: Remove the usage of DragWrapper to fix the Dyte integration ( #8655 )
2024-01-05 15:28:20 -08:00
Shivam Mishra
56fbbe92b4
feat: trigger handoff when agent bot is the actor ( #8639 )
...
- This PR adds a feature to auto-trigger handoff events when an Agent bot toggles a conversation status from Pending to Open
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-05 15:26:52 -08:00
Sojan Jose
dc4e13b300
chore: Fix for empty update case for messages ( #8641 )
...
We observed an issue in production where the external webhook for an API inbox was failing. This, in turn, calls message update to update message status to failed. This causes a loop because rails trigger after_update callbacks even for empty commits.
Ref: rails/rails#44500
2024-01-05 13:10:26 -08:00
Pranav Raj S
2c7f93978e
fix: Update broken specs ( #8651 )
...
- Use fakeTimer for time.spec.js
- Use default sort as last_activity_at_desc
- Update specs for getAllConversations getter
2024-01-05 13:09:09 -08:00
Shivam Mishra
6e30064421
feat: handle unsupported media on the backend ( #8650 )
...
This PR logs additional information in content_attributes of a message in case it is unsupported. This info can be used by the client to render a fresh UI
2024-01-05 13:05:00 -08:00
Muhsin Keloth
68062216e4
feat: Add a job to reopen snoozed notifications ( #8545 )
2024-01-05 15:13:22 +05:30
Vishnu Narayanan
8a8f325f64
fix: messageTimestamp test ( #8644 )
2024-01-05 12:36:26 +05:30
Kevin Lin
cf90b898f4
feat: enable new relic log decorations ( #8616 )
...
This enables local decorating of logs when using a new relic. It can be used when you use a log forwarding agent to do additional enrichment on APM logs before forwarding to the new relic.
2024-01-04 15:34:55 -08:00
Sojan Jose
1f4cb0e1ca
chore: add config for Darkmode logo for whitelabeling ( #8597 )
...
- Add config for dark mode logo
2024-01-04 15:30:55 -08:00
Sojan Jose
c6ecf80dff
chore(synk): Upgrade administrate to fix 2 vulnerabilities ( #8625 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2024-01-04 13:38:03 -08:00
Sojan Jose
c29b77c214
chore(snyk): Security upgrade factory_bot_rails from 6.4.2 to 6.4.3 ( #8628 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-01-04 10:47:48 -08:00
Pranav Raj S
c301845ade
chore: 2023 -> 2024 ( #8635 )
2024-01-03 12:49:36 -08:00
Sivin Varghese
78fab7897d
feat: Use typing status from utils ( #8589 )
2023-12-22 13:47:41 +05:30
Nithin David Thomas
f48e014694
feat: Updates the design of the network connection warning snack bar ( #8509 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-12-21 14:16:21 -08:00
Nithin David Thomas
206433db32
feat: Adds dropdown to switch locales from articles list page ( #8402 )
2023-12-21 13:16:59 -08:00
Sojan Jose
1ddb73ea97
chore(security): Security upgrade omniauth from 2.1.1 to 2.1.2 ( #8591 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-12-20 13:38:34 -08:00
Muhsin Keloth
b5071e61d7
feat: Add last_activity_at field to Notification model ( #8585 )
2023-12-20 13:02:37 +05:30
Muhsin Keloth
a80eff9aa3
feat: Enable custom attributes in the suggestion for variables. ( #8520 )
2023-12-20 12:20:09 +05:30
Sojan
a59fb90785
Merge branch 'release/3.4.0' into develop
2023-12-18 21:23:02 -08:00
Sojan
29478880ff
Bump version to 3.4.0
2023-12-18 21:22:06 -08:00
Vishnu Narayanan
c9f8cdb51b
fix: switch to nodejs ppa for linux installations ( #8337 )
...
Nodesource script-based installation is deprecated. Switch to a different ppa for nodejs.
Fixes: https://linear.app/chatwoot/issue/CW-2686/upgrade-warning
Fixes : #8151
2023-12-18 21:18:42 -08:00
Pranav Raj S
a2ebf92932
fix: Fix the issue "Undefined method `inbox' for Instagram::MessageText" ( #8582 )
2023-12-19 08:43:43 +05:30
Pranav Raj S
00eb5b152a
chore(migration): Re-run database migration job for caching. ( #8581 )
...
A support request that came to Chatwoot Cloud revealed that the job was timed prematurely. The default timeout for Sidekiq queues was set as 25 minutes in sidekiq.yml file. The cache was not created properly for the accounts with more than 100k conversations.
This change removes the cache logic in the previous migration and creates a new migration with a new job which processes conversations in batch.
2023-12-18 17:29:02 -08:00
Sojan Jose
0b2f539ad0
chore: Update self-hosted billing redirect ( #8580 )
2023-12-18 16:34:47 -08:00
Shivam Mishra
1ab3966b75
fix: @inbox usage in logs ( #8578 )
2023-12-18 19:30:41 +05:30
Mazen Khalil
552d967c81
fix: Use ogg format for Telegram audio messages ( #8505 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-16 11:55:47 -08:00
Sivin Varghese
e5c8a68a76
fix: Typing indicator to support dark mode ( #8564 )
2023-12-15 09:57:13 +05:30
Sivin Varghese
15f50635e7
fix: undefined method `available_name' for nil:NilClass ( #8563 )
2023-12-15 09:41:35 +05:30
Liam
cf0d6dd7c6
feat: Implement the ability to be able to rotate an image on agent conversation. ( #8559 )
2023-12-15 09:20:24 +05:30
Sivin Varghese
fd1813949a
fix: Undefined method `name' for nil:NilClass ( #8562 )
2023-12-15 09:03:16 +05:30
Shivam Mishra
6c480098f7
chore: log authentication error for FB and Instagram ( #8551 )
2023-12-14 16:18:23 +05:30
Shivam Mishra
ae649a5b3f
refactor: add better logs to Instagram::MessageText ( #8538 )
2023-12-14 14:03:40 +05:30
Sojan Jose
34675da6fa
feat: Settings screen for custom branding ( #8543 )
...
- Ability to configure Chatwoot custom branding from UI when using paid plans
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-12-13 13:16:24 -08:00
Sivin Varghese
075b0292b5
feat: Conversation list virtualization ( #8540 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-13 17:28:30 +05:30
dependabot[bot]
0e9825f298
chore(deps): bump axios from 0.21.2 to 1.6.0 ( #8339 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-12-13 16:24:10 +05:30
Hugo Castro de Deco
bf883794a4
fix: accepting external source_id ( #8359 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2023-12-13 16:21:55 +05:30
Sivin Varghese
3adaa2d602
fix: Retry message not working if the conversation has an external issue ( #8529 )
2023-12-13 15:46:10 +05:30
Muhsin Keloth
60a312ace5
feat: Advanced conversation sort options ( #8532 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-12 19:59:31 -08:00