Commit graph

1742 commits

Author SHA1 Message Date
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
Sojan Jose
ecb1f57efe
chore: Improve memory usage in RemoveStaleNotificationsJob (#5271)
The job we introduced recently for removing the stale migrations would time out in instances with a large amount of deleted data.
So improving it for better memory utilization.
2022-08-15 19:58:42 +05:30
Tejaswini Chile
2397326324
fix: Auto populate team after assigned via API (#5250) 2022-08-12 13:40:28 +05:30
Sojan Jose
831a3bcd50
chore: Fix RemoveStaleNotificationJob query (#5242)
Rubocop amended the query in #5236, which led to failure as the Message model already has a default scope.
This PR fixes it.
2022-08-10 15:08:37 +02:00
Sojan Jose
74fdfffe08
fix: Notification page breakages (#5236)
- Remove the cascading foreign key indexes
- Add migration to clean up existing objects

fixes: #4285
2022-08-10 13:46:46 +02:00
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
Pranav Raj S
4b1bb65c92
chore: Add notification ID to tag to make it unique (#5227) 2022-08-09 00:09:11 +05:30
Sojan Jose
fe74a259be
fix: assigned_conversation_new_message? NoMethod error (#5225) 2022-08-08 23:43:57 +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
giquieu
9bea84e2b5
fix: Sending Audio messages not working in Whatsapp Cloud
To send audio via Cloud API, it is unnecessary to send the caption.

fixes: #5078
2022-08-04 18:12:40 +02:00
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
Tejaswini Chile
4152883f38
chore: Add missing locale info in portal API (#5177) 2022-08-03 10:33:48 +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
Tejaswini Chile
596b611fc0
fix: search with status and author (#5152) 2022-08-02 15:28:27 +05:30
Aswin Dev P.S
d9b102cff0
feat: Widget Builder (#5104)
* feat: Add widget builder
2022-08-02 00:34:20 -07:00
substr
945288ce15
fix: Trim search parameter value on contacts controller (#5114)
Co-authored-by: richardokusumasali@gmail.com <chi>
2022-08-01 19:59:27 +05:30
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
Tejaswini Chile
41df70fb96
chore: Add articles metadata (#5125) 2022-07-28 13:59:16 +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
Tejaswini Chile
f6891aebbb
fix: Set account default language in account API (#5086) 2022-07-26 22:42:20 +05:30
Sivin Varghese
699b01c1d1
fix: Console warnings from help-center routes (#5117) 2022-07-26 19:59:46 +05:30
Tejaswini Chile
6a4c0a1578
feat: Execute macro actions, for the conversation (#5066) 2022-07-26 12:41:22 +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
Tejaswini Chile
ffec427513
fix: mention notification mail for empty contact name (#5091) 2022-07-22 15:37:24 +05:30
Tejaswini Chile
5727928600
fix: help center clearing minor bugs (#5075) 2022-07-22 15:01:07 +05:30
Pranav Raj S
32291f4f7d
fix: Update browser_language logic to include all languages (#5090) 2022-07-22 13:14:17 +05:30
Sojan Jose
6a6a37a67b
chore: Ability to Disable Gravatars (#5027)
fixes: #3853

- Introduced DISABLE_GRAVATAR Global Config, which will stop chatwoot from making API requests to gravatar
- Cleaned up avatar-related logic and centralized it into the avatarable concern
- Added specs for the missing cases
- Added migration for existing installations to move the avatar to attachment, rather than making the API that results in 404.
2022-07-21 19:27:12 +02:00
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
Tejaswini Chile
0cee42a9f9
feat: Macros CRUD api (#5047) 2022-07-19 17:37:00 +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
Tejaswini Chile
00dc65ef73
fix: Twilio validation over blank messaging_service_sid (#5055) 2022-07-18 20:02:37 +05:30
Simon
fd44f9f28a
chore: add file size to response (#5054)
Add file_size to the attachment response to display the file size in chat.

Fixes: #4992
2022-07-18 15:21:24 +02:00
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
Sojan Jose
4187428729
chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
Sojan Jose
ea1a27c7d4
fix: Twilio channel selection when MessagingServiceSid is empty (#5040)
- Fixes channel selection logic in incoming_message_service for Twilio messages

ref: #4242
2022-07-14 15:16:07 +02:00
Pranav Raj S
8dd0d514fd
feat: Init HelpCenter Routes (#5034) 2022-07-14 10:31:36 +07:00
Tejaswini Chile
d7be0ea08e
fix: Conversation filter on dates (#5024) 2022-07-13 10:08:24 +05:30
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
05db053f60
chore: fix schema error from PR merges (#5016) 2022-07-11 20:12:48 +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
Tejaswini Chile
23ac1c0334
feat: Added portal logo and the updated the JSON (#4996) 2022-07-11 12:43:24 +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
Tejaswini Chile
fdf449dc87
Feat: Article public apis (#4955) 2022-07-08 17:24:38 +05:30
Aswin Dev P.S
13a4e0e6d9
chore: Email improvements. (#4901)
* Update email processing logic.
* Fix sentry issues
2022-07-08 04:13:24 -07:00
Aswin Dev P.S
19c637eb33
chore: Fix sentry issues (#4940)
Fixes: #4810
2022-07-08 15:09:06 +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
Sojan Jose
e4b159dd54
chore: Fix contact model silently discarding invalid attributes (#4994)
fixes: #4775
2022-07-08 13:58:09 +05:30
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
Tejaswini Chile
2f3bdbdea2
fix: Handling facebook client error for deleted story (#4984) 2022-07-07 18:02:18 +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
Tejaswini Chile
4375a7646e
fix: Fixing message create issue for deleted instagram story (#4979) 2022-07-06 17:18:36 +05:30
Pranav Raj S
2a899a633a
chore: Remove confirm password field from the account signup step (#4976) 2022-07-06 12:26:26 +07:00
Tejaswini Chile
b86638faac
fix: last incoming message sort (#4972) 2022-07-06 00:37:43 +05:30
Sojan Jose
ac2adfbd57
chore: Append incoming SMS to last conversation (#4906)
- Append incoming SMS to the last conversation created for a contact
2022-07-05 21:19:41 +05:30
Jordan Brough
4b405dc052
chore: Remove no-op condition in Api::V1::InboxesHelper (#4966)
-  `smtp` cannot be nil in this context
- `anything&.nil?` will never be truthy, even if `anything` is nil
2022-07-05 17:12:53 +02:00
Tejaswini Chile
029209a634
feat: Portal and Category public APIs (#4946) 2022-07-05 17:15:38 +05:30
Tejaswini Chile
ae59d0a343
feat: CRUD operation for associated articles to current article (#4912) 2022-07-04 20:29:44 +05:30
Tejaswini Chile
97bf5d0c6a
fix: Fetch email address to create contact (#4952)
Get the email address from the email content in the correct format.

Fixes: chatwoot/product#454
2022-07-02 17:40:28 +05:30
Tejaswini Chile
ac7ebe516a
fix: Add validation for the inbox name to avoid special characters (#4920) 2022-06-30 10:59:37 +05:30