Chatwoot Bot
44e4eee28b
chore: Update translations ( #6806 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-04-02 13:24:13 +05:30
Shivam Mishra
2e9eead20c
feat: update contacts filter query ( #6802 )
...
- Update contacts API query to be faster
2023-04-02 13:23:01 +05:30
Tejaswini Chile
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Tejaswini Chile
21da03fe5b
Fix: Consider bot message on slack integration ( #6793 )
2023-03-31 18:56: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
Sojan Jose
7930902ec8
chore: Refactor Automation Specs ( #6796 )
...
The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files.
fixes: CW-1447
2023-03-30 21:02:52 +05:30
Muhsin Keloth
cef44bc557
fix: Check valid params exists in WhatsAapp payload ( #6780 )
...
Fixes #6779
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-30 12:10:59 +05:30
Sojan Jose
7e3a4d2c20
fix: Adds assignee as a participant during auto-assign ( #6789 )
...
- Ensures that the assignee is added as a participant during auto-assign
2023-03-30 11:39:53 +05:30
Sojan Jose
a4c9a2b2f2
chore: Support telegram edited_message events ( #6785 )
...
- Add support for telegram edited_message events: Update the user message back in the Chatwoot dashboard when updated by the contact on telegram
2023-03-29 18:48:16 +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
Chamath K.B. Attanayaka
6002394fcf
feat: Support input_select messages on telegram ( #5887 )
...
- Adding interactive button support for telegram for outgoing and incoming messages.
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-28 22:50:07 +05:30
Shivam Mishra
bc8e8f3bb5
feat: add index to conversation id and account_id ( #6757 )
...
- This PR adds an index to conversations id and account_id. This improves the performance of some reports query
2023-03-28 22:34:04 +05:30
Tejaswini Chile
54a809ea54
fix: Case insensitive email match ( #6760 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1354/email-id-case-sensitive
Co-authored-by: Sojan <sojan@pepalo.com>
2023-03-28 15:23:41 +05:30
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
Shivam Mishra
4c10845acd
fix: [CW-44] don't count private message as first reply ( #6707 )
...
* fix: don't count private message as first reply
* fix: update first_human_response_logic
* refactor: separate valid_first_reply method
* test: valid first reply
* feat: add check for automation rule
* test: update step that creates data
* fix: add boundary condition in case first_reply_created_at is not present
* test: fix report builder
* refactor: conditions
* test: remove second message condition
2023-03-27 21:23:37 +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
Pranav Raj S
d666afd757
chore: Refactor messages to support right click context menu ( #6748 )
2023-03-24 13:49:44 -07:00
Muhsin Keloth
a6e7737c56
feat: Show custom attributes in pre-chat form on new conversation ( #6735 )
2023-03-23 15:22:49 +05:30
Tejaswini Chile
856d9067b0
fix: Super admin redirect issue [CW-1370] ( #6715 )
2023-03-23 14:37:21 +05:30
Tejaswini Chile
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
Chatwoot Bot
1370cf3c07
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-23 13:30:21 +05:30
Sivin Varghese
1dd7cfc25d
fix: Design issues after RTL changes ( #6718 )
2023-03-21 13:25:35 -07:00
Nithin David Thomas
f3aba84063
fix: Fixes scroll behavior for search page ( #6717 )
2023-03-21 12:10:08 +05:30
Tejaswini Chile
9c040af028
[CW-1348] fix: Update email regex validation for contact_inbox ( #6705 )
2023-03-21 10:51:12 +05:30
Sivin Varghese
4cae5c7d51
chore: The label creation UI input is transform to lowercase ( #6712 )
2023-03-20 20:35:15 +05:30
Shivam Mishra
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Tejaswini Chile
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Tarang
0c9f129c74
Fix issues with Microsoft Provider ( #6702 )
2023-03-20 12:27:43 +05:30
Nithin David Thomas
d2aa5f4c69
fix: Reverts popover styling for search page ( #6688 )
2023-03-20 11:04:56 +05:30
Muhsin Keloth
5c5764ca85
chore: Enable icelandic language( #6682 )
...
ref: #6681
2023-03-16 20:32:55 +05:30
Tejaswini Chile
cf487c76a0
fix: delete user record if belongs to no account ( #6664 )
2023-03-15 21:49:49 +05:30
Sojan Jose
de8c26dce8
chore: Additional indexes and fixes ( #6675 )
...
- Fix breakage related to the look-up job in Heroku deploys
- Add additional db indexes for performance optimisations
2023-03-15 19:52:02 +05:30
Chatwoot Bot
7331154f04
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-15 15:23:38 +05:30
Sojan Jose
a99c37ae5e
chore: Resolve bundle audit ( #6671 )
...
- Update gems to resolve bundle Audit advisories
2023-03-15 14:05:54 +05:30
Pranav Raj S
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Tejaswini Chile
24f8befdf2
Fix: Add articles order in category show page ( #6662 )
2023-03-14 20:00:01 +05:30
Nithin David Thomas
cae3ac94cd
feat: Search improvements for conversations ( #6645 )
...
* feat: Shows search as a popover
* Reverts search from popover to page
* Fixes review comments on usability
* Fixes keyboard navigation issues
2023-03-14 13:09:43 +05:30
Sojan Jose
da76537011
chore: Search optimisations ( #6644 )
...
- Strip search term before searching
- order messages by created_at desc
- order contacts by last_activity_at desc
- order conversations by created_at desc
- Search only resolved contacts
- Optimize resolved contacts query
ref: #6583
2023-03-13 19:10:31 +05:30
Tejaswini Chile
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30
Jacson Santos
2e95d3a173
fix: Duplicate conversations and contacts WA and Brazil numbers ( #6222 )
...
Resolves issue when receiving a message from Brazil Whatsapp number.
Fixes : #5840
Co-authored-by: Sojan <sojan@pepalo.com>
2023-03-13 13:20:53 +05:30
Tejaswini Chile
fbdc79df76
Fix: skip invalid access token from sentry ( #6639 )
2023-03-09 16:28:45 +05:30
Tejaswini Chile
54b7c98795
fix: Warn Facebook error code 100-2018218 ( #6632 )
2023-03-09 13:51:10 +05:30
Shivam Mishra
4673cf8cf1
fix: timing in the API ( #6633 )
...
* fix: timing in the API
* test: fix params
2023-03-09 00:40:38 +05:30
Tejaswini Chile
dd8f8fc845
chore: Disable error tracking for Whatsapp error webhooks ( #6627 )
...
https://developers.facebook.com/docs/whatsapp/on-premises/webhooks/components
We are not going to handle the WhatsApp error component webhook event.
https://chatwoot-p3.sentry.io/issues/3957884597/?project=4504723538771968&query=is%3Aunresolved&referrer=issue-stream
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-08 20:50:59 +05:30
CristianDuta
c20410f3f4
feat: Ability to update CSAT over Client APIs ( #6470 )
...
This PR allows updating CSAT over Client APIs.
ref: #6328
Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-08 18:42:49 +05:30
Clairton Rodrigo Heinzen
eb4da33cdc
feat: Ability to customize the base url for Whatsapp Cloud Service ( #6622 )
...
Configure a custom endpoint for Whatsapp Cloud Service via `WHATSAPP_CLOUD_BASE_URL`.
refs: #5142
2023-03-08 18:23:25 +05:30
Sojan Jose
d59fd6b747
chore: Ensure Template messages work even when bot is connected ( #6455 )
...
ref: #5592
2023-03-08 18:01:00 +05:30
Chatwoot Bot
5214be67c7
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-08 14:00:00 +05:30
GitStart
d6f3643bf0
fix : Meta tags input in help center clears the input value after clicking outside ( #6552 )
...
* chore: supports preserving input value after clicking out
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
* chore: supports tag addition on blur
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
* feat: use search-change instead of vue-multiselect refs
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-03-07 19:27:10 +05:30
Shivam Mishra
c88792f4a3
feat: add Conversation traffic heatmap ( #6508 )
...
* feat: add heatmap component
* feat: add heatmap component
* feat: add dummy heatmap
* refactor: compact tiles
* feat: allow hour
* feat: wire up heatmap query
* feat: allow arbritrary number of weeks
* feat: update position of the widget
* chore: update heatmap title
* refactor: move traffic heatmap to overview
* chore: add comment for perf
* feat: add reconcile logic for heatmap fetching
Fetching the data for the last 6 days all the time is wasteful
So we fetch only the data for today and reconcile it with the data we already have
* refactor: re-org code for new utils
* feat: add translations
* feat: translate days of the week
* chore: update chatwoot utils
* feat: add markers to heatmap
* refactor: update class names
* refactor: move flatten as a separate method
* test: Heatmap Helpers
* chore: add comments
* refactor: method naming
* refactor: use heatmap-level mixin
* refactor: cleanup css
* chore: remove log
* refactor: reports.js to use object instead of separate params
* refactor: report store to use new API design
* refactor: rename HeatmapHelper -> ReportsDataHelper
* refactor: separate clampDataBetweenTimeline
* feat: add tests
* fix: group by hour
* feat: add scroll for smaller screens
* refactor: add base data to reconcile with
* fix: tests
* fix: overflow only on smaller screens
* feat: translate tooltip
* refactor: simplify reconcile
* chore: add docs
* chore: remoev heatmap from account report
* feat: let Heatmap handle loading state
* chore: Apply suggestions from code review
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
* feat: update css
* refactor: color assignment to range
* feat: add short circuit
* Update app/javascript/dashboard/routes/dashboard/settings/reports/components/Heatmap.vue
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-03-07 09:01:58 +05:30
Tejaswini Chile
2abc57300c
fix: Add a check for automation_created message in FIRST_REPLY_CREATED event ( #6618 )
2023-03-06 17:47:35 +05:30
Nithin David Thomas
88ed028a06
feat: Revamps search to use new search API's ( #6582 )
...
* feat: Revamps search to use new search API's
* Fixes search result spacing
* Fixes message result
* Fixes issue with empty search results
* Remove console errors
* Remove console errors
* Fix console errors, canned responses
* Fixes message rendering on results
* Highlights search term
* Fixes html rendering for emails
* FIxes email rendering issues
* Removes extra spaces and line breaks
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-03-03 20:58:21 +05:30
Pranav Raj S
2a385f377c
chore: Use markdown-it instead of marked ( #6123 )
...
* chore: Use markdown-it instead of marked
* Adds styling for markdown rendered content
* fixes codeclimate issue
* Fixes blockquote styles for widget in darkmode
* fix: issue block quote color issue in light mode
* fix: issue block quote color issue in light mode
* Fixes blockquote color in dark mode
* Remove usage of dark mode mixin in user bubble
* chore: code clean up
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2023-03-03 13:26:54 +05:30
Tejaswini Chile
ec04ddc725
Fallback name branch ( #6591 )
2023-03-03 12:26:59 +05:30
Tejaswini Chile
60fee519bd
Exception tracker with account ( #6603 )
2023-03-03 12:14:44 +05:30
Sivin Varghese
a685e065da
fix: Fixes assignee and inbox name spacing issues ( #6589 )
2023-03-02 22:00:43 +05:30
Shivam Mishra
a6405ea339
fix: migration script to run on all reporting events ( #6590 )
...
* fix: migration script to run on all reporting events
* fix: don't update user_id if it is already present
* refactor: create a new migration
* feat: update schema
* feat: ignore events with bot handoff
* feat: prefetch conversations with handoff events
* Revert "feat: update schema"
This reverts commit 25ed2856e62655f5f1db14fd0cffad3a69d0b1fb.
* feat: update schema
* refactor: separate method get_conversations_with_bot_handoffs
* refactor: cognitive complexity
* refactor: early return if last_bot_reply is blank
* feat: add async_database_migration queue
* feat: update queue priority
2023-03-02 19:03:31 +05:30
GitStart
89c391e7c0
fix: Clicking contact name in conversation should open contact details panel ( #6580 )
...
* chore: support panel trigger on contact name click
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
* Update ConversationHeader.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-03-02 13:16:57 +05:30
Pranav Raj S
9e8eb293e9
fix: Allow integration apps to be listed by an agent ( #6587 )
...
* fix: Allow integration apps to be listed by an agent
* Fix rubocop
2023-03-02 13:02:21 +05:30
Tejaswini Chile
61d0a63bf7
Fix: product#804: email sender improvement ( #6579 )
2023-03-02 10:57:14 +05:30
Vishnu Narayanan
d870b0815a
feat: Audit log APIs ( #6434 )
...
- Adds the appropriate APIs for Audit Logs.
ref: #6015
2023-03-01 20:02:58 +05:30
Nithin David Thomas
daf17046e9
feat: Creates component to display conversation search results ( #6575 )
...
* feat: Creates component to display conversation search results
* Fixes minor bugs
2023-03-01 19:11:10 +05:30
Nithin David Thomas
c8cdff8bc4
feat: Creates component to show contact search results ( #6571 )
...
* feat: Creates component to show contact search results
* Refactors unused code
* Review fixes
* Update app/javascript/dashboard/modules/search/components/SearchResultContactItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-03-01 18:26:29 +05:30
Tejaswini Chile
34a2486e9c
chore: Support plus forwarding in email channel ( #6482 )
...
- Support for plus forwarding in the email addresses for email channels
Co-authored-by: Sojan <sojan@pepalo.com>
2023-03-01 15:42:48 +05:30
Chatwoot Bot
40e81c63ad
chore: New Crowdin updates ( #6566 )
...
- Pulling the latest translation updates from Crowdin.
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-01 14:35:04 +05:30
Pranav Raj S
e5090fcdc7
fix: Show only categories where published articles count > 0 ( #6567 )
2023-03-01 11:02:54 +05:30
Sivin Varghese
0a993978ba
bug: Bulk actions Assign agent is not working ( #6568 )
2023-03-01 10:53:40 +05:30
Sojan Jose
d4e7eaecce
feat: New APIs for search ( #6564 )
...
- Adding new API endpoints for search
- Migrations to add appropriate indexes
2023-02-28 22:00:36 +05:30
Sivin Varghese
9bd47588fc
bug: Fixes i18n is not working on the help center dashboard ( #6562 )
2023-02-28 16:12:08 +05:30
Muhsin Keloth
d5a2756462
feat: Add the option for consent form ( #6511 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-02-28 13:57:05 +05:30
Chatwoot Bot
04f30e3033
chore: Update translations ( #6534 )
2023-02-27 18:15:34 -08:00
Pranav Raj S
69a1c4527f
fix: Fix i18n issues with help center ( #6559 )
2023-02-27 17:45:57 -08:00
Pranav Raj S
b141fc1289
fix: Fetch categories by locale ( #6557 )
2023-02-27 09:12:14 -08:00
Tejaswini Chile
ce807d3251
fix: Condition based backend validation ( #6554 )
2023-02-27 20:22:07 +05:30
Sivin Varghese
eb55ff5c9b
chore: Adds the ability to automatically initialize the RTL direction ( #6531 )
2023-02-27 12:03:40 +05:30
Sivin Varghese
bfb445186d
chore: Refactor reports css for RTL ( #6537 )
2023-02-27 11:50:21 +05:30
Sivin Varghese
7d4e6d0257
chore: Refactor tables in all screen for RTL ( #6525 )
...
* chore: Refactor tables in all screen for RTL
* Notification page footer
* Apply suggestions from code review
* chore: Minor ixes
* chore: Adds rtl comment
* chore: Code clean up for contact table
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-02-27 11:36:28 +05:30
Shivam Mishra
06ffaa90fc
fix: bots included in time to response metrics ( #6409 )
...
* feat: ignore bots in avg_first_response_time
* feat: ignore bots in avg_first_response count
* feat: add bot handoff event
* feat: add handoff event listener and reporting event
* fix: ignore agent bot in first response
* refactor: calculate first_response with last handoff
* refactor: method defn order
* test: new reporting events
* feat: Revert "feat: ignore bots in avg_first_response count"
This reverts commit de1977c219a2e7a9180dd02272244fe3b3f7ce89.
* feat: Revert "feat: ignore bots in avg_first_response_time"
This reverts commit bb9171945d5e3b2f6015f4f96dd1b76b3efb6987.
* fix: business hour calculation for first_reply
* fix: event_start_time for first_response
* feat: add migration to recompute first_responses
* refactor: separate mute helpers for conversation
* refactor: rename migration
* refactor: migration script
* fix: migration typo
* fix: typo in query
* feat: update schema.rb
* Revert "feat: update schema.rb"
This reverts commit 353ef355f2d956dd219907bb66982dc90ca5d896.
* feat: update schema
* refactor: update events as a batch job
* fix: ignore the event if value is negative
* feat: don't create a new hand-off if it's already present
* refactor: break the action into smaller chunks
* refactor: update reporting listener spec
Handle the case to ensure extra bot handoffs are not created for a give conversation
* fix: import error
---------
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2023-02-25 09:48:48 +05:30
Sivin Varghese
92d0398744
chore: Refactor conversation info panel for RTL ( #6526 )
...
* chore: Refactor conversation info panel for RTL
* chore: Adds comments
* chore: Settings header icon fix
* chore: Toggle layout switch
* chore: Border fix in chat list
2023-02-24 19:20:17 +05:30
Pranav Raj S
c998c84bc0
fix: Name missing when email is collected via email hook ( #6530 )
...
- The name is not updated when the email is updated via the email collect message. This PR fixes that.
2023-02-24 15:24:53 +05:30
Tejaswini Chile
26e760a281
Add sender_name in the SMTP reply mails ( #6528 )
2023-02-24 13:20:56 +05:30
Sivin Varghese
9fcb29484d
chore: Refactor sidebar related changes for RTL ( #6519 )
...
* Woot tabs
* Refactor sidebar related RTL
* Context menu
* chore: Minor fixes
* chore: Dropdown
* chore: Toggle switch
* chore: sidebar fixes
* fix: spacing issues and minor fixes
* chore: Space slab to small
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2023-02-24 13:01:54 +05:30
Sivin Varghese
6d4b894f95
chore: Refactor chat list for RTL ( #6524 )
...
* chore: Refactor chat list for RTL
* chore: Modal
* fix: Show more button margin
* chore: Inbox name fix
2023-02-24 12:35:06 +05:30
Pranav Raj S
e7d0bf8a1b
chore: Display CSAT responses in the message itself. ( #6529 )
2023-02-23 18:11:46 -08:00
Sivin Varghese
60f953cd27
chore: Refactor reports for RTL ( #6517 )
...
* Refactor reports
* fix: spacing issues and minor fixes
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2023-02-23 19:50:49 +05:30
Vishnu Narayanan
71f2b27728
fix: ActiveRecord::RecordNotFound Couldn't find Channel::WebWidget ( #6523 )
...
* fix: resucue ActiveRecord::RecordNotFound for webwidget controller
* chore: add rails.log
2023-02-23 19:16:07 +05:30
Sivin Varghese
6407745571
chore: Woot tabs for RTL( #6518 )
2023-02-23 18:18:28 +05:30
Sivin Varghese
409466bbd5
chore: RTL configuration ( #6521 )
...
* chore: RTL configuration
* Adds scss file
2023-02-23 17:50:44 +05:30
Sivin Varghese
87aabfbb9a
chore: Refactor integrations pages for RTL ( #6516 )
...
* Refactor integrations
* Adjust spacing for integration item
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2023-02-23 17:29:28 +05:30
Sivin Varghese
fdf8b3f369
chore: Refactor utility files for RTL ( #6515 )
...
* Chore: Refactor for RTL
* Chore: mInor fixes
* minor fixes
2023-02-23 16:59:48 +05:30
Nithin David Thomas
2674130714
chore: Refactors chatlist header css to work with RTL ( #6520 )
...
authored by 1277421+nithindavid@users.noreply.github.com
2023-02-23 16:45:56 +05:30
Clairton Rodrigo Heinzen
8935933266
fix: First attachment with caption for whatsapp channel ( #6486 )
2023-02-22 18:20:10 +05:30
GitStart
cd6a836bf6
fix: Resolves icelandic locale not shown properly on UI ( #6505 )
...
Closes #6484
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>
2023-02-22 15:40:48 +05:30
GitStart
b905d4854a
fix: Access token should be hidden/masked by default in Agent Dashboard ( #6492 )
...
Supports masking/unmasking sensitive data such as API Tokens in the agent dashboard.
Fixes : #6322
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-02-21 19:19:15 +05:30
GitStart
aff97bff26
feat: Supports masking tokens in super admin ( #6491 )
...
Supports masking/unmasking sensitive data such as API Tokens in the super admin dashboard.
ref: #6322
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com>
2023-02-21 17:50:55 +05:30
Vishnu Narayanan
930863b25b
fix: sentry CHATWOOT-37A ActiveRecord::RecordNotUnique ( #6496 )
...
* fix: sentry CHATWOOT-37A #6457
* chore: add spec
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-02-21 09:34:51 +05:30
Shivam Mishra
62de25960c
feat: Integrate LogRocket ( #6494 )
...
* feat: install logrocket
* feat: allow log rocket
* feat: enable vuex log-rocket
* feat: integrate vuex with log rocket
* feat: add log rocket identify
* fix: identify if log rocket is initialized
---------
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2023-02-21 08:42:45 +05:30
Nithin David Thomas
c9242fac9e
fix: Warning in conversations page from participants ( #6479 )
2023-02-17 08:44:16 -08:00
Pranav Raj S
b479b7c6d7
chore: Enable push permissions if available ( #6474 )
2023-02-17 08:43:28 -08:00
Nithin David Thomas
4d719a8fe3
fix: Add a settings link for portals in sidebar ( #6475 )
2023-02-17 17:48:16 +05:30
Pranav Raj S
71d8195845
fix: Add scoped CSS for participants ( #6472 )
2023-02-16 09:57:11 -08:00
Sojan Jose
ca1adb9960
feat: conversation participants ( #4145 )
...
Fixes #241
Fixes : chatwoot/product#648
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-16 13:35:06 +05:30
Shivam Mishra
7be2ef3292
feat: Google OAuth for login & signup ( #6346 )
...
This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account.
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2023-02-16 11:12:02 +05:30
Nithin David Thomas
2c8ecbeceb
feat: Adds image attachment for help center articles ( #6426 )
...
* Added one more endpoint to attach tempfile and get logo
* Added one more endpoint to attach tempfile and get logo
* spec fixes
* Upload file for articles irrespective of the association
* Upload file for articles irrespective of the association
* Add multiple images with different keys
* feat: Adds image attachment for help center articles
* Adds validation for file upload
* Fixes space above image after adding to doc
* chore: Removed svg from file upload type
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
* Removes caption for the image
* Fixes woot prosemirror package version
* Update yarn.lock
* Update yarn.lock
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-15 21:11:32 -08:00
Pranav Raj S
80784e3cab
feat: Add Google Translate API Integration ( #6454 )
2023-02-15 20:50:45 -08:00
Chatwoot Bot
c12bdc8350
chore: Update translations ( #6449 )
2023-02-15 20:42:45 -08:00
Pranav Raj S
7044eda281
chore: Add controllers for conversation participants ( #6462 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com>
Co-authored-by: Sojan Jose <sojan@chatwoot.com>
2023-02-15 16:33:31 -08:00
Pranav Raj S
949ddf68ba
chore: Refactor the notification service for participants ( #6461 )
2023-02-15 14:14:56 -08:00
Nithin David Thomas
d6baa5db85
fix: Send attachments as multiple messages for whatsapp channel ( #6428 )
...
* fix: Send attachments as multiple messages for whatsapp channel
* Review fixes
* Fixes bug with whatsapp inbox check condition
---------
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>
2023-02-15 12:53:20 -08:00
GitStart
97b1b4c6f9
fix: Prevents duplicate action trigger on interactive messages ( #6448 )
...
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com>
2023-02-14 11:57:22 -08:00
Pranav Raj S
98ff185d42
chore: Add formatting for the view count ( #6447 )
2023-02-13 14:29:14 -08:00
GitStart
caca99a823
fix : Help Center article view count ( #6429 )
...
* fix: resolves issue with non updating article view count
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
* Update articles_controller.rb
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-13 14:27:17 -08:00
Sojan Jose
f0fbaacaf7
chore: Switch to csv-safe gem to avoid csv injection ( #6444 )
2023-02-13 13:38:36 -08:00
Chatwoot Bot
ff9cadc9a0
chore: Update translations from Crowdin ( #6283 )
2023-02-13 13:34:53 -08:00
Shubham Kumar
29025759d6
feat: Add webhook events for contact created, updated ( #6415 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-13 13:28:27 -08:00
Shivam Mishra
ba69f4cd35
test: fix time spec breaking circle CI ( #6443 )
2023-02-13 18:35:09 +05:30
Sojan Jose
5cbfcfbfa0
chore: Limit conversation resolution Job ( #6433 )
...
We will be adding a limit to the resolution job so that it is performed at a spaced interval. This will ensure there won't be a sudden spike in resource usage
fixes : chatwoot/product#707
2023-02-13 14:00:52 +05:30
Shivam Mishra
a06a5a574a
fix: use innerText instead of innerHTML ( #6431 )
...
* refactor: use inner text instead of inner html
* refactor: use innerText instead of innerHTML
2023-02-10 17:20:15 +05:30
Pranav Raj S
8db40f2d82
chore: Add chatwoot:on-message event ( #6425 )
2023-02-09 12:48:22 -08:00
Fayaz Ahmed
53d5d2af3c
chore: Remove pagination from macros listing api ( #6419 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-02-09 16:56:37 +05:30
Fayaz Ahmed
e18f4aeee9
fix: Text color bug on attachment bubble in widget ( #6399 )
...
* fix: Text color bug on attachment bubble
* chore: Fix file bubble text color issue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2023-02-09 16:50:11 +05:30
Tejaswini Chile
c5b245977a
Added one more endpoint to attach tempfile and get logo ( #6407 )
2023-02-09 14:05:45 +05:30
Sivin Varghese
0a7a5abec1
feat: Adds the ability to change WhatsApp API key ( #6348 )
...
This PR adds the ability to change the WhatsApp API key through the settings under the configuration section
Fixes : #6199
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2023-02-08 19:57:59 +05:30
JanWarlen
8a6f647027
fixBug: email notification error, Attachment Message without content ( #6408 )
2023-02-08 12:51:52 +05:30
Tejaswini Chile
7c21cef467
Added event for conversation opened ( #6412 )
2023-02-08 12:05:22 +05:30
Jacson Santos
73d14f204e
feat: Add the ability to receive contact(vCard) on a WhatsApp inbox ( #6330 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-07 19:36:38 -08:00
Pranav Raj S
bc96e5ed22
fix: Add defaults for the cc, bcc emails ( #6405 )
2023-02-06 18:12:45 -08:00
Shivam Mishra
f8aa544aae
fix: order for canned response ( #6400 )
...
* feat: order canned response
Order canned responses by short_code match first and then with content
* Added specs
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-02-06 12:53:48 -08:00
Pranav Raj S
527bf593b1
fix: data.attachments is undefined for emails without body ( #6403 )
2023-02-06 11:45:15 -08:00
Muhsin Keloth
5902c7a5e1
chore: Update user account availability status ( #6375 )
2023-02-06 11:07:31 -08:00
Sojan Jose
6b839a0442
feat: Ability for super admin to impersonate a user ( #6382 )
2023-02-06 11:00:08 -08:00
brunosfg
0a2d3130e0
Wrong Translation ( #6384 )
...
The "open action" translation would be "Abrir" (verb) instead of "Abertas" (which is the adjective).
2023-02-06 13:20:59 +05:30
Fayaz Ahmed
8ac1cab27e
feat: Show contact created date in contact panel ( #6364 )
...
* feat: Show contact created date in contact panel
* Add created at in Contacts table
* Moves created at info as tooltip
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2023-02-04 10:40:23 +05:30
Sojan Jose
38aee8d9ea
chore: Switch to web-push gem ( #6390 )
...
- The previous gem, `webpush` was last updated a while ago. Also, with the recent ruby upgrade, we needed a fix for zaru/webpush#106 . Hence switching to the `web-push` gem where the issues are fixed.
2023-02-03 18:55:22 +05:30
Sivin Varghese
84e46adf1c
fix: Cannot delete message with attachments without content ( #6378 )
2023-02-02 11:03:19 -08:00
Nithin David Thomas
c9667190f6
fix: Increase font size for canned response list item ( #6380 )
2023-02-02 10:58:03 -08:00
Divyansh Singh
2030c2ebd6
fix: added cc and bcc email validation to message ( #6320 )
2023-02-02 17:32:04 +05:30
Tejaswini Chile
2ab0b8552a
fix: Identity JSON response header ( #6326 )
2023-02-02 11:01:18 +05:30
Vishnu Narayanan
992a367d93
fix: redis health status in superadmin panel ( #6363 )
2023-01-31 22:57:49 +05:30
Shubham Kumar
4d92cafd3f
feat: Order articles by updated_at ( #6324 )
...
* feat: Order articles by updated_at
* Sort before pagination
---------
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-01-31 17:28:14 +05:30
Nithin David Thomas
ee3124cf84
fix: Uses woot-button in mention box ( #6317 )
...
* fix: Uses woot-button in mention box
* Style changes to fix mention box position
* Fixes review comments
* Fixes review comments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-31 16:25:24 +05:30
Vishnu Narayanan
b1af814eab
feat: add chatwoot instance status in superadmin ( #6045 )
...
* feat: add chatwoot instance status in superadmin
* feat: add redis metrics to instance health page
* chore: fix rubocop
* chore: rescue redis no connection
* chore: add rspec
* chore: refactor
* feat: add instance health to /api
* chore: rescue postgres
* chore: fix spec
2023-01-30 18:37:51 +05:30
Nithin David Thomas
747e6cacb9
fix: Fixes enter key sending text while mentions menu is active ( #6359 )
2023-01-30 16:59:22 +05:30
Muhsin Keloth
024af909e3
feat: Add support of variables in macros and automation ( #6358 )
2023-01-30 13:17:33 +05:30
Tejaswini Chile
6013cc9bea
fix: validate instagram story only while saving the message ( #6340 )
2023-01-30 13:03:59 +05:30
Pranav Raj S
6bd4e8853b
fix: Update styles for canned responses modal ( #6350 )
2023-01-25 19:11:54 -08:00
Pranav Raj S
5d331f0bb2
fix: Add missing timestamp in the real-time event ( #6349 )
...
* fix: Add missing timestamp in the real-time event
* Fix broken specs
2023-01-25 15:21:41 -08:00
Vishnu Narayanan
b1ec67d110
chore: upgrade ruby to 3.1.3 ( #5555 )
...
* chore: update to ruby 3.1.3
* chore: ping docker version to alpine3.16 for nodev16.x
Starting with Node 17, nodejs switched to OpenSSL3. The docker builds
are installing node18.xx with alpine-3.1.3.
From Node.js 17's announcement post:
If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application
with Node.js 17, it’s likely that your application or a module you’re
using is attempting to use an algorithm or key size which is no longer
allowed by default with OpenSSL 3.0. A new command-line option,
--openssl-legacy-provider, has been added to revert to the legacy
provider as a temporary workaround for these tightened restrictions.
Looks like a webpack issue. This is fixed in webpacl 5+ and we are on
webpack4 at the moment.
Solutions
Upgrade webpack.
Pin nodejs version to be 16.x.x
Use --openssl-legacy-provider as a workaround.
Pin docker version to alpine3.16 branch to have node16.x by default
ref:
https://github.com/chatwoot/chatwoot/pull/5555#issuecomment-1379778532
* chore: update webmock
* chore: fix ruby gem path in dockerfile
* chore: switch to node16 in circleci
* chore: update ruby version in linux installer script
* chore: update ruby version in linux installer script
* chore: fix circleci
* chore: fix circleci
* feat: upgrade node version to 16.x in linux installer
* chore: update systemd files
Co-authored-by: Sojan Jose <sojan@chatwoot.com>
2023-01-24 23:55:07 +05:30
Fayaz Ahmed
b196492f23
fix: Remove whatsapp formats which do we do not support yet ( #6331 )
...
- Filters out all the templates where formats are either of these ['DOCUMENT', 'IMAGE', 'VIDEO']
2023-01-24 18:45:39 +05:30
Muhsin Keloth
d9a1154977
feat: Support variables in canned response ( #6077 )
...
- Added the option to insert variables in canned responses.
- Populate variables on selecting a canned response.
- Show a warning if there are any undefined variables in the message before sending a message.
2023-01-24 13:06:50 +05:30
Prithvi Tharun
cab409f3ef
chore: Fixes grammatical errors with content on inbox page ( #6308 )
...
* Fixes #6307
- Typo fixed.
- Period added.
* Update app/javascript/dashboard/i18n/locale/en/inboxMgmt.json
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com>
2023-01-24 11:46:26 +05:30
Sivin Varghese
af5c71e060
chore: Adds the ability to see the existing filter when we apply a new filter ( #6310 )
...
* feat: Adds existing filter to advance filter modal when we apply a filter
2023-01-24 09:10:17 +05:30
Sivin Varghese
9782f71bdf
feat: Shows the last activity, created at timestamp in the same row ( #6267 )
2023-01-23 21:50:16 +05:30
Tejaswini Chile
551dd81d21
chore: change the execution flow for deleting the invalid instagram story ( #6313 )
...
* fix: change the execution flow for deleting the invalid instagram story
* fix: bundle audit update fix
2023-01-23 16:23:35 +05:30
Fayaz Ahmed
4deff9ce77
Break words in phones - iPhones etc ( #6287 )
2023-01-23 11:36:11 +05:30
Pranav Raj S
3b1036e3d6
chore: Add an event for conversation filter ( #6306 )
2023-01-19 14:07:02 -08:00
Sivin Varghese
a745068473
chore: Adds a settings button to the notification settings from the notification popup ( #6233 )
2023-01-19 18:53:42 +05:30
Sojan Jose
e2ccac78d2
fix: Error when unsupported Whatsapp message status ( #6295 )
...
fixes error when unsupported WhatsApp message status
2023-01-19 18:52:38 +05:30
Shivam Mishra
1193cf1847
feat: ignore errors from extensions ( #6297 )
...
This PR ignores errors from chrome and safari extensions, and any local scripts by developers
2023-01-19 18:49:57 +05:30
fgrep
a86c2705e9
Fix: more events tracking for SaaS ( #6234 ) ( #6298 )
2023-01-19 17:19:27 +05:30
Fayaz Ahmed
905fca7869
fix: Whatsapp template picker bug
...
- Enforce lowercasing the template status value before checking the value
2023-01-19 16:40:46 +05:30
Fayaz Ahmed
6151e42bdf
Filter and return only approved templates ( #6288 )
2023-01-19 13:40:50 +05:30
Tejaswini Chile
83ea2a87e2
Microsoft Re-authorization flow ( #6268 )
2023-01-19 01:06:01 +05:30
Prithvi Tharun
8d60bd9970
Fixes #3655 ( #6264 )
2023-01-18 14:45:37 +05:30
Shivam Mishra
37b9816827
feat: more events tracking for SaaS ( #6234 )
2023-01-17 21:53:40 -08:00
Pranav Raj S
1df1b1f8e4
fix: Update the inbox id if changed ( #6272 )
2023-01-18 00:09:17 +05:30
Pranav Raj S
f6a56edf86
feat: Add the UI flow for Microsoft Oauth ( #6243 )
2023-01-17 17:48:14 +05:30
Jordan Brough
66cb0ee865
chore: Refactor code in ApplicationMailbox ( #5857 )
...
Refactor code in ApplicationMailbox
* short-circuiting as soon as we get a "true" value in some cases
* using ".exists?" instead of instantiating an ActiveRecord object
* using "match?" instead of "match"
2023-01-17 17:30:03 +05:30
Prithvi Tharun
74b9c79f49
Fixes #3670 ( #6265 )
...
Success toast content for copy action made generic that fits all the context and scenarios.
2023-01-17 15:45:59 +05:30
Chatwoot Bot
032699930c
chore: Update translations from Crowdin ( #6240 )
2023-01-16 16:07:00 -08:00
Pranav Raj S
16085fdfbd
fix: Add missing translations ( #6263 )
2023-01-16 15:43:18 -08:00
Tejaswini Chile
00cbdaa8ca
Feat: Support for Microsoft Oauth in Email Channel ( #6227 )
...
- Adds the backend APIs required for Microsoft Email Channels
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2023-01-17 02:39:05 +05:30
Pranav Raj S
d0972a22b4
chore: Update styles for canned response ( #6262 )
2023-01-16 12:40:13 -08:00
Nithin David Thomas
e707778490
feat: Revamp editor for message and article ( #6145 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-01-16 09:08:47 -08:00
Nithin David Thomas
0d894e0abc
fix: Add animation to live chat trigger button ( #6252 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-16 09:07:10 -08:00
Nithin David Thomas
70cb0a8ed9
fix: Use account locale as the default locale on widget ( #6248 )
...
* fix: Use account locale as the default locale on widget
* Refactors check for invalid locale
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-01-16 12:14:35 +05:30
Fayaz Ahmed
d488a42664
feat: Allow disconnecting agent bots ( #6245 )
...
* Allow disconnecting the bot
* Code Climate fix
* Show error message if exists
* Codeclimate test - rename file
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-13 22:28:45 +05:30
ooooooo_q
9e4a5d028c
fix: Path traversal at SwaggerController ( #6205 )
2023-01-12 23:44:21 +05:30
Pranav Raj S
9bbadc2388
chore: Create a resuable component for selecting a channel ( #6241 )
2023-01-11 21:13:51 -08:00
Sojan Jose
ad782e450e
fix: Stop processing broken liquid tags ( #6236 )
2023-01-11 17:41:02 +05:30
Fayaz Ahmed
98eb20d600
Use the table-layout: fixed prop ( #6232 )
2023-01-11 11:37:30 +05:30
Fayaz Ahmed
0ba5e47308
chore: Update the widescreen layout button icon and background ( #6217 )
...
* Update the button icon and background
* Use the woot-button
* Minor css cleanup
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2023-01-11 00:40:48 +05:30
Nithin David Thomas
d041f5fc9f
fix: Fixes inconsistent spacing in message bubble ( #6219 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-10 20:51:21 +05:30
Sivin Varghese
14382ad881
fix: Not able to create a portal if the custom domain is empty ( #6224 )
2023-01-10 20:50:35 +05:30
Sojan Jose
c16624dc5d
fix: Duplicate messages in Whatsapp Channel ( #6220 )
...
fixes : #5433
2023-01-10 18:57:34 +05:30
Fayaz Ahmed
60f16e8954
Use woot-editor instead of native textarea ( #6216 )
2023-01-10 17:50:16 +05:30
Muhsin Keloth
078ff615ee
feat: Add support for template variables in messages content ( #6215 )
...
Fixes : #6078
Co-authored-by: Sojan <sojan@pepalo.com>
2023-01-10 16:00:34 +05:30
Sivin Varghese
e7a52c3a46
fix: If desktop view is false then the view not getting updated ( #6214 )
...
* fix: Desktop view is false then the view not getting updated
* chore: Handle sidebar in small screen
* fix: Scroll issue in touch screens
2023-01-10 15:36:16 +05:30
Sivin Varghese
add33d032c
feat: Adds automation view for assigning an agent ( #6131 )
...
* feat: Adds automation view for assigning an agent
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-01-10 11:35:56 +05:30
Sojan Jose
28c8023bad
chore: Update translations ( #6211 )
2023-01-09 21:23:11 -08:00
Shivam Mishra
817ec4c50f
fix: Fix the default article sidebar state ( #6191 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-09 20:16:53 -08:00
Pranav Raj S
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2023-01-09 11:52:31 -08:00
Pranav Raj S
24cf7af30b
feat: Add video call option with Dyte in the dashboard ( #6207 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-01-09 11:49:27 -08:00
Sivin Varghese
0a65a233d7
fix: Invalid portal domain validation ( #6166 )
...
* fix: Invalid portal domain validation
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-01-09 13:42:19 +05:30
Sivin Varghese
4172cb4b23
feat: Uses expanded layout as default if the breakpoint is less than or equal to 992px ( #6134 )
...
* feat: Uses expanded layout as default if the breakpoint is below 992px
* fixes: ES lint issue
* chore: Review fixes
* chore: Hide toggle sidebar menu in profile settings
* chore: Fix login screen
* Update app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
* chore: Review fixes
* chore: Review fixes
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-01-09 13:26:31 +05:30
Pranav Raj S
cbfbe6dbad
feat: Add backend APIs for Dyte integration ( #6197 )
...
- The backend changes required for Dyte Integration.
2023-01-09 12:37:18 +05:30
Shivam Mishra
50894fd591
fix: Add padding for an empty state ( #6190 )
2023-01-06 13:44:30 -08:00
Sojan Jose
fbdc921ee5
chore: Fix sentry errors for Instagram channel ( #6189 )
...
fixes : #6188
2023-01-06 17:18:31 +05:30
Nithin David Thomas
74c6db37b3
fix: Fixes broken style in automation page ( #6171 )
...
* fix: Fixes broken style in automation page
* Fix the position of drag handle
Co-authored-by: fayazara <fayazara@gmail.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
2023-01-06 15:37:28 +05:30
Hricha Shandily
4bbd56f87d
chore: Update error message in Custom Attributes ( #6187 )
2023-01-06 13:58:05 +05:30
Shivam Mishra
b9ae664d47
fix: Update incorrect label for team selection ( #6180 )
2023-01-05 19:35:11 -08:00
Pranav Raj S
fc06ee7726
fix: Update the page size to 15, change default sort to last_activity ( #6177 )
2023-01-04 15:39:03 -08:00
Sojan Jose
88053c60c7
chore: Update translations ( #6160 )
2023-01-04 11:03:02 -08:00
OMAR.A
7b5f1e4876
feat: Support for telegram incoming location message ( #6158 )
...
Support for incoming location messages in the telegram channel.
ref: #3398
2023-01-04 16:11:54 +05:30
Sojan Jose
ab87f9d6c0
chore: Update translations ( #6159 )
2023-01-01 21:40:15 -08:00
Daniel Drexlmaier
e3f13dd455
choreButtons must have discernible text ( #6132 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-01-01 21:39:38 -08:00
Pranav Raj S
69bed3e08d
fix: Update unread_messages count in WhatsApp inboxes ( #6154 )
...
* fix: Update unread_count from backend instead of computing on the frontend
* Fix spec
* Remove status indicator on private notifications
* CodeClimate fix
* CodeClimate
2022-12-30 13:54:37 -08:00
Sojan Jose
cf48610f2f
chore: Update translations ( #6152 )
2022-12-30 13:54:37 -08:00
Nithin David Thomas
b179d1b563
chore: Refactor shortcuts modal to use modal component ( #6151 )
...
* chore: Refactor SHortcuts modal to use modal component
* Typography changes
2022-12-30 13:54:37 -08:00
Sivin Varghese
34e509b9b7
feat: Adds the ability to play audio alert every 30 sec ( #6150 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-30 13:54:37 -08:00
Pranav Raj S
6ffb7fe34e
chore: Refactor audio notification helper ( #6148 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
02a687b226
feat: Add new audio alert options ( #6141 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-30 13:54:37 -08:00
Sojan Jose
10a03cae24
chore: Update translations ( #6129 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
e446a12ebb
chore: Fixes issue showing the CSAT error message ( #6136 )
...
Approved by Muhsin
2022-12-30 13:54:37 -08:00
Nithin David Thomas
00eabe07a4
fix: Expand title height of textarea on load ( #6103 )
2022-12-30 13:54:37 -08:00
Sojan Jose
78251f54c9
chore: Update translations ( #6113 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
d55988a6e0
feat: Add the ability to toggle the secondary sidebar in all display breakpoints ( #6118 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-30 13:54:37 -08:00
Sivin Varghese
aba5a1a131
chore: Helpcenter improvements ( #6098 )
2022-12-30 13:54:37 -08:00
giquieu
94ca2fd229
feat: Send audio longer than 10 seconds and Add Prop audio-record-format ( #6108 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-12-30 13:54:37 -08:00
Pranav Raj S
a3e5aad753
fix: Update the logic to show read status for web ( #6107 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
8e13a06833
fix: Use canned response menu from the editor in contact messages ( #6109 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
38f9c3940b
chore: Hide inbox name only has one inbox ( #6115 )
2022-12-30 13:54:37 -08:00
Pranav Raj S
2dfe38ae4d
chore: Cleanup feature flags ( #6096 )
...
- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
2022-12-19 22:38:30 +05:30
Sojan Jose
ca88eb55f4
chore: Update translations from Crowdin
2022-12-19 22:34:49 +05:30
Nithin David Thomas
d1a26e80f4
fix: Hide show more labels button when there's no overflow ( #6097 )
2022-12-19 08:54:20 -08:00
Nithin David Thomas
022d0b0ea3
chore: Enable prototyping classes for foundation ( #5945 )
...
* chore: Enable prototyping classes for foundation
* Marcros css clean up
* Imports utilities separately
* Fix macro position
* Changes global margin
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-12-19 14:11:11 +05:30
Tejaswini Chile
5541d9e00b
Fix: automation email improvement ( #6061 )
2022-12-19 13:21:33 +05:30
Pranav Raj S
4d2b7c37a0
feat: Display labels in the conversation card ( #6088 )
...
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
2022-12-17 13:11:28 -08:00
Pranav Raj S
aaacf9d4d2
feat: Allow users to disable marking offline automatically ( #6079 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2022-12-16 11:59:27 -08:00
Sivin Varghese
82d3398932
fix: Add improvements to the Help Center module ( #6081 )
2022-12-16 11:41:55 -08:00
Muhsin Keloth
9106f6278d
fix: Allow editing label and placeholder for standard attributes in pre chat form ( #6067 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-12-15 09:36:18 -08:00
Sojan Jose
72fcaa739c
chore: Update translations from Crowdin
2022-12-15 14:11:15 +05:30
smartdev58
9292653bf9
fix: Update enabled_features logic to fix superadmin edit action ( #5959 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-14 18:24:02 -08:00
smartdev58
2a1a38f986
chore: Add feature flags for campaigns and website channel ( #5778 )
...
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-14 16:06:26 -08:00
Sivin Varghese
2972319026
fix: Update colors in widget buttons to fix invalid colors ( #6033 )
...
Co-authored-by: nithindavid <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-14 15:21:20 -08:00
Sivin Varghese
9d78f0d6c6
feat: Adds number validation for WhatsApp inbox at the creation step ( #6043 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2022-12-12 19:52:37 -08:00
Sivin Varghese
86958278cd
fix: Unable to save automation "send email to team" ( #6052 )
...
* fix: Unable to save automation "send email to team"
* chore: Minor fixes
2022-12-12 20:10:33 +05:30
Pranav Raj S
823c836906
feat: Allow wildcard URL in the campaigns ( #6056 )
2022-12-09 16:43:09 -08:00
Pranav Raj S
6200559123
chore: Update analytics events ( #6050 )
2022-12-08 20:53:13 -08:00
Tejaswini Chile
7dc790a7e0
fix: Automatically remove expired story mention ( #5300 )
...
When a user mentions the connected Instagram page in a story, the story's content is downloaded in Chatwoot, then if the user deletes the story, the content persists in the platform.
fixes : #5258
2022-12-08 15:55:24 +03:00
Pranav Raj S
52ea201070
fix: Remove duplicate submit action ( #6039 )
2022-12-07 16:28:45 -08:00
Pranav Raj S
779bcf5e0d
feat: Update Signup screen ( #6002 )
...
* feat: Update Signup page designs
* feat: Update the signup page with dynamic testimonials
* Remove the images
* chore: Minor UI fixes
* chore: Form aligned to centre
* Update app/javascript/dashboard/routes/auth/components/Signup/Form.vue
* Design improvements
* Update company name key
* Revert "chore: Minor UI fixes"
This reverts commit 1556f4ca835d9aa0d9620fd6a3d52d259f0d7d65.
* Revert "Design improvements
This reverts commit dfb2364cf2f0cc93123698fde92e5f9e00536cc2.
* Remove footer
* Fix spacing
* Update app/views/installation/onboarding/index.html.erb
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2022-12-07 15:55:03 -08:00
Pranav Raj S
6064aad38f
chore: Add business email validation on signup ( #6037 )
2022-12-07 13:03:51 -08:00
Nithin David Thomas
caa45d1d92
feat: Pass logged in agent context to dashboard app ( #6034 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-07 12:02:27 -08:00
Sivin Varghese
f1d1bb84fd
fix: Filters are not applied unless I'm on the All Conversations screen ( #6006 )
...
* fix: Filters are not applied unless I'm on the All Conversations screen
* chore: Review fixes
* chore: Minor sidebar fixes
* chore: Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-07 12:00:51 +05:30
Sivin Varghese
89cfc5bbf3
fix: Send message with "enter" also do new line ( #5961 )
...
* fix: Send message with "enter" also do new line
* chore: Review fixes
* chore: Naming fixes
* chore: Minor fixes
* chore: Fix line break issue when cmd plus enter enabled
2022-12-06 11:25:49 +05:30
OMAR.A
a82b9991b3
fix: Update the link used for email address change in the confirmation mail ( #5937 )
2022-12-05 16:17:27 -08:00
Sojan Jose
06434bc655
chore: Update translations from Crowdin ( #5952 )
2022-12-05 16:04:49 -08:00
Jordan Brough
b9fd1d88ea
Escape search term before building regular expression ( #5994 )
...
When doing a conversation search, if the search term includes any regular
expression characters and the search returns results, then this function would
throw an exception.
For example, if a conversation includes the text "+15555550111" and you search
for "+15555550111" then you get an exception like:
> Invalid regular expression: /(+15555550111)/: Nothing to repeat
Because the "+" is not escaped.
2022-12-05 16:02:43 -08:00
Sivin Varghese
87ef39ad9c
feat: Add the ability to search emojis ( #5928 )
2022-12-05 16:00:42 -08:00
Muhsin Keloth
c9cae01cb4
fix: Support audio in safari browser ( #5943 )
2022-12-05 12:30:56 +05:30
Sivin Varghese
613fb0b064
fix: Unable to add emoji exactly where the cursor is at ( #5865 )
...
* fix: Unable to add emoji exactly where the cursor is at
* chore: Minor fixes
* chore: Review fixes
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review fixes
2022-12-05 11:16:00 +05:30
Tejaswini Chile
0b5c82ad5f
fix: Save hostname for the custom domain in the portal ( #5984 )
...
* fix: Save hostname for the custom domain in the portal
2022-12-03 20:37:56 +05:30
Sivin Varghese
c8ec397c79
fix: Update missing features in unattended / mentions view ( #6009 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-02 15:07:38 -08:00
Tejaswini Chile
a08099bbcc
fix: Custom attr filter on conversations ( #5978 )
2022-12-02 10:37:32 +05:30
Pranav Raj S
e35638588a
fix: Avoid conversationId getting undefined in unattended view ( #6001 )
2022-11-30 20:37:58 -08:00
Tejaswini Chile
3083f74d45
fix: Update inbox json, removing password ( #5981 )
...
- Filter restricted inbox attributes in APIs for agents
Fixes chatwoot/product#668
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-11-30 13:04:46 +03:00
Nithin David Thomas
85b52a1d3f
feat: Add a view for unattended conversations ( #5890 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-29 08:18:00 -08:00
Nithin David Thomas
c94ba16565
fix: Updates logic to insert canned response into editor ( #5880 )
...
* fix: Updates logic to insert canned response into editor
* Removes commented code
* Parse incoming canned text as markdown
2022-11-29 19:46:55 +05:30
giquieu
0cad3bed71
fix: Files in Whatsapp arrives with a different Name ( #5907 )
...
- Add file name parameter to the WhatsApp attachment payload
fixes : #4481
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-11-29 16:54:49 +03:00
Clairton Rodrigo Heinzen
edcbd53425
feat: Read/Delivery status for Whatsapp Cloud API ( #5157 )
...
Process field statuses received in webhook WhatsApp cloud API
ref: #1021
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2022-11-29 15:51:37 +03:00
Tejaswini Chile
a397f01692
fix: unassign team activity message ( #5969 )
2022-11-29 13:35:08 +05:30
Tejaswini Chile
fc9fc5a661
fix: destroy bulk service ( #5921 )
2022-11-25 22:46:50 +05:30
Sojan Jose
b05d06a28a
feat: Ability to lock to single conversation ( #5881 )
...
Adds the ability to lock conversation to a single thread for Whatsapp and Sms Inboxes when using outbound messages.
demo: https://www.loom.com/share/c9e1e563c8914837a4139dfdd2503fef
fixes : #4975
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2022-11-25 13:01:04 +03:00
Vishnu Narayanan
8813c77907
chore: add ph-no-capture css class to messages ( #5932 )
...
This ensure posthog replaces the corresponding elements with an empty
block in recordings.
ref: https://posthog.com/manual/recordings#ignoring-sensitive-elements
2022-11-24 10:42:28 -08:00
Sojan Jose
8ea0660862
chore: Add reauthorization prompt for Whatsapp Channel ( #5929 )
...
- Add reauthorization prompt for Whatsapp Channel
fixes : #5782
2022-11-24 14:50:32 +03:00
Sojan Jose
606fc9046a
feat: Allow users to mark a conversation as unread ( #5924 )
...
Allow users to mark conversations as unread.
Loom video: https://www.loom.com/share/ab70552d3c9c48b685da7dfa64be8bb3
fixes : #5552
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-24 10:55:45 +03:00
Pranav Raj S
e593e516b8
chore: Enable Latvian (lv) language ( #5920 )
2022-11-22 12:54:13 -08:00
Sojan Jose
b5f8524167
chore: Update translations from Crowdin ( #5883 )
2022-11-22 11:42:29 -08:00
Sivin Varghese
b765e17457
fix: Sidebar missing at 1200px width ( #5917 )
2022-11-22 10:48:15 -08:00
Fayaz Ahmed
db37bfea06
fix: Add word-break to canned response list table content
2022-11-22 23:53:15 +05:30
Pranav Raj S
16bfd68d95
chore: Allow admins to choose the agent bot from the UI ( #5895 )
2022-11-18 08:54:32 -08:00
Fayaz Ahmed
33aacb3401
Add team option in bulk actions ( #5885 )
2022-11-18 14:44:36 +05:30
Fayaz Ahmed
47676c3cce
feat: Allow agent-bots to be created from the UI ( #4153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-17 22:15:58 -08:00
Tejaswini Chile
9bfbd528ef
feat: Assign team with teams none option ( #5871 )
2022-11-17 14:15:16 +05:30
Tejaswini Chile
e85f998a08
feat: Remove labels in macro ( #5875 )
2022-11-17 12:30:47 +05:30
Pranav Raj S
66044a0dc3
feat: Show last non-activity messages in the chat list ( #5864 )
2022-11-16 15:43:55 -08:00
Pranav Raj S
9b9c019de0
feat: Add support for after param in messages API ( #5861 )
2022-11-16 08:11:48 -08:00
Pranav Raj S
42b466bda2
chore: Cleanup the design in widget builder ( #5852 )
2022-11-15 18:56:24 -08:00
Sojan Jose
8e2da837d4
chore: Update translations from Crowdin
2022-11-16 00:37:29 +00:00
Tejaswini Chile
826a735cdb
fix: Assign agent action changes ( #5827 )
2022-11-15 13:15:27 +05:30
Tejaswini Chile
38ab3c36db
fix: send label list not object in event data presenter ( #5853 )
2022-11-15 12:20:06 +05:30
Muhsin Keloth
b5f7be0cd2
fix: Full name update when creating a conversation without an email id ( #5832 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-14 19:39:46 -08:00
Tejaswini Chile
efceaec950
fix: Activity message generation for team assignemnt automation ( #5846 )
2022-11-11 19:07:24 +05:30
Fayaz Ahmed
6aba352e0d
fix: Single select for agents and teams in Macros actions ( #5837 )
...
* Ignore settings.json
* Single select dropdown for teams and agents
2022-11-10 20:09:33 +05:30
Fayaz Ahmed
9eb861a3b7
feat: Custom attributes in automations and refactor ( #4548 )
...
* Custom attributes
* Custom Attrs Manifest
* Fix dropdown values for custom attributes
* Handle edit mode for custom attributes
* Ported duplicate logic to a mixin
* fix Code climate issue
* Fix Codeclimate complexity warning
* Bug fix - Custom attributes getting duplicated
* Bug fixes and Code Climate issue fix
* Code Climate Issues Breakdown
* Fix test spec
* Add labels for Custom attributes in dropdown
* Refactor
* Refactor Automion mixin
* Refactor Mixin
* Refactor getOperator
* Fix getOperatorType
* File name method refactor
* Refactor appendNewCondition
* spec update
* Refactor methods
* Mixin Spec update
* Automation Mixins Test Specs
* Mixin Spec Rerun
* Automation validations mixin spec
* Automation helper test spec
* Send custom_attr key
* Fix spec fixtures
* fix: Changes for custom attribute type and lower case search
* fix: Specs
* fix: Specs
* fix: Ruby version change
* fix: Ruby version change
* Removes Lowercased values and fix label value in api payload
* Fix specs
* Fixed Query Spec
* Removed disabled labels if no attributes are present
* Code Climate Fixes
* fix: custom attribute with indifferent access
* fix: custom attribute with indifferent access
* Fix specs
* Minor label fix
* REtrigger circle ci build
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* fix: Custom attribute case insensitivity search
* Add missing reset action method to input
* Set team_input to single select instead of multiple
* fix: remove value case check for date,boolean and number data type
* fix: cognitive complexity
* fix: cognitive complexity
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: codeclimate
* fix: codeclimate
* fix: action cable events for label update
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* Fix margin bottom for attachment button
* Remove margin bottom to avoid conflict from macros
* Fix automation action query generator using the right key
* fix: not running message created event for activity message
* fix: not running message created event for activity message
* codeclimate fix
* codeclimate fix
* codeclimate fix
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
* Update app/javascript/shared/mixins/specs/automationHelper.spec.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
* Update app/javascript/dashboard/helper/automationHelper.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Tejaswini <tejaswini@chatwoot.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-11-10 10:53:29 +05:30
Sojan Jose
3184c8964d
chore: Update translations from Crowdin ( #5831 )
2022-11-09 20:26:30 -08:00
Nithin David Thomas
865346223b
fix: Add missing dropdown method ( #5830 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-09 17:27:04 -08:00
Nithin David Thomas
4f82859bba
chore: Design improvements for thumbnail and dropdown ( #5822 )
2022-11-09 16:52:30 -08:00
Fayaz Ahmed
47c90e2085
feat: Add a loader till the dashboard app is loaded ( #5814 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-11-09 10:06:09 -08:00
Tejaswini Chile
7352b928da
feat: Add assign agent option in macro ( #5821 )
...
Co-authored-by: fayazara <fayazara@gmail.com>
2022-11-09 09:52:48 -08:00
Nithin David Thomas
d39ace5a6b
feat: Improve image loading for thumbnails ( #5823 )
2022-11-08 21:05:13 -08:00
Sojan Jose
e2059cfc5b
fix: SocketError: getaddrinfo: for imap channels ( #5824 )
...
fixes : #5431
2022-11-08 20:23:46 -08:00
Sojan Jose
2e42821c48
chore: Update translations from Crowdin ( #5810 )
2022-11-08 09:36:24 -08:00
Nithin David Thomas
0d9ed0674b
feat: Add store for conversation watchers ( #5808 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-08 09:33:14 -08:00
salman652
6ff0c93659
feat: Ability to receive location on whatsapp inbox ( #5742 )
...
- Ability to receive location messages on WhatsApp Inbox
ref: https://github.com/chatwoot/chatwoot/issues/3398
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-11-07 21:36:47 -08:00
Nithin David Thomas
20406dce01
feat: Adds component to show location based messages ( #5809 )
...
- Adds a component to show location-type messages in the dashboard
2022-11-07 20:50:07 -08:00
smartdev58
b50890d1b5
chore: Update data format for platform API feature management ( #5718 )
...
Updated JSON data format for Platform API for account creation update API endpoints features flags to accept false values on each feature.
fixes : #5717
2022-11-07 17:49:45 -08:00
Tejaswini Chile
48373628a1
fix: Macros authorizations ( #5779 )
...
Macros policy update.
ref: #5730
2022-11-07 17:46:00 -08:00
CristianDuta
479d88a480
fix: Identifier not persisted on customer created via Inbox API Channel ( #5804 )
...
- Fixes the identifier not being used to identify the contact, this results in having a new contact created every time the email or phone is not supplied.
Fixes : #5704
2022-11-07 16:02:45 -08:00
Pranav Raj S
526722dffa
fix: Update invalid payload for template messages ( #5802 )
2022-11-07 15:21:47 -08:00
Tejaswini Chile
a23974d8b9
Feat/5733 Add private note action in macros ( #5805 )
2022-11-07 22:12:10 +05:30
Nithin David Thomas
dc3ee3464b
feat: Add component for grouped thumbnails ( #5796 )
2022-11-03 22:38:45 -07:00
Pranav Raj S
4bb5e812ba
fix: Allow ending the conversation if snoozed or pending ( #5793 )
2022-11-03 13:47:24 -07:00
Nithin David Thomas
8bd5ba187a
fix: Fix widget thumbnail not rendering background colors ( #5791 )
2022-11-02 22:13:12 -07:00
CristianDuta
4c43330b15
feat: Add inbox details endpoint ( #5549 )
...
This change targets the public API and is related to the Inbox with channel type API.
Exposes public inbox details under /public/api/v1/inboxes/{inbox_identifier}. This allows access to feature flags and business hours configured for the inbox.
ref: #5514
2022-11-02 19:05:03 -07:00
Tejaswini Chile
936c2ec7e2
fix: Ensure Automation rule executions are account scoped ( #5768 )
...
This is one possible fix to tackle with cached automation rules when automation gets called on two different accounts with the same event name.
Fixes: https://github.com/chatwoot/product/issues/605
2022-11-02 17:24:35 -07:00
smartdev58
9c0cce0392
chore: Mark conversations as pending instead of reopen when bot is present ( #5751 )
...
With this change, conversations are marked as pending instead of reopening when a bot is connected to that Inbox.
Fixes : #5668
2022-11-02 13:54:56 -07:00
Sivin Varghese
e1190fd9bf
fix: Text colour is getting merged with the light background colour ( #5773 )
2022-11-02 05:52:00 +05:30
Tejaswini Chile
00e06e5139
fix: Unsupported message type ( #5783 )
...
- fix handling unsupported message types
2022-11-01 15:21:45 -07:00
Fayaz Ahmed
be516a5ea6
fix: Filename issue while editing a macro with attachment action ( #5775 )
2022-11-01 16:20:09 +05:30
Muhsin Keloth
92724576af
fix: Update conversation read status indicator logic ( #5777 )
2022-10-31 09:35:48 -07:00
Tejaswini Chile
a0606d36f6
fix: Set message sender to macros excution ( #5769 )
2022-10-31 19:33:12 +05:30
Muhsin Keloth
2073a23d5c
chore: Fix Thumbnail component specs ( #5776 )
2022-10-28 14:19:12 +05:30
Sivin Varghese
b20f5e5cef
feat: Adds URL validation for domain and home page links ( #5761 )
2022-10-28 06:21:38 +05:30
Nithin David Thomas
3b09840d39
chore: Fix import paths in storybook ( #5772 )
2022-10-28 01:42:24 +05:30
David Kubeš
2aa99ee137
fix: Fix timestamp auto-update in conversations chat list ( #5640 )
...
* fix: Fix timestamp auto-update
* fix: rewrite `setInterval` to `setTimeout`
* fix: change refresh time logic
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-10-28 01:05:39 +05:30
David Kubeš
89d7e4ead6
chore: refactor thumbnail ( #5682 )
2022-10-28 01:02:23 +05:30
Sojan Jose
12cd15b6ad
chore: Disable email processing for suspended accounts ( #5762 )
...
- Disable email processing for suspended accounts
2022-10-26 03:40:47 -07:00
Sivin Varghese
352558dd11
fix: Update color for the action button used in card messages ( #5740 )
2022-10-25 16:17:05 -07:00
Pranav Raj S
bedb2cab63
Use @page-change instead of on-page-change ( #5749 )
2022-10-26 03:46:09 +05:30
Nithin David Thomas
abe439594e
fix: Add preference to choose browser lang for widget settings page ( #5726 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-25 15:04:29 -07:00
David Kubeš
bcde84b5b5
feat: Add ability to paste file/image from clipboard ( #5627 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-10-25 13:35:11 +05:30
Fayaz Ahmed
06e2219110
chore: Improve macros stability ( #5700 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-24 23:49:19 -07:00
Fayaz Ahmed
c3ec1d4f8a
feat: Add the ability for the agents to execute a macro ( #5698 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-24 20:33:59 -07:00
Nithin David Thomas
d54392cb53
fix: Update max-width to fix overflow for emoji selector ( #5727 )
2022-10-24 19:59:36 -07:00
Sojan Jose
3a71fe3260
chore: Stop duplicate websocket updates for conversation updates ( #5711 )
...
- remove extra dispatch for label updates
2022-10-21 18:06:02 -07:00
jacsonsantospht
af020f446e
fix: check the content type for the file when uploading from cloud storage ( #5378 )
...
When sending the message with audio, only the signed id of the file is sent.
In the back end check only the UploadedFile type.
The attachment has the default file type image, now it gets the content type from the signed id
Fixes : #5375
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-10-21 18:05:36 -07:00
Pranav Raj S
6823b04e5b
fix: Update public partials to fix help center search ( #5713 )
2022-10-21 17:32:01 -07:00
Nithin David Thomas
8d5a9a9daa
fix: Show account switch modal from portal dashboard ( #5712 )
2022-10-21 17:24:52 -07:00
Nithin David Thomas
c3426929d7
chore: Refactor sidebar components used in help center ( #5695 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-21 16:43:43 -07:00
Tejaswini Chile
4a299a9441
fix: Add an action cable events for label updates ( #5694 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-21 16:12:35 -07:00
Tejaswini Chile
782165478b
fix: Update article count in portal admin dashboard ( #5647 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-21 13:43:15 -07:00
Pranav Raj S
95cc55d043
fix: Update pagination logic in the help center ( #5693 )
2022-10-20 20:05:17 -07:00
Tejaswini Chile
a274a1702a
chore: Macros enhancement ( #5609 )
...
- Fixed send_attachment and send_email_transcript
- Fixed duplicate activity messages
- Fixed Order of execution
Fixes : #5584
2022-10-20 19:41:48 -07:00
Chad Burggraf
4d0b302802
Avoid crashing when AudioContext is not available. ( #5641 )
...
#4942 . We've also had a number of crash reports show up in our logs related to this. Typically we see "undefined is not a constructor" because of the `window.AudioContext || window.webkitAudioContext` returns `undefined`.
2022-10-20 19:13:20 -07:00
smartdev58
fa73b5290c
chore: Allow feature flag parameters in platform API for account creation ( #5589 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-19 21:16:36 -07:00
DanielGannage
a3277b45af
feat: Update conversation attributes in realtime when they changed ( #5542 )
...
Co-authored-by: daniel gannage <daniel@pxdel.com>
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
2022-10-19 17:26:10 -07:00
Fayaz Ahmed
22d5703b92
feat: Macros listing and Editor ( #5606 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-19 17:13:13 -07:00
Nithin David Thomas
1fb1be3ddc
feat: Add search functionality for public portal ( #5683 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-19 17:09:32 -07:00
Tejaswini Chile
ceaffe862a
Fix: Handled IG unsupported file type ( #5650 )
...
We get 'unsupported_type' in the web-hook event only when Instagram faces issues processing the attachments. https://developers.facebook.com/docs/messenger-platform/instagram/features/webhook/ according to their document, we are handling the given types and are ignoring this one for now.
Fixes : #5428
2022-10-19 13:44:17 -07:00
Sojan Jose
199f462af4
chore: Update translations from Crowdin ( #5663 )
2022-10-19 13:27:10 -07:00
David Kubeš
c542d2e0ff
chore: Refactor urlParamsHelper.js ( #5639 )
2022-10-19 13:20:40 -07:00
Fayaz Ahmed
6bc34db932
fix: Make links more accessible on helpcenter public views ( #5681 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-19 13:07:44 -07:00
Tejaswini Chile
0343acdb7e
fix: ensure contact_inbox if contact exists( #5667 )
...
- Fixing Instagram issue for existing contacts in the inbox
2022-10-19 12:56:39 -07:00
Nitin Ramnani
f740727177
Added testcases for AddReminder Component ( #5538 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-10-20 00:54:08 +05:30
Fayaz Ahmed
3de8f256cb
fix: Avoid overflowing submenus in conversation context menu ( #5113 )
...
* Scroll overflowing content inside submenus
* Disable submenus if options are not available
2022-10-19 12:23:53 -07:00
Muhsin Keloth
2e7ab484bd
fix: Discard invalid contact attributes in widget conversation end point ( #5664 )
...
Fixes : chatwoot/product#601
2022-10-18 13:16:29 -07:00
smartdev58
e34e975776
chore: ability to delete user in super admin console
...
fixes : #4164
2022-10-18 01:05:28 -07:00
Pranav Raj S
71ca530292
fix: Fix typo in help center ( #5661 )
2022-10-17 18:59:22 -07:00
Pranav Raj S
e19c6d5671
chore: Add editor toggle for API inbox ( #5660 )
2022-10-17 18:52:51 -07:00
Sojan Jose
2423def8e8
chore: Add attachments key to message_created webhook payload ( #5659 )
...
- Add attachments key to `message_created` webhook payload
2022-10-17 17:36:56 -07:00
Nithin David Thomas
1c44e43c43
fix: Fix overflow issue for category name in article list ( #5658 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-17 15:59:18 -07:00
Sivin Varghese
444809cc68
fix: Added validation for check box in the pre-chat form ( #5648 )
2022-10-17 15:00:02 -07:00
Pranav Raj S
20b4a91122
chore: Add feature flags in the settings console ( #5657 )
2022-10-17 14:59:44 -07:00
Nithin David Thomas
73f5595762
chore: Sync colors from dashboard to tailwind config ( #5656 )
2022-10-17 13:13:02 -07:00
Sojan Jose
704554d453
chore: Update translations ( #5644 )
2022-10-17 11:14:29 -07:00
Muhsin Keloth
706ab872f3
fix: Disable name in pre-chat form if the name is already provided in setUser ( #5466 )
2022-10-17 20:59:17 +05:30
Nithin David Thomas
252eda14c6
chore: Add woot button to message context menu ( #5638 )
2022-10-16 16:48:32 -07:00
Simon Pankovski
ce3730d640
fix: Avoid email icon getting distorted ( #5633 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-14 13:38:08 -07:00
Sojan Jose
db53af91e7
chore ( #5636 )
...
* New translations conversation.json (Latvian)
* New translations bulkActions.json (Portuguese, Brazilian)
* New translations agentMgmt.json (Latvian)
* New translations teamsSettings.json (Latvian)
* New translations contactFilters.json (Latvian)
* New translations automation.json (Latvian)
* New translations attributesMgmt.json (Latvian)
* New translations labelsMgmt.json (Latvian)
* New translations settings.json (Latvian)
* New translations integrations.json (Latvian)
* New translations inboxMgmt.json (Latvian)
* New translations generalSettings.json (Latvian)
* New translations contact.json (Latvian)
* New translations helpCenter.json (Latvian)
2022-10-14 12:46:41 -07:00
David Kubeš
a6960dc2d3
chore: Refactor widget ( #5621 )
2022-10-14 09:13:11 +05:30
Sojan Jose
e310230f62
chore: Refactor Contact Inbox Builders ( #5617 )
...
- Remove duplicate code and move everything to builders
- fixes : #4680
2022-10-13 15:12:04 -07:00
Nithin David Thomas
1f271356ca
feat: Update the design for dropdown buttons ( #5625 )
2022-10-13 13:36:42 -07:00
Nithin David Thomas
bf4338ef9e
feat: Make category name in article table clickable ( #5626 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-13 13:35:11 -07:00
Tejaswini Chile
a533f43fbf
fix: Stop raising errors for unsupported Whatsapp messages ( #5541 )
...
- Handle unsupported Whatsapp messages
2022-10-13 13:31:49 -07:00
Pranav Raj S
d2fd05ee4e
fix: Show webhook url only on WhatsApp inbox ( #5618 )
2022-10-12 21:45:28 -07:00
Nithin David Thomas
ee520bdf98
feat: Show last active portal articles when sidebar portal icon is clicked ( #5616 )
2022-10-12 16:22:44 -07:00
David Kubeš
6c048626d0
chore: Replace deprecated functions ( #5611 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-12 14:55:59 -07:00
David Kubeš
0c8f744c33
chore: Remove unnecessary methods and polyfills ( #5614 )
2022-10-12 14:42:06 -07:00
Tejaswini Chile
fca629a32a
fix: Update timezone to get wday from working_hours ( #5605 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-12 14:32:54 -07:00
Jordan Brough
1bdd59f025
Find by downcased email in SupportMailbox ( #5211 )
2022-10-12 13:38:18 +05:30
Fayaz Ahmed
32d885a19b
feat: Add macros routes and views ( #5604 )
2022-10-11 23:20:20 -07:00
Fayaz Ahmed
6c160ccad5
feat: Add API module and Vuex store for Macros ( #5603 )
2022-10-11 22:54:17 -07:00
Pranav Raj S
9b5c0de0ea
chore: Add router views for agent_bots ( #5600 )
2022-10-11 17:58:52 -07:00
Pranav Raj S
38776906ab
chore: Generate webhook-verify-token automatically ( #5593 )
...
- Autogenerate webhook verification token in the WhatsAppCloud channel.
Co-authored-by: Sojan <sojan@pepalo.com>
2022-10-11 17:32:31 -07:00
Pranav Raj S
5f4b6f2ce4
chore: Add AgentBot API module ( #5599 )
2022-10-11 17:23:57 -07:00
Tejaswini Chile
7419e413f4
fix: Added "None" option in bulk actions assignment menu ( #5585 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-11 13:44:35 -07:00
Konstantin Nosov
0b5a956e05
chore: Update the design for emoji picker ( #4244 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-11 12:59:28 -07:00
Tejaswini Chile
2c8ded98aa
fix: Update format in password reset page ( #5596 )
2022-10-11 11:27:22 -07:00
Sojan Jose
d727093538
chore: Update translations from Crowdin ( #5578 )
2022-10-10 15:40:12 -07:00
Sojan Jose
5bd5395d31
chore: Add missing indexes for attachments table ( #5588 )
...
- index for attachments table
- index for conversations table
2022-10-10 15:23:33 -07:00
Sojan Jose
779f815f8e
chore: Update translations ( #5566 )
2022-10-07 09:08:18 -07:00
Jordan Brough
ce7d9be633
Fix "presence" checks in Channel::TwilioSms ( #5206 )
2022-10-07 10:22:33 +05:30
Pranav Raj S
788b766179
feat: Quickly create canned responses ( #5563 )
2022-10-05 22:00:15 -07:00
Muhsin Keloth
b668723313
chore: Ability to change default account ( #5393 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
2022-10-05 17:31:12 -07:00
Geophilus Durairaj
bd445216e9
fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated ( #5560 )
...
fixes the warning: Rendering actions with '.' in the name is deprecated
2022-10-05 17:24:34 -07:00
Pranav Raj S
cd4c1ef27e
feat: Update the design of mentions with thumbnail ( #5551 )
2022-10-05 14:18:16 -07:00
Sojan Jose
c76aed6d5e
chore: Update translations from Crowdin ( #5546 )
2022-10-04 18:14:35 -07:00
Nithin David Thomas
8df7547043
feat: Add support for draft messages in reply box ( #4440 )
...
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: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-10-03 21:29:02 -07:00
Sivin Varghese
beedfc47bf
feat: Allow users to select Cmd+Enter as a hotkey ( #4401 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-03 15:27:34 -07:00
Nithin David Thomas
705d06ac3c
fix: Avoid editor formatting issues when a canned response is edited ( #5533 )
2022-09-30 15:03:33 -07:00
Tejaswini Chile
7b54990ae6
fix: Updated IMAP errors add method ( #5520 )
...
fixes : #5519
2022-09-30 11:33:00 -07:00
Jordan Brough
4f0360c7a2
chore: Allow setting "users.display_name" in Platform API ( #5532 )
2022-09-30 11:28:18 -07:00
Tejaswini Chile
57fcb79d71
fix: Article slug auto saves ( #5524 )
...
- Auto save article slug
2022-09-30 07:25:23 -07:00
OMAR.A
1819041f5a
fix: "wa_source_id" function return value ( #5451 )
...
- Fix contact inbox builder returning invalid WhatsApp source id
- Add specs to cover source id validations
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-09-29 10:34:55 -07:00
Sojan Jose
74e03f9beb
chore: Update translations from Crowdin ( #5523 )
2022-09-28 21:59:41 -07:00
Chamath K.B. Attanayaka
6b47c7b43d
fix: Attachment not sending to bots message creation ( #5353 )
2022-09-28 13:13:29 -07:00
Tejaswini Chile
fcb9a9ab0c
fix: contact is not available for inaccessible sender ( #5509 )
...
Fixes : #5508
We can not read contact information because of this error, as the messages echo when the sender sends messages to contacts. We don't have the user's consent until and unless they send messages to us.
So after this result, information about the contact is empty, and we are trying to create a contact inbox for the same, and the error appears.
type: OAuthException, code: 230, message: (#230 ) User consent is required to access user profile, x-fb-trace-id: AaitxF/whwY [HTTP 403] (Koala::Facebook::ClientError)
2022-09-28 12:50:23 -07:00
Pranav Raj S
83eee7df91
chore: Set locale in default_locale ( #5515 )
2022-09-28 08:29:00 -07:00
Tejaswini Chile
543854eaa8
fix: Remove the notification subscription if present ( #5510 )
2022-09-27 12:36:57 -07:00
Tejaswini Chile
336c09e072
fix: Add all articles count to article API ( #5497 )
2022-09-27 12:35:53 -07:00
Tejaswini Chile
c1c57fb2cd
fix: Add slug to articles ( #5500 )
2022-09-27 12:27:18 -07:00
Sojan Jose
913224ad84
chore: Normalize portal slug to nil ( #5487 )
2022-09-22 14:08:48 -07:00
Tejaswini Chile
111016fe4c
fix: Add not found status if macro not found ( #5473 )
2022-09-21 14:10:35 +05:30
Pranav Raj S
cc4ef14faa
chore: Fix link generation logic in help-center ( #5470 )
2022-09-20 18:23:28 -07:00
Pranav Raj S
2d871a1ed5
fix: Hide conversation links in input_csat message in non-website channels ( #5469 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-09-20 17:15:32 -07:00
Tejaswini Chile
c556e9c694
Fix: Redirect to portal with default locale ( #5467 )
...
- Redirect to default locale if URL does not provide the locale param
2022-09-20 10:31:39 -07:00
Nithin David Thomas
d28502b917
Bug: Adds support multiline text input on article edit page ( #5465 )
...
* Bug: Scroll issue with article list page
* Adds support multiline text input on article edit page
2022-09-20 22:42:09 +05:30
Pranav Raj S
1761100c77
chore: Remove static URLs from the documentation ( #5461 )
2022-09-19 21:52:01 -07:00
Pranav Raj S
eb8e348ec1
chore: Update design of the help-center articles ( #5459 )
...
- Update designs
- Fixes meta tags
- Update typography
2022-09-19 20:31:38 -07:00
Nithin David Thomas
54d0055e86
chore: Helpcenter routing and UI fixes ( #5460 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-09-19 19:40:32 -07:00
Shivam Chahar
6b80afaf50
fix: un-assign agent from conversation after removal ( #5417 )
...
Unassign agents from the conversation when they are removed from the account.
Fixes : #4555
2022-09-19 18:14:55 -07:00
Sojan Jose
99de8f4500
chore: Improve Helpcenter custom domains ( #5456 )
...
- Support rendering articles over frontend URL
- Support rendering articles over help center URL
- Support rendering help center home page in the custom domain root
2022-09-19 17:36:01 -07:00
Sivin Varghese
a773ad7d08
fix: Read status not updated in widget popout mode ( #5454 )
2022-09-19 15:35:41 -07:00
Sojan Jose
97583e410c
feat: Ability to manage account features from super admin ( #5455 )
...
- This PR adds the ability to enable and disable features for an account from the super admin.
2022-09-19 14:57:21 -07:00
Sivin Varghese
678a0af962
chore: Enable Help Center on Sidebar ( #5435 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-09-18 13:08:30 -07:00
Fayaz Ahmed
e585b227f1
chore: Check for empty strings in name formatter ( #5434 )
2022-09-14 07:15:04 -07:00
Nithin David Thomas
cb4dd7e633
fix: Fixes bug with locale switching from popover ( #5426 )
2022-09-13 18:49:55 +05:30
Pranav Raj S
8af27d861b
chore: Default to rich content editor in website and email channel ( #5357 )
2022-09-13 05:41:42 -07:00
Jordan Brough
59b31615ed
chore: Use "create!" and "save!" bang methods when not checking the result ( #5358 )
...
* Use "create!" when not checking for errors on the result
* Use "save!" when not checking the result
2022-09-13 17:40:06 +05:30
Sivin Varghese
44f498be6d
fix: Not able to create a new category through the sidebar ( #5421 )
...
* fix: Not able to create a new category through the sidebar
* chore: Minor spacing fixes
2022-09-13 00:15:24 +05:30
Nithin David Thomas
1ea289e8b7
feat: Sets up portal public views with rails ERB and tailwind ( #5309 )
...
* feat: Sets up portal public views with rails ERB and tailwind
* linter fixes
* Remove duplicate style file
* Shows articles and categories
* Specify layout for articles page
* Updates public portal styles
* Fixes blog content styles
* Portal style updates for article page
* Review fixes
* Adds breadcrumbs
* fix: rspec
* fix: public portal spec
* Code climate fixes
* Adds test cases for missing files
* Show only published articles
* Updates help center routes
* Review fixes
* Render markdown content for aticle body
* Update app/views/public/api/v1/portals/articles/index.html.erb
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: tejaswini chile <tejaswini@chatwoot.com>
2022-09-12 23:36:24 +05:30
Sivin Varghese
a680b08251
chore: Fixes height issues with seconday sidebar ( #5407 )
2022-09-12 19:36:49 +05:30
Tejaswini Chile
db73d033b7
feat: Fetching the portal data related to a specific custom domain ( #5249 )
2022-09-07 12:22:24 +05:30
Tejaswini Chile
6574407636
fix: Track Imap exception in sentry ( #5397 )
2022-09-07 11:41:56 +05:30
Pranav Raj S
cf7dac5bab
chore: Add feature flag for conversation continuity in API ( #5399 )
...
- Add the ability to toggle conversation continuity in API channel
2022-09-06 18:14:36 +05:30
Sivin Varghese
7a5ea89fd9
chore: Sidebar improvements in small screens ( #5400 )
...
* chore: Sidebar improvements in small screens
* chore: Minor fixes
2022-09-06 14:06:26 +05:30
Sivin Varghese
79406c5775
fix: Emoji picker is not working on the expanded layout ( #5398 )
2022-09-06 10:41:39 +05:30
Sivin Varghese
f5e360fd4d
fix: Adding a private note clears the CC field in an Email inbox ( #5366 )
2022-09-05 16:08:28 +05:30
Sivin Varghese
8f873a34a2
feat: Adds the ability to update conversation timeframe automatically ( #5253 )
...
* feat: Adds the ability to update conversation timeframe automatically
* Update app/javascript/dashboard/components/ui/TimeAgo.vue
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-09-05 16:07:58 +05:30
Sivin Varghese
952368948b
fix: Alignment issue of edit article dropdown ( #5390 )
2022-09-05 15:35:52 +05:30
Muhsin Keloth
1c590160bb
feat: Add locales under portal settings ( #5386 )
...
* Add locales under portal settings
* Fix path issue
* chore: Updated category route
* chore: Updated category route
Co-authored-by: iamsivin <iamsivin@gmail.com>
2022-09-05 15:32:14 +05:30
Nithin David Thomas
80180a60c5
chore: Final touches for portals ( #5388 )
...
* chore: Final touches for portals
* Review fixes
* Minor fixes
* Fixes styles for input and buttons
* Minor fixes
* Spacing fixes on header
* Minor fixes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-09-05 12:46:27 +05:30
Tejaswini Chile
329e8c37c8
fix: Validations for updating team members ( #5384 )
...
fixes : chatwoot/product#539
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2022-09-02 23:09:29 +05:30
Sivin Varghese
d47a0ae461
feat: Adds the ability to edit/delete category ( #5385 )
2022-09-02 22:34:07 +05:30
Nithin David Thomas
a9801a3c76
design: Fixes to make portal page design close to figma mockups ( #5383 )
2022-09-02 18:07:17 +05:30
Sivin Varghese
03c8251cc3
feat: Adds the ability to publish an article ( #5365 )
...
* feat: Adds the ability to publish an article
* chore: Disabled publish button and dropdown when there is no article id
* chore: Review fixes
* chore: Review fixes
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/Header/EditArticleHeader.vue
* chore: Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-09-02 12:53:18 +05:30
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
Sojan Jose
7f3f6f7129
fix: Account seeder error on staging ( #5371 )
...
- Fix for Account seeding error on staging environments
2022-09-01 21:23:57 +05:30
Sojan Jose
4a74ab59d2
chore: Add a feature toggle for account seeding ( #5369 )
2022-09-01 17:19:15 +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
Tejaswini Chile
ee2189d98a
fix: Set and Update portal's default locale ( #5368 )
2022-09-01 16:44:06 +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
Sojan Jose
c8d01a84ce
feat: Ability to seed Demo Accounts ( #5352 )
...
Introduces the ability to seed sample data into accounts in development and staging.
fixes : #3429
2022-09-01 00:31:43 +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
Jordan Brough
9ddf4c205c
chore: Add index on conversations.uuid ( #5179 )
...
- We search for conversations by this attribute (e.g. in ReplyMailbox and CsatSurveyController) so it seems like we should have an index on it.
2022-08-23 19:05:30 +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
Tejaswini Chile
9c67814724
Fix: Instagram webhook test event ( #5317 )
2022-08-22 16:10:14 +05:30
Tejaswini Chile
747ce9c80f
fix: Update automation to use case-insensitive filter ( #5302 )
2022-08-22 10:16:50 +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
Tejaswini Chile
ea918d9c5a
fix: send confirmation email on re-adding agent ( #5279 )
...
Send confirmation email after re-adding the agent.
Fixes : #4951
2022-08-18 13:12:43 +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
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