Commit graph

1568 commits

Author SHA1 Message Date
Fayaz Ahmed
2387dfa9b3
Merge branch 'develop' into feat/custom-attrs-automations 2022-05-17 22:51:21 +05:30
Fayaz Ahmed
b9008b2815 Automation Mixins Test Specs 2022-05-17 22:49:03 +05:30
Pranav Raj S
47f04ee3fe
chore: Add an option to download CSAT Reports (#4694) 2022-05-17 21:01:45 +05:30
Fayaz Ahmed
47e8d2c5f6 Mixin Spec update 2022-05-16 23:09:11 +05:30
Sojan
361ffbab82 Merge branch 'release/2.5.0' into develop 2022-05-16 16:55:34 +05:30
Pranav Raj S
b8f25d77bf
chore: Enable New Message Button on Contact Panel (#4681)
Fixes: #4653
2022-05-16 16:41:40 +05:30
Fayaz Ahmed
fd2df9379d Merge branch 'feat/custom-attrs-automations' of github.com:chatwoot/chatwoot into feat/custom-attrs-automations 2022-05-16 14:39:04 +05:30
Fayaz Ahmed
7c338d0b68 Refactor methods 2022-05-16 14:38:34 +05:30
Tejaswini Chile
938fb887c4
feat: Portal endpoint (#4633) 2022-05-16 13:59:59 +05:30
Sojan Jose
f620bdec54
chore: Update translations (#4682) 2022-05-16 12:45:45 +05:30
Fayaz Ahmed
29acdd7ee6
Merge branch 'develop' into feat/custom-attrs-automations 2022-05-16 11:49:06 +05:30
Fayaz Ahmed
bfc61ab0f7 spec update 2022-05-16 11:48:50 +05:30
Pranav Raj S
45e2cd4903
fix: Render links with target attribute (#4685) 2022-05-16 11:29:05 +05:30
Fayaz Ahmed
a3323c9a5c Refactor appendNewCondition 2022-05-13 23:00:18 +05:30
Fayaz Ahmed
ff57e99fa2 File name method refactor 2022-05-13 17:21:15 +05:30
Pranav Raj S
a3b72ad997 Fix getOperatorType 2022-05-13 16:58:21 +05:30
Pranav Raj S
4c5b6bcbfa Refactor getOperator 2022-05-13 16:54:20 +05:30
Fayaz Ahmed
ab5d8ce311 Refactor Mixin 2022-05-13 16:44:35 +05:30
Fayaz Ahmed
1ebdd0e573 Refactor Automion mixin 2022-05-13 16:18:44 +05:30
Fayaz Ahmed
29259731b8 Refactor 2022-05-13 15:52:17 +05:30
Fayaz Ahmed
403b4f22ec Add labels for Custom attributes in dropdown 2022-05-13 15:07:48 +05:30
Fayaz Ahmed
6730f9fe27 Fix test spec 2022-05-13 13:35:49 +05:30
Fayaz Ahmed
1d45cbb57f Code Climate Issues Breakdown 2022-05-13 13:11:08 +05:30
Fayaz Ahmed
fe2bf47fce Bug fixes and Code Climate issue fix 2022-05-13 12:41:55 +05:30
Sojan Jose
6535624cd6
chore: Update translations from Crowdin (#4665) 2022-05-13 11:38:49 +05:30
Hricha Shandily
ab3ee74a86
chore: Update the note of Personal message signature (#4679) 2022-05-13 11:34:09 +05:30
Fayaz Ahmed
123b5a7e6a Merge branch 'feat/custom-attrs-automations' of github.com:chatwoot/chatwoot into feat/custom-attrs-automations 2022-05-12 14:03:04 +05:30
Fayaz Ahmed
a86aeee033 Bug fix - Custom attributes getting duplicated 2022-05-12 14:02:35 +05:30
Fayaz Ahmed
97481f92b6
Merge branch 'develop' into feat/custom-attrs-automations 2022-05-12 13:40:11 +05:30
Aswin Dev P.S
41b8901432
Fix: Agent Reports counts when they have access to multiple accounts (#4663)
This change restricts the agent report API to fetch agent metrics from the current account.

Fixes: #4660
2022-05-11 14:31:57 +05:30
Tejaswini Chile
329d305e92
Fix: Creating contacts for already outgoing/echo messages (#4668)
Check if the Instagram contact is already present in the system before throwing the exception.

Fixes: #4666
2022-05-11 14:29:38 +05:30
Sojan Jose
5c161e0fef
chore: Split Inbox Settings Page Component (#4664)
Clean up the Inbox settings page component as the logic was growing complex.

- Moved subpages like collaborators and configuration to new components
- Moved Assignment settings to the collaborators tab
- Introduced a new inbox seeder to quickly preview setting pages of all inbox types when in development
2022-05-11 13:33:24 +05:30
Pranav Raj S
9cec091716
chore: Remove unused method scriptGenerator (#4671) 2022-05-11 12:05:42 +05:30
Tejaswini Chile
9ed1f5d96b
Fix: Make version changeable from the environment vars (#4654) 2022-05-10 19:20:55 +05:30
Sojan Jose
81d0405473
chore: Ability to update user email via Platform APIs (#4659)
When the platform update API is called with a new user email, Chatwoot will still follow the same behaviour as in the dashboard where the user will have to confirm the new email activation link until the email gets updated on the user record.

In the case of platform APIs, this might not be the ideal behaviour since the original app will already have a flow to update the user emails. Hence we need to confirm the emails without the extra step in this case

fixes: #4510
2022-05-10 00:28:46 +05:30
Fayaz Ahmed
690727f1f9 Fix Codeclimate complexity warning 2022-05-09 22:40:55 +05:30
Fayaz Ahmed
d6519b74d3 fix Code climate issue 2022-05-09 22:24:30 +05:30
Fayaz Ahmed
9bfbd9e904 Ported duplicate logic to a mixin 2022-05-09 22:12:04 +05:30
Fayaz Ahmed
b97c5944d2
Merge branch 'develop' into feat/custom-attrs-automations 2022-05-09 20:43:47 +05:30
Sojan Jose
5ce29a7beb
chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +05:30
Sojan Jose
04dfb034cc
chore: Upgrade Exception tracking (#4638)
- Upgrade Sentry Libraries
- Enable provision for account and user info in error tracking
- Add ChatwootExceptionTracker

fixes: #4375
2022-05-09 14:23:19 +05:30
Aswin Dev P.S
360b438a55
Fix: Campaign triggers first_response reporting event (#4607)
* Fix: Campaign triggers first_response reporting event

* fix spec failure
2022-05-09 01:34:52 -07:00
Jordan Brough
5b5a6d89c0
chore: "Channel::TwilioSms" to be unique on account_sid+phone_number (#4188)
"Twilio::IncomingMessageService" searches for the correct "Channel::TwilioSms"
by account_sid+phone_number.  If these values are duplicated then which record it
finds is indeterminate and may alternate between queries.

Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-05-07 17:57:16 +05:30
Pranav Raj S
2e0d43c093
chore: Use different files for widget and dashboard audio alert (#4637) 2022-05-06 20:19:36 +05:30
Fayaz Ahmed
ef850eda0f
feat: Add the SDK method to programatically toggle live chat bubble (#4223)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-05-06 19:30:48 +05:30
Jordan Brough
77a6893203
feat: Open "Switch Account" modal when clicking account name on dashboard (#4613)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-05-06 14:55:38 +05:30
Sojan Jose
8d2b719dc1
chore: Sentry issues (#4623)
Fixes various issues reported on sentry

- Twilio channel creation validation errors
- Room Channel error with nil class
- Webhook Uri exception
2022-05-06 14:50:55 +05:30
Muhsin Keloth
4f9d41962a
fix: Pre chat custom fields drag and drop (#4530) 2022-05-06 12:01:34 +05:30
Fayaz Ahmed
ba5aa75cf6 Handle edit mode for custom attributes 2022-05-05 15:07:24 +05:30
Fayaz Ahmed
2ffc7d4607 Fix dropdown values for custom attributes 2022-05-05 13:37:33 +05:30