Sojan
e17f0ea753
Merge branch 'release/3.10.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-06-17 23:59:25 -07:00
Sojan
6b0a5bea43
Bump version to 3.10.0
2024-06-17 23:58:50 -07:00
Ali Behnamfard and GitHub
c5979c4575
feat: Add smtp timeout options ( #9613 )
...
- Added two Actionmailer's option (open_timeout & read_timeout) to environment variables.
2024-06-17 22:36:37 -07:00
Muhsin Keloth and GitHub
9046730206
feat: FCM HTTP v1 API changes ( #9629 )
...
Fixes https://linear.app/chatwoot/issue/CW-3210/legacy-firebase-changes
2024-06-18 10:38:06 +05:30
Sojan Jose and GitHub
7968e98529
chore: Stop processing auto-response emails ( #9606 )
...
Stop processing auto-response emails
https://www.notion.so/chatwoot/Avoid-Auto-Replies-sorcerer-s-apprentice-mode-55ffb09efbd7451994f1ff852de4c168?pvs=4
2024-06-13 14:19:11 -07:00
08516e6c43
feat: Enable gmail channel ( #9622 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-13 13:01:05 +05:30
Sojan Jose and GitHub
5abf0e960a
chore: Security upgrade for gems ( #9635 )
...
- Security upgrade for gems
2024-06-12 20:02:15 -07:00
650fee58a6
feat: add Google Email fetch and OAuth token refresh service ( #9603 )
...
This PR adds the following changes
1. Add `Imap::GoogleFetchEmailService` and
`Google::RefreshOauthTokenService`. The
`Google::RefreshOauthTokenService` uses
`OmniAuth::Strategies::GoogleOauth2` which is already added as a packge
2. Update `Inboxes::FetchImapEmailsJob` to handle Google inboxes
3. Add SMTP settings for Google in `ConversationReplyMailerHelper` to
allow sending emails
## Preview
#### Incoming emails

#### Outgoing email

---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-11 14:22:03 +05:30
Sivin Varghese and GitHub
9689bbf0dd
feat: Adds the ability to disable the "new message notification" popup ( #9594 )
2024-06-11 08:14:58 +05:30
Sivin Varghese and GitHub
20b2dc8c6f
fix: Font size and spacing issues in article editor ( #9607 )
2024-06-07 22:40:52 +05:30
da4b75a3af
feat: add Google login flow and inbox creation ( #9580 )
...
This PR adds the following changes
1. Refactor `microsoft/callbacks_controller` to move common logic to
`oauth_callback_controller`, most of the logic is re-used for Google
2. Add UI components, `googleClient` and I18n entries for Google login
3. Add Google callback and inbox creation
4. Add a `joinUrl` utility along with specs (need to move it to utils)
5. Add `GoogleConcern`, `Google::AuthorizationsController` and
`Google::CallbacksController`
> Note: The UI is hidden for now, so we can merge this without any
hiccups, to enable it just revert the commit `05c18de`
### Preview
https://github.com/chatwoot/chatwoot/assets/18097732/1606d150-4561-49dc-838d-e0b00fe49ce3
### Linear Tickers
[CW-3370](https://linear.app/chatwoot/issue/CW-3370 )
[CW-3371](https://linear.app/chatwoot/issue/CW-3371 )
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-07 16:37:46 +05:30
Pranav and GitHub
576c58419c
fix: Use message sender ID in the analytics for first response time ( #9605 )
...
`conversation.assignee_id` was taken into consideration for first
response time calculation. There was one flaw in this approach. A lot of
customer support agents respond to the conversation first before
assigning it to themselves. This makes the analytics broken.
To fix this, we will take the message sender instead of assignee in
calculations, which should solve the issue with metric.
Fixes
https://linear.app/chatwoot/issue/CW-3375/first-response-reporting-events-use-assignee-id-instead-of-agent-who
2024-06-06 20:20:35 -07:00
Ikko Eltociear Ashimine and GitHub
49c3d376de
chore: Update typo in inbox_round_robin_service ( #9590 )
...
- update the typo in inbox_round_robin_service
2024-06-06 18:49:53 -07:00
Pranav and GitHub
76efe3c5c3
fix: Update the suspended page to show the chat bubble ( #9604 )
...
- This PR updates the implementation of chat bubble on suspended account.
2024-06-06 16:39:39 -07:00
75c83dd0d9
chore: Fix for 2 vulnerabilities ( #9602 )
...
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br
/>
### Snyk has created this PR to fix 2 vulnerabilities in the rubygems
dependencies of this project.
#### Snyk changed the following file(s):
- `Gemfile`
- `Gemfile.lock`
#### Vulnerabilities that will be fixed with an upgrade:
| | Issue | Score |
:-------------------------:|:-------------------------|:-------------------------
 | Improper Input Validation
<br/>[SNYK-RUBY-ACTIONPACK-7210237](https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-7210237 )
| **496**
 | Missing Cryptographic Step
<br/>[SNYK-RUBY-OPENSSL-6036190](https://snyk.io/vuln/SNYK-RUBY-OPENSSL-6036190 )
| **479**
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - Max score is 1000. Note that the real score may have changed since
the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open fix PRs._
For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJmMDU0MzI0Yy1kZjU0LTQ2OTMtYTY1NC1kY2MyZGRmODU1MTIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImYwNTQzMjRjLWRmNTQtNDY5My1hNjU0LWRjYzJkZGY4NTUxMiJ9fQ== "
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/chatwoot/project/b7197bbd-6200-4f23-931d-c39928584360?utm_source=github&utm_medium=referral&page=fix-pr )
📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates )
🛠 [Adjust project
settings](https://app.snyk.io/org/chatwoot/project/b7197bbd-6200-4f23-931d-c39928584360?utm_source=github&utm_medium=referral&page=fix-pr/settings )
📚 [Read about Snyk's upgrade
logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities )
---
**Learn how to fix vulnerabilities with free interactive lessons:**
🦉 [Improper Input
Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr )
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"dotenv-rails","from":"2.8.1","to":"3.0.0"},{"name":"rails","from":"7.0.8.3","to":"7.0.8.4"},{"name":"rspec-rails","from":"6.0.2","to":"6.0.3"},{"name":"web-push","from":"3.0.0","to":"3.0.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No
Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-ACTIONPACK-7210237","priority_score":496,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.2","score":210},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper
Input Validation"},{"exploit_maturity":"No Known
Exploit","id":"SNYK-RUBY-OPENSSL-6036190","priority_score":479,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Missing
Cryptographic
Step"}],"prId":"f054324c-df54-4693-a654-dcc2ddf85512","prPublicId":"f054324c-df54-4693-a654-dcc2ddf85512","packageManager":"rubygems","priorityScoreList":[496,479],"projectPublicId":"b7197bbd-6200-4f23-931d-c39928584360","projectUrl":"https://app.snyk.io/org/chatwoot/project/b7197bbd-6200-4f23-931d-c39928584360?utm_source=github&utm_medium=referral&page=fix-pr ","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"auto","upgrade":["SNYK-RUBY-ACTIONPACK-7210237","SNYK-RUBY-OPENSSL-6036190"],"vulns":["SNYK-RUBY-ACTIONPACK-7210237","SNYK-RUBY-OPENSSL-6036190"],"patch":[],"isBreakingChange":true,"remediationStrategy":"vuln"}'
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-06-06 16:23:48 +05:30
f452565d13
feat: Add search support for drop downs in create linear issue ( #9566 )
...
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-06-05 16:40:10 +05:30
Muhsin Keloth and GitHub
839f7fe719
fix: Reset loader state on error ( #9597 )
...
- Replace `showAlert` with `showAlertMessage` in auth related pages.
2024-06-05 16:07:44 +05:30
c23e235cea
feat: update cwctl to work with Ubuntu 24.04 LTS ( #9586 )
...
The `add user` utility was updated, and the `--disabled-login` behavior changed in Ubuntu 24.04. This set the login shell to `/sbin/nologin,` which broke the `cwctl` installation flow.
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625758
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-06-05 15:20:57 +05:30
Fayaz Ahmed and GitHub
88e4d9f06f
fix: Missing mitt.js in vue 3 instance of app ( #9596 )
2024-06-05 15:15:25 +05:30
Fayaz Ahmed and GitHub
bff19eb2e6
feat: Make context meny visible only on hover ( #9592 )
2024-06-05 11:13:16 +05:30
00ef9c475f
fix: Replace the bus events with emitter in widget ( #9584 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-03 16:36:15 +05:30
af90f21cfd
feat: Reconnect logic ( #9453 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-06-03 15:54:19 +05:30
Shivam Mishra and GitHub
00da2ac847
fix: locales settings on portal ( #9583 )
...
The previous changes made on Portal locales introduced a bug where users
were not able to set the default locale, this PR fixes that
2024-06-03 14:56:53 +05:30
f956530b36
chore: upgrade packages ( #9555 )
...
This PR upgrades the packages to the latest patch versions, no-breaking
changes. Can be merged once CI clears
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-06-02 19:09:06 +05:30
Pavel Kuzmin and GitHub
803471e42f
fix: browser info ( #9569 )
...
# Pull Request Template
## Description
fixed getting browser data
In Vue, without computed properties, the data doesn't update, and
because of this, it doesn't display information about the browser.
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-06-02 19:06:10 +05:30
b0114dee42
chore(deps): bump pug from 3.0.2 to 3.0.3 ( #9564 )
...
Bumps [pug](https://github.com/pugjs/pug ) from 3.0.2 to 3.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pugjs/pug/releases ">pug's
releases</a>.</em></p>
<blockquote>
<h2>pug-code-gen@3.0.3</h2>
<h2>Bug Fixes</h2>
<ul>
<li>Validate <code>templateName</code> and <code>globals</code> are
valid JavaScript identifiers to prevent possible remote code execution
if un-trusted user input is passed to the compilation options (<a
href="https://redirect.github.com/pugjs/pug/issues/3438 ">#3438</a>)</li>
</ul>
<h2>pug@3.0.3</h2>
<h2>Bug Fixes</h2>
<ul>
<li>
<p>Update pug-code-gen with the following fix: (<a
href="https://redirect.github.com/pugjs/pug/issues/3438 ">#3438</a>)</p>
<p>Validate <code>templateName</code> and <code>globals</code> are valid
JavaScript identifiers to prevent possible remote code execution if
un-trusted user input is passed to the compilation options</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pugjs/pug/commit/32acfe8f197dc44c54e8af32c7d7b19aa9d350fb "><code>32acfe8</code></a>
fix: ensure template names are valid identifiers (<a
href="https://redirect.github.com/pugjs/pug/issues/3438 ">#3438</a>)</li>
<li><a
href="https://github.com/pugjs/pug/commit/4767cafea0af3d3f935553df0f9a8a6e76d470c2 "><code>4767caf</code></a>
refactor: convert pug-error to TypeScript (<a
href="https://redirect.github.com/pugjs/pug/issues/3355 ">#3355</a>)</li>
<li><a
href="https://github.com/pugjs/pug/commit/a724446abb128f2a09acb143ce436021be8f6e6a "><code>a724446</code></a>
chore: update character-parser (<a
href="https://redirect.github.com/pugjs/pug/issues/3354 ">#3354</a>)</li>
<li><a
href="https://github.com/pugjs/pug/commit/6cca8f76befe7285eead0416ba4e2dbba825ab65 "><code>6cca8f7</code></a>
docs: fix GitHub format in README (<a
href="https://redirect.github.com/pugjs/pug/issues/3335 ">#3335</a>)</li>
<li>See full diff in <a
href="https://github.com/pugjs/pug/compare/pug@3.0.2...pug@3.0.3 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/chatwoot/chatwoot/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 10:46:16 -07:00
Shivam Mishra and GitHub
ae35b47ae3
fix: Add the translation for Sign in with Microsoft button ( #9567 )
...
The sign in button for Microsoft inbox was not translated, this PR fixes it
2024-05-31 09:01:50 -07:00
Fayaz Ahmed and GitHub
b474929f5e
chore: Replace eventBus with mitt.js [CW-3275] ( #9539 )
...
# Replace the deprecated `eventBus` with mitt.js
## Description
Since eventBus and it's respective methods are deprecated and removed
from all future releases of vue, this was blocking us from migrating.
This PR replaces eventBus with
[mitt](https://github.com/developit/mitt ). I have created a wrapper
mitt.js to simulate the same old event names so it's backwards
compatible, without making a lot of changes.
Fixes # (issue)
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update
## How Has This Been Tested?
1. Made sure all the places we're listening to bus events are working as
expected.
2. Respective specsf or the events from mitt.
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules
2024-05-31 15:50:36 +05:30
Sivin Varghese and GitHub
e3eca47c31
feat: Split reconnect logic PR (store) ( #9520 )
...
# Pull Request Template
## Description
This PR includes store filter parts split from this [Reconnect
PR](https://github.com/chatwoot/chatwoot/pull/9453 )
2024-05-30 12:29:55 +05:30
Shivam Mishra and GitHub
6c682a6869
feat: add reauthorization banner for Facebook ( #9553 )
2024-05-30 09:41:04 +05:30
b53ce3fa79
chore(deps-dev): bump rack-contrib from 2.4.0 to 2.5.0 ( #9559 )
...
Bumps rack-contrib from 2.4.0 to 2.5.0.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 13:15:05 -07:00
Sivin Varghese and GitHub
41e27e95b4
fix: TypeError cannot read properties of undefined (reading 'name') ( #9562 )
2024-05-29 22:04:30 +05:30
Sivin Varghese and GitHub
b31be37dc2
fix: TypeError undefined is not an object (evaluating 'this.features.inbound_emails') ( #9563 )
2024-05-29 21:31:37 +05:30
Muhsin Keloth and GitHub
a55fffab3a
chore: Linear integration fixes ( #9538 )
2024-05-29 11:28:13 +05:30
Vishnu Narayanan and GitHub
59b912f22c
doc: update .env.example ( #9556 )
...
- add more info on SECRET_KEY_BASE
- add a link to env variable section in selfhosted docs
Fixes https://github.com/chatwoot/chatwoot/issues/9517
2024-05-28 13:34:47 +05:30
Sivin Varghese and GitHub
eb6a343810
fix: Enable edit option for custom attributes if value is present ( #9543 )
...
# Pull Request Template
## Description
This PR will enable a back edit option for custom attributes if there is
the value present, which is removed by this
[PR](https://github.com/chatwoot/chatwoot/pull/9070/files#diff-fe9b82bbef1da31faa513332ed6015c0ed23765a6368832137a5408547da8938R172 )
Fixes
https://linear.app/chatwoot/issue/CW-3345/edit-attribute-does-not-work-anymore
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Screenrecordings**
**Before**
https://github.com/chatwoot/chatwoot/assets/64252451/ab89e087-d919-404d-90a9-17982b425dc3
**After**
https://github.com/chatwoot/chatwoot/assets/64252451/98d8b0b2-2f8f-46ec-ace5-b3e2a721623e
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-05-28 12:05:34 +05:30
Fernando Verdugo and GitHub
4a3376e912
fix(typo): Update bulkActions.json ( #9540 )
2024-05-24 08:51:36 -07:00
Sivin Varghese and GitHub
7c5e67bf28
feat: Adds backend support for rendering tables in articles ( #9526 )
2024-05-24 08:44:01 +05:30
eafd3ae44d
feat: new re-authorization flow for Microsoft ( #9510 )
...
This PR adds a cleaner re-authorization flow to Microsoft. This PR has
the following changes
1. Use `reauthorization_required` value for Microsoft Channel
2. Refactor `InboxReconnectionRequired` to reuse the `banner` component
3. Refactor `microsoft/Reauthorize.vue` to reuse
`InboxReconnectionRequired` component
4. Update `reauthorizable.rb` to update cache keys if the model has an
inbox
5. Update `microsoft/callbacks_controller.rb` to handle the
reauthorization case with a redirect to the inbox settings page if the
inbox already exists at the time of authorization.
## How Has This Been Tested?
- [x] Local Instance
- [ ] Staging Instance
- [x] Unit tests
## Pending Tasks
- [ ] ~Success Toast~ will do this in a follow-up PR with the screen
## Demo
The following video shows the whole process of creation and
re-authorization of the Microsoft channel
https://www.loom.com/share/e5cd9bd4439c4741b0dcfe66d67f88b3?sid=100f3642-43e4-46b3-8123-88a5dd9d8509
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-23 16:03:40 +05:30
616e3a8092
feat: allow setting dashboard scripts from super_admin ( #9514 )
...
This PR allows setting scripts for `vueapp.html.erb` via super admin
config. This PR has the following changes
1. Allow `DASHBOARD_SCRIPTS` in internal config
2. Remove existing scripts from `vueapp.html.erb`
3. Add scripts from `GlobalConfig` to `vueapp.html.erb`
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-23 14:30:41 +05:30
Muhsin Keloth and GitHub
f83af33b87
feat: Add title while linking the linear issue ( #9529 )
2024-05-23 13:32:41 +05:30
Sivin Varghese and GitHub
0c4c561313
feat: Adds the ability to add line breaks in helpcenter articles ( #9519 )
2024-05-23 12:34:42 +05:30
Shivam Mishra and GitHub
9f625715ab
fix: Cannot read properties of undefined (reading 'toLowerCase') ( #9511 )
...
Tried to replicate the issue, but Sentry didn't have enough information.
`toggleMessageSignature` is a user triggered action in
`ReplyBottomPanel.vue`, the value for `channelType` is provided from
`inboxMixin`. The error will occur if either `inbox` is an empty object
`{}` or `channel_type` in `inbox` object is undefined.
I couldn't find any instance where this could be the case. The PR has a
stop gap solution that ensures that no action is triggered
2024-05-23 12:08:04 +05:30
35508feaae
feat: Linear front end ( #9491 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-05-23 11:58:24 +05:30
Sivin Varghese and GitHub
be97c68721
fix: TypeError cannot read properties of undefined (reading 'status') ( #9505 )
2024-05-23 11:22:14 +05:30
Sivin Varghese and GitHub
4b93738462
fix: Space key in input closing dropdown ( #9525 )
2024-05-23 10:40:44 +05:30
Pranav and GitHub
87d92f73d4
feat: Improve Report API performance ( #9476 )
...
- Re-write the methods for clarity
- Remove the dependency on the ReportHelper class.
- Remove n+1 queries in the average metric time series data.
2024-05-22 17:34:24 -07:00
Muhsin Keloth and GitHub
023b3ad507
feat: Add APIs for linear integration ( #9346 )
2024-05-22 13:37:58 +05:30
Sivin Varghese and GitHub
0d13c11c44
fix: Right click Snooze is not working ( #9498 )
2024-05-22 13:03:49 +05:30
Sojan Jose and GitHub
db13049e6f
fix: [Snyk] Security upgrade administrate-field-active_storage from 1.0.2 to 1.0.3 ( #9496 )
...
- Security upgrade administrate-field-active_storage from 1.0.2 to 1.0.3
2024-05-21 13:36:11 -07:00
Pranav and GitHub
7a1a686133
fix: Fix typo in the font for portals ( #9515 )
...
The fonts on the portal were not loaded properly before due to a typo in
the stylesheet. The font that is shown on the public portal is ui-sans
right now. This PR fixes it.
2024-05-21 13:35:35 -07:00
Sivin Varghese and GitHub
00dca9466a
feat: Move the SLA filter dropdown to UI folder ( #9502 )
...
# Pull Request Template
## Description
I moved the newly created SLA filter dropdown to the UI folder to use in
adding the Linear issue modal.
2024-05-20 16:23:42 +05:30
e9831b8855
feat: add inbox reconnection banner ( #9441 )
...


---------
Co-authored-by: Fayaz Ahmed <fayazara@gmail.com >
2024-05-20 11:57:03 +05:30
Shivam Mishra and GitHub
f6650b5025
feat: move Azure config to installation_config ( #9481 )
...
This PR has the following changes
1. Add `AZURE_APP_ID` and `AZURE_APP_SECRET` to installation config
2. Add Microsoft config to `super_admin/features.yml`
3. Replace usage of `ENV.fetch` with `GlobalConfigService.load` for
fetch App ID and Secret
2024-05-20 11:52:42 +05:30
Shivam Mishra and GitHub
00a460db43
fix: fetch FB_APP_ID from @global_config ( #9483 )
2024-05-17 15:44:50 +05:30
85dcb84675
chore(deps): bump rexml from 3.2.5 to 3.2.8 ( #9489 )
...
Bumps rexml from 3.2.5 to 3.2.8.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 18:19:22 -07:00
Sivin Varghese and GitHub
a83b609025
fix: New account button style in switch account modal ( #9456 )
2024-05-16 22:33:43 +05:30
Sojan
528b2dc17c
Merge branch 'release/3.9.0' into develop
2024-05-15 22:32:27 -07:00
Sojan
f7580f864c
Merge branch 'release/3.9.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-05-15 22:32:12 -07:00
Sojan
41e373ace3
Bump version to 3.9.0
2024-05-15 22:15:52 -07:00
Chatwoot Bot and GitHub
b0b4668d23
chore: Update translations ( #9439 )
...
- update translations from crowdin
2024-05-15 21:52:30 -07:00
Sojan Jose and GitHub
a2d0e60a88
fix: Get online status from db when not present in cache [CW-3233] ( #9477 )
...
Previously, we returned the static value 'online' when the status was
not present in the Redis cache. This PR changes it to fall back to the
DB value and updates the cache in such cases.
fixes:
https://linear.app/chatwoot/issue/CW-3233/write-a-back-up-for-online-status-in-case-if-redis-keys-are-not
2024-05-15 21:23:19 -07:00
Sojan Jose and GitHub
7b83480979
chore: Add indexes to improve reporting performance ( #9478 )
...
- Adding a new index on (account_id,created_at,message_type) based on
our performance improvement exercise. This index significantly improves
the page load speeds of messaging reports.
2024-05-15 21:21:15 -07:00
Sivin Varghese and GitHub
5657473573
fix: Dashboard phone number input country undefined in onSelectCountry ( #9473 )
...
# Pull Request Template
## Description
This PR will fix this sentry
[issue](https://chatwoot-p3.sentry.io/issues/5291039795/ )
**Issue**
The root cause of this issue is the usage of
`keyboardEventListenerMixins`. The key events are always active when the
edit conversation modal is active, even if the country dropdown is not
visible. So, if we press the enter key, this error will be thrown into
the console.
**Solution**
Remove the use of `keyboardEventListenerMixins` and handle it directly
in the Vue native key events. Also, always check if the dropdown is
active.
**Other changes**
1. Remove the `mouseup` event lister and use the click away directive.
2. Use inline Tailwind css
Fixes
https://linear.app/chatwoot/issue/CW-3282/phonenumberinput-country-undefined-in-onselectcountry
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Steps**
1. Open a conversation.
3. And click the edit contact button
4. And click the enter key
5. Now you can see the error in the console
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-05-16 09:16:02 +05:30
ae5ef73e91
fix: Update the voice note format to MP3 to fix the delivery issues ( #9448 )
...
Use MP3 as the default format to send voice notes recorded from
Chatwoot. This change was made to fix the issue of Telegram voice notes
not working with the error `WEBPAGE_CURL_FAILED` .
Telegram treats the mp3 recordings as audio attachments. Once we can
identify a fix for the original issue, we will revisit the `ogg`
implementation.
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-05-15 17:53:45 -07:00
Sojan Jose and GitHub
8520846b91
chore: Improved indexes for Conversations & Contacts [CW-3300] ( #9475 )
...
Based on our recent performant optimisation exercises, We have identified a better indexing strategy for conversations and contacts. The previous index on last_activity_at for conversations significantly slowed down conversation filters. Similarly, the new index on Contacts will allow the page rendering to improve for accounts with many contacts.
fixes: https://linear.app/chatwoot/issue/CW-3300/db-improvements
2024-05-15 16:10:39 -07:00
Sojan Jose and GitHub
7ed375f6f5
chore: Show valid error messages on Inbox creation ( #9474 )
...
At the moment, when creating an inbox for Whatsapp, Telegram, etc., we show a generic error message saying that inbox creation failed. This PR will show the error messages directly from the API call, which is more helpful as it says if the error is due to the provided credentials.
2024-05-15 15:53:41 -07:00
fc1c992cde
fix: [Snyk] Security upgrade devise_token_auth from 1.2.1 to 1.2.3 ( #9468 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-ACTIONCABLE-20338
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-05-15 11:52:40 -07:00
Shivam Mishra and GitHub
bc8736c08e
fix: widget does not load when navigating on pages with view transition [CW-3249] ( #9443 )
...
* feat: add ids to each element
* feat: restore elements for apps that use view transitions
* fix: remove generator check condition
* feat: handle turbolinks
* fix: new body handling
* chore: undo debug changes
2024-05-15 10:45:03 +05:30
Sivin Varghese and GitHub
5a289776de
fix: Widget phone number input country undefined in onSelectCountry ( #9457 )
...
* fix: Widget phone number input country undefined in onSelectCountry
* chore: Minor fix
2024-05-15 09:48:55 +05:30
Sojan Jose and GitHub
e98e27dc1f
chore: Make IP_LOOKUP_BASE_URL configurable ( #9467 )
...
Since we download the GeoIP database during worker/server initialization, there is a high chance of spamming the server with too many requests for downloads, especially if the number of web and worker nodes is high. This PR provides the ability to specify a custom URL for the GeoLite database download, configurable via an environment variable. This helps in distributing the load and avoiding server overload during the initialization process
2024-05-14 14:32:17 -07:00
Sojan Jose and GitHub
d54492f7b5
chore: Add debug statement in spec ( #9466 )
...
- Add a debug statement to check the failed specs
2024-05-14 14:19:02 -07:00
1d4798a3bf
chore(deps): bump nokogiri from 1.16.4 to 1.16.5 ( #9459 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.16.4 to 1.16.5.
- [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.16.4...v1.16.5 )
---
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>
2024-05-13 18:12:02 -07:00
e992283993
fix: [Snyk] Security upgrade omniauth-rails_csrf_protection from 1.0.1 to 1.0.2 ( #9454 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-05-13 16:07:56 -07:00
Sojan Jose and GitHub
07e33fd98a
chore: Switch models to gpt-4o ( #9458 )
...
- Switch model to gpt-4o from gpt-4-turbo
2024-05-13 13:32:11 -07:00
Sojan Jose and GitHub
9a8442fe0e
chore: Handle conversation participation creation race condition error ( #9449 )
...
We observed some race condition errors in the conversation participation listener while trying to create a conversation participation assignment. This PR handles this error and also adds additional debug information for future.
fixes: https://linear.app/chatwoot/issue/CW-3296/activerecordrecordnotunique-pguniqueviolation-error-duplicate-key
## Changelog
- handles `ActiveRecord::RecordNotUnique, ActiveRecord::RecordInvald` errors so that they won't pollute sentry
- Adds a debug statement to log the cases
- Add previous_changes into the dispatcher so that we know the exact attribute changes which trigger `assignee_changed, team_changed` events ( would be handy in future )
2024-05-10 12:21:23 -07:00
Vishnu Narayanan and GitHub
dd1f93d425
feat: Switch Heroku Postgres basic to essential-0 ( #9452 )
2024-05-10 09:52:04 -07:00
Shivam Mishra and GitHub
a4001374a5
feat: add missing clickaway directives ( #9451 )
...
* feat: add onClickaway to widget
* feat: add clickaway to portal
* feat: add directive to PublicArticleSearch
2024-05-10 11:15:36 +05:30
Sojan Jose and GitHub
4284c123a6
chore: Handle invalid email address in IMAP channel ( #9450 )
2024-05-10 08:55:26 +05:30
Shivam Mishra and GitHub
05f0398b86
fix: Update message signature default value ( #9446 )
2024-05-09 10:55:30 -07:00
b110ff5e00
chore: Upgrade @chatwoot/utils ( #9445 )
...
chore: upgrade utils
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-09 22:42:05 +05:30
5138a0ad32
feat: Adds support for all snooze option in bulk actions ( #9361 )
...
* feat: Add support for bulk snooze until
* feat: Adds support for all snooze option in bulk actions
* chore: Adds comment
* chore: Review fixes
* chore: Minor fix
* chore: Minor fix
* chore: Review fixes
* chore: yarn changes
* fix: terminal waring
* chore: Adds spec
* Update conversationHotKeys.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-09 19:27:31 +05:30
Shivam Mishra and GitHub
eff24c0d71
feat: allow feature plan map in super admin ( #9318 )
...
- Add subscribed_features method in models/enterprise/account and include it in the JSON response
2024-05-08 22:58:46 -07:00
Toan Le and GitHub
4eec0aa11a
fix: Profile pictures missing in facebook inbox [CW-1976] ( #9212 )
...
The ActiveJob FacebookEventsJob created a Contact and then enqueued Avatar::AvatarFromUrlJob in another process. However, since the Contact was created within a transaction when AvatarFromUrlJob was executed immediately afterwards, the Contact was not actually present in the database then.
Fixes : #6138 #6761
2024-05-08 20:38:16 -07:00
Sojan Jose and GitHub
3a1299520c
chore: Enable plan reconcile in self hosted ( #9357 )
...
This PR will revert the premium config in self hosted instances to its original state if any unauthorised modifications are made.
2024-05-08 14:26:00 -07:00
Shivam Mishra and GitHub
73f373913f
fix: Add fallback for created_by and updated_by attributes in Macro ( #9436 )
2024-05-08 13:40:07 -07:00
Shivam Mishra and GitHub
6c5b137dba
fix: Add Safari compatibility for requestIdleCallback ( #9435 )
2024-05-08 13:28:27 -07:00
Pranav and GitHub
9977bcc093
fix: Convert audio file to mp3 before sending it to WhatsApp ( #9432 )
...
Last week, the WhatsApp API has started returning an error message for the voice notes, Unsupported Audio mime type audio/opus. Please use one of audio/ogg; codecs=opus, audio/mpeg, audio/amr, audio/mp4, audio/aac. This error began appearing on May 1. Even though there was no change in the files and content type, FB API started rejecting the file.
In this PR, we are converting the audio recordings from Wav to Mp3 from frontend itself.
2024-05-07 23:10:54 -07:00
Muhsin Keloth and GitHub
d649bd2dfd
feat: Add support for bulk snooze until ( #9360 )
2024-05-08 08:55:31 +05:30
2ef767d60f
feat: exporting contacts takes the filters into account ( #9347 )
...
- This PR allows contacts to be exported using the current filter in CRM view
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-05-07 20:18:36 -07:00
de044e29f0
chore: Rescue Oauth2::Error and mark the channel as inactive ( #9358 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2024-05-07 12:03:38 -07:00
Sojan Jose and GitHub
892e1fd333
chore:Remove the official support for 360Dialog APIs ( #9356 )
2024-05-07 11:37:28 -07:00
Shivam Mishra and GitHub
4c1c856562
chore: Remove word spacing from p ( #9353 )
2024-05-06 18:27:56 -07:00
Sojan Jose and GitHub
f6d7f3b665
fix: assignee_changed callback not getting triggered during conversation creation ( #9334 )
...
The reload method in our callback was refreshing the object and hence the saved_change_to_assignee_id? Method wasn't working in the following callbacks.
This impacted the listeners subscribing to the event `ASSIGNEE_CHANGE`, `TEAM_CHANGE` etc
2024-05-06 11:48:17 -07:00
2af0d58deb
feat: Revamp profile settings screen ( #9352 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-05-06 22:33:39 +05:30
Shivam Mishra and GitHub
046c434103
chore: run update-browserslist-db ( #9351 )
...
chore: upgrade caniuse db
2024-05-06 19:19:40 +05:30
Shivam Mishra and GitHub
64283b35a5
refactor: Use processed message content for slack ( #9349 )
2024-05-06 16:31:20 +05:30
Muhsin Keloth and GitHub
0914d4d2c8
feat: Revamp browser alert permission in profile settings ( #9350 )
2024-05-06 12:45:59 +05:30
Muhsin Keloth and GitHub
4ed13787d1
chore: Import SLA helpers from utils ( #9252 )
...
chore: Add SLA helper from utils
2024-05-03 11:13:32 +05:30
Pranav and GitHub
abbb087a53
feat: Use the font Inter Display for help center articles ( #9239 )
...
Use Inter Display for help center
2024-05-03 09:48:01 +05:30
jderecho and GitHub
0d7773d88f
feat: Draft through API for Cross-Device Support ( #8018 )
...
- Add APIs for cross-device message drafts
ref: #6890
2024-05-02 18:42:18 -07:00
Shivam Mishra and GitHub
b24626a65a
feat: Include resolution time and waiting time in team & agent report export ( #9296 )
2024-05-02 17:29:52 -07:00
Pavel Motyrev and GitHub
9e8a626598
doc: Ability to specify redis database number ( #8231 )
...
- Update documentation on how to specify Redis database number
2024-05-02 16:42:14 -07:00
f48cff847f
fix: Prevent formData.append from Adding 'null' String for null replyTo ( #8623 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-05-02 15:30:46 -07:00
f57013c92f
feat: Add an option to scroll to replied message ( #8624 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-05-02 15:29:10 -07:00
cd14788e67
chore(deps): bump tar from 6.1.11 to 6.2.1 ( #9220 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.1.11 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.11...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 15:06:09 -07:00
5693a91fd3
feat: Gray out Microsoft email option when Azure App ID is not configured ( #9087 )
...
Fixes #9083
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-05-02 15:05:08 -07:00
2769b03cc8
feat: Add ability to sort canned responses ( #9330 )
...
Co-authored-by: jeffOtano <jeff@rinsed.com >
2024-05-02 14:11:52 -07:00
Sojan Jose and GitHub
ac93af6028
feat: Support document file uploads on telegram channel ( #9266 )
2024-05-02 14:05:14 -07:00
Muhsin Keloth and GitHub
3488a315d0
fix: Add an option to view the masked information in the profile settings UI ( #9343 )
2024-05-02 13:55:40 -07:00
Sivin Varghese and GitHub
5846ee4bad
fix: Email input style issue ( #9342 )
2024-05-02 21:32:45 +05:30
7f8ac37a30
feat: don't allow dropdown navigation on input focused ( #9341 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-05-02 21:09:08 +05:30
Chatwoot Bot and GitHub
94e1d55543
chore(i18n): Update the latest translations ( #9340 )
2024-05-02 08:18:17 -07:00
Pranav and GitHub
af39308851
chore: Add a separate Sentry project for frontend error ( #9336 )
2024-05-01 12:06:19 -07:00
d34d726b37
chore(snyk): Security upgrade administrate-field-active_storage from 1.0.1 to 1.0.2 ( #9332 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-ACTIONCABLE-20338
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-05-01 12:05:40 -07:00
c9a575c310
feat: Revamp access token section in profile settings ( #9328 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 22:02:01 +05:30
e8475a9b2d
fix: Switch to instagram CDN url for attachments ( #9287 )
...
Fixes: https://github.com/chatwoot/chatwoot/issues/8512
Co-authored-by: Denis Karlyuk <DevilDK@mail.ru >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-30 08:04:05 -07:00
Vishnu Narayanan and GitHub
9057c865c3
feat: Add rake task to clear ActionCable jobs ( #9307 )
2024-04-30 08:03:40 -07:00
Pranav and GitHub
2c3e7d6554
chore: Temporarily disable the disconnect logic for inboxes ( #9321 )
...
* chore: Temporarily disable the disconnect logic for inboxes
* Remove unused spec
2024-04-30 07:49:37 -07:00
Vishnu Narayanan and GitHub
0856d76332
chore: Fix typos in inboxmgmt.json ( #9326 )
2024-04-30 07:49:23 -07:00
c92ea11eee
feat: Revamp notification and audio preferences ( #9312 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 16:50:00 +05:30
Sivin Varghese and GitHub
4fd8c7a61b
fix: TypeError cannot set properties of undefined (setting 'keydownHandlerIndex') ( #9327 )
2024-04-30 15:20:05 +05:30
6917ea2dbd
fix: portal settings layout ( #9324 )
...
* fix: padding
* fix: max width
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 10:57:22 +05:30
Sivin Varghese and GitHub
12af2fe026
feat: Remove the usage of clickAway mixin with directive ( #9323 )
2024-04-30 10:35:14 +05:30
705f8ef948
feat: add composables for migration and update portal settings ( #9299 )
...
* feat: setup vuelitdate for vue 2.7
* feat: add all composables
* fix: portal settings layout
* feat: remove styles
* feat: use setup API for ListAllCategories
* chore: format ListAllCategories
* refactor: add useAlert
* feat: add track composable
* feat: update map getters
* fix: import
* feat: update edit portal locales page [wip]
* feat: migrate locales page
* feat: remove alert message ref
* chore: format EditPortalLocales
* refactor: use composiiton api for PortalCustomization
* refactor: remove color
* feat: update PortalSettingsCustomizationForm to use setup syntax
* refactor: no need to import defineEmits
* refactor: format component
* fix: update logic
* feat: migrate PortalSettingsBasicForm
* refactor: format PortalSettingsBasicForm
* refactor: migrate EditPortalCustomization to Vue 2.7
* feat: migrate EditPortalBasic to vue 2.7
* chore: revert changes to EditPortal
* fix: portal layout
* fix: width
* feat: use setup syntax
* fix: double border
* feat: return track method
* refactor: track usage
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 10:13:50 +05:30
Sivin Varghese and GitHub
2012d00109
fix: Start calender is not moving properly is last 30 days range ( #9322 )
...
* fix: Start calender is not moving properly is last 30 days range
* chore: Minor fix
2024-04-30 10:09:08 +05:30
43b79aba9e
feat: Revamp hotkeys and change password in profile settings ( #9311 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 17:58:29 +05:30
47b1f610f1
feat: Adds helper text for custom fields in contact sidebars ( #9317 )
...
* feat: Adds helper text for custom fields in contact sidebars
* Update app/javascript/dashboard/components/ui/HelperTextPopup.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* chore: Review fix
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 17:32:44 +05:30
8e9b21820e
feat: setup composables for vue 2.7 ( #9305 )
...
* feat: setup vuelitdate for vue 2.7
* feat: add all composables
* feat: return track method
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-29 17:00:49 +05:30
c4eadd12ed
feat: Revamp basic profile, avatar and message signature ( #9310 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 16:41:55 +05:30
28728635c9
feat: Custom date picker ( #9247 )
...
* feat: Custom date picker
* chore: Calender footer
* chore: Minor fix
* chore: Reset date picker
* chore: Minor fix
* feat: Toggle button
* chore: Clean up
* chore: Use font inter
* chore: Cleanup and fix bugs
* fix: custom date range reset the calendar
* chore: fix logic bug
* feat: Add manual date range
* fix: styles in rtl
* chore: Helper specs
* chore: Clean up
* chore: Review fixes
* chore: remove magic strings
* chore: Add comments
* chore: Review fixes
* chore: Clean up
* chore: remove magic strings
* fix: Use outline instead of border
* chore: Minor style fix
* chore: disable pointer events for the disabled dates
* chore: Fix code climate
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 14:43:57 +05:30
a5ab8201c6
fix: [Snyk] Fix for 1 vulnerabilities ( #9316 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-SIDEKIQ-6689289
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-04-29 14:24:06 +05:30
Shivam Mishra and GitHub
78f94511ff
feat: add sitemap for help center ( #9280 )
...
* feat: start sitemap
* feat: add base url and last mod to sitemap
* fix: typo
* test: sitemap generation
* test: add draft articles
* fix: escape dots in regex matching
* feat: perpend protocol to the url
* feat: use ChatwootApp.help_center_root
* feat: don't parse the URL
* fix: function declaration
2024-04-26 21:36:39 +05:30
d88d0bdd80
feat: Add user profile avatar ( #9298 )
...
* feat: add avatar
* chore: add more colors
* chore: add helpers
* chore: build prettier issues
* chore: refactor shouldShowImage
* chore: code cleanup
* Update app/javascript/v3/components/Form/InitialsAvatar.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* chore: revire comments
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-26 16:02:10 +05:30
47f8b2cd0c
refactor: handling keyboard shortcuts ( #9242 )
...
* fix: Resolve and go next keyboard shortcuts doesn't work
* refactor: use buildHotKeys instead of hasPressedCommandPlusAltAndEKey
* feat: install tinykeys
* refactor: use tinykeys
* test: update buildKeyEvents
* fix: remove stray import
* feat: handle action list globally
* feat: allow configuring `allowOnFocusedInput`
* chore: Navigate chat list item
* chore: Navigate dashboard
* feat: Navigate editor top panel
* feat: Toggle file upload
* chore: More keyboard shortcuts
* chore: Update mention selection mixin
* chore: Phone input
* chore: Clean up
* chore: Clean up
* chore: Dropdown and editor
* chore: Enter key to send and clean up
* chore: Rename mixin
* chore: Review fixes
* chore: Removed unused shortcut from modal
* fix: Specs
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-26 15:41:02 +05:30
Pranav and GitHub
ffd47081bd
chore(cleanup): Delete sentiment feature ( #9304 )
...
- The feature is unused, removing it for now, will bring it back with better models later.
2024-04-25 22:49:10 -07:00
Pranav and GitHub
77db0d0701
feat: Add configurable interval for IMAP sync ( #9302 )
2024-04-25 18:58:20 -07:00
Shivam Mishra and GitHub
e757237029
feat: don't show widget on plain layout ( #9297 )
2024-04-25 15:26:25 +05:30
04ae38076f
feat: Add button component ( #9276 )
...
* feat: Add button component
* chore: code cleanup
* chore: code cleanup
* feat: update styles
* chore: cleanup button
* chore: review comments
* chore: code cleanup
* chore: review comments
* chore: fix spacing
* chore: remove unused code
* chore: remove custom click event
* feat: update props validation
* chore: review comments
* refactor: use trailingIcon as a boolean prop
* fix: build issues
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-25 14:21:23 +05:30
Sivin Varghese and GitHub
2ddf613c58
fix: Audio attachment issues ( #9260 )
...
* fix: Audio attachment issues
* chore: Style fix
* chore: Minor fix
* chore: Minor fix
* chore: Review fixes
2024-04-25 13:42:46 +05:30
Muhsin Keloth and GitHub
1bf3ad9a08
fix: Remove unnecessary attributes from notification deleted action cable event payload ( #9295 )
...
fix: simplify notification deleted payload event
2024-04-25 11:25:19 +05:30
9086650fe2
fix: heatmap colors for dark mode [CW-3241] ( #9278 )
...
* feat: add new heatmap colors
* fix: loader
* fix: move new styles to tailwind
* feat: update tw classes
* refactor: update styles
* feat: add useI18n composable
* feat: use composition api
* fix: empty div
* chore: don't import defineProps
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-25 10:23:15 +05:30
Shivam Mishra and GitHub
8c813097db
feat: update SLA upgrade banner ( #9291 )
...
feat: add cancel anytime notice
2024-04-24 17:19:35 +05:30
12403b75d6
feat: remove log rocket ( #9279 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-24 12:36:36 +05:30
Shivam Mishra and GitHub
480cf4952d
fix: set size limit to 300KB ( #9289 )
2024-04-24 12:09:31 +05:30
Muhsin Keloth and GitHub
d7e928df26
feat: Add loom video embed support for help center articles ( #9288 )
...
* feat: Add loom support for helpcenter articles
* fix: responsiveness
* fix: style issues
* fix: review comments
* Update custom_markdown_renderer.rb
2024-04-24 11:44:10 +05:30
Muhsin Keloth and GitHub
8957277e5d
feat: Add new colors ( #9258 )
2024-04-22 14:08:12 +05:30
Sojan Jose and GitHub
60b355b500
fix: Avoid vector search if query is not present in the params ( #9265 )
2024-04-19 14:50:49 -07:00
Sivin Varghese and GitHub
d2e324b5fd
fix: Remove duplicate tooltip for failed messages on the conversation UI ( #9259 )
2024-04-19 09:47:41 -07:00
Sojan Jose and GitHub
15638e9b8b
chore: Add validation to prevent message flooding ( #9254 )
...
- Add a validation to limit messages created per minute to avoid message flooding cases.
2024-04-18 00:14:59 -07:00
ca2fa5ff06
fix: Clicking on contact attributes doesn't do anything if contact attributes list is empty ( #9257 )
...
* fix: Clicking on contact attributes doesn't do anything if contact attributes list is empty
* Update app/javascript/dashboard/i18n/locale/en/conversation.json
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/contact.json
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-18 12:31:32 +05:30
Pranav and GitHub
888d3cb3fa
chore: Increase the rate limit for contact search ( #9256 )
2024-04-17 16:59:38 -07:00
Sojan
8fcf476206
Merge branch 'release/3.8.0' into develop
2024-04-16 17:09:17 -07:00
Sojan
85aeaf2aee
Merge branch 'release/3.8.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-04-16 17:09:07 -07:00
Sojan
29f07e7e06
Bump version to 3.8.0
2024-04-16 17:08:36 -07:00
2cde42c7ec
feat: add upgrade banner for SLA feature ( #9240 )
...
- Add an upgrade CTA for the SLA feature
-------------------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-04-16 16:59:39 -07:00
Sojan Jose and GitHub
d12c38c344
chore: Move embedding generation to sidekiq ( #9238 )
...
chore: Move embedding generation to a job
2024-04-16 09:43:16 -07:00
Sivin Varghese and GitHub
5cc41c9ed5
fix: Reports filter style issue ( #9241 )
2024-04-16 11:12:04 +05:30
c05a79cf61
fix: Add more filters for SLA download reports ( #9231 )
...
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-04-16 09:00:52 +05:30
f71f43e54a
chore: Update translations ( #9236 )
...
- update translations
------------------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-04-15 18:49:04 -07:00
Sojan Jose and GitHub
db87cde09e
chore: Fix typo in help center embedding search helper ( #9237 )
...
chore: fix typo in helpcenter embedding search helper
2024-04-15 17:54:52 -07:00
Pranav and GitHub
3d31d4dd7f
feat: Add widget to help center config ( #9235 )
2024-04-15 16:46:48 -07:00
Sojan Jose and GitHub
42a457ff5d
feat: Use embeddings in help center search ( #9227 )
2024-04-15 16:35:23 -07:00
ade658ad86
chore: [Snyk] Fix for 1 vulnerabilities ( #9229 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-04-15 14:07:37 -07:00
bce2a07d03
feat: do not send contact details to the widget ( #9223 )
...
* refactor: use has_email instead of email
* feat: remove usage of details directly in forms
* test: update payload
* test: fix transcript test
* refactor: use computed hasEmail
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-12 15:30:07 +05:30
Sivin Varghese and GitHub
dc757598f1
fix: Disable clear filter button in add filter dropdown ( #9226 )
2024-04-12 13:38:51 +05:30
3b6ae772bf
feat: SLA report filter ( #9218 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-12 11:03:18 +05:30
Pranav and GitHub
e8fe3c7c05
fix: Terminate IMAP connection after the job is complete ( #9225 )
2024-04-11 15:47:43 -07:00
Sivin Varghese and GitHub
0477b8ca14
fix: Widget iFrame is adding a white background ( #9221 )
2024-04-11 21:34:31 +05:30
aed156f359
feat: Better SLA missed events popover ( #9215 )
...
* feat: SLA events component
* feat: Add SLA event item component
* Update SLAPopoverCard.vue
* Update SLAPopoverCard.vue
* fix: Translation
* Update SLAEventItem.vue
* feat: complete sticky nrt
* chore: code cleanup
* Update SLACardLabel.vue
* chore: code cleanup
* chore: away click fixes
* feat: use tabular nums
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-10 12:49:38 +05:30
Red and GitHub
9013450e00
fix: Fixes 9012 Cancelling Google OAuth signup redirects user to /auth/sign_in ( #9022 )
...
Overriding new_user_session action to avoid rendering error directly in webpage
2024-04-10 12:12:48 +05:30
Shivam Mishra and GitHub
3b2b1b7b8c
feat: remove CODEOWNERS for js & vue files ( #9217 )
...
feat: Remove CODEOWNERS for js & vue files
2024-04-10 16:37:38 +10:00
455a05481c
fix: Remove background color from table footer ( #9213 )
...
* fix: remove bg from footer
* Update SLATable.vue
* Update app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLATable.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-09 15:29:05 +10:00
626f487232
feat: update create SLA modal design ( #9182 )
...
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-08 21:02:01 -07:00
8fe3c91813
feat: Custom attribute sidebar list UX improvements ( #9070 )
...
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-08 21:00:49 -07:00
Muhsin Keloth and GitHub
c4e111b554
feat: Download SLA reports ( #9201 )
2024-04-08 20:51:34 -07:00
Sivin Varghese and GitHub
12c5739287
fix: Adds background color for skelton loader in dark mode ( #9211 )
2024-04-08 20:28:56 -07:00
Muhsin Keloth and GitHub
78724f7459
feat: Table footer design updates ( #9194 )
...
* feat: table footer component cleanup
* Update TableFooter.vue
* feat: Update design
* chore: remove RTL mixin
* chore: Make component in composable format
* chore: review fixes
2024-04-09 10:50:41 +10:00
1038d1500e
feat: SLA reports view ( #9189 )
...
* feat: SLA report table
* feat: Add SLA popover card
* feat: Update popover position
* feat: Add loader
* Update SLACardLabel.vue
* feat: Update column order
* chore: fix conditions
* Update SLATable.vue
* chore: enable reports in ui
* chore: Revamp report SLA apis
* chore: revert download method
* chore: improve the code
* Update enterprise/app/views/api/v1/accounts/applied_slas/download.csv.erb
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* chore: style fixes
* chore: fix specs
* feat: Add number of conversations
* chore: review comments
* fix: translation
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update SLAReportItem.vue
* Update report.json
* Update package.json
* chore: review comments
* chore: remove unused translation
* feat: Add TableHeaderCell component
* chore: more review fixes
* Update app/javascript/dashboard/components/widgets/TableHeaderCell.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update TableHeaderCell.vue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-09 10:14:36 +10:00
Sivin Varghese and GitHub
7ae09ce1bf
feat: Reports filter components ( #9204 )
...
* feat: Reports filter components
* Update FilterButton.vue
* Update FilterDropdownSearch.vue
* feat: Adds component level search
* Update FilterDropdownSearch.vue
* chore: Set max height
* feat: Add focus
* chore: Uses picoSearch package
2024-04-08 20:46:08 +10:00
Sivin Varghese and GitHub
aef4b582db
fix: Update the SLA alert styles to match the labels ( #9199 )
2024-04-05 09:06:52 -07:00
Shivam Mishra and GitHub
69ebdc63e3
feat: better empty state for SLA ( #9198 )
...
* feat: better empty state
* feat: better create CTA
* feat: use text-sm
2024-04-05 11:45:05 +05:30
Shivam Mishra and GitHub
2397f817fb
fix: add priority in filter keys [CW-3177] ( #9179 )
...
* fix: ConditionValidationService fails on conversation priority
* fix: custom attribute clash in spec
2024-04-05 10:03:48 +05:30
Vishnu Narayanan and GitHub
95c83725d7
chore: add db_reset make command ( #9197 )
2024-04-05 12:11:30 +11:00
fa3bc05d3d
chore: fix sla email notifications ( #9192 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-04 21:16:49 +05:30
Sojan Jose and GitHub
18bfda35b3
chore: Fix agent API returning 500 error ( #9193 )
...
- We were using the @user object in the view, which wasn't available when using api_access_token.
- Also replaced the object to @agent and added additional specs to confirm the right object
fixes: https://linear.app/chatwoot/issue/CW-3185/agent-create-api-throwing-500-response
ref: https://discord.com/channels/647412545203994635/1219928138163949568/1219928138163949568
2024-04-04 19:44:47 +05:30
5c9acfb4e9
chore: Handle duplicate Webhooks from slack ( #9187 )
...
* chore: Handle duplicate Webhooks from slack
* chore: fixes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-04 17:00:45 +05:30
Sivin Varghese and GitHub
e49ef773d8
feat: UI to show the SLA threshold in chat screen ( #9146 )
...
- UI will show the breach in the conversation list.
- UI will show the breach in the conversation header.
Fixes: https://linear.app/chatwoot/issue/CW-3146/update-the-ui-to-show-the-breach-in-the-conversation-list
Fixes: https://linear.app/chatwoot/issue/CW-3144/ui-update-to-show-the-breachgoing-to-breach
2024-04-04 15:46:46 +05:30
e21d7552d3
feat: extending lock to single conversation to meta inbox ( #9104 )
...
This change introduces the ability to lock conversations to a single thread for Instagram and facebook messages within the Meta inbox, mirroring existing functionality in WhatsApp and SMS inboxes.
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-03 21:33:23 +05:30
6b7a707fef
chore: Security upgrade omniauth-google-oauth2 from 1.1.1 to 1.1.2 ( #9173 )
...
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-04-03 20:22:46 +05:30
Muhsin Keloth and GitHub
727fa67735
feat: SLA reports store ( #9185 )
...
- Added sla reports actions, getters and mutations.
2024-04-03 12:53:31 +05:30
Muhsin Keloth and GitHub
fc25f43448
feat: Add SLA reports overview component ( #9167 )
2024-04-02 15:08:19 -07:00
Muhsin Keloth and GitHub
631598b6b6
chore: Fix twilio inbox create transaction rollback ( #9181 )
...
chore: Fix twilio create transaction
2024-04-02 15:04:10 +05:30
Sojan Jose and GitHub
4e28481f27
feat: Conversation API to return applied_sla and sla_events ( #9174 )
...
* chore: Add sla_events to push_event_data
* chore: Return SLA details in the API
* chore: feature lock sla push event data
* Update _conversation.json.jbuilder
* chore: rubocop fixes
2024-04-01 23:30:07 +05:30
16282f6a66
feat: Add push/email notification support for SLA ( #9140 )
...
* feat: update SLA evaluation logic
* Update enterprise/app/services/sla/evaluate_applied_sla_service.rb
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* chore: refactor spec to bring down expecations in a single block
* chore: fix process_account_applied_sla spec
* chore: add spec to test multiple nrt misses
* feat: persist sla notifications
* feat: revert persist sla notifications
* feat: add SLA push/email notification support
* chore: refactor sla_status to include active_with_misses
* chore: add support for sla push/email notifications
* chore: refactor
* chore: add liquid templates
* chore: add spec for liquid templates
* chore: add spec for sla email notifications
* chore: add spec for SlaPolicyDrop
* chore: refactor to ee namespace
* chore: set enterprise test type to mailer
* feat: enable sla notification settings only if SLA enabled
* chore: refactor
* chore: fix spec
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-03-29 20:27:21 +11:00
6956436a76
feat: refactor SLA evaluation logic ( #9133 )
...
* feat: update SLA evaluation logic
* chore: handle nrt
* chore: handle applied_sla status
* chore: refactor spec to bring down expecations in a single block
* chore: fix process_account_applied_sla spec
* chore: add spec to test multiple nrt misses
* feat: persist sla notifications
* feat: revert persist sla notifications
* chore: refactor sla_status to include active_with_misses
* chore: refactor spec
* Update evaluate_applied_sla_service.rb
* minor refactors
* clean up
* move notification related spec
* chore: refactor notifications spec to sla_event model
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-03-29 02:01:43 +11:00
9a1c54a82d
feat: disable automation rules if condition fails multiple times ( #9017 )
...
* feat: add email for disabling automation rule
* feat: disable automation rules and notify admin
* feat: reset error count after update
* feat: trigger invalid_condition_error if rule is invalid
* feat: setup error trackable concern
* refactor: use ErrorTrackable in Reauthorizable
* fix: optional argument
* feat: separate reauthorization_required_key
* test: update case to use ERROR_TRACKABLE_COUNT
* Revert "test: update case to use ERROR_TRACKABLE_COUNT"
This reverts commit f439847147556a02759a7597a7fcf1d66091cafc.
* Revert "feat: separate reauthorization_required_key"
This reverts commit f4514fce217b0a2f2c2bf701a15de0a8b47acbc4.
* Revert "fix: optional argument"
This reverts commit 93b4194ec3f10f67e2402388c966c071c4d3b4fd.
* Revert "refactor: use ErrorTrackable in Reauthorizable"
This reverts commit 513c2a522bc782e73ea4b0f5ae34ce01e70e042c.
* Revert "feat: setup error trackable concern"
This reverts commit 278683060cf422f60af5d5c77100aa5272141141.
* feat: use reauthorizable for automation rule
* feat: remove redis key
* test: fix method names
* chore: refactor
---------
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2024-03-28 13:14:16 +05:30
Sivin Varghese and GitHub
3e07320d22
feat: SLA threshold card component ( #9163 )
...
- Component to display SLA timer in the conversation card and header
2024-03-27 13:19:51 +05:30
1253264382
fix: Avoid duplicate invitation emails when adding an agent ( #9131 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-26 18:58:45 -07:00
2ee911e33a
chore(deps): bump express from 4.18.2 to 4.19.2 ( #9159 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 15:22:06 -07:00
cdcf02c943
chore(deps): bump follow-redirects from 1.15.3 to 1.15.6 ( #9119 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.3 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 15:12:39 -07:00
3b7694b163
chore(snyk): Security upgrade markdown-it from 13.0.1 to 13.0.2 ( #9153 )
...
fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MARKDOWNIT-6483324
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-03-26 15:12:09 -07:00
Shivam Mishra and GitHub
d1dd319091
feat: API to download breached conversations ( #9150 )
...
* feat: add download conversations endpoint
* feat: template for conversation list download
* feat: setup download API and tests
* chore: revert formatting change
* feat: rename download method
* feat: rename template
* feat: include sla_policy table in download query
* refactor: add nil safety to assignee
* chore: Update en.yml
* fix: remove applied_sla relation
2024-03-26 09:22:49 +05:30
Shivam Mishra and GitHub
9917cb4273
fix: Convert cached_label_list to text ( #9143 )
2024-03-25 18:47:08 -07:00
Muhsin Keloth and GitHub
48452a42f4
feat: Add SLA metrics API ( #9132 )
2024-03-25 12:24:43 +05:30
6d4551bca2
feat: Update the design for SLA policy management pages ( #9136 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-22 14:39:09 -07:00
e94b276f64
feat: Add help URLs for features in features.yml ( #9134 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-21 10:30:46 -07:00
c51492c674
feat: SLA List Item component ( #9135 )
...
- Base settings list and list item components.
- SLA list item component.
Fixes: https://linear.app/chatwoot/issue/CW-3126/create-a-sla-list-item-component-with-the-new-design
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-21 19:30:11 +05:30
Ryan Kon and GitHub
762a39330a
fix: use safe nav when downcasing email in from_email ( #9139 )
...
Use safe nav when downcasing email in from_email
2024-03-21 18:44:04 +05:30
44956176a1
feat: Add SLA header component ( #9129 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-20 21:04:44 -07:00
Sojan Jose and GitHub
1303469087
feat: Ability filter blocked contacts ( #9048 )
...
- This PR introduces the ability to filter blocked contacts from the contacts filter UI
2024-03-20 18:11:50 +05:30
f78f278e2f
fix: Update validations for filter service ( #8239 )
...
- Refactor filter service for better readability and maintenance
- Add validations for the following:
- If an invalid attribute is passed, a custom exception InvalidAttribute will be thrown.
- If an invalid operator is passed, a custom exception InvalidOperator will be thrown.
- If an invalid value (currently checking only null check), a custom exception InvalidValue will be thrown.
Fixes: https://linear.app/chatwoot/issue/CW-2702/activerecordstatementinvalid-pginvalidtextrepresentation-error-invalid
Fixes: https://linear.app/chatwoot/issue/CW-2703/activerecordstatementinvalid-pginvaliddatetimeformat-error-invalid
Fixes: https://linear.app/chatwoot/issue/CW-2700/activerecordstatementinvalid-pgsyntaxerror-error-syntax-error-at-or
Co-authored-by: Sojan <sojan@pepalo.com >
2024-03-20 16:29:36 +05:30
Vishnu Narayanan and GitHub
b017d05ed9
feat: add sla events table ( #9126 )
...
* feat: add sla events table
* chore: refactor to EE namespace
* chore: refactor
* chore: fix spec
* chore: add references to account,inbox,sla_policy
* chore: update specs
* chore: update spec to check backfilling id's
* Update spec/enterprise/models/sla_event_spec.rb
2024-03-20 11:59:37 +05:30
bd97226c95
fix: Locale not correct in root url when accessing help center with custom domain ( #9110 )
...
- Ensuring that SwitchLocale concern handles the case of custom domain for portals and set locale according to that
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-03-19 18:48:59 +05:30
Sojan
a8b930e351
Merge branch 'release/3.7.0' into develop
2024-03-18 17:27:23 +05:30
Sojan
e93af2681e
Merge branch 'release/3.7.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-03-18 17:27:13 +05:30
Sojan
e1e8857195
Bump version to 3.7.0
2024-03-18 17:26:09 +05:30
Muhsin Keloth and GitHub
b5c6d90abd
chore: Fix CSATMetrics component snap shot spec ( #9122 )
...
chore: Fix snapshot specs
2024-03-18 17:02:23 +05:30
Sojan Jose and GitHub
fd832d7593
chore: Add verbose errors for IMAP email channels ( #9116 )
2024-03-15 20:53:23 -07:00
Vishnu Narayanan and GitHub
29e44ac6d0
feat: add option to delete and disable edits for SLA ( #9108 )
...
* feat: add delete button for SLA
* chore: remove edit SLA
* chore: remove update related texts from i18n
2024-03-15 12:21:32 +05:30
Sivin Varghese and GitHub
58ee2e125a
fix: Update the error response during changing the password from profile settings ( #9114 )
2024-03-14 23:07:19 -07:00
89d0b2cb6e
feat: Add the bot performance reports UI ( #9036 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-03-14 23:04:14 -07:00
476077ab84
fix: Update location component to avoid overflow, handle location title from Telegram payload ( #9113 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-14 22:53:43 -07:00
Muhsin Keloth and GitHub
586552013e
feat: Update the contact_type when creating or updating the contact ( #9107 )
...
* feat: Update location and country code when the contact create/update
* feat: Update the location and country_code when creating or updating the contact.
* chore: improve comments
* feat: Update the contact_type when the contact created/updated
* chore: add more specs
* chore: code cleanups
* chore: code cleanups
* Update contact_spec.rb
* Update inbox.rb
* Update sync_attributes_spec.rb
* chore: build fixes
* chore: check visitor type before update
* chore: review fixes
2024-03-15 10:55:40 +05:30
Sojan Jose and GitHub
3dae3ff3ad
feat: Conversation update API for sla_policy_id ( #8973 )
...
- Add an endpoint for updating conversation attributes (priority / sla_policy_id )
- Swagger spec
- minor chores around the conversation API/spec
Fixes: https://linear.app/chatwoot/issue/CW-2100/feat-backend-api-to-update-the-sla-of-a-conversation
2024-03-14 17:22:32 +05:30
29171565ed
feat: Add image preview for inline images in vue-letter ( #9099 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-13 18:46:35 -07:00
55fcbe2dde
feat: Add the ability to zoom on chat images ( #9093 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-13 18:04:42 -07:00
Vishnu Narayanan and GitHub
7f4b2d66d4
feat: add activity message for SLA ( #9100 )
...
* feat: add activity message for SLA
* chore: refactor to reduce method complexity
* chore: refactor
* feat: add spec for SLAactivity message
* chore: move SLA spec to enterprise folder
* chore: move team activity methods to a separate module
* chore: fix typo
* chore: move sla activity message spec to conversation model
2024-03-13 20:05:34 +05:30
Muhsin Keloth and GitHub
804a42c271
feat: Update the location and country_code when creating or updating the contact ( #9106 )
...
* feat: Update the location and country_code when creating or updating the contact.
* chore: improve comments
2024-03-13 16:40:21 +05:30
Vishnu Narayanan and GitHub
561fafa198
feat: Update icons for the SLA feature in dashboard ( #9101 )
2024-03-12 12:45:46 -07:00
Vishnu Narayanan and GitHub
aaf70cf1cf
feat: add push notification when SLA missed ( #9078 )
...
* feat: add push notification when SLA missed
* chore: sent notification only for inbox members
* feat: add conv particpants+admins to SLA notification list
* chore: add spec to ensure notification is created
* chore: refactor to multiple alerts for SLA conditions
* chore: add sla_policy as secondary_actor in notification
2024-03-11 21:49:41 +05:30
0685e04aae
feat: Add inbox view under feature flag on the sidebar ( #9049 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-07 18:27:39 -08:00
Pranav and GitHub
b6bf6bd414
docs: Update README.md, remove broken badge ( #9080 )
2024-03-07 22:27:29 +05:30
Shivam Mishra and GitHub
9f70b93ff3
feat: Add information about email in the transcript ( #9020 )
2024-03-06 22:28:33 -08:00
Pranav and GitHub
505ede2761
fix: Change the column identifier from string to text to avoid overflow ( #9073 )
...
Fixes: https://linear.app/chatwoot/issue/CW-3118/cannot-subscribe-to-notifications-on-microsoft-edge
Fix the issue with notifications in Microsoft Edge. The Edge push notification payload identifier has more than 255 characters. The API calls were failing due to this. This PR would fix the issue.
2024-03-07 11:13:01 +05:30
Chatwoot Bot and GitHub
56bf543f7e
chore: Update translations ( #9052 )
2024-03-06 23:30:32 +05:30
Muhsin Keloth and GitHub
216de4d123
fix: Conversation assignment notification title ( #9071 )
2024-03-06 23:05:13 +05:30
Muhsin Keloth and GitHub
ef90b7a3d8
feat: Revamp the notification title and content ( #8988 )
2024-03-06 20:51:56 +05:30
Muhsin Keloth and GitHub
58dd2633ba
feat: Add contact helper ( #8989 )
2024-03-06 17:39:39 +05:30
Shivam Mishra and GitHub
c62c512ec4
fix: inline attachments not handled if tag was missing ( #9068 )
2024-03-06 17:15:29 +05:30
Matheus Rodrigues and GitHub
e086cb0d86
docs: added missing type text for messages ( #9067 )
...
- It adds the text type of message which is missing on the documentation
2024-03-06 16:30:51 +05:30
b4d37fa16b
fix: Update help center styles, fix routing issues ( #9061 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-03-04 09:57:14 -08:00
Sivin Varghese and GitHub
a9d42e8c7e
fix: Update the broken styles in help center insert modal ( #9062 )
2024-03-04 08:28:47 -08:00
Sojan Jose and GitHub
81060a72a4
feat: Improve reply suggestions using help center articles ( #9026 )
2024-03-03 20:25:19 -08:00
881d4bf644
feat: Add backend APIs for the bot metrics ( #9031 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-01 08:20:20 -08:00
Sivin Varghese and GitHub
9581264286
fix: Broken styles ( #9046 )
2024-03-01 13:06:33 +05:30
Shivam Mishra and GitHub
7c5c88b17a
fix: Update border radius for login/unauthenticated pages ( #9042 )
2024-02-29 10:34:13 -08:00
Sivin Varghese and GitHub
351cc940ce
fix: Fix the button variant success color in dark mode ( #9043 )
2024-02-29 10:33:31 -08:00
Sivin Varghese and GitHub
9c2147aced
fix: UI breakages ( #9040 )
...
- Fixes overflow of contact details in the contact side panel.
- Fixes line height issue in article header.
- Fixes overflow of category names in the article list.
- Fixes typing indicator alignment issues
2024-02-29 15:10:29 +05:30
Sojan Jose and GitHub
cb8f6f1a39
fix: Update the reply time tooltip to avoid confusion ( #9037 )
2024-02-28 12:22:09 -08:00
a92639e391
fix: Filter dropdown alignment issue in reports page ( #9035 )
...
* fix: Filter dropdown alignment issue in reports page
* fix: add hide class
* chore: Clean up
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-02-28 20:26:23 +05:30
dafedddc1a
feat: Remove Foundation in favor of Tailwind ( #8984 )
...
* feat: Remove foundation
* chore: Minor fix
* Minor fix
* Update _forms.scss
* chore: More changes
* chore: Minor fix
* chore: Clean up
* fix: font-weight
* chore: More changes
* chore: Setting page
* chore: Editor fix
* chore: Reports page
* chore: More changes
* chore: Minor changes
* chore: More fixes
* chore: More changes
* chore: More changes
* chore: More changes
* chore: Minor fix
* chore: More changes
* chore: More changes
* chore: More changes
* chore: More changes
* chore: Clean up
* chore: Minor fix
* chore: Clean ups
* chore: Rename basic file
* chore: Remove unused files
* chore: Fix expanded input
* Fix campaign rendering
* chore: Clean up
* chore: More changes
* chore: Remove unused files
* fix: Overflow issue
* chore: Minor fix
* chore: Clean up
* chore: Minor fix
* chore: Remove unused files
* chore: Minor fix
* chore: Minor fix
* fix: autoprefixer start/end value has mixed support
* chore: Minor fix
* chore: Remove unused files
* chore: Minor fix
* chore: Minor fix
* chore: Minor fix
* Add responsive design to label settings
* fix inbox view
* chore: Minor fix
* w-60% to w-2/3
* chore: Fix team
* chore: Fix button
* w-[34%] to w-1/3
* chore: Fix border
* Add support mobile views in team page
* chore: fix snackbar
* chore: clean up
* chore: Clean up
* fix: loading state alignment
* fix: alert styles
* chore: Minor fix
* fix: spacing for agent bot row
* fix: layout
* fix: layout for SLA
* fix: checkbox
* fix: SLA checkbox spacing
* Update inbox settings pages
* fix macros listing page layout
* fix canned responses
* chore: Fix bot page
* chore: fix automation page
* chore: fix agents page
* chore: fix canned response editor
* chore: Fix settings table
* chore: fix settings layout
* chore: Minor fix
* fix: canned response table layou
* fix: layout for table header for webhooks
* fix: webhook row layout
* fix: dashboard app modal layout
* fix: add title to canned response truncated shortcode
* fix: dashboard apps row layuot
* fix: layouts hooks
* fix: body color
* fix: delete action color in portal locales
* fix: text color for campagin title
* fix: success button color
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-02-28 13:56:28 +05:30
9f905ce2e6
feat: Update the input for the SLA threshold selection ( #8974 )
...
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: Pranav <pranav@chatwoot.com >
2024-02-27 23:00:24 -08:00
Pranav and GitHub
dca14ef82d
fix: Downgrade rack-cors to 2.0.0 to fix CVE-2024-27456 ( #9032 )
2024-02-27 20:20:59 -08:00
ac249c75c4
chore: Update the metric card component to support generic cases ( #9030 )
...
Rename the CSAT metric card to a generic name, updated the implementation to use composition API and removed all the custom CSS in the component to conform with TailwindCSS styles
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-27 17:51:06 -08:00
Sojan Jose and GitHub
41e269e873
feat(ee): Add reporting events for bots ( #9027 )
...
Added a new event conversation_bot_resolved and added a job to auto resolve the bot conversations if there was no activity for the last 1 hour.
2024-02-27 14:53:28 -08:00
b7a83dcbcd
feat: Add a placeholder for image attachments in conversations view ( #8969 )
...
We analyze an image to get it's height and width. On the frontend, we would show a placeholder with the corresponding width and height until the images are loaded properly.
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-02-27 14:46:16 -08:00
Danilo Campana Fuchs and GitHub
fd993feece
chore(docs): Update the API documentation to add the filter status=all to conversation list and meta ( #8994 )
2024-02-26 15:15:55 -08:00
773be6f8ec
feat: Interface to validate response_source ( #8894 )
...
- This PR adds a UI to validate the response source quality quickly. It also helps to test with sample questions and update responses in the database when missing.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2024-02-26 20:20:12 +05:30
Vishnu Narayanan and GitHub
77e463990a
feat: seed db for heroku review apps ( #9019 )
2024-02-26 16:41:05 +05:30
Vishnu Narayanan and GitHub
8f6ff4bc41
chore: refactor deploy check gh action ( #9018 )
...
* chore: refactor deploy check action
Refactor deployment check gh action to account for the initial setup time required for heroku review apps
Process /api response via jq only if http.status_code is 200
2024-02-26 16:14:01 +05:30
Sojan Jose and GitHub
ab56374b2f
chore: Fix Bundle Audit Breakages ( #9016 )
...
Name: actionpack
Version: 7.0.8
CVE: CVE-2024-26143
Criticality: Unknown
URL: https://discuss.rubyonrails.org/t/possible-xss-vulnerability-in-action-controller/84947
-----
Name: rack
Version: 2.2.8
CVE: CVE-2024-25126
Criticality: Unknown
URL: https://discuss.rubyonrails.org/t/denial-of-service-vulnerability-in-rack-content-type-parsing/84941
2024-02-26 15:25:21 +05:30
Shivam Mishra and GitHub
fa305d76e8
fix: Add custom rubocop rules for email fetch ( #8987 )
2024-02-23 11:58:02 -08:00
Vishnu Narayanan and GitHub
1de3ff1a6d
chore(infra): Add GH action to ensure deployment success for every PR ( #8990 )
2024-02-22 15:28:28 -08:00
Shivam Mishra and GitHub
106319406b
fix: remove rubocop rule ( #8985 )
...
* fix: remove rubocop rule
* chore: remove ignore comment
* chore: remove ignore comment
2024-02-22 13:36:15 +05:30
Chatwoot Bot and GitHub
a5e9cd94e1
chore: Update translations ( #8983 )
2024-02-21 16:01:14 -08:00
27ac262a26
feat(ee): Add support for SLA in automation rules ( #8910 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-02-21 14:45:43 -08:00
ae4c8d818f
feat: Ability to block contacts permanently ( #8922 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-21 14:18:42 -08:00
Shivam Mishra and GitHub
c031cb19d2
fix: downcase email before finding ( #8921 )
...
* fix: downcase email when finding
* feat: add `from_email` class
* refactor: use `from_email`
* feat: add rule to disallow find_by email directly
* chore: remove redundant test
Since the previous imlpmentation didn't do a case-insentive search, a new user would be created, and the error would be raised at the DB layer. With the new changes, this test case is redundant
* refactor: use from_email
2024-02-21 18:51:00 +05:30
ebae547a60
feat: Add ability to resolve API channel conversations ( #8348 )
...
- Create a new endpoint to fetch a single conversation in client apis
- Create a new endpoint to resolve a single conversation in client apis
- Update swagger API definition to include missing endpoints
Fixes : #6329
Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch >
2024-02-21 17:41:20 +05:30
cc47ccaa2c
feat(ee): Add SLA management UI ( #8777 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-20 23:03:22 -08:00
Vishnu Narayanan and GitHub
d53097f77d
fix: Raise error if email to_header is invalid ( #8688 )
2024-02-20 17:03:39 -08:00
9911c5dc12
chore: Hide banners on onboarding view ( #8934 )
...
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-02-20 16:12:51 -08:00
19aef3e94b
chore(deps): bump ip from 1.1.5 to 1.1.9 ( #8976 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 16:11:02 -08:00
23230e0143
feat: sla-7 ensure applied_sla uniqueness ( #8938 )
...
* feat: refactor fetching sla in action service
* chore: modify spec
* chore: ensure applied_sla uniqueness
* chore: review fixes
* feat: add unique index on applied_sla
* chore: fix spec
* chore: add new specs to improve coverage
* chore: improve spec
* Update spec/enterprise/services/enterprise/action_service_spec.rb
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-02-20 21:59:49 +05:30
Vishnu Narayanan and GitHub
f92cea144c
feat(perf): sla-9 improve perf of TriggerSlasForAccountsJob ( #8953 )
...
* feat: improve perf of TriggerSlasForAccountsJob
2024-02-20 21:54:37 +05:30
Muhsin Keloth and GitHub
e6cf8c39b7
feat: Update last_snoozed_at after the un-snooze notification ( #8943 )
2024-02-20 18:55:39 +05:30
Muhsin Keloth and GitHub
c5c0845151
feat: Add labels, status and priority in notification push_event_data ( #8972 )
2024-02-20 17:17:25 +05:30
5d9fb55370
feat: Export contact improvements ( #8895 )
...
This pull request enhances the export contacts feature by adding a confirmation step before exporting. Previously, clicking the export button would trigger the export action without confirmation.
Additionally, it ensures that only the intended recipient receives the export email, addressing the previous behaviour where all administrators received it.
Fixes : #8504
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-02-20 17:11:03 +05:30
721a2f5052
feat: API changes to support multi step user signup ( #8933 )
...
-API Changes to support the new onboarding flow
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-20 16:48:51 +05:30
7320957405
chore: Add facebook_api_version to global config ( #8965 )
...
- Ability to configure facebook_api_version from global config
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-20 15:53:29 +05:30
Sojan
e4d072c79c
Merge branch 'release/3.6.0' into develop
2024-02-19 15:59:26 +05:30
Sojan
cb2b75ca17
Merge branch 'release/3.6.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-02-19 15:59:20 +05:30
Sojan
71ee10c889
Bump version to 3.6.0
2024-02-19 15:58:21 +05:30
Sojan Jose and GitHub
978a8a4cb2
fix: support_email and inbound_email_domain returning empty string ( #8963 )
...
chore: Fix for inbound email domain being nil
2024-02-19 15:43:35 +05:30
cd06b2b337
fix: Inbox view Read/Snoozed display filters ( #8907 )
...
* fix: Notification filters
* Update notification_finder.rb
* Update notification_finder.rb
* Update notification_finder.rb
* fix: spec
* fix: specs
* Update notification_finder.rb
* fix: add more fixes
* Update notification_finder.rb
* fix: specs
* chore: better comments
* chore: removed filtering
* chore: refactoring
* fix: review fixes
* fix: API call
* chore: Minor fix
* Rename spec
* Fix params getting undefined
* Fix finder
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-17 13:59:25 +05:30
6eb06377cc
feat: Add textarea component to use in forms ( #8932 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-02-16 12:19:08 -08:00
Sojan Jose and GitHub
94892e7168
chore: Fix flaky spec relying on unguaranteed order ( #8956 )
2024-02-16 12:11:39 -08:00
Muhsin Keloth and GitHub
fe744abe26
fix: Mark notification as unread after the un-snooze ( #8917 )
2024-02-16 17:30:54 +05:30
Nithin David Thomas and GitHub
a902b49bc5
feat: Adds bulk_invite api for onboarding view ( #8931 )
...
- New API for bulk email invite
2024-02-16 17:01:27 +05:30
Sojan Jose and GitHub
9c07b6dd46
chore: Support for updated_within in ConverationFinder ( #8947 )
...
- `updated_within' accepts value in seconds and returns all conversations updated in the given period with out pagination. This API will assist in our refetch logic on socket disconnect
ref: #8888
2024-02-16 16:44:55 +05:30
Muhsin Keloth and GitHub
3b7b06dbec
feat: Add meta to notification model ( #8941 )
...
* feat: Add meta and description to notification model
* chore: remove description
2024-02-16 14:38:02 +05:30
Sivin Varghese and GitHub
597a4164e8
fix: Editor hyperlink popup is hidden under modal ( #8950 )
2024-02-16 08:19:06 +05:30
Nithin David Thomas and GitHub
678c00f254
fix: Removes default slot for right of label ( #8936 )
2024-02-14 10:48:54 -08:00
Nithin David Thomas and GitHub
7298002da7
fix: Adds forgot password link for login form ( #8927 )
...
- focus ring not appearing issue
- missing forgot password link
Fixes: https://linear.app/chatwoot/issue/CW-3090/fix-fixes-issues-with-login-form
2024-02-14 16:31:32 +05:30
Vishnu Narayanan and GitHub
96b781b7fd
fix: throttle contact search endpoint to prevent abuse ( #8919 )
...
Throttle contact_search endpoint to prevent abuse/maintain db perf
ref: https://discord.com/channels/897869226579222540/899920096972111883/1206919316402999326
2024-02-13 18:48:11 +05:30
Pranav Raj S and GitHub
1ce5cbe275
feat: Add endpoints to retrieve summary of team/agents over a period of time ( #8916 )
...
- Internal APIs to prototype reporting improvements.
2024-02-13 15:44:40 +05:30
Pranav Raj S and GitHub
c607f09be0
feat: Improve the rendering of CSV exports ( #8914 )
...
Improve the rendering of the datestamp
2024-02-12 20:01:58 -08:00
Shivam Mishra and GitHub
33a6ad9f7e
chore: add more logging to mailbox helpers [CW-3071] ( #8909 )
...
* chore: add more logging to mailbox helpers
* fix: deleted entries
* fix: log order
* refactor: log using `processed_mail.message_id`
2024-02-13 08:51:50 +05:30
Shivam Mishra and GitHub
e662336eaf
feat: handle already invited user ( #8912 )
2024-02-13 08:51:42 +05:30
Shivam Mishra and GitHub
0158a55845
fix: Update outline color on login page ( #8913 )
2024-02-12 11:03:09 -08:00
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
Sai Warang and GitHub
fc6a22b072
fix:Avoid adding all new conversations when on a custom view ( #8905 )
2024-02-12 07:10:53 -08:00
227d99934e
feat: Agent bot cant assign conversations to teams ( #8015 )
...
Implemented so that the API can process priority and agent/team changes per Agent Bot.
Fixes: #7474
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-02-12 15:51:22 +05:30
Vishnu Narayanan and GitHub
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
8b5735c915
chore(deps): bump grpc from 1.54.0 to 1.54.3 ( #8906 )
...
Bumps [grpc](https://github.com/google/grpc ) from 1.54.0 to 1.54.3.
- [Release notes](https://github.com/google/grpc/releases )
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md )
- [Commits](https://github.com/google/grpc/compare/v1.54.0...v1.54.3 )
---
updated-dependencies:
- dependency-name: grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 12:52:45 +05:30
Pranav Raj S and GitHub
eb379e1849
fix(refactor): Cleanup the specs and the logic for FetchIMAP job ( #8766 )
2024-02-10 14:03:50 -08:00
Pranav Raj S and GitHub
6a630bc489
chore: Render timestamp in a better format in conversation traffic export ( #8897 )
...
chore: Render timestamp in a better format in conversation traffic reports
2024-02-09 00:48:10 -08:00
Vishnu Narayanan and GitHub
0d1b474e60
chore: upgrade to latest versions of gh helper actions ( #8896 )
...
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
Fixes: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-02-09 10:56:36 +04:00
Sojan Jose and GitHub
84f6cadae7
chore: Remove unused builders for widget ( #8876 )
...
- These builders are not used in our code base, hence removing them
2024-02-08 21:12:55 +04:00
Sojan Jose and GitHub
372e740c38
chore: Add CODEOWNERS ( #8889 )
2024-02-08 07:44:08 -08:00
57dd979a14
feat: Inbox list filter ( #8880 )
...
* feat: Inbox list filter
* fix: routes after delete/unread
* fix: Specs
* feat: Handle sort in frontend
* chore: Minor fixes
* chore: Minor fix
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-08 12:11:01 +05:30
c1d07a5471
feat: Add sidekiq jobs to monitor applied SLAs ( #8828 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2983/sidekiq-jobservice-to-monitor-sla-breach
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-07 21:44:56 +04:00
98eddd0532
fix: Send push notification on bot_handoff ( #7636 )
...
Send a 'Conversation Created' push notification when the bot does a hand_off.
fixes : #7587
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-07 17:45:08 +04:00
Muhsin Keloth and GitHub
1b21e0d429
feat: Add notification.updated event ( #8871 )
2024-02-07 18:15:51 +05:30
Sojan Jose and GitHub
7776b74126
chore: Apply fixes for items in rubocop_todo [CW-1806] ( #8864 )
...
This PR addresses several items listed in our rubocop_todo by implementing the necessary corrections and enhancements. As a result, we are now able to remove the rubocop_todo file entirely, streamlining our codebase and ensuring adherence to our coding standards.
fixes: https://linear.app/chatwoot/issue/CW-1806/chore-rubocop-audit
2024-02-07 13:36:04 +04:00
Muhsin Keloth and GitHub
3abb887445
fix: Change the route from inbox to inbox-view ( #8874 )
...
* fix: Change inbox to inbox-view
* fix: route fixes
* Update ContactInfo.vue
* Update conversation.routes.js
2024-02-07 14:34:18 +05:30
a9ec3ae098
test: ensure that timestamp is in correct range ( #8868 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-07 13:35:31 +05:30
53927b5a72
chore: Inbox view improvements ( #8866 )
...
* chore: Inbox view improvements
* chore: Review fix
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-07 13:14:58 +05:30
Muhsin Keloth and GitHub
d67b91d2b0
feat: Sort Notification API changes ( #8865 )
...
* feat: Inbox sort API changes
* Update notification_finder.rb
* Update notification_finder.rb
* Update notification_finder.rb
2024-02-06 21:03:22 +05:30
Sojan Jose and GitHub
a4fc28abc0
chore: Squash migrations till 05/2023 ( #8862 )
...
- Squash the old migrations up 05/2023 to a single file
2024-02-06 17:00:38 +04:00
bee2a14620
feat: Creates radio select form input for onboarding form ( #8860 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-02-06 03:21:46 -08:00
168a4dc323
fix: build error during development using docker-compose ( #8714 )
...
* Fix ssl error in final build stage
* add env to docker compose
---------
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-02-06 12:56:53 +05:30
47c0decf1e
chore(deps): bump nokogiri from 1.16.0 to 1.16.2 ( #8861 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.16.0 to 1.16.2.
- [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.16.0...v1.16.2 )
---
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>
2024-02-06 09:47:16 +04:00
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
9e0468cd73
feat: Inbox header actions (Snooze/Delete) ( #8858 )
...
* feat: Inbox header actions (Snooze/Delete)
* chore: Minor fix
* chore: Fix eslint
* Update inboxHotKeys.js
* feat: custom snooze
* Update actions.spec.js
* chore: Clean up
* chore: add snoozed_until to notification end point
* chore: Minor fix
* chore: Minor style fix
* chore:Clean up
* chore: review fixes
* chore: Minor fix
* chore: Adds alert
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-06 08:54:15 +05:30
Nithin David Thomas and GitHub
65e9cee019
feat: Form input component to use with onboarding form ( #8850 )
...
* feat: Form input component to use with onboarding form
* Update Input.vue
* Update WithLabel.vue
* Review fixes
2024-02-05 10:17:06 -08:00
bb3851a35c
feat: Wizard step component to use with onboarding ( #8854 )
...
* feat: Wizard step component to use with onboarding
* Update app/javascript/v3/views/onboarding/OnboardingStep.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/v3/views/onboarding/OnboardingStep.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/v3/views/onboarding/OnboardingStep.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Review fixes
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-02-05 09:34:33 -08:00
Nithin David Thomas and GitHub
4368bdb2bc
feat: Form select component to use with onboarding form ( #8852 )
...
* feat: Form select component to use with onboarding form
* Update Select.vue
* Update WithLabel.vue
2024-02-05 09:19:44 -08:00
Sojan Jose and GitHub
1b753720c1
chore: Move Enterprise pricing validation to on create ( #8856 )
...
* chore: Move Pricing validation to on create
The previous validation was getting triggered on all transactions,
this would prevent login to existing users and session data need to be updated.
Opting for a less intrusive approach.
* chore: minore change
2024-02-05 19:18:29 +05:30
Muhsin Keloth and GitHub
39e27d2a23
feat: Delete all/read notifications ( #8844 )
2024-02-05 13:33:05 +05:30
Sivin Varghese and GitHub
45e630fc60
feat: Inbox list display menu ( #8847 )
...
* feat: Inbox list display menu
* chore: Fix alignment
2024-02-04 10:23:16 +05:30
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
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
Sivin Varghese and GitHub
85043e7d88
feat: Inbox page view ( #8841 )
2024-02-02 12:45:07 +05:30
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
33e98bf61a
fix: Use BODY.PEEK[HEADER] to avoid parsing issues with mail providers ( #8833 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-01 17:24:59 -08:00
Nithin David Thomas and GitHub
cae7cb7002
fix: Fixes overlapping issue with local selector dropdown in portal header ( #8839 )
2024-02-01 03:46:55 -08:00
b8047f0912
feat: sla-2 add automation backend support for SLA ( #8775 )
...
* feat: add automation support for SLA
* feat: add sla action in automtion UI
* chore: revert frontend changes
* chore: refactor to ee namespace
* chore: refactor automation rule to ee namespace
* feat: create applied_sla table entry
* chore: add applied_sla spec
* chore: rubocop fixes
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-01 15:42:12 +05:30
Pablo and GitHub
de98e434d6
chore: Update year in LICENSE ( #8835 )
...
Update year in LICENSE
2024-02-01 15:37:05 +05:30
Sivin Varghese and GitHub
74e5e2163a
feat: Inbox options dropdown menu ( #8836 )
2024-02-01 15:17:24 +05:30
9464d4d647
feat: Inbox card context menu component ( #8815 )
...
* feat: Inbox item context menu component
* chore: Minor fix
* chore: Minor height fix
* fix: Conflict
* minor fix
* chore: Fix conflicts
* chore: Minor fix
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-02-01 14:56:15 +05:30
b7a7e5a0d3
feat: Inbox list API integration ( #8825 )
...
* feat: Inbox view
* feat: Bind real values
* chore: code cleanup
* feat: add observer
* fix: Inbox icon
* chore: more code cleanup
* chore: Replace conversation id
* chore: Minor fix
* chore: Hide from side bar
* chore: Fix eslint
* chore: Minor fix
* fix: dark mode color
* chore: Minor fix
* feat: Add description for each notification types
* chore: remove commented code
* Update InboxList.vue
* Update InboxView.vue
* chore: fix specs
* fix: specs
* Update InboxView.vue
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-02-01 12:10:58 +05:30
Sivin Varghese and GitHub
b9c62b3fed
feat: Inbox list header ( #8831 )
...
* feat: Inbox list header
* fix: Border
2024-02-01 10:22:09 +05:30
Sojan Jose and GitHub
d10525a714
fix: Template sync issue for older Whatsapp channels ( #8830 )
...
- This PR introduces a modification to the channel fetching logic, ensuring that channels with older message_template_last_updated timestamps are prioritized during synchronization.
2024-01-31 18:38:01 +04:00
Sojan Jose and GitHub
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
Pranav Raj S and GitHub
ee3f734b7b
chore: Refactor RefreshOauthTokenService to improve readability ( #8820 )
...
- Added a trait called microsoft_email for the Channel::Email factory.
- Rewrote the logic to make it simple to understand
- Rewrote the specs for readability
2024-01-31 12:24:12 +04:00
Pranav Raj S and GitHub
905ca94f71
chore: Remove unused attribute imap_inbox_synced_at ( #8822 )
...
- imap_inbox_synced_at is no longer used; this PR removes all the references to the same.
2024-01-31 11:48:46 +04:00
lkfdjaskl and GitHub
53d42b15b8
fix: Avoid oneOf usage in Open API 2.0 spec ( #8819 )
...
Small fixes to make spec adhere to swagger 2.0
2024-01-30 16:09:18 -08:00
Vishnu Narayanan and GitHub
17cb788193
fix: Upgrade gmail_xoauth gem to 0.4.3 ( #8817 )
2024-01-30 11:11:38 -08:00
Muhsin Keloth and GitHub
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 Jose and GitHub
0805f362d3
chore: Validation for purchased pricing_plan_quantity ( #8809 )
...
- Add validations based on purchased pricing_plan_quantity
- Modify the Dashboard to support the new error message
2024-01-30 11:26:07 +04:00
Sivin Varghese and GitHub
eeb0113dc5
feat: Inbox item header component ( #8810 )
2024-01-30 11:38:33 +05:30
648c4caca1
chore: Move EE OpenAI spec to correct folder ( #8805 )
...
- We previously had this spec inside the enterprise folder which wouldn't be picked up by our build process, so moving to the correct folder instead.
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-01-29 20:09:17 +04:00
Shivam Mishra and GitHub
2eeec22868
fix: Cookies.set does not stringify JSON ( #8807 )
...
* fix: cookie setting
* chore: remove debug statement
* chore: add specs to test stringify
2024-01-29 18:14:49 +05:30
Muhsin Keloth and GitHub
ef50edb9e2
feat: Standardise the external channel user id and user name ( #8802 )
...
* feat: Standardize the external channel id and user name
* chore: add specs
* chore: add name space `social`
2024-01-29 16:57:10 +05:30
Shivam Mishra and GitHub
3ed80fa867
feat: expiry for cache keys [CW-3038] ( #8793 )
...
* feat: set cache keys for 3 days only
* feat: invalidate should set the latest timestamp
* refactor: cache_keys concern
* remove invalidate_cache method
* refactor reset to set to new value instead of delete
* ensure only one event is dispatched
* feat: set expiry to 24 hours
* chore: make expiry 48 hours
* feat: include destroy event
* feat: set expiry to 72 days
* fix: typo
* test: cache update after `touch`
* test: update cache keys
* refactor: remove after_touch, it's already handled in commit
2024-01-29 15:27:26 +05:30
Sivin Varghese and GitHub
cf664ca2a0
feat: Inbox item card component ( #8801 )
2024-01-29 14:52:55 +05:30
Muhsin Keloth and GitHub
485c561b18
feat: Add attributes location and country_code to Contact model ( #8803 )
...
feat: Add attributes location and country_code to Contact model
2024-01-29 14:10:14 +05:30
Pranav Raj S and GitHub
766698cb3a
chore: Upgrade @june-so/analytics-next, js-cookie to the latest version ( #8799 )
...
This is a small change, upgrading 2 packages to the latest version. getJSON is removed from the latest version, I've added a patch for the same across the codebase.
fixes: https://linear.app/chatwoot/issue/CW-3035/upgrade-dependencies
2024-01-29 11:41:42 +04:00
Shivam Mishra and GitHub
082793290a
feat: allow multiple files for FB and Insta [CW-3019] ( #8783 )
...
* feat: allow multiple messages
* fix: typo
* feat: send content and attachments both
* refactor: message sequence
* test: multiple attachments for instagram
* test: multiple attachments on facebook
2024-01-28 13:20:54 +05:30
Sojan
608592db0c
Merge branch 'release/3.5.2'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-01-19 15:15:27 +04:00
Sojan
ab1f803354
Merge branch 'release/3.5.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-01-17 13:48:22 +04:00
Sojan
b81c722ac8
Merge branch 'release/3.5.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-01-16 11:15:11 +04:00
Sojan
b40ad399f6
Merge branch 'release/3.4.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-12-18 21:22:55 -08:00
Sojan
dcd18072b4
Merge branch 'release/3.3.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-11-18 10:24:25 -08:00
Sojan
bda2d1d9a4
Merge branch 'release/3.3.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-11-17 20:37:25 -08:00
Sojan
83231b9678
Merge branch 'release/3.2.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-10-17 17:55:34 -07:00