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
Tejaswini Chile
fdb067a352
fix: mentions are not rendered properly in slack ( #6762 )
2023-03-28 13:40:16 +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
Sojan
ecd435c0e5
chore: Upgrade chores
2023-03-21 14:18:16 +05:30
Sojan
81fa949b48
chore: fix
2023-03-21 13:06:34 +05:30
Sojan
046cd08072
Merge branch 'develop' into chore/update-rails
2023-03-21 13:02:19 +05:30
Sojan
ea242997d7
chore: Experiement rails upgrade
2023-03-21 12:56:40 +05:30
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
Nithin David Thomas
e76b63f91d
chore: Upgrade prosemirror package to fix link rendering issue ( #6685 )
2023-03-16 13:42:52 -07:00
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
6848433a4c
Merge branch 'release/2.15.0' into develop
2023-03-15 19:58:28 +05:30
Sojan
565b87fa98
Bump version to 2.15.0
2023-03-15 19:57:59 +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
dependabot[bot]
a4bcb7f154
chore(deps): bump @xmldom/xmldom from 0.7.5 to 0.7.9 ( #6666 )
...
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom ) from 0.7.5 to 0.7.9.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.7.5...0.7.9 )
---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 19:00:09 -07:00
Pranav Raj S
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Sojan Jose
e8a174f689
chore: Add sidekiq metrics to newrelic ( #6659 )
...
* chore: Add sidekiq stats to newrelic
* chore: add gemlock
2023-03-14 20:50:28 +05:30
Tejaswini Chile
24f8befdf2
Fix: Add articles order in category show page ( #6662 )
2023-03-14 20:00:01 +05:30
Sojan Jose
abe57873db
chore: Disable throwing Webhook exceptions to Sentry ( #6663 )
...
- There is little value in throwing the third-party webhook-related exceptions to sentry. Let's rather write it to logs instead.
2023-03-14 17:40:40 +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
Sojan Jose
7cbf1857e4
chore: Set statement timeout for Postgres ( #6641 )
...
By default, Rails does not set a timeout on database statements. For example, this will run for a full day, even if your ruby process goes away. But it's configurable in the database.yml with the statement_timeout variable.
Hence we are enforcing a 14s timeout by default. Migration commands inside chatwoot will run with a 10 minutes timeout. For specific cases like migrations, we can override this timeout using the environment variable POSTGRES_STATEMENT_TIMEOUT while starting a new rails console.
Test the timeouts from the rails console using.
```
ActiveRecord::Base.connection.execute("SELECT pg_sleep(15);")
```
ref: https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts#postgresql
ref: https://til.hashrocket.com/posts/b44baf657d-railspg-statement-timeout-
2023-03-13 18:34:18 +05:30
Tejaswini Chile
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30