Pranav Raj S
ea2c442328
chore: Add account_id as custom_attribute for cloud users ( #6926 )
2023-04-18 22:35:11 -07:00
Pranav Raj S
e6505fc7a4
chore: Cache the dashboard app on the first load ( #6774 )
2023-04-18 19:44:57 -07:00
Jordan Brough
026e03c307
fix: Handle spaces in CC/BCC email lists ( #6788 )
...
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".
This causes an error on the backend and on the frontend.
It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 19:18:23 +05:30
Vishnu Narayanan
4505c5dda3
chore: add build id to settings page ( #6873 )
...
- Adds a build Id to the settings page
2023-04-18 00:35:35 +05:30
Sivin Varghese
c9ce9e5b8f
feat: Improved country code in contact form view. ( #6801 )
...
* feat: Improved country code in contact.
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds arrow key navigation and cursor pointer
* chore: Minor fix
* chore: Code clean up
* chore: Handle outside click
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >, Nithin David
2023-04-17 20:32:09 +05:30
Vishnu Narayanan
9e2f991484
feat: audit logs UI ( #6803 )
...
* feat: init auditlogs ui
* chore: add api
* fix: action
* chore: add action,username,time
* feat: add pagination support
* chore: format time
* chore: refactor
* chore: refactor auditlogs api response
* chore: update icon
* chore: rubocop fixes
* Fixes the way meta is handled in store
* Fixes meta not appearing issue
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 19:11:05 +05:30
Sivin Varghese
80dcd17f6e
fix: Border color for CSAT component in widget ( #6915 )
2023-04-17 17:50:30 +05:30
Shivam Mishra
a38ecf3dde
feat: show webhook verify token for WhatsApp ( #6916 )
...
- Display WhatsApp webhook verify token in configuration settings
2023-04-17 17:14:08 +05:30
Chatwoot Bot
9090eabb8a
chore: Update translations ( #6895 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-17 14:45:49 +05:30
Shivam Mishra
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 14:43:10 +05:30
Nithin David Thomas
09ce85b30d
Chore: moves localstorage helper as a shared utility ( #6838 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-11 15:50:46 +05:30
Shivam Mishra
17ff1f11a7
feat: better download for conversation traffic heatmap ( #6755 )
...
* feat: genearte report in a grid
* refactor: update API usage
* refactor: separate generate method
* refactor: abstract transform_data
* feat: annotate with comments
* feat: add explicit timezone
* feat: download data only in user timezone
* fix: dates included in heatmap
2023-04-11 09:40:54 +05:30
Pranav Raj S
cf934450ab
chore: Remove context menu on links ( #6874 )
2023-04-10 14:13:08 -07:00
Shivam Mishra
da11feb39b
feat: one-click codepen for widget configuration ( #6865 )
...
* feat: allow codepen in code
* feat: enable codepen in config
* feat: update codepen title
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-10 15:44:06 +05:30
Muhsin Keloth
e753365493
feat: Add the ability to change the agent availability status ( #6855 )
...
* Add the option change agent availability
* Remove callout
* Move `AVAILABILITY_STATUS_KEYS` to constants
* Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-10 13:37:12 +05:30
Pranav Raj S
91dc7733b0
feat: Use inbox image as avatar for the bot ( #6859 )
2023-04-07 13:25:18 -07:00
Chatwoot Bot
040e9a732f
chore: Update translations ( #6854 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 16:05:33 +05:30
Shivam Mishra
406e8405eb
fix: Specs failing for teams/actions.js ( #6845 )
...
* fix: specs failing
* fix: specs for labels and inboxes
* Update reports.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-06 20:48:49 +05:30
GitStart
37dd898c9a
Search bar improvements ( #6827 )
...
* chore: implement search improvement
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-06 18:56:56 +05:30
Sivin Varghese
be2356724e
fix: Time specs ( #6841 )
2023-04-06 16:33:31 +05:30
Sivin Varghese
ab6276327a
feat: Show year in message timestamp if the message is not from the current year ( #6830 )
...
* feat: Shows year in message timestamp if the message is not from the current year
* chore: Naming fix
2023-04-06 15:09:38 +05:30
Sivin Varghese
ee131011f9
fix: Canned Responses are not sent in the new message editor ( #6829 )
2023-04-05 12:42:39 +05:30
balawa
2ca8726005
feat: Extend the message limit for the Facebook Channels ( #6816 )
2023-04-04 12:07:13 -07:00
Shivam Mishra
b39e5bb642
feat: Remove isAdmin check on merge contact button ( #6825 )
2023-04-04 09:58:10 -07:00
Pranav Raj S
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
Shivam Mishra
b7d0016d99
fix: inconsistent usage of snake_case and camelCase ( #6824 )
2023-04-04 16:22:45 +05:30
Muhsin Keloth
a0eafc94d7
fix: Pre-chat message is not showing in campaign ( #6821 )
...
* Fix pre-chat form header issue
* Show pre-message if pre-chat form enabled
2023-04-04 13:37:51 +05:30
Sivin Varghese
110e28d08e
chore: Disable import option in agent account ( #6822 )
2023-04-04 13:37:13 +05:30
Shivam Mishra
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Tejaswini Chile
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Sivin Varghese
268eababa3
feat: Adds an option to edit City/Country ( #6792 )
...
* feat: Adds an option to edit City/Country
* chore: Minor fix
2023-04-03 19:51:27 +05:30
Muhsin Keloth
363ffdbde3
fix: Disable form if pre-chat disabled on new conversation ( #6813 )
2023-04-03 12:03:58 +05:30
Chatwoot Bot
44e4eee28b
chore: Update translations ( #6806 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-02 13:24:13 +05:30
Tejaswini Chile
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Muhsin Keloth
bd5ff7a8bf
fix: Agent avatar instead of bot avatar in pending message ( #6777 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-31 18:49:31 +05:30
Sivin Varghese
fd41529b82
chore: Adds the ability to copy phone number from user details ( #6791 )
2023-03-30 11:03:51 -07:00
Tejaswini Chile
7bd830ebfe
fix: Email based automation conditions filter ( #6786 )
2023-03-30 22:34:18 +05:30
Nithin David Thomas
d1b65b6c9e
chore: Fixes avatar position on failed messages ( #6784 )
...
* feat: show external error in message
* Fixes avatar position on failed messages
---------
Co-authored-by: Clairton Rodrigo Heinzen <clairton.rodrigo@gmail.com >
2023-03-29 18:09:18 +05:30
Clairton Rodrigo Heinzen
4ed35cf461
feat: show external error in message as tooltip ( #6701 )
2023-03-29 17:30:57 +05:30
Pavel Kuzmin
2b7ff48bcd
fix: Turn off FOCUS_CUSTOM_ATTRIBUTE event to avoid memory leak ( #6772 )
2023-03-28 18:29:15 -07:00
Nithin David Thomas
d082aa50a8
fix: Adds support for multiple file uploads in whatsapp inbox ( #6763 )
2023-03-28 13:10:16 +05:30
Muhsin Keloth
3535a1a708
chore: Auto capitalize the last name field while sending the canned response/variables ( #6767 )
...
* Capitalize last name
* Add more spec
* Fix last name spec issue
* More spec fixes
* Add more spec fixes
* Update user_drop_spec.rb
2023-03-28 13:03:51 +05:30
Muhsin Keloth
5b7bed9640
chore: Auto capitalize the name field while sending the canned response/variables ( #6758 )
...
* capitalize name before sending the message
* Fix specs
* Code cleanups
2023-03-27 18:49:48 +05:30
Sivin Varghese
b3850cb4fa
fix: Show meaning full error message while creating and email inbox [CW-1312] ( #6711 )
...
* chore: Shows error message while creating and email inbox
* chore: Review fixes
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-03-27 16:15:11 +05:30
Chatwoot Bot
7de89b6f9b
chore: Update translations ( #6751 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-27 14:45:50 +05:30
Shivam Mishra
00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] ( #6710 )
...
* feat: allow caching of labels in the account scope
* feat: send cache keys in account json response
* feat: kickstart web worker
* feat: setup basic architecture for workers
* feat: install idb
* feat: add datamanger
* fix: typos
* refactor: rename method
* feat: make init db a manual step
* refactor: separate accountIdFromRoute
* feat: cache enabled API client
* feat: enable caching for inboxes and labels
* feat: enable cache for team
* feat: manage exceptions for team
* feat: add team to data manager
* feat: add a generic listener
* refactor: send only cache keys
* refactor: separate validate method
* feat: add listeners
* feat: add event for revalidate
* feat: add cache keys endpoint
* refactor: fetch cache keys instead of full account data
* fix: key pattern
* feat: don't fetch account for cache_keys
* fix: cache key base class
* refactor: cache keys helper
* feat: add helper
* fix: cache-key update logic
* feat: delete indexeddb on logout
* feat: remove worker.js
* refactor: move data-manager
* refactor: name of file
* feat: add test for DataManager
* refactor: add fake idb to jest setup
* test: cache keys helper
* test: cache keys helper
* test: cache_keys in accounts controller
* refactor: remove cache_keys context
* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
Pranav Raj S
6000028f64
feat: Allow agents/admins to copy the link to a message ( #5912 )
2023-03-26 22:58:42 -07:00
Pranav Raj S
1e8881577a
fix: Display native context menu on image, video preview modals ( #6756 )
2023-03-26 15:16:56 -07:00
Pranav Raj S
4b83bcb5ca
fix: Move subscription to after initialize ( #6752 )
2023-03-26 12:19:29 -07:00
Pranav Raj S
70e7530cb4
feat: Setup context menu for message ( #6750 )
2023-03-24 16:20:19 -07:00