Commit graph

1343 commits

Author SHA1 Message Date
Muhsin Keloth
b16c5de7ca
Add fix for portal update issue (#5381) 2022-09-02 12:32:07 +05:30
Muhsin Keloth
403ff1a679
feat: Add the ability update/edit locale in portal (#5377) 2022-09-02 11:45:03 +05:30
Nithin David Thomas
a1663e4e49
feat: Adds pages to edit portals (#5373)
* feat: Adds pages to edit portals

* Update app/javascript/dashboard/i18n/locale/en/helpCenter.json

* Update app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>

* Review fixes

* Adds translations

* Fixes broken tests

* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue

* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-09-02 10:22:15 +05:30
Muhsin Keloth
504d339dd7
feat: Adds the ability to add new locale in portal (#5363) 2022-09-01 22:19:30 +05:30
Sivin Varghese
c09b10a710
feat: Display identifier in the contacts info panel (#5318) 2022-09-01 17:12:47 +05:30
Pranav Raj S
83fb46bc50
chore: Add feature flag for branding (#5370) 2022-09-01 17:12:26 +05:30
Sivin Varghese
f4fc53b425
feat: Adds the ability to delete a portal (#5305) 2022-09-01 13:27:08 +05:30
Muhsin Keloth
6e945dd61e
feat: Add the ability to delete/archive articles (#5319) 2022-09-01 10:55:59 +05:30
Nithin David Thomas
ebea5428bc
chore: Moves portal slug as ID to query resources in vue store (#5359) 2022-08-31 19:59:05 +05:30
Sivin Varghese
d14beeb654
feat: Article settings sidebar in new article page (#5355) 2022-08-30 14:41:27 +05:30
Sivin Varghese
a9d687565e
chore: Displayed WhatsApp API provider name in inbox settings (#5346) 2022-08-29 12:40:15 +05:30
Sivin Varghese
8bc560752f
fix: File validations for Twilio WhatsApp Channel (#5294)
Fixes: #5289 #2971

- Removed unsupported attachment file format from Twilio WhatsApp Channel. https://www.twilio.com/docs/whatsapp/guidance-whatsapp-media-messages

- Added 5 MB attachment file limit for Twilio SMS Channel.
2022-08-23 18:35:31 +05:30
Pranav Raj S
bef3f66501
feat: Allow Dashboard App Frames to query the information (#5313)
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
2022-08-22 09:27:35 +05:30
Sojan Jose
f33ff351cf
chore: New Translation updates (#5287) 2022-08-19 13:55:23 +05:30
Muhsin Keloth
a788e7ac7a
feat: Create portal UI improvements (#5261) 2022-08-18 17:11:19 +05:30
Muhsin Keloth
0cd08065d1
feat: Adds the ability to create a new article (#5255) 2022-08-18 11:45:08 +05:30
Sivin Varghese
45d0d101b1
chore: Handled help center sidebar in small screen (#5293) 2022-08-18 11:14:06 +05:30
Muhsin Keloth
b71291619c
feat: Adds the ability to edit article (#5232) 2022-08-16 17:55:34 +05:30
Sojan Jose
fc8c7a7107
chore: New Translation updates (#5235) 2022-08-16 17:06:21 +05:30
Sojan Jose
2ecb2ca0f0
feat: Enable Capacity Config UI (#5164)
- Enables Capacity Config in UI
- Rewrite auto assignment Logic to consider only online agents

fixes: #4990
2022-08-16 16:58:23 +05:30
Fayaz Ahmed
287f0a6de0
Fix: Truncate overflowing dashboard apps text (#5221)
* Truncate overflowing text

* Update app/javascript/dashboard/routes/dashboard/settings/integrations/DashboardApps/DashboardAppsRow.vue

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>

* Fix overflowing content

* Reviwe changes

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-08-16 16:37:52 +05:30
Sivin Varghese
12b6fb211a
feat: Created article settings side panel (#5197) 2022-08-10 11:58:19 +05:30
Sivin Varghese
9bc75225fe
feat: Category store integration (#5218)
* Add more actions

* Complete sidebar store integration

* Complete portal list store integration

* Fixed the specs

* Added missing specs

* Add comment

* Code cleanup

* Fixed all the spec issues

* Add portal and article API specs

* Add category name in article list

* Add more locales

* Code beautification

* Exclude locale from codeclimate ci

* feat: Category store integration

* chore: Minor fixes

* chore: API call fixes

* chore: Minor fixes

* chore: Minor fixes

* chore: Adds the ability for get articles based on categories

* chore: minor fixes

* chore: Minor fixes

* chore: fixes specs and minor improvements

* chore: Review fixes

* chore: Minor fixes

* chore: Review fixes

* chore: Review fixes

* chore: Spacing fixes

* Code cleanup

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-08-10 10:48:41 +05:30
Muhsin Keloth
16ad263a3a
feat: Add the ability add new portal (#5219) 2022-08-10 09:27:52 +05:30
Pranav Raj S
657bd44418
fix: Update the relevant agent presence only (#5220) 2022-08-09 12:32:09 +05:30
Pranav Raj S
cbcee6414c
fix: Update styles to fix the status filter dropdown (#5230) 2022-08-09 12:10:56 +05:30
Pranav Raj S
27a9806817
chore: Add support for conversation_id in SSO params (#5228) 2022-08-09 00:13:06 +05:30
Sojan Jose
a89a280a94
chore: Update translations from Crowdin (#5202) 2022-08-08 21:14:50 +05:30
Pranav Raj S
d8de16fd70
chore: Remove bourbon dependancy (#5215) 2022-08-08 21:02:29 +05:30
Muhsin Keloth
20f3568583
feat: Portals store integration (#5185) 2022-08-08 15:47:32 +05:30
Pranav Raj S
124390a019
chore: Cleanup update banner with localstorage updates (#5209)
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com>
2022-08-05 13:46:12 +05:30
Fayaz Ahmed
fc9699d993
feat: Add assign team option to the context menu (#5153)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-08-05 10:57:58 +05:30
Pranav Raj S
b38877300c
chore: Update styles in cc/bcc input (#5201) 2022-08-04 17:45:12 +05:30
Fayaz Ahmed
7c5ee55d3e
feat: Add store to manage categories (#5127) 2022-08-04 15:11:29 +05:30
Sivin Varghese
65ac78acec
feat: Add a popup component for announcements (#4615) 2022-08-03 20:49:42 +05:30
Sojan Jose
7659197d4d
chore: Update translations from Crowdin (#5192) 2022-08-03 18:26:24 +05:30
David Kubeš
a18c0a97f3
chore: Replace packages with native functions (#5140) 2022-08-03 17:08:21 +05:30
Sivin Varghese
262458f07d
fix: Update broken styles in the editor (#5183) 2022-08-03 15:04:32 +05:30
Sivin Varghese
f7d4f39b5c
fix: Avatar renders an incorrect symbol if it has emoji (#5184) 2022-08-03 14:11:33 +05:30
Pranav Raj S
e0cebfaa1a
chore: Allow super admin to suspend an account (#5174) 2022-08-03 11:40:03 +05:30
Sivin Varghese
11fe3f071e
feat: Component for listing the portal (#5146) 2022-08-02 20:03:51 +05:30
Muhsin Keloth
5735a8e377
feat: Articles store integration (#5133) 2022-08-02 17:14:10 +05:30
Aswin Dev P.S
d9b102cff0
feat: Widget Builder (#5104)
* feat: Add widget builder
2022-08-02 00:34:20 -07:00
Pranav Raj S
2c372fe315
feat: Improve email rendering, introduce a new layout for emails (#5039)
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
2022-08-01 10:53:50 +05:30
Sivin Varghese
ef9ea99b91
feat: Opening and closing portal switch (#5126) 2022-07-28 14:52:05 +05:30
Fayaz Ahmed
806e5efd7a
Portals Popover component (#5052)
* Portal Switch component

* Review fixes

* Update storybook props

* Review changes

* Popover component

* Review changes and moved the files to helpcenter folder
2022-07-27 14:37:55 +05:30
Fayaz Ahmed
ce66b31422
feat: Portal Switch component (#5008) 2022-07-27 13:56:49 +05:30
Muhsin Keloth
6368f9106a
feat: Article list view page (#5122) 2022-07-27 13:08:27 +05:30
Muhsin Keloth
6295f5fd61
feat: Add store to manage Articles (#5048)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-27 12:29:11 +05:30
Nithin David Thomas
bfca4852c8
feat: Create store to manage Portals (#5020)
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-27 12:24:43 +05:30
Nithin David Thomas
1594d49a70
Chore: Add link to product docs on sidebar (#5119)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-27 10:49:06 +05:30
Sivin Varghese
699b01c1d1
fix: Console warnings from help-center routes (#5117) 2022-07-26 19:59:46 +05:30
Muhsin Keloth
bd7a56061e
feat: Create category component (#5103) 2022-07-26 12:15:01 +05:30
Sivin Varghese
92bb84127b
feat: Creates view for edit/new article page (#5061)
* feat: Creates view for edit/new article page

* chore: Minor fixes

* chore: Minor fixes

* Update HelpCenterLayout.vue

* chore: Minor fixes

* chore: Review fixes

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-26 11:39:53 +05:30
Fayaz Ahmed
2082409657
feat: Add support for right click context menu in conversations (#4923)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-26 10:47:28 +05:30
Pranav Raj S
d57dc41cee
fix: Do not reset the scroll if there is no new message (#5108) 2022-07-26 10:40:21 +05:30
Sojan Jose
885fcf667c
chore: Enable Thai language (th), update translations (#5095) 2022-07-26 09:52:59 +05:30
Pranav Raj S
32291f4f7d
fix: Update browser_language logic to include all languages (#5090) 2022-07-22 13:14:17 +05:30
Sivin Varghese
6105567238
enhancement: Uses bold font-weight for unread notifications (#5073) 2022-07-20 14:41:03 +05:30
Pranav Raj S
7fc0d166e8
feat: Allow SaaS users to manage subscription within the dashboard (#5059) 2022-07-19 19:04:17 +05:30
Sivin Varghese
c4b2005425
feat: Component for editing an article (#5032)
* feat: Component for editing an article

* chore: font fixes

* chore: Review fixes

* chore: fixes conflicts

* Update app/javascript/dashboard/components/helpCenter/EditArticle.vue

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>

* chore: Review fixes

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2022-07-19 09:28:19 +05:30
Chad Burggraf
558e3c7499
fix: Catch audio context errors (#5051)
Prevent errors in decoding and playing sounds from propagating
by catching them in the promise chain.

Fixes #4281.
2022-07-19 08:59:50 +05:30
Pranav Raj S
1dc7ce526e
chore: Add ee helper, custom_attributes to account (#5058) 2022-07-19 00:33:06 +05:30
Sivin Varghese
f004db3d26
feat: New sidebar component for help-center (#5017)
* feat: New sidebar component for help-center

* chore: Review fixes

* chore: Minor fixes

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-07-18 11:16:36 +05:30
Muhsin Keloth
21a8b79aa5
feat: Article table component (#5018) 2022-07-18 10:47:15 +05:30
Sojan Jose
bba3475083
chore: Update Crowdin translations (#5022) 2022-07-15 18:35:03 +07:00
Sivin Varghese
a4e21f2c47
fix: Avoid text overflow with notification content (#5035) 2022-07-15 16:27:27 +07:00
Pranav Raj S
8dd0d514fd
feat: Init HelpCenter Routes (#5034) 2022-07-14 10:31:36 +07:00
giquieu
827f977a37
feat: Update API for contact avatar (#4719)
Added the ability to update the contact's avatar via API and Dashboard.

- Contact create and update APIs can now accept avatar attachment parameters [form data].
- Contact create and update endpoints can now accept the avatar_url parameter.[json]
- API endpoint to remove a contact avatar.
- Updated Contact create/edit UI components with avatar support

Fixes: #3428
2022-07-12 10:03:16 +02:00
Fayaz Ahmed
68fcd28751
chore: Add key for referrer link (#5021) 2022-07-12 09:46:39 +02:00
Sojan Jose
da12a39321
chore: New translation updates (#5001)
New translation updates
2022-07-11 19:14:37 +02:00
Muhsin Keloth
ce1f69b2bc
feat: Article item component (#5007) 2022-07-11 13:46:42 +05:30
Fayaz Ahmed
b9eb9a5e48
feat: Support square variants of thumbnail and avatar components (#5003) 2022-07-09 14:03:55 +05:30
Sivin Varghese
43f46e96d4
feat: Header for help-center pages (#4987) 2022-07-08 21:19:19 +05:30
Jordan Brough
49d08a6773
feat: Support Twilio Messaging Services (#4242)
This allows sending and receiving from multiple phone numbers using Twilio messaging services

Fixes: #4204
2022-07-08 18:20:07 +05:30
Fayaz Ahmed
ef1d117717
feat: Add the ability to create dashboard apps from the UI (#4924)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-07-08 15:55:32 +07:00
Pranav Raj S
bca347149a
feat: Add responsive tab styles (#4997) 2022-07-08 13:53:01 +07:00
Sojan Jose
181d7797a2
chore: New translation updates (#4980)
New translation updates
2022-07-07 21:07:19 +05:30
Simon
91d9584fcb
feat: show HMAC and enforcement for identity validation for API inbox (#4807)
Display HMAC token in Settings of Inbox API and enable enforcement option. I have also adjusted the copy so that it can apply to all inbox types.

Fixes: #4804
2022-07-06 21:47:39 +02:00
Gautam Kumar
3145492a26
chore: Copy change for inbox management page (#4868)
Copy change for inbox management page

Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com>
2022-07-06 21:46:23 +02:00
Sojan Jose
a6c609f43d
feat: Support for Whatsapp Cloud API (#4938)
Ability to configure Whatsapp Cloud API Inboxes

fixes: #4712
2022-07-06 21:45:03 +02:00
Pranav Raj S
2a899a633a
chore: Remove confirm password field from the account signup step (#4976) 2022-07-06 12:26:26 +07:00
Pranav Raj S
3f6862e04d
chore: Display API key in the configuration for WhatsApp Channel (#4944) 2022-06-29 11:52:55 +05:30
Pranav Raj S
c0249a1b5b
chore: Fix loading state in the inbox settings page (#4926) 2022-06-24 23:15:46 +05:30
Fayaz Ahmed
263b8240d3
fix: Add a fix for minor UI / a11y issues (#4905) 2022-06-24 23:12:53 +05:30
Pranav Raj S
dcbca173ac
chore: Revert the migration for inbox name changes (#4919) 2022-06-23 20:36:46 +05:30
Sivin Varghese
f39c10395a
fix: Add email validation in the email field of the new contact form (#4909) 2022-06-23 19:22:31 +05:30
Pranav Raj S
b7606e4dd2
feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
Sojan Jose
f71980bd95
chore: Enhance contact merge action for identified users (#4886)
- Discard conflicting keys 
- Do not merge if there is already an identified contact

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-23 15:48:56 +05:30
Aswin Dev P.S
d5ddc9d76c
chore: Fix SMTP sentry issue (#4883)
* Fix SMTP sentry issue
2022-06-22 14:09:04 -07:00
Fayaz Ahmed
9c721d279e
fix: Truncate overflowing labels in bulk actions selector (#4898) 2022-06-20 22:32:52 +05:30
Fayaz Ahmed
3fa34991d0
fix: Display missing agent avatar in bulk actions and reports (#4893) 2022-06-20 16:04:26 +05:30
Nithin David Thomas
f31c6d5de2
feat: Update the design of labels to use a smooth theme (#4325)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-20 15:09:22 +05:30
Fayaz Ahmed
205d42e978
fix: Bulk actions agent loading (#4874) 2022-06-16 11:02:32 +05:30
Prithvi Tharun
644f07a23d
chore: Copy change for automatic greeting message (#4727)
fixes: #4726
2022-06-15 18:34:24 +05:30
Aswin Dev P.S
9015d83679
chore: Fix sentry issues (#4863)
Fix sentry issues.

Fixes #4815, #4814, #4811, #4809
2022-06-15 16:20:19 +05:30
Fayaz Ahmed
067c905329
feat: Allow agents to bulk assign labels to conversations (#4854)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-15 14:18:05 +05:30
Pranav Raj S
1bb0371c1d
feat: Add agent_reply_time_window in API channels (#4857) 2022-06-14 18:05:37 +05:30
Pranav Raj S
f0db8545cb
fix: Update profile settings header title (#4856) 2022-06-14 10:55:16 +05:30
Sojan Jose
713fdb44ee
feat (ee): APIs to configure an auto assignment limit for inboxes (#4672)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-13 20:18:38 +05:30
Fayaz Ahmed
2198930185
feat: Add snooze, reopen option to bulk actions (#4831)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-13 12:14:27 +05:30
Tejaswini Chile
aa903a5da9
Fix: backend changes for custom attribute (#4830) 2022-06-13 11:58:54 +05:30
Pranav Raj S
98f2160462
chore: Remove partner signup link (#4843) 2022-06-13 11:27:22 +05:30
Sojan Jose
bc8e08f126
chore: Update translations from Crowdin (#4838) 2022-06-12 11:08:06 +05:30
Pranav Raj S
7bb8186e43
chore: Update self-closing tag eslint config (#4826)
* chore: Fix self-closing tag issues

* Fix merge conflicts

Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
2022-06-10 19:29:52 +05:30
Pranav Raj S
3f3ee6c34a
chore: Add support for message_templates in API inbox (#4835) 2022-06-10 18:40:29 +05:30
Fayaz Ahmed
c5c89449dd
fix: Remove validation for WhatsApp templates with no params (#4820) 2022-06-09 21:34:59 +05:30
Sojan Jose
6385e42d9b
chore: Update translations from Crowdin (#4833) 2022-06-09 21:30:03 +05:30
Sojan Jose
74fa907010
chore: Update translations from Crowdin (#4822) 2022-06-08 21:36:47 +05:30
Sojan Jose
a9e84ec182
chore: Update translations from Crowdin (#4772)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-08 18:07:45 +05:30
Tejaswini Chile
772d92a4d3
fix: Facebook reauthorization mailer (#4695) 2022-06-07 17:50:51 +05:30
Fayaz Ahmed
bad24f97ab
feat: Add support for Whatsapp template messages in the UI (#4711)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-07 17:33:33 +05:30
Fayaz Ahmed
79a525aa62
feat: Add Bulk actions to conversations (#4647)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-03 11:12:22 +05:30
Vishnu Narayanan
c7c46463ae
fix: Update text used in personal message signature (#4776)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-06-01 18:41:18 +05:30
Pranav Raj S
b9aa4444b3
feat: Allow users to create dashboard apps to give agents more context (#4761) 2022-06-01 11:13:10 +05:30
Fayaz Ahmed
3f382e5979
Handle falsy values for filename (#4766) 2022-05-31 16:38:24 +05:30
Sojan Jose
afc7c1ac64
chore: Update translations (#4755) 2022-05-30 18:39:20 +05:30
Devin Ellis
50d2dbd462
chore: Fix the exception while destructuring data in chatwoot:error listener (#4702) 2022-05-27 12:23:29 +05:30
Pranav Raj S
52fad886b8
feat: Add business hours in downloadable reports (#4674)
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com>
2022-05-27 09:26:59 +05:30
Sojan Jose
dceeb57a1d
chore: Update translations from Crowdin (#4751) 2022-05-26 20:23:36 +05:30
Pranav Raj S
1215f37dda
fix: Remove translated keys from locale files (#4748) 2022-05-25 17:06:31 +05:30
Pranav Raj S
56cd9bc0b8
chore: Add Assignable Agents API (#4722) 2022-05-23 19:24:07 +05:30
Sojan Jose
f74a1f7d5a
chore: Update translations (#4691) 2022-05-23 11:33:54 +05:30
Pranav Raj S
20565d09c0
fix: Update report method to fix issues with special characters (#4697) 2022-05-18 12:15:30 +05:30
Pranav Raj S
47f04ee3fe
chore: Add an option to download CSAT Reports (#4694) 2022-05-17 21:01:45 +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
Sojan Jose
f620bdec54
chore: Update translations (#4682) 2022-05-16 12:45:45 +05:30
Pranav Raj S
45e2cd4903
fix: Render links with target attribute (#4685) 2022-05-16 11:29:05 +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
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
5ce29a7beb
chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +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
Muhsin Keloth
4f9d41962a
fix: Pre chat custom fields drag and drop (#4530) 2022-05-06 12:01:34 +05:30
giquieu
b3c8c83830
fix: unable to send audio messages on Telegram (#4493)
- Changed the lib used to record the audio (videojs-record). 
- Changed the audio recording format to .ogg, this will keep compatibility with sending to channels, Telegram, Whatsapp, Web Widget and API.
- Changed the visualization of recording waves, it is now using bars, the same format used by applications (Whatsapp and Telegram)


Fixes: #4115
2022-05-02 13:14:04 +05:30
Fayaz Ahmed
3d824855f0
Fix positioning of read ticks on attachment message bubbles (#4545)
* Fix positioning of read ticks

* Review fixes

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2022-04-27 08:12:30 +05:30
Aswin Dev P.S
1bf2da180b
fix: Update agent metrics query to show data from current account (#4557)
* Update agent metrics query to fetch data from current account
2022-04-26 05:52:13 -07:00
Sivin Varghese
fa031a0e2d
feat: Adds support for canned responses in contact messages (#4453) 2022-04-26 09:04:34 +05:30
Aswin Dev P.S
676796ddc7
feat: Add reports about live agent load (#4537)
* feat: Add reports about live agent load
2022-04-25 07:34:41 -07:00
Pranav Raj S
899176a793
feat: Add event subscription option to webhooks (#4540)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-04-25 17:44:42 +05:30
Tejaswini Chile
1b3011b27b
fix: Add Attachment endpoint to save file against automation rule (#4480)
Co-authored-by: fayazara <fayazara@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-24 12:02:40 +05:30
Tejaswini Chile
2acb48bbe0
feat: Add support for conversation attribute automation conditions in message event (#4518)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-21 20:52:23 +05:30
Sojan
bd0ed322cc Merge branch 'hotfix/2.4.1' into develop 2022-04-21 14:19:18 +05:30
Pranav Raj S
f769471439
fix: Issue with closed all hours (#4521)
fixing the accidentally merged conditions for open all day and closed all day.
2022-04-21 14:14:56 +05:30
Muhsin Keloth
27ddd77a1b
chore: Sanitize html content (#4498) 2022-04-21 11:27:28 +05:30
Fayaz Ahmed
2b2252b66e
feat: Add a read indicator for web-widget channel (#4224)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-20 16:03:12 +05:30
Muhsin Keloth
4f3a271355
chore: Add custom attributes in campaign.triggered event (#4463) 2022-04-20 10:49:52 +05:30
Muhsin Keloth
26f23a6e21
feat: Custom fields in pre-chat form (#4189) 2022-04-19 12:47:29 +05:30
Pranav Raj S
17fb6b8d55
fix: Update business hour calculation (#4496) 2022-04-18 18:15:20 +05:30
Pranav Raj S
0319b78eac
fix: Allow users to login even if they have access to more than 15 accounts (#4475) 2022-04-14 20:54:26 +05:30
Fayaz Ahmed
337a74a10c
feat: Add send message, fix issues with message conditions (#4423)
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
2022-04-14 13:36:55 +05:30
Nithin David Thomas
d4be268cc3
enhancement: Remove clickaway for expanded reply box (#4414)
* enhancement: Remove clickaway for expanded reply box

* Removes unused imports

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-04-13 12:04:34 +05:30
Tejaswini Chile
923b4637db
chore: Automation bug fix (#4442) 2022-04-12 20:23:34 +05:30
Sivin Varghese
14503b5fe0
feat: Add missing password validation at signup (#4441)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-12 11:08:12 +05:30
Aswin Dev P.S
c64e2e3bc5
chore: Report improvements (#4392)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-11 20:57:22 +05:30
Aswin Dev P.S
31cdc63e18
fix: Remove IMAP and SMTP email validation (#4435)
* Remove IMAP and SMTP email validation
* Rename imap_email & smtp_email columns to imap_login & smtp_login respectively.
* Use channel email domain if inbound email domain not present
2022-04-11 07:07:20 -07:00
Nithin David Thomas
3d164271a8
fix: Yellow color shades are inconsistent (#4391) 2022-04-11 17:27:28 +05:30
Aswin Dev P.S
9b5eb98c59
feat: Support additional authentication mechanisms for SMTP (#4431)
* Support additional authentication mechanisms for SMTP
2022-04-11 03:13:05 -07:00
Aswin Dev P.S
f1ae09d21b
fix: SMTP shouldn't be configurable without IMAP enabled (#4428)
* fix: Configure SMTP only if IMAP is enabled
2022-04-11 00:05:03 -07:00
Pranav Raj S
b1efcde495
feat: Remove duplicate Switch Component (#4427) 2022-04-08 18:25:08 +05:30
Pranav Raj S
bc7bcc20b8
Revert "feat: Adds support for draft in conversation reply box (#4205)" (#4425)
This reverts commit 5ea0436051.
2022-04-08 15:52:39 +05:30
Muhsin Keloth
7e5ec7925c
feat: Add phone_number & custom_attributes in create conversation end point (#4421) 2022-04-08 14:53:37 +05:30
Muhsin Keloth
727993aa19
feat: Add toggle button component(#4419)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-04-08 14:02:26 +05:30
Aswin Dev P.S
d5536d65f7
feat: Consider business hours while generating the reports (#4330)
* feat: Consider business hours while generating the reports
2022-04-08 00:18:18 -07:00
Sivin Varghese
14e6a5d6b0
fix: Background dark mode colour issue in campaign view (#4416) 2022-04-08 10:54:51 +05:30
Nithin David Thomas
5ea0436051
feat: Adds support for draft in conversation reply box (#4205)
* Add draft support

* Fixes issue with draft loading

* Adds draft for private notes

* Use localstorage helper

* .remove instead of .clear

* Remove timestamp

* clearLocalStorageOnLogout

* Fix draft save on refresh

* Remove usage of delete operator

* Adds autosave for draft messages

* Remove setinterval and add debounce

* Removes draft redundancy check

* Adds test cases for debouncer

* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>

* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>

* Review fixes

* Fixes issue with debouncer

* FIxes debouncer issue

* Fixes issue with draft empty message

* Removes empty keys from local storage drafts

* Fixes error with empty draft

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2022-04-07 22:16:45 +05:30
Sivin Varghese
d4a046a21e
fix: Audio notification would not work without action on the dashboard (#4303)
* fixes: Audio notification would not work without an action on dashboard

* fixes spec

* Minor fixes

* Minor fixes

* Review fixes

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-04-07 10:23:18 +05:30
Fayaz Ahmed
8482ecc1b1
Feat - Sort inboxes alphabetically (#4383) 2022-04-07 10:01:08 +05:30
Sivin Varghese
5b490bc8cc
chore: fix scroll bar color in the dark mode (#4404) 2022-04-07 07:14:40 +05:30
Justman10000
9329f08e14
chore: Fix typo in en localisation file (#4405)
Fix

Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2022-04-06 20:21:19 +05:30
Pranav Raj S
0b03e4b296
feat: Add an option to disable endConversation button (#4352) 2022-04-06 13:54:55 +05:30
Tejaswini Chile
2595e774e5
fix: Update validations in automation edit actions (#4370)
Co-authored-by: fayazara <fayazara@gmail.com>
2022-04-05 15:22:56 +05:30
Pranav Raj S
3509692055
chore: Fix brand name in survey translations (#4360) 2022-04-03 19:22:56 +05:30
Sivin Varghese
5d85a21287
fix: Fix login button is missing in Safari (#4332)
Fixes #4328
2022-04-01 21:03:53 +05:30
Sivin Varghese
caee9535f1
feat: Support Dark mode for the widget (#4137)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-04-01 20:59:03 +05:30
Sivin Varghese
cb23ff53bf
fix: Reset Captcha if account signup is an error (#4279)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-03-31 21:20:37 +05:30
Sivin Varghese
3cd1616df6
fix: Fix agent name in Twitter channel private note acting as a link (#4326) 2022-03-31 20:22:52 +05:30
Muhsin Keloth
eff3a50316
fix: Disable showing read messages in unread view (#4324) 2022-03-31 17:35:39 +05:30
Nithin David Thomas
baf697f064
design: Changes yellow color palette for better contrast ratio (#4334)
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
2022-03-30 18:53:24 +05:30
Pranav Raj S
3f2ac2042f
fix: Fetch conversation attributes after contact reset (#4319)
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-03-29 19:51:51 +05:30
Fayaz Ahmed
c674393c02
feat: New automation actions (#4033) 2022-03-29 13:27:16 +05:30
Muhsin Keloth
ccf52a620b
feat: Update notifications and unread count in real time (#4261) 2022-03-28 20:01:23 +05:30
substr
e8bc30e3c6
feat: Add a confirmation note before deleting a note about a contact (#4294)
Co-authored-by: Richardo <richardokusuma.sali@medirecords.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-03-28 14:19:12 +05:30
Fayaz Ahmed
30ac8054ba
feat: Add an SDK method for opening conversation in popout window (#4232) 2022-03-28 13:31:51 +05:30
Aswin Dev P.S
0ba6e772a4
feat: Display how many conversations are considered for the metric calculation (#4273)
* feat: Display how many conversations are considered for the metric calculation
2022-03-28 00:38:23 -07:00
Pranav Raj S
971755b845
fix: Remove unnecessary dispatchWindowEvent (#4288) 2022-03-25 20:25:07 +05:30
Sivin Varghese
0667d9f016
fix: Avatars get cropped on the widget (#4238)
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-03-25 19:20:53 +05:30
Sivin Varghese
48389d69d8
feat: New notification panel for unread notifications (#4061)
Fixes: #4052
2022-03-25 19:02:45 +05:30
Sivin Varghese
6bfe0f2fc1
feat: Add support for rich editor and allow CCs in email for a new conversation. (#4194)
* feat: Add support for rich editor and allow CCs in email for a new conversation.

* Minor fixes

Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-03-25 11:27:45 +05:30
giquieu
8b9aea231c
feat: support audio player on widget (#4250) 2022-03-24 12:44:34 +05:30
Sivin Varghese
86b4183bde
fix: Add multiple file paste support and fix for bugs (#4066)
- Add multiple files paste support.
- Fixes showing file name in the editor field when we paste the file from finder.
- Fixes showing the image in the advance editor when we paste the image as an attachment from the clipboard.

Fixes: #4036

Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2022-03-23 18:25:57 +05:30
Pranav Raj S
771cb5b9fc
fix: Update scroll event name to fix auto-scroll (#4251)
Fixes #3622
2022-03-23 13:27:50 +05:30
Sojan Jose
f43018e017
chore: New translations automation.json (Italian) (#4231) 2022-03-22 12:42:10 +05:30
Muhsin Keloth
715400f7ab
fix: Disable pre-chat fields for identified users (#4234) 2022-03-22 01:28:22 +05:30
Sojan Jose
6169d172d8
chore: Update translations from Crowdin (#4217) 2022-03-21 13:15:33 +05:30
Tejaswini Chile
e06a6a7c55
Automation enhancement (#4087) 2022-03-21 13:12:27 +05:30