iamsivin
8fb043de54
chore: spec fixes
2023-05-19 18:55:09 +05:30
iamsivin
6d07a7d92e
fix: Problem when using Brazilian Portuguese
2023-05-19 15:51:41 +05:30
Sojan Jose and GitHub
7b9a9831c1
chore: Fix rubococop failures ( #7130 )
...
- fixes rubocop failures on develop
2023-05-19 15:32:25 +05:30
Sojan Jose and GitHub
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +05:30
Shivam Mishra and GitHub
b988a01df3
fix: exclude private and activity messages from public API ( #7123 )
...
- Exclude private messages
2023-05-19 14:24:49 +05:30
105f9a27d2
feat: more CSAT filters ( #7038 )
...
* refactor: use grid instead of flex
* refactor: let the parent layout decide the spacing
* feat: add a separate date-range component
* refactor: use new date-range component
* fix: destructure all options
* refactor: separate group by component
* refactor: better handle group by data
* fix: defaul group by
* refactor: variable naming
* refactor: use DATE_RANGE_OPTIONS directly
* chore: update platform in gemfile.lock
* refactor: trigger fetch on filter change
* refactor: remove redundant method
* refactor: simplify methods and emitting
* refactor: simplify filter logic
* refactor: simplify fetching
* refactor: imports
* refactor: prop name
* refactor: CSAT response to use new APIs
* refactor: use common filter event
* refactor: use computed value for validGroupBy
* refactor: better function names
* refactor: rename prop
* refactor: remove redundant props
* refactor: separate agents filter component
* feat: add labels filter
* feat: add inboxes filter
* fix: event
* refactor: send label and inbox along with request payload
* feat: add inbox filter
* feat: add inbox to download
* refactor: use request payload from computed property
* refactor: params
* feat: add team to csat filters
* feat: add team to csat filters
* feat: add filter for rating
* feat: reverse options
* feat: add labels for ratings and translations
* feat: update translation
* fix: margin and spacing
* fix: trailing whitespace
* feat: add tests for filters
* chore: move files
* feat: add try catch with alerts
* feat: update import
* fix: imports
* Updates broken imports
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-18 22:50:46 +05:30
132cf802d5
fix: Open AI Integration should respond in conversation language ( #7092 )
...
Appended "Reply in the user's language." to obtain the answer in the user's language.
Fixes: https://linear.app/chatwoot/issue/CW-1735/chore-use-account-language-for-the-prompts
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-18 18:50:48 +05:30
Shivam Mishra and GitHub
f2f33038f2
fix: Make category non-mandatory ( #7117 )
...
Creating articles in a new help center without categories throws an error. This PR fixes that.
2023-05-18 18:42:28 +05:30
Vishnu Narayanan and GitHub
590ce788b9
fix: update linux script(cwctl) to account for rails7 upgrade ( #7106 )
...
* chore: modify cwctl to fetch latest redis version on new installations
* fix: add libvips for activestorage imageprocessing support
* chore: update cwctl version
* feat: upgrade redis and install libvps for existing installations
2023-05-18 16:53:47 +05:30
Clairton Rodrigo Heinzen and GitHub
a25179c342
fix: Instagram events job NoMethodError: undefined method for nil:NilClass ( #7105 )
...
- Sometimes tag entry does not have messaging or standby and cause a error
2023-05-18 15:22:01 +05:30
Sivin Varghese and GitHub
aea9470b6a
fix: RTL issue for basic filter dropdown ( #7118 )
2023-05-18 15:06:18 +05:30
Muhsin Keloth and GitHub
6382707146
chore: Check assignee exists or not before rendering the assignee avatar ( #7104 )
2023-05-17 15:41:23 +05:30
Pranav Raj S and GitHub
49ef4e54ca
feat: Add cmd/ctrl click open on the conversation cards ( #7100 )
2023-05-16 16:57:25 -07:00
Sojan
db0d32f01d
Merge branch 'release/2.17.0' into develop
2023-05-16 12:34:00 +05:30
Sojan
7b8bcaba11
Bump version to 2.17.0
2023-05-16 12:33:16 +05:30
Pranav Raj S and GitHub
3f39b7ad1f
fix: Avoid styles getting purged on prod build ( #7086 )
2023-05-15 19:05:07 -07:00
Pranav Raj S and GitHub
a3547c5a1f
feat: Show Table of Contents in the article sidebar ( #7085 )
2023-05-15 18:43:16 -07:00
Tejaswini Chile and GitHub
0f776a173c
Fix: Mail ate compare with nil date ( #7084 )
...
fixes: https://chatwoot-p3.sentry.io/issues/4185144468/?project=6382945
2023-05-15 21:42:22 +05:30
Sojan Jose and GitHub
d320605556
chore: Fix Activerecord querry cancelled when fetching email ( #7083 )
...
limiting the query to 2 days to ensure that it runs timebound.
fixes: https://linear.app/chatwoot/issue/CW-1747/activerecordquerycanceled-pgquerycanceled-error-canceling-statement
2023-05-15 21:23:17 +05:30
Sojan Jose and GitHub
ca85d4e1c6
fix: External url validation in attachment ( #7082 )
...
fixes: https://linear.app/chatwoot/issue/CW-1746/activerecordrecordinvalid-validation-failed-external-url-is-too-long
2023-05-15 20:33:58 +05:30
Tejaswini Chile and GitHub
b994706265
fix: Email date attribute not being set ( #7081 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1738/typeerror-no-implicit-conversion-of-nil-into-string-typeerror
2023-05-15 20:19:03 +05:30
d9f2cd0a6e
chore: Enable Hebrew language for widget ( #7079 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-15 16:56:04 +05:30
Sojan Jose and GitHub
f2a34ad8aa
Chore: Remove deprecation warning post rails upgrade ( #7080 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1575/fix-deprecations-post-upgrade-to-rails-7
2023-05-15 16:32:27 +05:30
Tejaswini Chile and GitHub
65e91f6a6f
fix: Duplicate instagram conversations for echo messages ( #7078 )
2023-05-15 16:25:15 +05:30
Nithin David Thomas and GitHub
7dd1562b40
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #7054 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1290/minor-ui-issues
2023-05-15 16:17:55 +05:30
Shivam Mishra and GitHub
c70367bbd7
feat: add migration to fix image signed keys ( #7076 )
2023-05-15 15:13:26 +05:30
Nithin David Thomas and GitHub
5a8eff35b5
chore: Enable support for hebrew in dashboard [CW-1736] ( #7077 )
2023-05-15 14:03:29 +05:30
Muhsin Keloth and GitHub
1936369b12
feat: Add analytics event for OpenAI ( #7074 )
...
* Add analytics event for OpenAI
* Add more variations
2023-05-15 11:57:56 +05:30
Tejaswini Chile and GitHub
354010a6e1
chore: fetch mails with multiple attachments ( #7030 )
2023-05-14 10:02:36 +05:30
Sojan Jose and GitHub
385eab6b96
chore: Add max length validation to text fields ( #7073 )
...
Introduces a default max length validation for all string and text fields to prevent processing large payloads.
2023-05-12 22:12:21 +05:30
198cd9b28d
feat: Show next available day/hour and minutes on widget ( #6902 )
...
* feat: Show next available hour and minutes on widget
* chore: Adds spec
* chore: Show days
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review suggestion fixes
* chore: Minor fixes
* Added timezone to widget payload
* chore: Adds time zone
* chore: Review fixes
* chore: Adds comments
* chore: Rounded up min with nearest multiple of 5
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Moved day names to i18n
* chore: Review fixes
* chore: Fix specs
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-05-12 19:25:51 +05:30
Nithin David Thomas and GitHub
abdf00d2cf
fixes: Editor adding slash char while creating block quotes [cw-1505] ( #7069 )
...
* fixes: Editor adding slash char while creating block quotes [cw-1505]
* Update with latest package
2023-05-12 16:39:18 +05:30
Muhsin Keloth and GitHub
2c3160cfee
feat: API to list all attachments for a conversation ( #7059 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1678/api-to-list-all-attachments-for-a-conversation
2023-05-12 15:48:06 +05:30
Muhsin Keloth and GitHub
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Pranav Raj S and GitHub
020dcc4dc7
fix: Avoid audio URLs getting cached at the frontend ( #7062 )
2023-05-11 12:14:56 -07:00
271263bcc2
feat: SLA CRUD APIs (EE) ( #7027 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1613/sla-api
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 22:42:56 +05:30
Muhsin Keloth and GitHub
c97d6021e0
chore: Add migration to set the default empty string value for contact name ( #7052 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1650/issue-with-the-contact-name
2023-05-11 17:35:19 +05:30
d99997d17d
feat: Add ability to filter Conversations by underlying source_id ( #6979 )
...
This change adds the ability to include a `source_id` param when querying the `/api/v1/accounts/{account_id}/conversations/search` endpoint. It restricts to results to only conversations related to a contact_inbox with the provided parameter. My motivation for adding this feature was to allow an external API to communicate with a specific conversation with only an awareness of the conversation `source_id` from the client.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 17:32:29 +05:30
Sivin Varghese and GitHub
9c5d062efc
fix: Fix greeting message label in settings ( #7056 )
2023-05-11 17:30:07 +05:30
Muhsin Keloth and GitHub
87f758ee1f
feat: Order conversations by priority ( #7053 )
2023-05-11 12:56:43 +05:30
Shivam Mishra and GitHub
d0a1ad746a
feat: add index migration ( #7050 )
2023-05-10 17:55:14 +05:30
86384bf876
feat: Reply suggestion and summary generation using OpenAI ( #7029 )
...
Add `reply_suggestions` and `summary_generation` options for OpenAI integration
Fixes: https://linear.app/chatwoot/issue/CW-1595/frontend-for-generating-conversation-summary
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-10 17:50:37 +05:30
Muhsin Keloth and GitHub
55e5fa2205
chore: Add the specs for sort conversation ( #7047 )
2023-05-10 17:49:17 +05:30
Sojan
65bad90b69
Revert "fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )"
...
This reverts commit 07aaa046c1 .
2023-05-10 16:43:18 +05:30
07aaa046c1
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )
...
* fix: Welcome email copy changes and canned response API error handling
* Review fixes
* Uses mixin for alerts in canned page
* Typo fixes
* Copy changes
* Fixes broken tests
* Fixes review comments
* Fixes typo errors with mail template
* Removes unwanted case
* Fixes repetitive texts
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-05-10 15:55:48 +05:30
giquieu and GitHub
520bdabefe
fix: Record audio in wav format for web/facebook ( #7046 )
2023-05-10 12:29:56 +05:30
Shivam Mishra and GitHub
662967b5d3
feat(perf): add index to messages created at ( #7044 )
...
* feat: add index to messages created at
* feat: run migration
2023-05-10 11:34:49 +05:30
6137a45214
chore: Update link in the reply summary email ( #7024 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-09 17:39:09 -07:00
Pranav Raj S and GitHub
5e0ce7793c
fix: Re-order gem list to fix rubocop errors ( #7043 )
2023-05-08 16:15:27 -07:00
Pranav Raj S and GitHub
ce3e38df0f
chore: Update the design of the help center portal ( #6775 )
2023-05-08 15:31:38 -07:00
2b88ecdfc4
feat: Add a feature flag for Audit Log UI ( #7035 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-08 12:44:15 -07:00
Pranav Raj S and GitHub
683f259771
fix: Fix rendering issues in Help Center ( #7042 )
2023-05-08 12:23:26 -07:00
Vishnu Narayanan and GitHub
51fb3b7e8e
fix: enable lograge in superadmin path ( #7026 )
...
* fix: lograge superadmin path
* chore: add spec for superadmin devise session controller
* chore: address review comment
2023-05-08 13:43:55 +05:30
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-06 15:10:50 +05:30
Sojan Jose and GitHub
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
59433d9d3c
feat: Adds the ability to sort conversations ( #6853 )
...
* Add sort filter
* Change UI
* Change filter
* Complete sort by filters
* Style fixes
* Fix default sort
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/ChatList.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Added translation
* Added review fixes
* Add more updates
* Code cleanups
* Update last_activity_at on message received event
* Cleans up the design for chatlist and icons
* Fix sort
* Remove inline styles
* Add tag along with the title
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-05 17:08:32 -07:00
Sojan Jose and GitHub
85e57c2e94
chore: Reorganize Sidekiq Queues ( #6976 )
...
- Rearrange and reprioritize current sidekiq queues
- Trim the unnecessary queues
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-05-04 15:44:16 +05:30
Tejaswini Chile and GitHub
b081fe08b8
feat: whatsapp duplicate message ( #7004 )
2023-05-03 15:18:20 +05:30
Muhsin Keloth and GitHub
0d014d5d4b
chore: Bump utils from 0.0.15 to 0.0.16 ( #7022 )
2023-05-03 14:36:55 +05:30
937338e3ea
chore(deps): bump audited from 5.2.0 to 5.3.3 ( #7016 )
...
Bumps [audited](https://github.com/collectiveidea/audited ) from 5.2.0 to 5.3.3.
- [Release notes](https://github.com/collectiveidea/audited/releases )
- [Changelog](https://github.com/collectiveidea/audited/blob/main/CHANGELOG.md )
- [Commits](https://github.com/collectiveidea/audited/compare/v5.2.0...v5.3.3 )
---
updated-dependencies:
- dependency-name: audited
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 14:13:04 +05:30
Pranav Raj S
6e506b070e
Merge branch 'hotfix/2.16.1' into develop
2023-05-02 15:54:49 -07:00
Pranav Raj S
257a294166
Bump the version to 2.16.1
2023-05-02 15:52:50 -07:00
Pranav Raj S
12f121f0d8
fix: Provide a default to name if name is not present
2023-05-02 15:52:33 -07:00
Tejaswini Chile and GitHub
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
c8041392dc
feat: Enable features on successful subscription ( #6953 )
...
* feat: Enable features on successful subscription
* fix: Add specs
* disable features for default plan
* Remove mark as cloud customers
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-01 14:58:39 -07:00
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-28 20:28:03 +05:30
Sojan Jose and GitHub
02c467b6db
chore: GPT Reply suggestion & summarize endpoints ( #7011 )
...
Adds additional endpoints for OpenAI integration which will allow
- Reply Suggestions
- Summarization
ref: #6436
fixes: https://linear.app/chatwoot/issue/CW-1596/backend-for-generating-conversation-summary
2023-04-28 19:57:25 +05:30
Muhsin Keloth and GitHub
13fe439d9f
Move the reconnect logic from the update presence ( #6992 )
2023-04-28 14:02:30 +05:30
Shivam Mishra and GitHub
2313edd244
feat: update identity validation docs link ( #6994 )
...
* feat: update identity validation docs link
* fix: copy
* fix: grammar
2023-04-28 13:36:58 +05:30
Muhsin Keloth and GitHub
09c9300c21
chore: Use canned response variable helpers from utils ( #7007 )
2023-04-27 17:01:34 +05:30
c0e905b5d8
fix: Search improvements and bug fixes [CW-1604] ( #6985 )
...
* fix: Search improvements and bug fixes
* Resets tab to all on search
* Fix index bug with tabs
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-27 13:20:29 +05:30
Pranav Raj S and GitHub
04da8aa8dc
fix: Remove duplicates message in WhatsApp Channel ( #7003 )
2023-04-26 19:57:06 -07:00
Shivam Mishra and GitHub
32f7342cd6
chore: Add issue forms for GitHub ( #6982 )
2023-04-26 11:25:02 -07:00
74afb785c2
fix: Update spacing for the priority icon in the inbox views ( #6993 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-26 10:21:30 -07:00
Shivam Mishra and GitHub
cae1e30160
feat: Update demo data to include better messages ( #6995 )
2023-04-26 10:20:56 -07:00
Tejaswini Chile and GitHub
99dfe1d5af
feat: Enable template variables in channel greeting messages ( #6971 )
2023-04-26 20:23:46 +05:30
Sojan Jose and GitHub
3fa654f5c6
chore: Add Index for widget contact lookup ( #6998 )
...
- Adds an index to improve the contact lookup performance while calling setUser from widget
2023-04-26 19:22:16 +05:30
shaheer-haider and GitHub
37fde64c67
fix: installation of gem bundles (lograge, rack-mini-profiler, stackprof, nokogiri) in docker ( #6897 )
2023-04-26 17:04:17 +05:30
Tejaswini Chile and GitHub
3c2d6faf68
feat: Instagram story replies will display the original story link ( #6846 )
2023-04-26 15:27:07 +05:30
Muhsin Keloth and GitHub
5d30dabf97
feat: Command bar action for priority ( #6989 )
...
* Add command action for priority assignment
* Fix icon path
* Update conversationHotKeys.js
2023-04-26 13:29:01 +05:30
cef1f97d18
feat: update product copy [CWM-45] ( #6372 )
...
* chore: Update non-logged-in-page copy
* Update app/javascript/dashboard/i18n/locale/en/login.json
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
* Update app/javascript/dashboard/i18n/locale/en/signup.json
* Update app/javascript/dashboard/i18n/locale/en/signup.json
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-04-25 22:02:15 -07:00
Pranav Raj S and GitHub
92705723f1
fix: Add /api/v1 to the team_members API documentation ( #6987 )
2023-04-25 20:17:15 -07:00
Shivam Mishra and GitHub
af971c9b18
fix: whatsapp template params validation ( #6986 )
2023-04-26 08:46:30 +05:30
2f2cdd7e7c
feat: Hides dismissed campaigns while browsing [cw-33] ( #6842 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* feat: Hides dismissed campaigns while browsing
* Snoozes all campaigns for an hour after dismissing
* Fixes error with date parsing
* Snooze ongoing campaigns
* Review fixes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 22:38:36 +05:30
Shivam Mishra and GitHub
d95283f5c2
feat: improvements to priority ( #6981 )
...
* fix: colors for urgent icon
* feat: trigger updated event on priority change
* fix: specs
2023-04-25 22:28:19 +05:30
402428fb4d
feat: Splits search api by resources to improve query time [cw-47] ( #6942 )
...
* feat: Splits search api by resources to improve query time
* Review fixes
* Spacing fixes
* Update app/javascript/dashboard/modules/search/components/SearchView.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Review fixes
* Refactor searchview
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 17:59:38 +05:30
Shivam Mishra and GitHub
5600b518ac
fix: validate template_params for WhatsApp ( #6881 )
...
- Add JsonSchemaValidator, which takes a declarative schema and validates it for a given property.
- Add specs for JsonSchemaValidator
- Enable the validator for template_params
2023-04-25 16:50:36 +05:30
0bbb28c432
feat: sort conversation on priority ( #6943 )
...
* feat: update seed script to include prioritt
* feat: add sort_handler for conversations
* test: sort on priority order
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 09:47:47 +05:30
Sojan Jose and GitHub
cf91e9eb58
chore: Use find_each instead of .all.each ( #6975 )
...
- Enable the rubocop Rails/FindEach
- Replace the .all.each with .find_each
This should let us avoid potential memory usage.
Motivation from the speedshop newsletter by Nate Berkopec
ref: https://www.rubyinrails.com/2017/11/16/use-find-each-instead-of-all-each-in-rails/
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-04-25 09:32:35 +05:30
b529baa5eb
fix: Pagination bug in chat list ( #6899 )
...
* fix: Pagination bug in chat list
* chore: Review fixes
* Improves variable namings
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-25 09:01:54 +05:30
Pranav Raj S and GitHub
c071f66cdd
fix: Update the icon for low priority ( #6978 )
2023-04-24 13:52:14 -07:00
92fa9c4fdc
feat: Ability to improve drafts in the editor using GPT integration ( #6957 )
...
ref: https://github.com/chatwoot/chatwoot/issues/6436
fixes: https://linear.app/chatwoot/issue/CW-1552/ability-to-rephrase-text-in-the-editor-using-gpt-integration
---------
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-24 23:52:23 +05:30
f6e0453bb2
fix vertical overflow scroll on BackButton ( #6914 )
...
* fix: vertical overflow scroll on BackButton
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
* chore: adds suggested improvement to handle RTS view
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
---------
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-24 22:57:58 +05:30
Pranav Raj S and GitHub
1a07828b1b
fix: Disable the entire element if priority is missing ( #6972 )
2023-04-24 10:21:39 -07:00
Shivam Mishra and GitHub
54880b2342
feat: Track conversation priority events ( #6968 )
2023-04-24 20:21:43 +05:30
Muhsin Keloth and GitHub
e32f3e71e4
feat: Right click context menu action to change the priority ( #6947 )
...
* Right click context menu action to change the priority
* Review comments
* Update Index.vue
* Remove selected priority from menu
* Code cleanup
* Update conversation.json
2023-04-24 20:07:50 +05:30
Shivam Mishra and GitHub
0874aeee2d
feat: priority UI ( #6966 )
2023-04-24 19:00:08 +05:30
Muhsin Keloth and GitHub
f1fc658a0d
feat: Add an action in Macro to change the priority ( #6940 )
2023-04-24 17:14:30 +05:30
Tejaswini Chile and GitHub
e3193dcabc
feat: Link help center portal to an Inbox ( #6903 )
2023-04-24 12:49:52 +05:30
Vishnu Narayanan and GitHub
f825a22997
feat: add Makefile ( #6948 )
...
* feat: add Makefile
* chore: refactor
2023-04-24 11:32:17 +05:30
Muhsin Keloth and GitHub
815322b27a
feat: Refetch the active conversation messages on action cable reconnect ( #6790 )
2023-04-24 10:17:12 +05:30
Pranav Raj S and GitHub
474e65f4c8
feat: Save in_reply_to from WhatsApp messages ( #6964 )
2023-04-23 18:28:14 -07:00
3a35281b3f
chore: Update translations ( #6941 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-21 15:28:56 +05:30
Muhsin Keloth and GitHub
ac6de50b4d
feat: Add a condition for filters based on the priority of automation ( #6939 )
2023-04-20 18:10:05 +05:30
a34729c153
feat: add activity message for priority change ( #6933 )
...
* feat: add priority const
* feat: add toggle priority method
* feat: update controller route and specs
* refactor: status change method
* refactor: abstract label change and mute activity
* feat: add priority change_activity
* fix: interpolation for previous_changes
* refactor: reduce cognitive complexity of priority_change_activity
* refactor: move priority activity message handler to a separate module
* refactor: move typing logic to a service
* refactor: tests to reduce complexity
* fix: typo
* fix: constants
* fix: priority conditions
* fix: add a response
* fix: argument destructuring in I18n.t
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-20 16:41:53 +05:30
6b2736aa63
fix: inconsistency in report and summary for metric counts ( #6817 )
...
* feat: include timezone offset in summary calculation
* fix: exlcude end in date range
* test: explicit end of day
* fix: test for report builder
* fix: reports.spec.js
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-04-20 12:55:04 +05:30
Muhsin Keloth and GitHub
d1584eea72
feat: Add an action on automation to change the priority ( #6925 )
2023-04-20 11:31:33 +05:30
Sivin Varghese and GitHub
527042afd1
fix: Code fix from PR #6823 ( #6934 )
2023-04-19 23:09:37 +05:30
Nithin David Thomas and GitHub
bd1e69e4b4
feat: Adds new inbox selector with more info for new message modal [cw-1358] ( #6823 )
2023-04-19 23:02:50 +05:30
Vishnu Narayanan and GitHub
76d4c22c2d
fix: build_id in heroku installations ( #6932 )
2023-04-19 21:39:10 +05:30
Tejaswini Chile and GitHub
5cdc7d654a
feat: Support multiple emails in email transcript automation ( #6924 )
2023-04-19 16:55:25 +05:30
Tejaswini Chile and GitHub
821d49943a
Delete inbox api doc update ( #6930 )
2023-04-19 16:43:51 +05:30
Shivam Mishra and GitHub
9c0259da6b
feat: add priority field to conversation ( #6921 ) ( #6927 )
...
* feat: add priority
* feat: add indexes
2023-04-19 13:23:14 +05:30
Pranav Raj S and GitHub
ea2c442328
chore: Add account_id as custom_attribute for cloud users ( #6926 )
2023-04-18 22:35:11 -07:00
Volodymyr Makukh and GitHub
b93b8cdab6
Fix flaky reporting_event_listener_spec ( #6923 )
2023-04-19 10:42:45 +05:30
Pranav Raj S and GitHub
e6505fc7a4
chore: Cache the dashboard app on the first load ( #6774 )
2023-04-18 19:44:57 -07:00
Pranav Raj S and GitHub
c5c36af529
fix: Remove fallback phone_number search in WhatsApp event processing ( #6904 )
2023-04-18 18:30:01 -07:00
026e03c307
fix: Handle spaces in CC/BCC email lists ( #6788 )
...
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".
This causes an error on the backend and on the frontend.
It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 19:18:23 +05:30
Sojan
37b7098673
Merge branch 'release/2.16.0' into develop
2023-04-18 01:04:27 +05:30
Sojan
7bd400772d
Merge branch 'release/2.16.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-04-18 01:04:19 +05:30
Sojan
cb2f86b983
Bump version to 2.16.0
2023-04-18 01:02:19 +05:30
905e77048f
chore: Contact import improvements (CW-1362) ( #6747 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1362/csv-imports-are-not-working-properly
Fixes : #3462
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 00:40:55 +05:30
Vishnu Narayanan and GitHub
4505c5dda3
chore: add build id to settings page ( #6873 )
...
- Adds a build Id to the settings page
2023-04-18 00:35:35 +05:30
c9ce9e5b8f
feat: Improved country code in contact form view. ( #6801 )
...
* feat: Improved country code in contact.
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds arrow key navigation and cursor pointer
* chore: Minor fix
* chore: Code clean up
* chore: Handle outside click
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >, Nithin David
2023-04-17 20:32:09 +05:30
9e2f991484
feat: audit logs UI ( #6803 )
...
* feat: init auditlogs ui
* chore: add api
* fix: action
* chore: add action,username,time
* feat: add pagination support
* chore: format time
* chore: refactor
* chore: refactor auditlogs api response
* chore: update icon
* chore: rubocop fixes
* Fixes the way meta is handled in store
* Fixes meta not appearing issue
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 19:11:05 +05:30
Sivin Varghese and GitHub
80dcd17f6e
fix: Border color for CSAT component in widget ( #6915 )
2023-04-17 17:50:30 +05:30
Shivam Mishra and GitHub
a38ecf3dde
feat: show webhook verify token for WhatsApp ( #6916 )
...
- Display WhatsApp webhook verify token in configuration settings
2023-04-17 17:14:08 +05:30
9090eabb8a
chore: Update translations ( #6895 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-17 14:45:49 +05:30
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 14:43:10 +05:30
Shivam Mishra and GitHub
1886d4ce08
fix: response body in twitter callback ( #6907 )
...
* fix: response body
* fix: tests
2023-04-14 16:48:28 +05:30
Shivam Mishra and GitHub
4d49b81f1c
fix: use response.status instead of success ( #6906 )
...
* fix: use response.status instead of success
* refactor: use sentry to capture exception
* refactor: explicitly convert to i
2023-04-14 15:22:08 +05:30
Tejaswini Chile and GitHub
2b736f4698
fix: Update from_email in the name to fix the syntax error ( #6900 )
2023-04-13 10:42:38 -07:00
Tejaswini Chile and GitHub
9ca21df9fd
feat: Route emails based on x-original-to in email channel ( #6901 )
...
Fixes : #6608
ref: https://linear.app/chatwoot/issue/CW-30/emails-not-routed-based-on-x-original-to
2023-04-13 14:52:12 +05:30
Tejaswini Chile and GitHub
44837aa657
Fix: save twitter profile for inbox ( #6667 )
...
Fixes : #737
2023-04-12 14:16:24 +05:30
d04344c094
chore(deps): bump commonmarker from 0.23.7 to 0.23.9 ( #6892 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.7 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.7...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 14:08:14 +05:30
d45512df72
feat: Account deletion with deleteObjectJob ( #6885 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1365/allow-super-admin-to-delete-an-account
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 13:54:01 +05:30
2731c2a5be
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 ( #6893 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 13:29:57 +05:30
Tejaswini Chile and GitHub
610463c980
fix: flatten template array for whatsapp templates ( #6880 )
...
- Refactor the WhatsApp template sync job
- Fix the issue when fetching the next set of templates
2023-04-11 17:48:17 +05:30
09ce85b30d
Chore: moves localstorage helper as a shared utility ( #6838 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-11 15:50:46 +05:30
Shivam Mishra and GitHub
17ff1f11a7
feat: better download for conversation traffic heatmap ( #6755 )
...
* feat: genearte report in a grid
* refactor: update API usage
* refactor: separate generate method
* refactor: abstract transform_data
* feat: annotate with comments
* feat: add explicit timezone
* feat: download data only in user timezone
* fix: dates included in heatmap
2023-04-11 09:40:54 +05:30
Pranav Raj S and GitHub
f4e121cc44
fix: Update the profile API URL in the documentation ( #6875 )
2023-04-10 18:23:20 -07:00
Pranav Raj S and GitHub
cf934450ab
chore: Remove context menu on links ( #6874 )
2023-04-10 14:13:08 -07:00
Vishnu Narayanan and GitHub
ad75a79135
feat: add pagination support for audit logs API ( #6843 )
...
Add pagination support for audit logs API
2023-04-10 21:07:01 +05:30
Tejaswini Chile and GitHub
d49989ace1
chore: Specs for Whatsapp template pagination ( #6870 )
...
Spec for https://github.com/chatwoot/chatwoot/pull/6835
2023-04-10 20:44:43 +05:30
Tejaswini Chile and GitHub
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
e877b01e00
fix: Invalidate cache if any of the related objects change ( #6860 )
...
* fix: Invalidate cache if any of the related objects change
* Add specs:
* Update context
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-04-10 15:47:13 +05:30
da11feb39b
feat: one-click codepen for widget configuration ( #6865 )
...
* feat: allow codepen in code
* feat: enable codepen in config
* feat: update codepen title
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-10 15:44:06 +05:30
Tejaswini Chile and GitHub
138afd9af6
Feat: Fetch whatsapp templates till next cursor ( #6835 )
2023-04-10 14:44:27 +05:30
e753365493
feat: Add the ability to change the agent availability status ( #6855 )
...
* Add the option change agent availability
* Remove callout
* Move `AVAILABILITY_STATUS_KEYS` to constants
* Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-10 13:37:12 +05:30
Pranav Raj S and GitHub
91dc7733b0
feat: Use inbox image as avatar for the bot ( #6859 )
2023-04-07 13:25:18 -07:00
Pranav Raj S and GitHub
463c09184c
fix: Disable processing events if account is suspended ( #6849 )
2023-04-07 12:01:03 -07:00
040e9a732f
chore: Update translations ( #6854 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 16:05:33 +05:30
71c5a1e1d4
feat: add lograge to improve logging ( #5423 )
...
- Add lograge gem to improve rails logging using `LOGRAGE_ENABLED` env variable
- When enabled Single line log for requests in JSON formatting
- Switch sidekiq also to use JSON formatting
Fixes : chatwoot/product#437
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 13:44:30 +05:30
Muhsin Keloth and GitHub
a521762dd6
feat: Support after param in messages end point ( #6848 )
...
Adds support to `after` param while fetching messages
Fixes: https://linear.app/chatwoot/issue/CW-1475/support-after-param-in-messages-end-point
2023-04-07 13:42:54 +05:30
406e8405eb
fix: Specs failing for teams/actions.js ( #6845 )
...
* fix: specs failing
* fix: specs for labels and inboxes
* Update reports.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-06 20:48:49 +05:30
37dd898c9a
Search bar improvements ( #6827 )
...
* chore: implement search improvement
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-06 18:56:56 +05:30
Sivin Varghese and GitHub
be2356724e
fix: Time specs ( #6841 )
2023-04-06 16:33:31 +05:30
Sivin Varghese and GitHub
ab6276327a
feat: Show year in message timestamp if the message is not from the current year ( #6830 )
...
* feat: Shows year in message timestamp if the message is not from the current year
* chore: Naming fix
2023-04-06 15:09:38 +05:30
Sivin Varghese and GitHub
ee131011f9
fix: Canned Responses are not sent in the new message editor ( #6829 )
2023-04-05 12:42:39 +05:30
balawa and GitHub
2ca8726005
feat: Extend the message limit for the Facebook Channels ( #6816 )
2023-04-04 12:07:13 -07:00
Shivam Mishra and GitHub
b39e5bb642
feat: Remove isAdmin check on merge contact button ( #6825 )
2023-04-04 09:58:10 -07:00
Pranav Raj S and GitHub
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
Shivam Mishra and GitHub
b7d0016d99
fix: inconsistent usage of snake_case and camelCase ( #6824 )
2023-04-04 16:22:45 +05:30
Muhsin Keloth and GitHub
a0eafc94d7
fix: Pre-chat message is not showing in campaign ( #6821 )
...
* Fix pre-chat form header issue
* Show pre-message if pre-chat form enabled
2023-04-04 13:37:51 +05:30
Sivin Varghese and GitHub
110e28d08e
chore: Disable import option in agent account ( #6822 )
2023-04-04 13:37:13 +05:30
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Tejaswini Chile and GitHub
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Sivin Varghese and GitHub
268eababa3
feat: Adds an option to edit City/Country ( #6792 )
...
* feat: Adds an option to edit City/Country
* chore: Minor fix
2023-04-03 19:51:27 +05:30
Tejaswini Chile and GitHub
d2d6d271c3
CW-1399 Phone number import ( #6815 )
2023-04-03 13:53:59 +05:30
Muhsin Keloth and GitHub
363ffdbde3
fix: Disable form if pre-chat disabled on new conversation ( #6813 )
2023-04-03 12:03:58 +05:30
Tejaswini Chile and GitHub
44f73e044a
slack with template message link ( #6811 )
2023-04-03 11:32:37 +05:30
Pranav Raj S and GitHub
ebc144683a
chore: Update conversation thread rendering in Slack ( #6812 )
2023-04-02 22:26:08 -07:00
44e4eee28b
chore: Update translations ( #6806 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-02 13:24:13 +05:30
Shivam Mishra and GitHub
2e9eead20c
feat: update contacts filter query ( #6802 )
...
- Update contacts API query to be faster
2023-04-02 13:23:01 +05:30
Tejaswini Chile and GitHub
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Tejaswini Chile and GitHub
21da03fe5b
Fix: Consider bot message on slack integration ( #6793 )
2023-03-31 18:56:51 +05:30
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 and GitHub
fd41529b82
chore: Adds the ability to copy phone number from user details ( #6791 )
2023-03-30 11:03:51 -07:00
Tejaswini Chile and GitHub
7bd830ebfe
fix: Email based automation conditions filter ( #6786 )
2023-03-30 22:34:18 +05:30
Sojan Jose and GitHub
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
Tejaswini Chile and GitHub
d8604107aa
fix: Add link to conversation in slack message ( #6768 )
2023-03-30 13:03:19 +05:30
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 and GitHub
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 and GitHub
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
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 and GitHub
4ed35cf461
feat: show external error in message as tooltip ( #6701 )
2023-03-29 17:30:57 +05:30
Jordan Brough and GitHub
803015b7f8
chore: Re-add "public" prefix to "public.gen_random_uuid()" in schema.rb ( #6770 )
...
Revert unintended schema change from https://github.com/chatwoot/chatwoot/pull/5338#discussion_r957645071
2023-03-29 16:02:13 +05:30
Jordan Brough and GitHub
aa75666ad9
chore: Remove extra audit column ( #6769 )
...
- Drop unintentional "audits.integer" column
2023-03-29 12:24:14 +05:30
Pavel Kuzmin and GitHub
2b7ff48bcd
fix: Turn off FOCUS_CUSTOM_ATTRIBUTE event to avoid memory leak ( #6772 )
2023-03-28 18:29:15 -07:00
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 and GitHub
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
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 and GitHub
fdb067a352
fix: mentions are not rendered properly in slack ( #6762 )
2023-03-28 13:40:16 +05:30
Nithin David Thomas and GitHub
d082aa50a8
fix: Adds support for multiple file uploads in whatsapp inbox ( #6763 )
2023-03-28 13:10:16 +05:30
Muhsin Keloth and GitHub
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 and GitHub
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 and GitHub
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
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
7de89b6f9b
chore: Update translations ( #6751 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-27 14:45:50 +05:30
Shivam Mishra and GitHub
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 and GitHub
6000028f64
feat: Allow agents/admins to copy the link to a message ( #5912 )
2023-03-26 22:58:42 -07:00
Pranav Raj S and GitHub
1e8881577a
fix: Display native context menu on image, video preview modals ( #6756 )
2023-03-26 15:16:56 -07:00
Pranav Raj S and GitHub
4b83bcb5ca
fix: Move subscription to after initialize ( #6752 )
2023-03-26 12:19:29 -07:00
Pranav Raj S and GitHub
70e7530cb4
feat: Setup context menu for message ( #6750 )
2023-03-24 16:20:19 -07:00
Pranav Raj S and GitHub
d666afd757
chore: Refactor messages to support right click context menu ( #6748 )
2023-03-24 13:49:44 -07:00
Muhsin Keloth and GitHub
a6e7737c56
feat: Show custom attributes in pre-chat form on new conversation ( #6735 )
2023-03-23 15:22:49 +05:30
Tejaswini Chile and GitHub
856d9067b0
fix: Super admin redirect issue [CW-1370] ( #6715 )
2023-03-23 14:37:21 +05:30
Tejaswini Chile and GitHub
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
1370cf3c07
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-23 13:30:21 +05:30
Sivin Varghese and GitHub
1dd7cfc25d
fix: Design issues after RTL changes ( #6718 )
2023-03-21 13:25:35 -07:00
Nithin David Thomas and GitHub
f3aba84063
fix: Fixes scroll behavior for search page ( #6717 )
2023-03-21 12:10:08 +05:30
Tejaswini Chile and GitHub
9c040af028
[CW-1348] fix: Update email regex validation for contact_inbox ( #6705 )
2023-03-21 10:51:12 +05:30
Sivin Varghese and GitHub
4cae5c7d51
chore: The label creation UI input is transform to lowercase ( #6712 )
2023-03-20 20:35:15 +05:30
Shivam Mishra and GitHub
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 and GitHub
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Tarang and GitHub
0c9f129c74
Fix issues with Microsoft Provider ( #6702 )
2023-03-20 12:27:43 +05:30
Nithin David Thomas and GitHub
d2aa5f4c69
fix: Reverts popover styling for search page ( #6688 )
2023-03-20 11:04:56 +05:30
Nithin David Thomas and GitHub
e76b63f91d
chore: Upgrade prosemirror package to fix link rendering issue ( #6685 )
2023-03-16 13:42:52 -07:00
Muhsin Keloth and GitHub
5c5764ca85
chore: Enable icelandic language( #6682 )
...
ref: #6681
2023-03-16 20:32:55 +05:30
Tejaswini Chile and GitHub
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
3e6d23e071
Merge branch 'release/2.15.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-03-15 19:58:19 +05:30
Sojan
565b87fa98
Bump version to 2.15.0
2023-03-15 19:57:59 +05:30
Sojan Jose and GitHub
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
7331154f04
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-15 15:23:38 +05:30
Sojan Jose and GitHub
a99c37ae5e
chore: Resolve bundle audit ( #6671 )
...
- Update gems to resolve bundle Audit advisories
2023-03-15 14:05:54 +05:30
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 and GitHub
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Sojan Jose and GitHub
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 and GitHub
24f8befdf2
Fix: Add articles order in category show page ( #6662 )
2023-03-14 20:00:01 +05:30
Sojan Jose and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30
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 and GitHub
c9b63ae8eb
fix: hook exception for empty hook ( #6646 )
2023-03-10 16:40:15 +05:30
Tejaswini Chile and GitHub
f2684545d9
fix: Handle dialogflow hook without setting and credentials ( #6638 )
2023-03-09 20:11:08 +05:30
Tejaswini Chile and GitHub
fbdc79df76
Fix: skip invalid access token from sentry ( #6639 )
2023-03-09 16:28:45 +05:30
Tejaswini Chile and GitHub
54b7c98795
fix: Warn Facebook error code 100-2018218 ( #6632 )
2023-03-09 13:51:10 +05:30
Tejaswini Chile and GitHub
757e1bb1f7
fix: String interpolation ( #6635 )
2023-03-09 13:50:26 +05:30
Shivam Mishra and GitHub
4673cf8cf1
fix: timing in the API ( #6633 )
...
* fix: timing in the API
* test: fix params
2023-03-09 00:40:38 +05:30
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
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
Sojan Jose and GitHub
9bc0f67f54
feat: Add specs for WHATSAPP_CLOUD_BASE_URL env variable ( #6630 )
...
ref: #6622
2023-03-08 18:38:54 +05:30
Clairton Rodrigo Heinzen and GitHub
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
0fe05dc1b9
feat: add trigram index to tags ( #6615 )
...
Fixes : chatwoot/product#796
This migration adds a trigram index to the tags table on the name column. This is used to speed up the search for tags by name, this is a heavy sub-query when generating reports where labels are involved.
Trigram indexes are used to speed up LIKE queries; they are not used for equality queries. This is because the index is not a btree index, it is a GIN index. This means that the index is not ordered and so cannot be used for equality queries.
Read more: https://www.postgresql.org/docs/current/pgtrgm.html
The index is created concurrently: https://thoughtbot.com/blog/how-to-create-postgres-indexes-concurrently-in
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-08 18:11:07 +05:30
Sojan Jose and GitHub
d59fd6b747
chore: Ensure Template messages work even when bot is connected ( #6455 )
...
ref: #5592
2023-03-08 18:01:00 +05:30
Sojan Jose and GitHub
5166fd8948
chore: Update gems ( #6628 )
...
- Updating gems based on ruby advisory warnings
2023-03-08 17:40:21 +05:30
5214be67c7
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 14:00:00 +05:30
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
Tejaswini Chile and GitHub
9c9183a352
chore: spec ensuring first_reply_created doesn't trigger automations
...
Specs to ensure that first_reply_created event doesn't trigger automations
ref: #6618
2023-03-07 17:40:17 +05:30
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 and GitHub
2abc57300c
fix: Add a check for automation_created message in FIRST_REPLY_CREATED event ( #6618 )
2023-03-06 17:47:35 +05:30
Wojtek and GitHub
9c6eb8b03d
chore: Fix the comment in schedule.yml ( #6606 )
2023-03-03 10:22:25 -08:00
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
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 and GitHub
ec04ddc725
Fallback name branch ( #6591 )
2023-03-03 12:26:59 +05:30
Tejaswini Chile and GitHub
60fee519bd
Exception tracker with account ( #6603 )
2023-03-03 12:14:44 +05:30
Sivin Varghese and GitHub
a685e065da
fix: Fixes assignee and inbox name spacing issues ( #6589 )
2023-03-02 22:00:43 +05:30
Tejaswini Chile and GitHub
a4fc0eef4b
fix: Exception tracking for dialogflow bot service ( #6593 )
2023-03-02 21:33:07 +05:30
Shivam Mishra and GitHub
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
Sojan Jose and GitHub
b185059681
chore: Handle APM variables being empty ( #6594 )
...
- handle the case where the system fails to start when empty APM environment variables are present
2023-03-02 16:00:16 +05:30
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 and GitHub
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 and GitHub
61d0a63bf7
Fix: product#804: email sender improvement ( #6579 )
2023-03-02 10:57:14 +05:30
Tejaswini Chile and GitHub
f1827c82fd
Update contact create swagger ( #6576 )
2023-03-01 20:24:21 +05:30
Vishnu Narayanan and GitHub
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 and GitHub
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
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
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
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
Sojan Jose and GitHub
c9c3ac4b44
chore: Load only required APMs ( #6497 )
...
- Disable requiring the gems for all the APMs
- Switch to selectively requiring them.
2023-03-01 14:31:51 +05:30
Sojan Jose and GitHub
4c921d3d0e
chore: fix flaky tests ( #6569 )
...
- fixing flaky test in search service spec
2023-03-01 11:44:16 +05:30
Pranav Raj S and GitHub
e5090fcdc7
fix: Show only categories where published articles count > 0 ( #6567 )
2023-03-01 11:02:54 +05:30
Sivin Varghese and GitHub
0a993978ba
bug: Bulk actions Assign agent is not working ( #6568 )
2023-03-01 10:53:40 +05:30
Sojan Jose and GitHub
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 and GitHub
9bd47588fc
bug: Fixes i18n is not working on the help center dashboard ( #6562 )
2023-02-28 16:12:08 +05:30
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
Vishnu Narayanan and GitHub
42d9b6ffed
chore: upload log artifact in nightly gh action ( #6513 )
2023-02-28 12:18:06 +05:30
Chatwoot Bot and GitHub
04f30e3033
chore: Update translations ( #6534 )
2023-02-27 18:15:34 -08:00
Pranav Raj S and GitHub
69a1c4527f
fix: Fix i18n issues with help center ( #6559 )
2023-02-27 17:45:57 -08:00
Pranav Raj S and GitHub
b141fc1289
fix: Fetch categories by locale ( #6557 )
2023-02-27 09:12:14 -08:00
Tejaswini Chile and GitHub
ce807d3251
fix: Condition based backend validation ( #6554 )
2023-02-27 20:22:07 +05:30
Tejaswini Chile and GitHub
b76fda53a2
fix: Email subject automation issue ( #6533 )
2023-02-27 18:33:11 +05:30
Sivin Varghese and GitHub
eb55ff5c9b
chore: Adds the ability to automatically initialize the RTL direction ( #6531 )
2023-02-27 12:03:40 +05:30
Sivin Varghese and GitHub
bfb445186d
chore: Refactor reports css for RTL ( #6537 )
2023-02-27 11:50:21 +05:30
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
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 and GitHub
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
Shivam Mishra and GitHub
76650c86cd
chore: add --force-exclusion option ( #6535 )
...
The pre-commit hook would format event those files excluded in the config. This is because the files were passed as args instead of the linter running on the entire project. When this happens, the exclude is not respect.
The --force-exclusion flag instructs our machine overlords to force exlucde files specified in the configuration Exclude even if they are explicitly passed as arguments.
2023-02-24 17:15:11 +05:30
Pranav Raj S and GitHub
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 and GitHub
26e760a281
Add sender_name in the SMTP reply mails ( #6528 )
2023-02-24 13:20:56 +05:30
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 and GitHub
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 and GitHub
e7d0bf8a1b
chore: Display CSAT responses in the message itself. ( #6529 )
2023-02-23 18:11:46 -08:00
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 and GitHub
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 and GitHub
6407745571
chore: Woot tabs for RTL( #6518 )
2023-02-23 18:18:28 +05:30
Sivin Varghese and GitHub
409466bbd5
chore: RTL configuration ( #6521 )
...
* chore: RTL configuration
* Adds scss file
2023-02-23 17:50:44 +05:30
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 and GitHub
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 and GitHub
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 and GitHub
8935933266
fix: First attachment with caption for whatsapp channel ( #6486 )
2023-02-22 18:20:10 +05:30
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
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
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
Afonso Lage and GitHub
e3d9a0441d
chore: Bumped Ruby version on codespace image to 3.1.3 ( #6490 )
...
- Bumped Ruby version on codespace docker image to match the new Ruby version 3.1.3, which is required since from 2.14.
2023-02-21 17:05:46 +05:30
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
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
Vishnu Narayanan and GitHub
26f164d6a0
fix: foss_spec github action ( #6495 )
...
* fix: foss_spec gh action
* chore: upload log artifact in foss_spec gh action
* chore: ping foss_spec gh action runner os version to ubuntu-20.04
* fix: set nodeversion to 16
2023-02-20 23:37:41 +05:30
Nithin David Thomas and GitHub
c9242fac9e
fix: Warning in conversations page from participants ( #6479 )
2023-02-17 08:44:16 -08:00
Pranav Raj S and GitHub
b479b7c6d7
chore: Enable push permissions if available ( #6474 )
2023-02-17 08:43:28 -08:00
Nithin David Thomas and GitHub
4d719a8fe3
fix: Add a settings link for portals in sidebar ( #6475 )
2023-02-17 17:48:16 +05:30
Pranav Raj S and GitHub
71d8195845
fix: Add scoped CSS for participants ( #6472 )
2023-02-16 09:57:11 -08:00
59964a4f41
swagger: fixed invalid specification ( #5485 )
...
Currently, the swagger spec doesn't follow the Swagger 2.0 specification. So, I facing 4 errors when trying generate the Golang client for chatwoot.
Due to the spec, the binary field should use format: binary beside type: string
Signed-off-by: Giau. Tran Minh <hello@giautm.dev >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-02-16 17:47:26 +05:30
Sojan
8c49a2efc5
Merge branch 'release/2.14.0' into develop
2023-02-16 13:42:32 +05:30
Sojan
0e3eb51d7a
Merge branch 'release/2.14.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-02-16 13:42:21 +05:30
Sojan
0bbc8ebd6f
Bump version to 2.14.0
2023-02-16 13:41:10 +05:30
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
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
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 and GitHub
80784e3cab
feat: Add Google Translate API Integration ( #6454 )
2023-02-15 20:50:45 -08:00
Chatwoot Bot and GitHub
c12bdc8350
chore: Update translations ( #6449 )
2023-02-15 20:42:45 -08:00
Sojan Jose and GitHub
0888596b83
chore: Limit widget endpoint with rack attack ( #6465 )
...
ref: https://github.com/chatwoot/chatwoot/issues/1007#issuecomment-1427156094
2023-02-15 20:41:40 -08:00
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 and GitHub
949ddf68ba
chore: Refactor the notification service for participants ( #6461 )
2023-02-15 14:14:56 -08:00
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
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 and GitHub
98ff185d42
chore: Add formatting for the view count ( #6447 )
2023-02-13 14:29:14 -08:00
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 and GitHub
f0fbaacaf7
chore: Switch to csv-safe gem to avoid csv injection ( #6444 )
2023-02-13 13:38:36 -08:00
Chatwoot Bot and GitHub
ff9cadc9a0
chore: Update translations from Crowdin ( #6283 )
2023-02-13 13:34:53 -08:00
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 and GitHub
ba69f4cd35
test: fix time spec breaking circle CI ( #6443 )
2023-02-13 18:35:09 +05:30
Sojan Jose and GitHub
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 and GitHub
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 and GitHub
8db40f2d82
chore: Add chatwoot:on-message event ( #6425 )
2023-02-09 12:48:22 -08:00
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
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 and GitHub
c5b245977a
Added one more endpoint to attach tempfile and get logo ( #6407 )
2023-02-09 14:05:45 +05:30
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
Sojan Jose and GitHub
aab6b10b67
[Snyk] Fix for 9 vulnerabilities ( #6304 )
2023-02-08 18:29:41 +05:30
JanWarlen and GitHub
8a6f647027
fixBug: email notification error, Attachment Message without content ( #6408 )
2023-02-08 12:51:52 +05:30
Tejaswini Chile and GitHub
7c21cef467
Added event for conversation opened ( #6412 )
2023-02-08 12:05:22 +05:30
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 and GitHub
bc96e5ed22
fix: Add defaults for the cc, bcc emails ( #6405 )
2023-02-06 18:12:45 -08:00
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 and GitHub
d672aa357b
chore: Add subject to the slack message ( #6404 )
2023-02-06 12:42:06 -08:00
Pranav Raj S and GitHub
527bf593b1
fix: data.attachments is undefined for emails without body ( #6403 )
2023-02-06 11:45:15 -08:00
Muhsin Keloth and GitHub
5902c7a5e1
chore: Update user account availability status ( #6375 )
2023-02-06 11:07:31 -08:00
Sojan Jose and GitHub
6b839a0442
feat: Ability for super admin to impersonate a user ( #6382 )
2023-02-06 11:00:08 -08:00
brunosfg and GitHub
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
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 and GitHub
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
Vishnu Narayanan
46eeee7d92
Merge branch 'hotfix/2.13.1' into develop
2023-02-03 18:47:57 +05:30
Vishnu Narayanan
4ffe73a1ce
Merge branch 'hotfix/2.13.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-02-03 18:47:31 +05:30
Vishnu Narayanan
76b0279571
chore: Bump version to v2.13.1
2023-02-03 18:46:25 +05:30
Vishnu Narayanan
76731ae31a
chore: fix docker public assets issue #6341
2023-02-03 18:45:35 +05:30
Sojan Jose and GitHub
ef02fff71e
chore: Update Newrelic agent ( #6388 )
...
- update new relic agent to 8.15
2023-02-03 16:47:10 +05:30
Shubham Kumar and GitHub
51e0388779
feat: Skip gh thread lock gh action on forks ( #6381 )
2023-02-03 12:20:49 +05:30
30fcb47477
chore(deps): bump commonmarker from 0.23.6 to 0.23.7 ( #6342 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.6 to 0.23.7.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.6...v0.23.7 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 13:13:35 -08:00
Sivin Varghese and GitHub
84e46adf1c
fix: Cannot delete message with attachments without content ( #6378 )
2023-02-02 11:03:19 -08:00
Nithin David Thomas and GitHub
c9667190f6
fix: Increase font size for canned response list item ( #6380 )
2023-02-02 10:58:03 -08:00
Tejaswini Chile and GitHub
5cce04da78
Chore: specs for process_emails in message builder ( #6379 )
2023-02-02 18:36:52 +05:30
Divyansh Singh and GitHub
2030c2ebd6
fix: added cc and bcc email validation to message ( #6320 )
2023-02-02 17:32:04 +05:30
Tejaswini Chile and GitHub
2ab0b8552a
fix: Identity JSON response header ( #6326 )
2023-02-02 11:01:18 +05:30
Sojan Jose and GitHub
2d245cef91
chore: Enable language icelandic(is) ( #6373 )
2023-02-01 09:43:29 -08:00
Vishnu Narayanan and GitHub
992a367d93
fix: redis health status in superadmin panel ( #6363 )
2023-01-31 22:57:49 +05:30
Shivam Mishra and GitHub
e1e836cb59
chore: Run linters on staged files only ( #6347 )
...
- This PR speeds up the pre-commit hook to lint only the staged files instead of running it across all files as it does now.
2023-01-31 17:29:34 +05:30
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
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 and GitHub
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 and GitHub
747e6cacb9
fix: Fixes enter key sending text while mentions menu is active ( #6359 )
2023-01-30 16:59:22 +05:30
Muhsin Keloth and GitHub
024af909e3
feat: Add support of variables in macros and automation ( #6358 )
2023-01-30 13:17:33 +05:30
Tejaswini Chile and GitHub
6013cc9bea
fix: validate instagram story only while saving the message ( #6340 )
2023-01-30 13:03:59 +05:30
Pranav Raj S and GitHub
6bd4e8853b
fix: Update styles for canned responses modal ( #6350 )
2023-01-25 19:11:54 -08:00
Pranav Raj S and GitHub
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
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 and GitHub
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 and GitHub
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
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 and GitHub
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 and GitHub
9782f71bdf
feat: Shows the last activity, created at timestamp in the same row ( #6267 )
2023-01-23 21:50:16 +05:30
487d90207b
fix: Update node version in setup_20.04.sh ( #5986 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2023-01-23 16:34:45 +05:30
Tejaswini Chile and GitHub
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 and GitHub
4deff9ce77
Break words in phones - iPhones etc ( #6287 )
2023-01-23 11:36:11 +05:30
Pranav Raj S and GitHub
3b1036e3d6
chore: Add an event for conversation filter ( #6306 )
2023-01-19 14:07:02 -08:00
Sivin Varghese and GitHub
a745068473
chore: Adds a settings button to the notification settings from the notification popup ( #6233 )
2023-01-19 18:53:42 +05:30
Shivam Mishra and GitHub
845311a539
chore: add stale PR bot ( #6289 )
...
The PR only adds the stale label and puts a comment, does not close them (yet)
2023-01-19 18:53:21 +05:30
Sojan Jose and GitHub
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 and GitHub
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 and GitHub
a86c2705e9
Fix: more events tracking for SaaS ( #6234 ) ( #6298 )
2023-01-19 17:19:27 +05:30
Fayaz Ahmed and GitHub
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 and GitHub
6151e42bdf
Filter and return only approved templates ( #6288 )
2023-01-19 13:40:50 +05:30
Tejaswini Chile and GitHub
83ea2a87e2
Microsoft Re-authorization flow ( #6268 )
2023-01-19 01:06:01 +05:30
Prithvi Tharun and GitHub
8d60bd9970
Fixes #3655 ( #6264 )
2023-01-18 14:45:37 +05:30
Shivam Mishra and GitHub
37b9816827
feat: more events tracking for SaaS ( #6234 )
2023-01-17 21:53:40 -08:00
Pranav Raj S and GitHub
1df1b1f8e4
fix: Update the inbox id if changed ( #6272 )
2023-01-18 00:09:17 +05:30
Sojan
0b595211e3
Merge branch 'release/2.13.0' into develop
2023-01-17 18:20:54 +05:30