Shivam Mishra
657843960c
feat: account onboarding with clearbit ( #8857 )
...
* feat: add clearbit lookup
* chore: fix typo in .env.example
* refactor: split lookup to reduce cognitive complexity
* feat: add more fields to lookup
* feat: extend accounts controller
* feat: save extra data to custom_attributes
* feat: allow v2 update with custom_attributes
* feat: add update route
* refactor: reduce complexity
* feat: move update to v1 controller
* test: add locale test
* feat: remove update from routes
* test: update API for custom attributes
* test: all custom attributes
* fix: v2 tests
* test: enterprise accounts controller
* fix: clearbit payload
* fix: with modified env
* feat: allow custom attributes updates to profile
* refactor: reduce complexity
* feat: allow clearbit api key in installation config
* refactor: move clearbit to internal
* feat: allow clearbit
* chore: add display_title for June
* feat: allow more internal options
* refactor: use globalconfig to fetch clearbit token
* test: move response body to a factory
* refactor: update ops
* chore: remove clearbit from .env.example
* chore: apply suggestions from code review
Co-authored-by: sojan-official <sojan@chatwoot.com>
---------
Co-authored-by: sojan-official <sojan@chatwoot.com>
2024-02-12 23:21:42 +05:30
Vishnu Narayanan
5036b28e45
chore: fix git_sha in instance health ( #8893 )
...
- Fix git-hash in super admin instance health page for Heroku installations
- Fix git boundary not set error for docker/heroku deployments which remove .git directory
2024-02-12 14:33:15 +05:30
Shivam Mishra
8acc818f68
feat: allow bulk invite create via email ( #8853 )
...
* feat: add agent builder
* feat: use new agent builder
* refactor: validate limit
* test: agent limits
* feat: allow bulk create
* feat: allow bulk create
* refactor: rename current_user to inviter in AgentBuilder
* refactor: move limits tests to enterprise
* test: send correct params
* refactor: account builder returns both user and account_user
* chore: Revert "refactor: account builder returns both user and account_user"
This reverts commit 1419789871e8a3b8ff57af27fe53925b1486a839.
* feat: return user as is
* Update agent_builder.rb
- minor update
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2024-02-06 09:04:04 +05:30
Muhsin Keloth
39e27d2a23
feat: Delete all/read notifications ( #8844 )
2024-02-05 13:33:05 +05:30
Shivam Mishra
0c35a77d4b
feat: Show a confirmation banner if the email is not verified ( #8808 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2024-02-02 12:31:29 -08:00
Shivam Mishra
07ea9694a3
feat: new accounts controller for signup+onboarding ( #8804 )
...
* feat: add v2 accounts controller
* feat: allow empty account and user name
* feat: ensure and is present for v1 signup
* test: remove validation checks
* chore: apply suggestions
* chore: revert en.yml formatting
* chore: line at EOF
* fix: routes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2024-02-02 16:10:45 +05:30
Muhsin Keloth
d3c1fce761
feat: Inbox item actions ( #8838 )
...
* feat: Inbox item actions
* feat: add inbox id in push event data
* Update InboxList.vue
* feat: complete actions
* Update InboxList.vue
* Update InboxView.vue
* chore: code cleanup
* chore: fix specs
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2024-02-02 11:58:47 +05:30
Sojan Jose
390cd756e8
chore: Reorganize the installation config settings ( #8794 )
...
- Reorganizing installation config settings to move more configurations into UI from environment variables
- Changes to installation config to support premium plans in the enterprise edition
- Fixes the broken premium indicator in account/show and accounts/edit page
2024-01-31 16:48:42 +04:00
Muhsin Keloth
f2115b15f7
feat: Add inbox view page ( #8814 )
...
* feat: Add inbox view page
* Update accounts.js
* Update index.js
2024-01-30 13:55:20 +05:30
Sojan
48e638cc56
Bump version to 3.5.2
2024-01-19 15:14:49 +04:00
Sojan
4c4eb4bd90
Bump version to 3.5.1
2024-01-17 13:47:57 +04:00
Chatwoot Bot
e467d15f2c
chore: Update translations ( #8544 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2024-01-16 13:49:38 +04:00
Sojan
acf24649b0
Bump version to 3.5.0
2024-01-16 11:14:38 +04:00
Sojan Jose
316cf35795
chore: Add display manifest to whitelabel settings ( #8708 )
...
- Adds display manifest to white label settings
- Improve the app config rendering with options for display name and description
2024-01-16 09:50:23 +04:00
Kevin Lin
dd09d560d5
fix: logic error when setting new relic logging forwarding ( #8687 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2024-01-11 21:05:04 +05:30
Kevin Lin
cf90b898f4
feat: enable new relic log decorations ( #8616 )
...
This enables local decorating of logs when using a new relic. It can be used when you use a log forwarding agent to do additional enrichment on APM logs before forwarding to the new relic.
2024-01-04 15:34:55 -08:00
Sojan
29478880ff
Bump version to 3.4.0
2023-12-18 21:22:06 -08:00
Sojan Jose
0b2f539ad0
chore: Update self-hosted billing redirect ( #8580 )
2023-12-18 16:34:47 -08:00
Sojan Jose
376de685fb
chore: Adds API for agent bot avatar upload ( #8533 )
...
Adds API for agent bot avatar upload
- accounts/agent_bot
- platform/agent_bot
2023-12-11 19:02:11 -08:00
Sivin Varghese
27239ae14a
feat: Adds API for retry messages in conversation ( #8518 )
2023-12-11 09:33:39 +05:30
Nithin David Thomas
f002870c6a
feat: Super admin design improvements ( #8517 )
...
- Revamp the super admin design
- Introduce a new settings page for support and billing settings
- Move the access tokens into users, agent bots and platform app show pages
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-12-08 19:40:35 -08:00
Muhsin Keloth
449503bb94
feat: Snooze notification API ( #8439 )
2023-12-04 12:32:35 +05:30
Muhsin Keloth
bc6e3e598f
feat: Delete notification by id API ( #8430 )
2023-11-29 22:45:11 +05:30
Sivin Varghese
ad8ba299c9
feat: Author sections in category block and category list ( #8414 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-11-27 15:13:38 +05:30
Muhsin Keloth
6c8dacfa0d
feat: Facebook delivery reports ( #8136 )
2023-11-20 12:22:45 +05:30
Sojan
4244945e7b
Bump version to 3.3.1
2023-11-18 10:23:18 -08:00
Sojan
6e22695b85
Bump version to 3.3.0
2023-11-17 20:34:39 -08:00
Sojan Jose
7380f0e7ce
chore: Making OpenAI label suggestions optional ( #8374 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-11-17 19:54:15 -08:00
Sojan Jose
0e19a4196b
chore: Endpoint to purge portal logo ( #8365 )
2023-11-18 01:13:22 +05:30
Sojan Jose
5f6e974531
chore: Add website_token into request logs ( #8362 )
...
- Log website_token into request logs to identify specific widgets
2023-11-15 20:32:21 -08:00
Nithin David Thomas
1948bef9ac
fix: Fix line break issue with link in portal header ( #8323 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-11-08 20:38:38 -08:00
Sivin Varghese
f018b0013c
feat: Updated the design of the article page ( #8166 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-11-08 18:05:13 -08:00
Sivin Varghese
268e26625b
feat: Adds the ability to see the popular articles ( #8152 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-11-08 18:01:07 -08:00
Sivin Varghese
7041d86e4d
feat: Updated home page design ( #8106 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-11-08 17:59:03 -08:00
Sivin Varghese
78398ee800
feat: Updated public portal header design ( #8089 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-11-08 17:56:59 -08:00
Gabriel Quina
4cb981d81b
fix: Semantics across portuguese translations ( #8291 )
2023-11-08 10:42:57 +05:30
Vishnu Narayanan
677888bcde
feat: Add job to remove stale contact inboxes ( #8096 )
2023-11-06 20:24:30 -08:00
Nithin David Thomas
39d0748a5b
feat: Lets users insert connected portal article into replies [CW-2282] ( #8117 )
...
- Lets users insert connected portal articles into replies
https://linear.app/chatwoot/issue/CW-2282/list-all-the-top-articles-from-the-connected-help-center
https://linear.app/chatwoot/issue/CW-1453/container-view-for-showing-search-input-and-result-items
2023-11-04 02:57:25 -07:00
Nithin David Thomas
3b84b0fc47
feat: Creates 404 page for public portal [CW-2727] ( #8293 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-11-04 04:59:44 +05:30
Chatwoot Bot
e8f4ac632f
chore: Update translations ( #8255 )
2023-11-01 15:13:32 -07:00
Pranav Raj S
1e70223ed7
chore: Upgrade Cypress to 13.4.0 ( #8271 )
2023-10-31 19:39:34 -07:00
Chatwoot Bot
483d55df91
chore: Update translations ( #8161 )
2023-10-25 19:20:30 -07:00
Sojan
f96b54e57f
Bump version to 3.2.0
2023-10-17 17:54:38 -07:00
Chatwoot Bot
3b0788c3be
chore: Update translations ( #8024 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-10-16 19:55:25 -07:00
Muhsin Keloth
0bc20873f6
feat: Add delivery status for Twilio Channel ( #8082 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-10-11 21:17:46 +05:30
Shivam Mishra
1b63adfb2e
feat: add option for reply to in context menu ( #8043 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-10-05 20:01:20 +05:30
Mazen Khalil
5c9ab21617
fix: Application not loading after setting RACK_ATTACK_LIMIT ENV variable [CW-2587] ( #8044 )
2023-10-04 15:56:20 +05:30
Sojan Jose
826d9ec5a7
chore: Refactor Response Bot Data Schema ( #8011 )
...
This PR refactors the schema we introduced in #7518 based on the feedback from production tests. Here is the change log
- Decouple Inbox association to a new table inbox_response_sources -> this lets us share the same response source between multiple inboxes
- Add a status field to responses. This ensures that, by default, responses are created in pending status. You can do quality assurance before making them active. In future, this status can be leveraged by the bot to auto-generate response questions from conversations which require a handoff
- Add response_source association to responses and remove hard dependency from response_documents. This lets users write free-form question answers based on conversations, which doesn't necessarily need a response source.
2023-10-01 19:31:38 -07:00
Muhsin Keloth
24fe3805d8
feat: Slack link unfurling ( #7940 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-09-29 19:35:56 +05:30
Chatwoot Bot
8ce7539c5e
chore: Update translations ( #8016 )
2023-09-29 15:46:29 +05:30
Pranav Raj S
12a64f1b10
chore: Add an API to find the contacts using contact inbox sourceId ( #8012 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2578/search-by-facebook-id
2023-09-28 15:26:28 -07:00
Sojan Jose
f7f04f788e
feat: Add an option to view the generated articles by Robin AI ( #7995 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-09-27 18:16:36 +05:30
Chatwoot Bot
e8b7e791a5
chore: Update translations ( #7969 )
2023-09-27 12:47:03 +05:30
Muhsin Keloth
cbbe939662
fix: Set avatar for users(agent/contact) in slack channels ( #7960 )
2023-09-26 09:38:14 +05:30
Sojan
ddce999385
Bump version to 3.1.1
2023-09-22 19:54:20 -07:00
Chatwoot Bot
73c119cd3d
chore: Update translations ( #7937 )
2023-09-19 21:19:46 -07:00
Shivam Mishra
53d530b815
feat: Add upload under account scope ( #7914 )
2023-09-19 09:51:54 +05:30
Sojan
47fd0ea2b2
Bump version to 3.1.0
2023-09-15 16:45:59 -07:00
GitStart
0245e01763
fix: Enable serbian translation ( #7905 )
...
Enable language: Serbian.
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com>
2023-09-13 00:36:34 -07:00
Chatwoot Bot
fcd40e9636
chore: Update translations ( #7887 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-09-12 18:09:47 -07:00
Shivam Mishra
5c74674c2b
feat: Update rack attack IP limit ( #7866 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-09-06 18:56:42 +05:30
Muhsin Keloth
ce4cfee8bd
fix: Attachment sent from slack doesn't reach to chatwoot ( #7852 )
2023-09-05 17:23:58 +05:30
Onur YAŞAR
2483d99d3c
fix: Update Portal Turkish Translations ( #7833 )
2023-09-04 18:37:34 +05:30
Shivam Mishra
9ebabb9832
feat: common attachment endpoint follow-up changes ( #7826 )
2023-09-01 15:18:48 +07:00
Shivam Mishra
deec1d213b
feat: add a common upload endpoint ( #7806 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-08-31 10:36:02 +07:00
Pranav Raj S
4101a7b566
chore: Update translations from Crowdin ( #7750 )
2023-08-18 12:48:50 -07:00
Pranav Raj S
8015490aba
chore: Update translations ( #7731 )
2023-08-16 11:18:14 -07:00
Sojan Jose
2df83276e0
chore: Ability to disable rack attack on widget endpoints ( #7729 )
2023-08-15 17:44:25 -07:00
Pranav Raj S
310c127693
chore: Update translations ( #7728 )
2023-08-15 13:47:38 -07:00
Pranav Raj S
47b6967dad
fix: Update account data seeder to avoid invalid information ( #7673 )
...
- The message sender was incorrect. Incoming messages were created under the contact's name, and outgoing messages were created under the user's name instead of the reverse.
- The seed user's email address was incorrect in the message data.
- The Sendmail configuration overrode the Letter Opener config which made it difficult to test the email.
- This PR also fixes an ESLint lint issue on develop.
2023-08-04 16:32:54 -07:00
Pranav Raj S
9ddd428935
feat: Update the slack integration-flow to allow users to select the channel ( #7637 )
2023-07-28 14:50:30 -07:00
Sojan Jose
846f520ad2
feat: toggle typing and update last seen endpoints for client apis ( #7621 )
...
- Add toggle_typing endpoint for client APIs
- Adds update last seen endpoint for client APIs
Fixes : #7581
2023-07-26 20:40:48 +03:00
Sojan Jose
480f34803b
feat: Response Bot using GPT and Webpage Sources ( #7518 )
...
This commit introduces the ability to associate response sources to an inbox, allowing external webpages to be parsed by Chatwoot. The parsed data is converted into embeddings for use with GPT models when managing customer queries.
The implementation relies on the `pgvector` extension for PostgreSQL. Database migrations related to this feature are handled separately by `Features::ResponseBotService`. A future update will integrate these migrations into the default rails migrations, once compatibility with Postgres extensions across all self-hosted installation options is confirmed.
Additionally, a new GitHub action has been added to the CI pipeline to ensure the execution of specs related to this feature.
2023-07-21 18:11:51 +03:00
Sojan Jose
30f3928904
chore: bump up version to 3.0.0 ( #7574 )
...
Bump the Chatwoot version to 3.0.0
ref: https://github.com/orgs/chatwoot/discussions/7570
2023-07-21 15:02:05 +03:00
Sivin Varghese
3054a4cb59
feat: Add support for dark mode in dashboard ( #7460 )
...
- Add config for TailwindCSS
- Enable HMR
- Add a config in LocalStorage for Dark Mode
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2023-07-05 12:13:32 -07:00
Tejaswini Chile
71837bedf9
feat: Ability to customise the email sender name [CW-1629] ( #7345 )
2023-07-04 20:46:01 +05:30
Chatwoot Bot
3c4514c9f7
chore: Update translations ( #7415 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-07-04 14:23:56 +05:30
Pranav Raj S
b57063a8b8
feat: Support dark mode in login pages ( #7420 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2023-07-01 07:49:52 +05:30
Pranav Raj S
022f4f899f
Revert "feat: Support Azure single-tenant application using the Graph… ( #7436 )
2023-06-29 16:50:18 -07:00
Tejaswini Chile
d05c953eef
feat: Support Azure single-tenant application using the Graph API ( #6728 ) ( #6878 )
2023-06-28 08:13:08 +05:30
Pranav Raj S
f1f14312fe
chore: Upgrade Tailwind CSS to 3.3.2 ( #7380 )
2023-06-26 11:27:16 -07:00
Pranav Raj S
4f8ce7b597
chore: Add support for dark mode logo ( #7378 )
2023-06-23 12:06:01 -07:00
Chatwoot Bot
54bf33083e
chore: Update translations ( #7372 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-06-23 16:01:14 +05:30
Sivin Varghese
93d8157a55
feat: Adds Lithuanian language selectable as site language ( #7354 )
2023-06-20 17:29:05 +05:30
Chatwoot Bot
c410fe333a
chore: Update translations ( #7347 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-06-19 17:27:43 +05:30
Shivam Mishra
e8a27bea4b
feat: Add APIs for limit check in accounts ( #7242 )
2023-06-15 20:11:40 -07:00
Sojan
e383e9259b
Bump version to 2.18.0
2023-06-15 18:44:13 +05:30
Tejaswini Chile
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Sojan Jose
48f2e58e59
feat: Ability to update avatars from super admin ( #7264 )
...
- Ability to update user avatars from super admin
- Ability to update bot avatars from super admin
fixes : #7060
2023-06-09 15:32:24 +05:30
Marcel Stör
12cb97db5f
fix: Quote database env variables ( #7216 )
...
Database credentials, and passwords, in particular, can easily contain characters that are reserved in YAML and must be quoted.
Example: a case with a password starting with ']'.
2023-06-05 14:19:35 +05:30
Shivam Mishra
f1a77ba934
feat: allow superadmins to reset cache keys for IndexedDB ( #7180 )
...
Allows super admins to reset the cache for an account. This will force the front end to fetch the data again on the next load.
fixes: https://linear.app/chatwoot/issue/CW-1817
Co-authored-by: Sojan <sojan@pepalo.com>
2023-05-29 23:05:17 +05:30
Sojan Jose
bfaca851f1
chore: Throttle conversation transcript endpoints ( #7155 )
...
- Throttle conversation transcripts to 20 per hour via rack attack
Fixes: https://linear.app/chatwoot/issue/CW-1630/throttle-transcript-endpoint
2023-05-24 19:56:23 +05:30
Tejaswini Chile
d481b9fbcf
feat: Limit the number of custom filters per user ( #7101 )
2023-05-22 18:03:15 +05:30
Sojan
1f4d096804
Merge branch 'hotfix/2.17.1' into develop
2023-05-19 20:56:16 +05:30
Sojan
dcdd58bae5
Bump version to 2.17.1
2023-05-19 16:00:27 +05:30
Sojan Jose
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
Sojan
7b8bcaba11
Bump version to 2.17.0
2023-05-16 12:33:16 +05:30
Pranav Raj S
a3547c5a1f
feat: Show Table of Contents in the article sidebar ( #7085 )
2023-05-15 18:43:16 -07:00
Nithin David Thomas
5a8eff35b5
chore: Enable support for hebrew in dashboard [CW-1736] ( #7077 )
2023-05-15 14:03:29 +05:30
Muhsin Keloth
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
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
Shivam Mishra
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
Vishnu Narayanan
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
Chatwoot Bot
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-05-06 15:10:50 +05:30
Sojan Jose
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
Sojan Jose
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
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
Tejaswini Chile
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
Chatwoot Bot
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-04-28 20:28:03 +05:30
Muhsin Keloth
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
Chatwoot Bot
3a35281b3f
chore: Update translations ( #6941 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-04-21 15:28:56 +05:30
Shivam Mishra
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
Vishnu Narayanan
76d4c22c2d
fix: build_id in heroku installations ( #6932 )
2023-04-19 21:39:10 +05:30
Sojan
cb2f86b983
Bump version to 2.16.0
2023-04-18 01:02:19 +05:30
Vishnu Narayanan
4505c5dda3
chore: add build id to settings page ( #6873 )
...
- Adds a build Id to the settings page
2023-04-18 00:35:35 +05:30
Chatwoot Bot
9090eabb8a
chore: Update translations ( #6895 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-04-17 14:45:49 +05:30
Shivam Mishra
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
2023-04-17 14:43:10 +05:30
Tejaswini Chile
2b736f4698
fix: Update from_email in the name to fix the syntax error ( #6900 )
2023-04-13 10:42:38 -07:00
Tejaswini Chile
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
Shivam Mishra
17ff1f11a7
feat: better download for conversation traffic heatmap ( #6755 )
...
* feat: genearte report in a grid
* refactor: update API usage
* refactor: separate generate method
* refactor: abstract transform_data
* feat: annotate with comments
* feat: add explicit timezone
* feat: download data only in user timezone
* fix: dates included in heatmap
2023-04-11 09:40:54 +05:30
Tejaswini Chile
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
Chatwoot Bot
040e9a732f
chore: Update translations ( #6854 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-04-07 16:05:33 +05:30
Vishnu Narayanan
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
Pranav Raj S
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
Shivam Mishra
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
Shivam Mishra
bc8e8f3bb5
feat: add index to conversation id and account_id ( #6757 )
...
- This PR adds an index to conversations id and account_id. This improves the performance of some reports query
2023-03-28 22:34:04 +05:30
Chatwoot Bot
7de89b6f9b
chore: Update translations ( #6751 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-27 14:45:50 +05:30
Shivam Mishra
00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] ( #6710 )
...
* feat: allow caching of labels in the account scope
* feat: send cache keys in account json response
* feat: kickstart web worker
* feat: setup basic architecture for workers
* feat: install idb
* feat: add datamanger
* fix: typos
* refactor: rename method
* feat: make init db a manual step
* refactor: separate accountIdFromRoute
* feat: cache enabled API client
* feat: enable caching for inboxes and labels
* feat: enable cache for team
* feat: manage exceptions for team
* feat: add team to data manager
* feat: add a generic listener
* refactor: send only cache keys
* refactor: separate validate method
* feat: add listeners
* feat: add event for revalidate
* feat: add cache keys endpoint
* refactor: fetch cache keys instead of full account data
* fix: key pattern
* feat: don't fetch account for cache_keys
* fix: cache key base class
* refactor: cache keys helper
* feat: add helper
* fix: cache-key update logic
* feat: delete indexeddb on logout
* feat: remove worker.js
* refactor: move data-manager
* refactor: name of file
* feat: add test for DataManager
* refactor: add fake idb to jest setup
* test: cache keys helper
* test: cache keys helper
* test: cache_keys in accounts controller
* refactor: remove cache_keys context
* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
Chatwoot Bot
1370cf3c07
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-23 13:30:21 +05:30
Shivam Mishra
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Tejaswini Chile
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Sojan
565b87fa98
Bump version to 2.15.0
2023-03-15 19:57:59 +05:30
Chatwoot Bot
7331154f04
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-15 15:23:38 +05:30
Pranav Raj S
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Sojan Jose
e8a174f689
chore: Add sidekiq metrics to newrelic ( #6659 )
...
* chore: Add sidekiq stats to newrelic
* chore: add gemlock
2023-03-14 20:50:28 +05:30
Sojan Jose
7cbf1857e4
chore: Set statement timeout for Postgres ( #6641 )
...
By default, Rails does not set a timeout on database statements. For example, this will run for a full day, even if your ruby process goes away. But it's configurable in the database.yml with the statement_timeout variable.
Hence we are enforcing a 14s timeout by default. Migration commands inside chatwoot will run with a 10 minutes timeout. For specific cases like migrations, we can override this timeout using the environment variable POSTGRES_STATEMENT_TIMEOUT while starting a new rails console.
Test the timeouts from the rails console using.
```
ActiveRecord::Base.connection.execute("SELECT pg_sleep(15);")
```
ref: https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts#postgresql
ref: https://til.hashrocket.com/posts/b44baf657d-railspg-statement-timeout-
2023-03-13 18:34:18 +05:30
Tejaswini Chile
757e1bb1f7
fix: String interpolation ( #6635 )
2023-03-09 13:50:26 +05:30
Chatwoot Bot
5214be67c7
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-08 14:00:00 +05:30
Wojtek
9c6eb8b03d
chore: Fix the comment in schedule.yml ( #6606 )
2023-03-03 10:22:25 -08:00
Shivam Mishra
a6405ea339
fix: migration script to run on all reporting events ( #6590 )
...
* fix: migration script to run on all reporting events
* fix: don't update user_id if it is already present
* refactor: create a new migration
* feat: update schema
* feat: ignore events with bot handoff
* feat: prefetch conversations with handoff events
* Revert "feat: update schema"
This reverts commit 25ed2856e62655f5f1db14fd0cffad3a69d0b1fb.
* feat: update schema
* refactor: separate method get_conversations_with_bot_handoffs
* refactor: cognitive complexity
* refactor: early return if last_bot_reply is blank
* feat: add async_database_migration queue
* feat: update queue priority
2023-03-02 19:03:31 +05:30
Sojan Jose
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
Tejaswini Chile
61d0a63bf7
Fix: product#804: email sender improvement ( #6579 )
2023-03-02 10:57:14 +05:30
Vishnu Narayanan
d870b0815a
feat: Audit log APIs ( #6434 )
...
- Adds the appropriate APIs for Audit Logs.
ref: #6015
2023-03-01 20:02:58 +05:30
Chatwoot Bot
40e81c63ad
chore: New Crowdin updates ( #6566 )
...
- Pulling the latest translation updates from Crowdin.
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2023-03-01 14:35:04 +05:30
Sojan Jose
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
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
Chatwoot Bot
04f30e3033
chore: Update translations ( #6534 )
2023-02-27 18:15:34 -08:00
Pranav Raj S
69a1c4527f
fix: Fix i18n issues with help center ( #6559 )
2023-02-27 17:45:57 -08:00
Tejaswini Chile
26e760a281
Add sender_name in the SMTP reply mails ( #6528 )
2023-02-24 13:20:56 +05:30
Sojan
0bbc8ebd6f
Bump version to 2.14.0
2023-02-16 13:41:10 +05:30
Shivam Mishra
7be2ef3292
feat: Google OAuth for login & signup ( #6346 )
...
This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account.
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2023-02-16 11:12:02 +05:30
Pranav Raj S
80784e3cab
feat: Add Google Translate API Integration ( #6454 )
2023-02-15 20:50:45 -08:00
Sojan Jose
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
Pranav Raj S
7044eda281
chore: Add controllers for conversation participants ( #6462 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com>
Co-authored-by: Sojan Jose <sojan@chatwoot.com>
2023-02-15 16:33:31 -08:00
Chatwoot Bot
ff9cadc9a0
chore: Update translations from Crowdin ( #6283 )
2023-02-13 13:34:53 -08:00
Tejaswini Chile
c5b245977a
Added one more endpoint to attach tempfile and get logo ( #6407 )
2023-02-09 14:05:45 +05:30
Vishnu Narayanan
46eeee7d92
Merge branch 'hotfix/2.13.1' into develop
2023-02-03 18:47:57 +05:30
Vishnu Narayanan
76b0279571
chore: Bump version to v2.13.1
2023-02-03 18:46:25 +05:30
Sojan Jose
2d245cef91
chore: Enable language icelandic(is) ( #6373 )
2023-02-01 09:43:29 -08:00
Vishnu Narayanan
b1af814eab
feat: add chatwoot instance status in superadmin ( #6045 )
...
* feat: add chatwoot instance status in superadmin
* feat: add redis metrics to instance health page
* chore: fix rubocop
* chore: rescue redis no connection
* chore: add rspec
* chore: refactor
* feat: add instance health to /api
* chore: rescue postgres
* chore: fix spec
2023-01-30 18:37:51 +05:30
Tejaswini Chile
83ea2a87e2
Microsoft Re-authorization flow ( #6268 )
2023-01-19 01:06:01 +05:30
Sojan
dbe27e081e
Bump version to 2.13.0
2023-01-17 18:19:12 +05:30
Chatwoot Bot
032699930c
chore: Update translations from Crowdin ( #6240 )
2023-01-16 16:07:00 -08:00
Tejaswini Chile
00cbdaa8ca
Feat: Support for Microsoft Oauth in Email Channel ( #6227 )
...
- Adds the backend APIs required for Microsoft Email Channels
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Sojan <sojan@pepalo.com>
2023-01-17 02:39:05 +05:30
Sojan Jose
72f206025a
chore: Fix connection pool ( #6005 )
...
We want to allocate as much database connection to the pool to match the sidekiq concurrency configuration.
ref: https://maxencemalbois.medium.com/the-ruby-on-rails-database-connections-pool-4ce1099a9e9f
fixes : #6004
2023-01-16 17:50:23 +05:30
Sojan Jose
28c8023bad
chore: Update translations ( #6211 )
2023-01-09 21:23:11 -08:00
Pranav Raj S
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2023-01-09 11:52:31 -08:00
Pranav Raj S
cbfbe6dbad
feat: Add backend APIs for Dyte integration ( #6197 )
...
- The backend changes required for Dyte Integration.
2023-01-09 12:37:18 +05:30
Sojan Jose
269ad8f697
Fix: Errors in Heroku deployments ( #6182 )
...
Due to 86ca7f4a8d the redis configuration in Heroku deployments was breaking, temporarily reverting the part until we identify a fix.
fixes : #5938
2023-01-05 18:36:21 +05:30
Sojan Jose
ab87f9d6c0
chore: Update translations ( #6159 )
2023-01-01 21:40:15 -08:00
Pranav Raj S
c11eebb83a
Bump version to v2.12.1
2022-12-30 13:54:37 -08:00
Sojan Jose
10a03cae24
chore: Update translations ( #6129 )
2022-12-30 13:54:37 -08:00
Sojan Jose
78251f54c9
chore: Update translations ( #6113 )
2022-12-30 13:54:37 -08:00
Muhsin Keloth
37aa602c61
chore: Increase the max concurrent number of devices ( #6121 )
2022-12-30 13:54:37 -08:00
giquieu
94ca2fd229
feat: Send audio longer than 10 seconds and Add Prop audio-record-format ( #6108 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-12-30 13:54:37 -08:00
Sojan
3ebfb3a140
Bump version to 2.12.0
2022-12-19 22:44:43 +05:30
Pranav Raj S
2dfe38ae4d
chore: Cleanup feature flags ( #6096 )
...
- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
2022-12-19 22:38:30 +05:30
Pranav Raj S
aaacf9d4d2
feat: Allow users to disable marking offline automatically ( #6079 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
2022-12-16 11:59:27 -08:00
Sojan Jose
72fcaa739c
chore: Update translations from Crowdin
2022-12-15 14:11:15 +05:30
smartdev58
2a1a38f986
chore: Add feature flags for campaigns and website channel ( #5778 )
...
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-12-14 16:06:26 -08:00
Pranav Raj S
6200559123
chore: Update analytics events ( #6050 )
2022-12-08 20:53:13 -08:00
Sojan Jose
06434bc655
chore: Update translations from Crowdin ( #5952 )
2022-12-05 16:04:49 -08:00
Vishnu Narayanan
4755031e1d
feat: use sendmail for email as default ( #5899 )
...
* feat: use sendmail for the email if SMTP_ADDRESS is empty
2022-11-29 09:13:27 +05:30
Sojan Jose
606fc9046a
feat: Allow users to mark a conversation as unread ( #5924 )
...
Allow users to mark conversations as unread.
Loom video: https://www.loom.com/share/ab70552d3c9c48b685da7dfa64be8bb3
fixes : #5552
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-24 10:55:45 +03:00
Pranav Raj S
e593e516b8
chore: Enable Latvian (lv) language ( #5920 )
2022-11-22 12:54:13 -08:00
Fayaz Ahmed
47676c3cce
feat: Allow agent-bots to be created from the UI ( #4153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-11-17 22:15:58 -08:00
Sojan
f0ef497005
Bump version to 2.11.0
2022-11-16 00:40:38 +00:00
Sojan Jose
e7f1a9ab4d
chore: Enable Macros for all accounts ( #5858 )
...
- migrations to enable macros for all accounts
2022-11-16 00:33:09 +00:00
Sojan Jose
3184c8964d
chore: Update translations from Crowdin ( #5831 )
2022-11-09 20:26:30 -08:00
Muhsin Keloth
5febdde938
chore: Add feature flag for mobile v2 ( #5797 )
2022-11-08 21:56:02 -08:00
Sojan Jose
2e42821c48
chore: Update translations from Crowdin ( #5810 )
2022-11-08 09:36:24 -08:00
mjattiot
c121b44df4
fix: GCP Redis managed don't support redis client setname command ( #4422 )
...
If using Redis on GCP, actionable will attempt to use the Redis client setname command. However, the command is not supported.
So Introducing `REDIS_DISABLE_CLIENT_COMMAND` environment variable will let you solve this issue.
ref: https://github.com/rails/rails/issues/38244#issuecomment-575454444
2022-11-02 19:14:51 -07:00
Sojan Jose
8b659de73d
chore: Use connection_pool for redis ( #5790 )
...
fixes : #3199
2022-11-02 17:31:20 -07:00
Arkadiy Ayvazyan
86ca7f4a8d
fix: Autoloading during initialization deprecation warning ( #5628 )
...
Autoloading during initialization deprecation warning fix
fixes : #4012
2022-11-01 20:19:42 -07:00
Stephen Paul Weber
f2753df8df
chore: Use multiple connections in Redis connection pool ( #5574 )
...
- The initializer set up a connection pool, but both pools created namespace wrappers around a single global connection. Splitting them up.
2022-11-01 16:49:26 -07:00
Tejaswini Chile
a274a1702a
chore: Macros enhancement ( #5609 )
...
- Fixed send_attachment and send_email_transcript
- Fixed duplicate activity messages
- Fixed Order of execution
Fixes : #5584
2022-10-20 19:41:48 -07:00
Nithin David Thomas
1fb1be3ddc
feat: Add search functionality for public portal ( #5683 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-10-19 17:09:32 -07:00
Sojan Jose
199f462af4
chore: Update translations from Crowdin ( #5663 )
2022-10-19 13:27:10 -07:00
smartdev58
e34e975776
chore: ability to delete user in super admin console
...
fixes : #4164
2022-10-18 01:05:28 -07:00