Shivam Mishra and GitHub
b603832b2e
Merge branch 'develop' into chore/notification-logging
2024-08-22 18:24:49 +05:30
7c2353c7d9
chore: Repalce Hook Mixin with useHook composable [CW-3454] ( #9994 )
...
# Pull Request Template
## Description
Replace Hook mixin with useHook composable
Fixes # (issue)
## Type of change
Please delete options that are not relevant.
- [ ] 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?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration.
## Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] 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
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-08-22 16:48:02 +05:30
Shivam Mishra
09a610a442
refactor: capture_exception_with_sentry
2024-08-22 16:47:32 +05:30
Sivin Varghese and GitHub
c80de24ac1
fix: TypeError Unhandled Promise Rejection: null is not an object (evaluating 'e[Symbol.iterator]') ( #10007 )
...
# Pull Request Template
## Description
**Cause of Issue**
The problem was that the `clearSelectedState` action was being
dispatched late in the component lifecycle. By the time it was called,
child components like `ConversationBox` and `MessagesView` had already
been mounted and were trying to access data from a previous conversation
that no longer existed. This resulted in throwing error `TypeError
Unhandled Promise Rejection: null is not an object (evaluating
'e[Symbol.iterator]')` when users navigated from other screens to the
conversation view screen.
**Solution**
I added the `clearSelectedState` dispatch to the `created()` lifecycle
hook for cases where there's no `conversationId` from route props. This
ensures that the state is cleared before any child components are
mounted.
Fixes
https://chatwoot-p3.sentry.io/issues/5707937964/?project=4507182691975168
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Steps to reproduce**
1. Navigate to chat list screen and open the console.
2. Open any chat, wait to load the messages and stay in conversation
view screen.
3. Then navigate to contact or any other view from primary sidebar.
4. Then back to chat list view.
5. Now you can see this error in console.
**Before**
https://www.loom.com/share/193aaf1d1926479982a192dfb06a8764?sid=3f9ee000-d6a0-47cc-a49f-0050d2c64bbf
**After**
https://www.loom.com/share/3d88cfd5e7744958bc5856dd601ee6c4?sid=0e07a5d0-e461-4a1a-914b-e49f669422f5
## 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-08-22 16:41:42 +05:30
dadd572f9d
refactor: useKeyboardEvents composable ( #9959 )
...
This PR has the following changes
1. Fix tab styles issue caused by adding an additional wrapper for
getting an element ref on `ChatTypeTabs.vue`
2. Refactor `useKeyboardEvents` composable to not require an element
ref. It will use a local abort controller to abort any listener
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-22 16:40:55 +05:30
776579ba5b
feat: enable disposable email check for account creation ( #9989 )
...
This PR disallows usage of disposable emails when creating an account
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-22 16:40:27 +05:30
4aa4e2549f
feat: Update the design for automation ( #10002 )
...
This is the continuation of the design update for the settings screens.
In this PR, the automation page is updated with the latest design.
- Moved the row to a new component
- Migrated both components to composition API.
- Order by ID (Earlier this was order by updated_at which was
confusing).
| Light | Dark |
| -- | -- |
| <img width="1438" alt="Screenshot 2024-08-21 at 9 46 48 PM"
src="https://github.com/user-attachments/assets/89d96745-6556-48a1-82fa-a115325c24c0 ">
| <img width="1398" alt="Screenshot 2024-08-21 at 9 46 57 PM"
src="https://github.com/user-attachments/assets/5f1935ec-6d0e-4f82-b895-f47244764474 ">
|
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-08-22 16:22:54 +05:30
Muhsin Keloth and GitHub
eb6de74269
fix: OpenAPI label suggestion response payload ( #10008 )
2024-08-22 15:32:33 +05:30
d19a9c38d7
feat: Rewrite aiMixin to a composable ( #9955 )
...
This PR will replace the usage of aiMixin with the useAI composable.
Fixes https://linear.app/chatwoot/issue/CW-3443/rewrite-aimixin-mixin-to-a-composable
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-08-22 13:58:51 +05:30
Sivin Varghese and GitHub
c63a6ed8ec
feat: Rewrite agentMixin to a helper ( #9940 )
...
# Pull Request Template
## Description
This PR will replace the usage of `agentMixin`with the utility helpers
functions.
**Files updated**
1. dashboard/components/widgets/conversation/contextMenu/Index.vue
2. dashboard/components/widgets/conversation/ConversationHeader.vue
**(Not used)**
3. dashboard/routes/dashboard/commands/commandbar.vue
4. dashboard/routes/dashboard/conversation/ConversationAction.vue
5. dashboard/routes/dashboard/conversation/ConversationParticipant.vue
Fixes
https://linear.app/chatwoot/issue/CW-3442/rewrite-agentmixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
**Test cases**
1. See agent list sorting based on availability, if agents are on the
same status, then sorted by name.
2. Test actions like assigning/unassigning agent from conversation
sidebar, CMD bar, Context menu.
3. Test actions like adding/removing participants from conversation
sidebar.
4. See agent list is generated properly, none value.
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-22 13:02:11 +05:30
Muhsin Keloth and GitHub
429d281501
fix: Handle OpenAI API errors ( #9560 )
2024-08-22 10:24:13 +05:30
Muhsin Keloth and GitHub
6571baf211
fix: Delete attachments when removing them from Instagram in real-time ( #9996 )
2024-08-21 20:10:31 +05:30
44227de97e
feat: Update the design for macros design page ( #9999 )
...
This is the continuation of the design update for settings page. This PR updates the design for the macros page.
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-21 18:27:53 +05:30
Pranav and GitHub
77b718c22c
fix: Remove user.permissions, resolve it from accounts ( #9990 )
...
Remove the `user.permissions` field and resolve the permissions directly
from the accounts array in the user. This change ensures that the cache
or previous values from the last active account don't affect the
permissions.
In this PR:
- Remove user.permissions usage, replace it with getUserPermissions
method.
- Remove json.permissions from user.json.jbuilder
2024-08-21 11:36:26 +05:30
04b67eb431
chore(deps): bump fugit from 1.9.0 to 1.11.1 ( #9981 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-21 08:53:26 +05:30
Chatwoot Bot and GitHub
a92d7fd7d5
chore: Update translations ( #9976 )
2024-08-20 20:13:09 +05:30
dependabot[bot] and GitHub
e9e515c436
chore(deps): bump elliptic from 6.5.4 to 6.5.7 ( #9975 )
2024-08-20 19:53:13 +05:30
Vishnu Narayanan and GitHub
bb947ca50d
chore: Remove closing comment on issues/PRs ( #9964 )
2024-08-20 14:27:15 +05:30
Sojan Jose and GitHub
8473e72a7e
chore: [Snyk] Fix for 1 vulnerabilities ( #9971 )
...
- update gem to fix vulnerabilities
2024-08-19 17:41:53 -07:00
Sojan
292435e0e7
Merge branch 'release/3.12.0' into develop
2024-08-19 15:54:48 -07:00
Sojan
d3dacccb1d
Bump version to 3.12.0
2024-08-19 15:53:25 -07:00
Sojan
0190b6c36d
Merge branch 'master' into develop
2024-08-19 15:52:43 -07:00
855b9c8f25
chore: [Snyk] Fix for 1 vulnerabilities ( #9966 )
...
Fixes for vulnerable gems
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-08-17 00:34:15 -07:00
Chatwoot Bot and GitHub
bb78639696
chore: Update translations ( #9946 )
2024-08-16 14:06:32 +05:30
f38101527f
feat: Redesign onboarding screen ( #9939 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-08-16 13:01:22 +05:30
Shivam Mishra and GitHub
4310a547ca
fix: Chat list tab styles ( #9960 )
2024-08-14 18:33:14 +05:30
Muhsin Keloth and GitHub
06a362318c
fix: Instagram audio rendering issues ( #9957 )
...
We are using `audio` component for rendering audio files in dashboard.
```
<audio v-else-if="isAudio" controls>
<source :src="`${dataUrl}?t=${Date.now()}`" />
</audio>
```
We have added the timestamp for every audio URL for cache busting. For
Instagram, we are getting a signature URL. When we add any value and
access the URL, it results in an "Invalid signature. If I remove the
timestamp, the audio is rendering properly. This PR will change the
logic to construct the URL properly instead of direct string
manipulation.
2024-08-14 13:24:00 +05:30
Sivin Varghese and GitHub
dd8abe975c
feat: Rewrite configMixin to a composable ( #9921 )
...
# Pull Request Template
## Description
This PR will replace the usage of `configMixin` with the `useConfig`
composable.
**Files updated**
1. dashboard/components/layout/sidebarComponents/SecondaryNavItem.vue
2. dashboard/components/widgets/conversation/MessagesView.vue
3. dashboard/routes/dashboard/settings/inbox/Settings.vue **(Not used)**
4. dashboard/routes/dashboard/settings/inbox/FinishSetup.vue **(Not
used)**
5.
dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue
6.
dashboard/routes/dashboard/settings/profile/NotificationPreferences.vue
**(Not used)**
7. dashboard/routes/dashboard/settings/profile/AudioNotifications.vue
**(Not used)**
8. dashboard/routes/dashboard/settings/sla/Index.vue **(Not used)**
9. dashboard/routes/dashboard/settings/account/Index.vue
10. survey/views/Response.vue **(Not used)**
Fixes
https://linear.app/chatwoot/issue/CW-3464/rewrite-configmixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Test in the component related pages
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-14 12:56:30 +05:30
Sivin Varghese and GitHub
207933ed70
fix: TypeError cannot read properties of undefined (reading '$el') ( #9951 )
...
# Pull Request Template
## Description
This PR will fix an error `TypeError cannot read properties of undefined
(reading '$el')` with the keyboard shortcut `Alt+KeyA` for triggering
the file picker.
**Issue**
I couldn't able reproduce this issue. It might be because `$children`
was unavailable at the time of access.
**Solution**
Previously, it relied on `$children`. Now, it uses the more reliable
`querySelector` method to find the target element.
Fixes
https://chatwoot-p3.sentry.io/issues/5708410274/?alert_rule_id=15157525&alert_timestamp=1723552508790&alert_type=email&environment=production¬ification_uuid=be5966b2-f17d-4273-8709-98e3322f1f6f&project=4507182691975168&referrer=alert_email
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Test cases**
1. Open a conversation
2. And click `Alt+KeyA` to trigger the file picker.
3. See if there is any issue or errors.
## 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-08-14 11:22:51 +05:30
b998f04826
feat: Update the design for user management page ( #9948 )
...
This PR is the part of the settings page design update series. This PR updates the design for the user management page.
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-13 19:31:31 +05:30
Sivin Varghese and GitHub
7d6466022a
fix: TypeError: t.messages.at is not a function ( #9950 )
2024-08-13 19:16:15 +05:30
Sivin Varghese and GitHub
7ff939efd5
fix: TypeError cannot read properties of undefined (reading 'id') ( #9947 )
2024-08-13 16:28:41 +05:30
Sivin Varghese and GitHub
b33d59d804
feat: Rewrite conversations mixin to a helper ( #9931 )
2024-08-13 15:15:04 +05:30
Fayaz Ahmed and GitHub
c26490e9c1
chore: Replace messageMixing with useMessage composable [CW-3475] ( #9942 )
...
# Pull Request Template
## Description
Replaces the messageMixin with the new useMessage composable
Fixes
https://linear.app/chatwoot/issue/CW-3475/rewrite-messagemixin-mixin-to-a-composable
## Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] 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
2024-08-13 09:21:54 +05:30
Sivin Varghese and GitHub
66db9a0cc1
feat: Rewrite accountMixin to a composable ( #9914 )
2024-08-12 18:53:30 +05:30
Sivin Varghese and GitHub
b1da3dc7cf
feat: Replace attributeMixin within the component ( #9919 )
...
# Pull Request Template
## Description
This PR will replace the usage of `attributeMixin` within the component
itself. And moved the component from option API to composition API and
updated the styles and related component
Fixes
https://linear.app/chatwoot/issue/CW-3444/rewrite-attributemixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
**Test cases**
1. Add custom attributes for both conversation and contact from the
settings
2. See all attributes are showing based on the conversation and contact
in both conversation and contact sidebar.
3. Try all CRUD operations like EDIT, DELETE.
4. Check whether styles are properly showing or not (Background color
based on odd/even)
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-12 18:26:07 +05:30
Sivin Varghese and GitHub
4c6572c2c9
feat: Rewrite conversation/labelMixin to a composable ( #9936 )
...
# Pull Request Template
## Description
This PR will replace the usage of `conversation/labelMixin` with a
composable
Fixes
https://linear.app/chatwoot/issue/CW-3439/rewrite-conversationlabelmixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
**Test cases**
1. Add/remove labels from conversation sidebar
2. See labels are showing up dynamically
3. Check add/remove labels working fine with CMD bar
4. Check card labels in conversation card and SLA reports table.
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-12 17:41:12 +05:30
Sivin Varghese and GitHub
452096f4b2
feat: Replace rtlMixin to a composable ( #9924 )
...
This PR will replace the usage of `rtlMixin` to the `useUISettings` composable, and moved the method to component itself.
2024-08-12 15:50:21 +05:30
Shivam Mishra and GitHub
96d60674aa
chore(deps): Update browserlistdb ( #9933 )
2024-08-12 15:47:54 +05:30
Pranav
0b0e266455
Bump version to v3.11.1
2024-08-12 15:15:49 +05:30
Shivam Mishra and Pranav
6e12ba04ab
fix: last_activity_at is nil when conv is created ( #9934 )
...
The payload does not include last_activity_at when the conversation is created. Because of this the frontend is not able to sort the conversations when appending this. Another problem is that the last_activity_at is not always present, it is added only when a message is created, and it updates it. So this can be nil when the conversation is created, so we fallback to created_at only at the presentation layer
2024-08-12 15:15:49 +05:30
Pranav
ffc0183809
Merge branch 'hotfix/3.11.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-08-12 15:11:19 +05:30
Pranav
dcefd58240
Bump version to v3.11.1
2024-08-12 15:10:42 +05:30
Shivam Mishra and GitHub
6196a6d99a
fix: last_activity_at is nil when conv is created ( #9934 )
...
The payload does not include last_activity_at when the conversation is created. Because of this the frontend is not able to sort the conversations when appending this. Another problem is that the last_activity_at is not always present, it is added only when a message is created, and it updates it. So this can be nil when the conversation is created, so we fallback to created_at only at the presentation layer
2024-08-12 15:08:06 +05:30
Pranav and GitHub
4a63d1d896
feat: Update the design for label management page ( #9932 )
...
This PR is part of the settings design update series. It updates the design for the label management page. I've made a few changes to the SettingsLayout page to reduce boilerplate code.
2024-08-12 09:29:39 +05:30
Sivin Varghese and GitHub
d5f34bf9d0
feat: Replace conversation/teamMixin within the components ( #9923 )
2024-08-11 10:09:08 +05:30
Sivin Varghese and GitHub
3558878ae2
feat: Replace the use of macroMixin with a composable ( #9912 )
...
# Pull Request Template
## Description
This PR will replace usage of `macroMixin` with the `useMacros`
composable. And updated components from option API to composition API.
**Files updated**
1. dashboard/routes/dashboard/settings/macros/MacroNode.vue
2. dashboard/routes/dashboard/settings/macros/MacroEditor.vue
Fixes
https://linear.app/chatwoot/issue/CW-3449/rewrite-macrosmixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
**Test cases**
1. Check whether we can create a new macro.
2. Check whether validations and error animation are working or not.
3. Ability to drag the macro files
4. Check whether the edit pages and functionality is working or not.
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-09 18:40:06 +05:30
Sivin Varghese and GitHub
d1d1398d80
feat: Rewrite customAttributeMixin to validation helper ( #9916 )
...
# Pull Request Template
## Description
This PR will replace the use of `customAttributeMixin` with
`shared/helpers/Validators` helper.
Fixes
https://linear.app/chatwoot/issue/CW-3446/rewrite-customattributemixin-mixin-to-a-composable
**Files updated**
1. widget/components/PreChat/Form.vue
2. dashboard/components/CustomAttribute.vue
3. dashboard/routes/dashboard/settings/attributes/EditAttribute.vue
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Test the custom validation is working or not with the custom attributes.
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-08-09 18:37:26 +05:30
Muhsin Keloth and GitHub
40bd79f1ca
feat: Add issue status in linear issue search item ( #9598 )
2024-08-08 13:44:08 +05:30
Muhsin Keloth and GitHub
74c689e4ad
Merge branch 'develop' into chore/notification-logging
2024-08-08 13:20:49 +05:30
Sivin Varghese and GitHub
74bbbd25b9
feat: Replace the use of keyboardEventListener mixin to a composable (Part -3) ( #9897 )
2024-08-08 12:40:56 +05:30
Pranav and GitHub
ae938b2154
fix: Disable the password section is the admin has disabled user profile update ( #9910 )
...
This PR updates the profile settings page to completely disable the password section, including the heading, if the admin has disabled user profile updates. Previously, the section heading was shown with empty content, which caused confusion.
2024-08-07 09:51:37 -07:00
80a90d9d8c
feat: Update the design for canned responses ( #9903 )
...
This is the continuation of the design update series. Canned responses listing page is rewritten with the design change.
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-08-07 09:43:47 -07:00
Sivin Varghese and GitHub
646cfb97e7
fix: Snooze conversation not working in Inbox view ( #9875 )
2024-08-07 18:57:29 +05:30
Sivin Varghese and GitHub
89acbd8d09
feat: Replace the use of keyboardEventListener mixin to a composable (Part -2) ( #9892 )
2024-08-07 15:43:11 +05:30
Sivin Varghese and GitHub
b03a839809
fix: TypeError: Cannot read properties of null (reading 'user_id') ( #9884 )
2024-08-07 14:42:01 +05:30
Sivin Varghese and GitHub
56e93d152d
feat: Replace the use of mentionSelectionKeyboard mixin to a composable ( #9904 )
2024-08-07 14:14:41 +05:30
c344f2b9cf
fix: Handle the case where message has no attachments ( #9902 )
...
Fix the broken message sending due to the errors in attachment update PR
https://github.com/chatwoot/chatwoot/pull/9784
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-07 09:57:12 +05:30
aea68f1ecf
feat: Update the design of the audit logs page ( #9901 )
...
This is continuation of the design update, updates the design for audit logs listing page.
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-06 20:58:04 -07:00
e393bcf125
fix: Update the logic to handle attachments in a conversation ( #9784 )
...
When the chat is viewed, a function `fetchAllAttachments` is run to get all attachments for a particular conversation. This function, before updating the record creates the `attachments` property on the `chat` object in the store.
If in any case this function fails, the `attachments` property is not created, and when the code reaches the `dashboard/store/modules/conversations/index.js` the error occurs
This PR fixes it by ensuring that `SET_ALL_ATTACHMENTS` is always run. And it handles the default case as well
---
Sentry Issue:
[CHATWOOT-FRONTEND-APP-5Y](https://chatwoot-p3.sentry.io/issues/5459056982/ )
```
TypeError: Cannot read properties of undefined (reading 'some')
at forEach(./app/javascript/dashboard/store/modules/conversations/index.js:160:31)
at Array.forEach(<anonymous>)
at mutations(./app/javascript/dashboard/store/modules/conversations/index.js:159:27)
at handler(./node_modules/vuex/dist/vuex.js:771:7)
at forEach(./node_modules/vuex/dist/vuex.js:470:9)
at Array.forEach(<anonymous>)
at fn(./node_modules/vuex/dist/vuex.js:469:13)
at Store.prototype._withCommit(./node_modules/vuex/dist/vuex.js:574:5)
at Store.prototype.commit(./node_modules/vuex/dist/vuex.js:468:10)
at this.commit(./node_modules/vuex/dist/vuex.js:420:21)
at call(./app/javascript/dashboard/store/modules/conversations/actions.js:273:7)
at tryCatch(./node_modules/videojs-record/dist/videojs.record.js:2868:27)
at _invoke(./node_modules/videojs-record/dist/videojs.record.js:3088:32)
at prototype[method](./node_modules/videojs-record/dist/videojs.record.js:2921:31)
at as(/packs/js/application-cf716bca3c984faeb095.js:4:76)
at as(/packs/js/application-cf716bca3c984faeb095.js:4:76)
at nrWrapper(/app/accounts/81898/conversations/95:6:17817)
```
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-06 18:13:41 -07:00
e330c2f6c0
feat: Update the design for teams ( #9899 )
...
This PR updates the design for the team listing page. This PR is part of the design revamp project for all the settings pages.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-08-06 17:26:23 -07:00
Sojan Jose and GitHub
cb4ad28a13
chore: Auto resolution job for captain ( #9898 )
...
- Add a conversation auto-resolution job for the captain integration
2024-08-06 16:15:11 -07:00
rotsen and GitHub
91b713f6f5
fix: Use appropriate logos for integrations in the dark mode ( #9881 )
2024-08-06 09:40:41 -07:00
Sivin Varghese and GitHub
59b9c55967
fix: Keydown handler in useKeyboardEvent composable not registering correctly ( #9896 )
...
… correctly
# Pull Request Template
## Description
This PR fixes an issue where the key down handler in the
`useKeyboardEvent` composable was not registering correctly.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## 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-08-06 19:34:36 +05:30
Pranav and GitHub
736f16b170
fix: Fix issues with new conversation form ( #9891 )
...
`requiredIf('isAnEmailInbox')` was not evaluated properly. This PR fixes
it by moving it to a method and using the `this.[variable]` pattern.
2024-08-06 16:22:38 +05:30
Sivin Varghese and GitHub
28d4432152
feat: Dynamically show Shift key in shortcut modal for QWERTZ layout ( #9888 )
...
# Pull Request Template
## Description
This PR includes UI changes to dynamically add the `Shift` key to the
key set `Alt+KeyP` and `Alt+KeyL` in the keyboard shortcut modal for the
`QWERTZ` layout.
**Context**
Previously, the `Alt+L` shortcut for toggling the reply editor
conflicted with the `@` symbol on the QWERTZ layout in macOS. The new
`useDetectLayout` composable checks the active keyboard layout. If
`QWERTZ` is detected, the shortcuts are modified to `Shift+Alt+KeyP` and
`Shift+Alt+KeyL`.
[PR with the functionality
changes](https://github.com/chatwoot/chatwoot/pull/9831#event-13764407813 )
Fixes
https://linear.app/chatwoot/issue/PR-1095/typing-a-in-private-note-switches-to-reply-tab-with-german-keyboard
## Type of change
- [x] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
## How Has This Been Tested?
**Loom video**
https://www.loom.com/share/35b741c5afc64bc58bd4e7dc5dad012d?sid=f66ca0bf-b6a7-40fc-8972-ff0cd0196a16
## 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-08-06 16:17:43 +05:30
Sivin Varghese and GitHub
e0b67bb552
feat: Rewrite keyboardEventListener mixin to a composable ( #9831 )
2024-08-05 18:59:47 +05:30
b4b308336f
feat: Eslint rules ( #9839 )
...
# Pull Request Template
## Description
This PR adds new eslint rules to the code base.
**Error rules**
| Rule name | Type | Files updated |
| ----------------- | --- | - |
| `vue/block-order` | error | ✅ |
| `vue/component-name-in-template-casing` | error | ✅ |
| `vue/component-options-name-casing` | error | ✅ |
| `vue/custom-event-name-casing` | error | ✅ |
| `vue/define-emits-declaration` | error | ✅ |
| `vue/no-unused-properties` | error | ✅ |
| `vue/define-macros-order` | error | ✅ |
| `vue/define-props-declaration` | error | ✅ |
| `vue/match-component-import-name` | error | ✅ |
| `vue/next-tick-style` | error | ✅ |
| `vue/no-bare-strings-in-template` | error | ✅ |
| `vue/no-empty-component-block` | error | ✅ |
| `vue/no-multiple-objects-in-class` | error | ✅ |
| `vue/no-required-prop-with-default` | error | ✅ |
| `vue/no-static-inline-styles` | error | ✅ |
| `vue/no-template-target-blank` | error | ✅ |
| `vue/no-this-in-before-route-enter` | error | ✅ |
| `vue/no-undef-components` | error | ✅ |
| `vue/no-unused-emit-declarations` | error | ✅ |
| `vue/no-unused-refs` | error | ✅ |
| `vue/no-use-v-else-with-v-for` | error | ✅ |
| `vue/no-useless-v-bind` | error | ✅ |
| `vue/no-v-text` | error | ✅ |
| `vue/padding-line-between-blocks` | error | ✅ |
| ~`vue/prefer-prop-type-boolean-first`~ | ~error~ | ❌ (removed this
rule, cause a bug in displaying custom attributes) |
| `vue/prefer-separate-static-class` | error | ✅ |
| `vue/prefer-true-attribute-shorthand` | error | ✅ |
| `vue/require-explicit-slots` | error | ✅ |
| `vue/require-macro-variable-name` | error | ✅ |
**Warn rules**
| Rule name | Type | Files updated |
| ---- | ------------- | ------------- |
| `vue/no-root-v-if` | warn | ❎ |
Fixes https://linear.app/chatwoot/issue/CW-3492/vue-eslint-rules
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
---------
Co-authored-by: Fayaz Ahmed <fayazara@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-05 14:02:16 +05:30
Shivam Mishra and GitHub
6166ccb014
fix: Fix broken SSO login after vuelidate changes ( #9877 )
2024-08-02 01:46:58 -07:00
Pranav and GitHub
8696a4c135
chore: Use installation config URL for captain app URL ( #9874 )
...
Use `InstallationConfig.where(name: 'CAPTAIN_APP_URL')` instead of
`ENV.fetch('CAPTAIN_APP_URL', '')`
2024-08-02 13:17:55 +05:30
829bb842fd
feat: Generate SSO URL in Chatwoot, move Captain to primary tab ( #9871 )
...
- Generate SSO URL in Chatwoot, move Captain to the primary tab
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-08-01 19:22:34 -07:00
Sojan Jose and GitHub
17a6df10a0
chore: Security advisory fix for rexml ( #9872 )
2024-08-01 16:39:11 -07:00
3edc636b76
fix: Instagram outgoing attachments ( #9863 )
...
Fixes
https://linear.app/chatwoot/issue/CW-3497/instagram-outgoing-attachments-are-not-rendering
It seems like Instagram outgoing attachment rendering has been broken
for a long time. We couldn't identify the issue because the check below
only inspects Instagram mentions.
```
metadata[:data_url] = metadata[:thumb_url] = external_url if message.instagram_story_mention?
```
We recently worked on adding the [Instagram CDN URL for
attachments.](https://github.com/chatwoot/chatwoot/pull/9287 )
After that, it started using external URLs as attachment data URLs for
both outgoing and incoming attachments. The rendering broken for all the
outgoing attachments since there were no external URLs, making the data
URL empty. Adding an incoming message check will solve the issue.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-07-31 23:00:01 -07:00
Muhsin Keloth and GitHub
ca2e7522a0
Merge branch 'develop' into chore/notification-logging
2024-07-31 21:03:00 +05:30
Shivam Mishra and GitHub
68482db3a2
fix: templates in whatsapp ( #9862 )
2024-07-31 15:33:31 +05:30
Sivin Varghese and GitHub
f7102d7f8b
fix: Table styles ( #9860 )
...
# Pull Request Template
## Description
This PR will fix table style breakage in the portal and inbox pre-chat
form settings pages.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Before**
1.
<img width="1563" alt="image"
src="https://github.com/user-attachments/assets/b9eb7962-90ba-4a73-8221-08cb00e699e3 ">
2.
<img width="1190" alt="image"
src="https://github.com/user-attachments/assets/d60ca321-9743-4c30-ba3c-a34633f6f360 ">
3.
<img width="1190" alt="image"
src="https://github.com/user-attachments/assets/a0a91780-030e-4154-b80b-7dd7bade08e7 ">
4.
<img width="1190" alt="image"
src="https://github.com/user-attachments/assets/dbd99e24-f907-48c4-b460-db2f03453bda ">
**After**
1.
<img width="1613" alt="image"
src="https://github.com/user-attachments/assets/aa5cb340-965d-4956-b1e7-79d955a62f19 ">
2.
<img width="1203" alt="image"
src="https://github.com/user-attachments/assets/dcb2b9df-e6a5-48a4-a5dd-2c1fc25fc9b2 ">
3.
<img width="1203" alt="image"
src="https://github.com/user-attachments/assets/409f3983-7987-4250-b311-cbea5e757e47 ">
4.
<img width="1203" alt="image"
src="https://github.com/user-attachments/assets/27db4709-6b67-459a-a784-fd902f202964 ">
## 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-07-31 11:17:05 +05:30
ce8e1ec93d
chore: Migrate all instances of old vuelidate to new v2 syntax [CW-3274] ( #9623 )
...
Removes all the old vuelidate syntax and replaced it with the new
`useValidate` composable and the `v$` helper.
| Component | Path | Migrated | Tested |
|------------------------------------|--------------------------------------------------------------|-----------------------------------------------|--------|
| Login page | app/javascript/v3/views/login/Index.vue | ✅ | ✅ |
| Custom Attributes settings page |
app/javascript/dashboard/components/CustomAttribute.vue | ✅ | ✅ |
| Account settings page |
app/javascript/dashboard/routes/dashboard/settings/account/Index.vue | ✅
| ✅ |
| Add Account Modal |
app/javascript/dashboard/components/layout/sidebarComponents/AddAccountModal.vue
| ✅ | ✅ |
| AICTA Modal |
app/javascript/dashboard/components/widgets/AICTAModal.vue | ✅ | ✅ |
| Conversation Advanced Filters |
app/javascript/dashboard/components/widgets/conversation/ConversationAdvancedFilter.vue
| deprecated `$each` prop in validations object | |
| Email Transript Modal |
app/javascript/dashboard/components/widgets/conversation/EmailTranscriptModal.vue
| ✅ | ✅ |
| Linear Create Issue |
app/javascript/dashboard/components/widgets/conversation/linear/CreateIssue.vue
| ✅ | ✅ |
| Template Parser |
app/javascript/dashboard/components/widgets/conversation/WhatsappTemplates/TemplateParser.vue
| ✅ | |
| Delete Confirmation Modal |
app/javascript/dashboard/components/widgets/modal/ConfirmDeleteModal.vue
| ✅ | ✅ |
| Add Custom Attribute |
app/javascript/dashboard/modules/contact/components/AddCustomAttribute.vue
| ✅ | ✅ |
| Merge Contacts |
app/javascript/dashboard/modules/contact/components/MergeContact.vue | ✅
| ✅ |
| Contacts Advanced Filters |
app/javascript/dashboard/routes/dashboard/contacts/components/ContactsAdvancedFilters.vue
| deprecated `$each` prop in validations object | |
| Contact Form |
app/javascript/dashboard/routes/dashboard/conversation/contact/ContactForm.vue
| ✅ | ✅ |
| Conversation Form |
app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue
| ✅ | ✅ |
| Add Custom Views |
app/javascript/dashboard/routes/dashboard/customviews/AddCustomViews.vue
| ✅ | ✅ |
| Add Locale |
app/javascript/dashboard/routes/dashboard/helpcenter/components/AddLocale.vue
| ✅ | ✅ |
| Portal Settings Basic Form |
/app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSettingsBasicForm.vue
| ✅ | ✅ |
| Portal Settings Customization Form |
/app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalSettingsCustomizationForm.vue
| ✅ | ✅ |
| Add Category |
app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/AddCategory.vue
| ✅ | ✅ |
| Edit Category |
app/javascript/dashboard/routes/dashboard/helpcenter/pages/categories/EditCategory.vue
| ✅ | ✅ |
| CSML Bot Editor |
app/javascript/dashboard/routes/dashboard/settings/agentBots/components/CSMLBotEditor.vue
| ✅ | ✅ |
| Add Agent |
app/javascript/dashboard/routes/dashboard/settings/agents/AddAgent.vue |
✅ | ✅ |
| Edit Agent |
app/javascript/dashboard/routes/dashboard/settings/agents/EditAgent.vue
| ✅ | ✅ |
| Add Attribute |
app/javascript/dashboard/routes/dashboard/settings/attributes/AddAttribute.vue
| ✅ | ✅ |
| Edit Attribute |
app/javascript/dashboard/routes/dashboard/settings/attributes/EditAttribute.vue
| ✅ | ✅ |
| Add Campaign |
app/javascript/dashboard/routes/dashboard/settings/campaigns/AddCampaign.vue
| ✅ | ✅ |
| Edit Campaign |
app/javascript/dashboard/routes/dashboard/settings/campaigns/EditCampaign.vue
| ✅ | ✅ |
| Add Canned |
app/javascript/dashboard/routes/dashboard/settings/canned/AddCanned.vue
| ✅ | ✅ |
| Edit Canned |
app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue
| ✅ | ✅ |
| IMAP Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/ImapSettings.vue
| ✅ | ✅ |
| SMTP Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/SmtpSettings.vue
| ✅ | ✅ |
| Widget Builder |
app/javascript/dashboard/routes/dashboard/settings/inbox/WidgetBuilder.vue
| ✅ | ✅ |
| 360 Dialog Whatsapp |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/360DialogWhatsapp.vue
| ✅ | ✅ |
| Inbox API settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Api.vue
| ✅ | ✅ |
| SMS Bandwidth settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/BandwidthSms.vue
| ✅ | ✅ |
| Cloud Whatsapp Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/CloudWhatsapp.vue
| ✅ | ✅ |
| Facebook Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue
| ✅ | ✅ |
| Line Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Line.vue
| ✅ | ✅ |
| Telegram Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Telegram.vue
| ✅ | ✅ |
| Twillio Settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Twilio.vue
| ✅ | ✅ |
| Forward To option settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/ForwardToOption.vue
| ✅ | ✅ |
| Microsoft settings |
app/javascript/dashboard/routes/dashboard/settings/inbox/channels/emailChannels/Microsoft.vue
| ✅ | ✅ |
| Collaborators page |
app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue
| ✅ | ✅ |
| Configuration Page |
app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/ConfigurationPage.vue
| ✅ | ✅ |
| Dashboard App Modal Settings |
app/javascript/dashboard/routes/dashboard/settings/integrations/DashboardApps/DashboardAppModal.vue
| ✅ | ✅ |
| Settings - Webhook Form |
app/javascript/dashboard/routes/dashboard/settings/integrations/Webhooks/WebhookForm.vue
| ✅ | ✅ |
| Macro Form |
app/javascript/dashboard/routes/dashboard/settings/macros/MacroForm.vue
| deprecated `$each` prop in validations object | |
| Change Password |
app/javascript/dashboard/routes/dashboard/settings/profile/ChangePassword.vue
| ✅ | ✅ |
| settings - User Basic Details |
app/javascript/dashboard/routes/dashboard/settings/profile/UserBasicDetails.vue
| ✅ | ✅ |
| Password Edit | app/javascript/v3/views/auth/password/Edit.vue | ✅ | ✅
|
| Password Reset form |
app/javascript/v3/views/auth/reset/password/Index.vue | ✅ | ✅ |
| Signup form |
app/javascript/v3/views/auth/signup/components/Signup/Form.vue | ✅ | ✅ |
| Login form | app/javascript/v3/views/login/Index.vue | ✅ | ✅ |
| Custom Attributes |
app/javascript/dashboard/components/CustomAttribute.vue | ✅ | ✅ |
| Reply Email Head |
app/javascript/dashboard/components/widgets/conversation/ReplyEmailHead.vue
| ✅ | ✅ |
| Methods Mixin |
app/javascript/dashboard/mixins/automations/methodsMixin.js | ✅ | ✅ |
| Validations mixin |
app/javascript/dashboard/routes/dashboard/settings/labels/validationMixin.js
| ✅ | ✅ |
| SLA Form |
app/javascript/dashboard/routes/dashboard/settings/sla/SlaForm.vue | ✅ |
✅ |
| SLA Time Input |
app/javascript/dashboard/routes/dashboard/settings/sla/SlaTimeInput.vue
| ✅ | ✅ |
| SLA Validation Mixin |
app/javascript/dashboard/routes/dashboard/settings/sla/validationMixin.js
| ✅ | ✅ |
| Team Form |
app/javascript/dashboard/routes/dashboard/settings/teams/TeamForm.vue |
✅ | ✅ |
| Add Agents |
app/javascript/dashboard/routes/dashboard/settings/teams/Create/AddAgents.vue
| ✅ | ✅ |
| Edit Agents |
app/javascript/dashboard/routes/dashboard/settings/teams/Edit/EditAgents.vue
| ✅ | ✅ |
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
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-07-30 15:08:22 +05:30
Fayaz Ahmed and GitHub
dc9da4bb24
fix: Contact merge dropdowns with adjusted margins-[CW-3494] ( #9846 )
...
# Pull Request Template
## Description

Adjusts the margin for dropdown and sets the height to auto from
hardcoded 52px.
Fixes CW-3494
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
Tested locally, attached screenshot
2024-07-30 13:29:16 +05:30
Chatwoot Bot and GitHub
a196e23587
chore: Update translations ( #9845 )
2024-07-29 06:36:09 -07:00
Chatwoot Bot and GitHub
066f0b990a
chore: Update translations ( #9841 )
...
- update translations
2024-07-26 14:53:52 -07:00
6694db093f
feat: Update the design for dashboard_apps ( #9840 )
...
This PR migrates the dashboard apps page to the new layout and includes
the following updates:
- Create a compact design for the back button
- Add a back button to the settings header
- Reduce letter-spacing on the description
- Fix mobile styles
- Migrate the layout of dashboard apps/index to new layouts
Note: I've moved all feature help URLs from features.yml to the frontend. This change prevents features.yml from becoming bloated due to frontend modifications.
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-07-25 16:26:00 -07:00
0331815cc5
feat: Integration with Captain (alpha) ( #9834 )
...
- Integration with captain (alpha)
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-07-25 14:24:04 -07:00
Chatwoot Bot and GitHub
027a540bbd
chore: Update translations from Crowdin ( #9835 )
2024-07-25 11:58:22 -07:00
Sivin Varghese and GitHub
239c61095a
fix: Show add/import/export buttons in mobile view ( #9761 )
2024-07-25 14:08:32 +05:30
Shivam Mishra
41367739d1
feat: add more logging to notifications listener
2024-07-25 11:50:05 +05:30
Shivam Mishra
fb0f4234d3
feat: allow addtional context
2024-07-25 11:49:47 +05:30
Shivam Mishra
99a54a9501
feat: allow addtional context
2024-07-25 11:46:24 +05:30
e9d47d31c7
chore: [Snyk] Fix for 1 vulnerabilities ( #9832 )
...
Update dependencies to mitigate vulnerabilities
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-07-24 16:42:39 -07:00
8b1d98af52
feat: Update the design for integration page ( #9825 )
...
Combine integrations and applications page into one page.
<img width="1182" alt="Screenshot 2024-07-23 at 3 30 51 PM"
src="https://github.com/user-attachments/assets/50920a6f-606f-44b3-b1e4-641046a14444 ">
Major changes:
- The app enabled?, active? checks are all moved to backend.
- The dashboard_apps integration is also now part of the apps.yml file.
- Updated the header design for the new settings pages.
- Merged the folders integrationapps and integrations.
- Updated the copy to match the size of the card and provide clear
instruction.
- Only the list page is updated in this PR, rest of the pages are yet to
be migrated.
| Integration | Verified |
| -- | -- |
| Dashboard Apps | ✅ |
| Dyte | ✅ |
| Slack | ✅ |
| Webhooks | ✅ |
| Dialogflow | ✅ |
| Google Translate | ✅ |
| OpenAI | ✅ |
| Linear | ✅ |
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-07-24 16:35:40 -07:00
Sojan Jose and GitHub
8e2b329202
feat: Render instagram reels in Chatwoot ( #9829 )
...
- Previously we were ignoring the reels shared over Instagram messages.
This PR will render the reels with in Chatwoot.
followup : we need to render reels in a better interface so that it is
clearly denoted to the user that its an Instagram reel
2024-07-24 12:58:12 -07:00
Sivin Varghese and GitHub
71073a06ff
fix: Broken connect to facebook page layout ( #9830 )
...
# Pull Request Template
## Description
This PR will fix the layout issue in connecting to the Facebook page
layout.
Fixes
https://linear.app/chatwoot/issue/CW-3489/connect-facebook-page-layout-is-broken
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Before**
<img width="1264" alt="image"
src="https://github.com/user-attachments/assets/2b9e412b-f172-4184-b45b-8c97333c3e51 ">
**After**
<img width="1264" alt="image"
src="https://github.com/user-attachments/assets/035f3468-f611-43ce-a058-fb8eafa1a45d ">
## 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-07-24 16:45:17 +05:30
Pranav and GitHub
39d20b197d
chore: Update the integration icons, logic for enabled/active attributes for the integration ( #9828 )
...
This PR would update the logos for the integrations (also add the dark mode variants to be used in the future) and updates the logic for enabled / active attributes in the apps.
2024-07-23 17:45:53 -07:00
Sivin Varghese and GitHub
fb99ba7b40
feat: Rewrite uiSettings mixin to a composable ( #9819 )
2024-07-23 21:27:22 +05:30
79aa5a5d7f
feat: Replace alertMixin usage with useAlert ( #9793 )
...
# Pull Request Template
## Description
This PR will replace the usage of `alertMixin` from the code base with
the `useAlert` composable.
Fixes
https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert
## Type of change
- [x] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
## How Has This Been Tested?
Please refer this issue description
https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-07-23 16:41:11 +05:30
Sivin Varghese and GitHub
10ee773aac
feat: Rewrite labels/validationMixin mixin to a helper ( #9818 )
2024-07-22 21:41:05 +05:30
Sivin Varghese and GitHub
81d7c51a84
feat: Replace contentTypeMixin within the component ( #9802 )
...
# Pull Request Template
## Description
This PR will completely remove the `contentTypeMixin` and be used in the
component as it is.
Fixes
https://linear.app/chatwoot/issue/CW-3465/rewrite-contenttypemixin-mixin-as-a-helper
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Take a look at this component
`app/javascript/dashboard/components/widgets/conversation/Message.vue`
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-07-22 13:08:04 +05:30
79381b08cc
feat: Move timeMixin to a helper ( #9799 )
...
# Pull Request Template
## Description
This PR will replace the usage of `timeMixin` with `timeHelper`
Fixes
https://linear.app/chatwoot/issue/CW-3451/move-time-mixin-to-a-helper
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Please refer to this issue description.
https://linear.app/chatwoot/issue/CW-3451/move-time-mixin-to-a-helper
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-07-22 13:07:29 +05:30
Sivin Varghese and GitHub
84c380c8c4
feat: Replace SLA validationMixin within the component ( #9804 )
...
# Pull Request Template
## Description
This PR will completely remove the SLA `validationMixin` and be used in
the component as it is with a name change.
Fixes
https://linear.app/chatwoot/issue/CW-3456/rewrite-sla-validationmixin-mixin-to-a-composable
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
Take a look at these components
1. `dashboard/routes/dashboard/settings/sla/AddSLA.vue` **(Not used)**
2. `dashboard/routes/dashboard/settings/sla/SlaForm.vue`
3. `dashboard/routes/dashboard/settings/sla/SlaTimeInput.vue`
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-07-22 13:05:55 +05:30
cb0642564c
feat: add promise based loader for FB script ( #9780 )
...

---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-07-22 11:32:05 +05:30
23e30fcb1a
feat: Delete bulkActionsMixin ( #9800 )
...
# Pull Request Template
## Description
This PR will remove the `bulkActionsMixin` usage. Seems like it is not
used anywhere.
Fixes https://linear.app/chatwoot/issue/CW-3453/delete-bulkactionsmixin
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## 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
- [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
- [ ] Any dependent changes have been merged and published in downstream
modules
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-07-19 11:14:56 +05:30
Sojan Jose and GitHub
ae8619142f
chore: Update dependencies to fix security issues ( #9801 )
...
- update dependencies to fix security issues
2024-07-18 20:08:26 -07:00
Vishnu Narayanan and GitHub
499408ea6f
fix: add restart policy for rails/sidekiq containers ( #9797 )
...
- Add `restart:always` policy for rails and sidekiq containers in the
production compose file
Fixes #9501
Fixes
https://linear.app/chatwoot/issue/PR-1099/missing-restart-always-at-docker-compose-file
2024-07-18 18:33:03 +05:30
Sojan
dc245814fe
Merge branch 'release/3.11.0' into develop
2024-07-16 19:23:13 -07:00
Sojan
8ea412bc85
Merge branch 'release/3.11.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-07-16 19:23:03 -07:00
Sojan
6c52a0638d
Bump version to 3.11.0
2024-07-16 19:22:11 -07:00
64a9a46b28
fix: Docker compose build of unable to select packages ( #9783 )
...
Fixes #9782
Co-authored-by: grape <grape@auro.gg >
2024-07-16 09:51:56 +05:30
Sivin Varghese and GitHub
30d4f6c2f5
fix: TypeError cannot read properties of undefined (reading 'status') ( #9774 )
...
# Pull Request Template
## Description
**Issue**
The error `Cannot read properties of undefined (reading 'status')`
occurs because the `error.response.status` is accessed without checking
if `error.response` is present.
I can't able to reproduce this issue.
**Solution**
To resolve this issue, I added a check to ensure that this
`error.response` is defined before accessing the `error.response.status`
Fixes
https://linear.app/chatwoot/issue/CW-3322/typeerror-cannot-read-properties-of-undefined-reading-status
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## 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-07-16 07:02:02 +05:30
Sivin Varghese and GitHub
5909c0f8b7
fix: TypeError cannot read properties of null (reading 'file_type') ( #9778 )
...
# Pull Request Template
## Description
**Cases**
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## 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-07-16 07:01:48 +05:30
Sivin Varghese and GitHub
554388bff3
fix: TypeError cannot read property 'focus' of undefined ( #9765 )
2024-07-15 19:33:16 +05:30
Sivin Varghese and GitHub
ebf3b46f0d
fix: TypeError cannot read properties of undefined (reading '$store') ( #9777 )
...
This issue is an extremely narrow edge case that does not affect the app functionality. It occurs here
1. `executeRecurringNotification` is the method that sets a timeout of 30 seconds and pings as required
2. This method is triggered when one of the following events happen `click`, `touchstart`, `keypress`, `keydown`
3. The class in question is initalized before the Vue app is mounted in `application.js`, the vue app is mounted on `window.onload` event
4. In a case where the Vue app is not created (i.e. `window.onload` event is not fired) within 30 seconds of a user input, this error occurs.
2024-07-15 18:50:43 +05:30
Shivam Mishra and GitHub
5cfac31f93
fix: return if user is not present ( #9768 )
...
Fixes
https://chatwoot-p3.sentry.io/share/issue/aa6a3c0accb345e984ed80eaddc3efd5/
In the case where the user is redirected to the page from a redirect
like google login, the analytics helper breaks. This PR fixes it by
checking if the user is present.
This does not break the user email tracking since the user is redirected
anyway and the `AnalyticsHelper` is reinitialised
2024-07-15 17:42:35 +05:30
Sivin Varghese and GitHub
787ac3134d
fix: TypeError cannot read properties of undefined (reading 'data') ( #9766 )
...
# Pull Request Template
## Description
**Issue**
The error `Cannot read properties of undefined (reading 'data')` occurs
because the `error.response.data` is accessed without checking if
`error.response` is present.
I can able to reproduce this issue.
**Solution**
To resolve this issue, I can add a check to ensure that this
`error.response` is defined before accessing the `error.response.data`
Fixes
https://linear.app/chatwoot/issue/CW-3406/typeerror-cannot-read-properties-of-undefined-reading-data
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## 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-07-12 09:21:40 +05:30
Sivin Varghese and GitHub
2a06c85f1a
fix: Message editor fails to render markdown headings ( #9748 )
2024-07-11 12:23:27 +05:30
acefd82378
fix: Add a DISCONNECT_DELAY_THRESHOLD while fetching the conversations ( #9757 )
...
The disconnect threshold is added to account for delays in identifying disconnections (for example, the websocket disconnection takes up to 3 seconds) while fetching the latest updated conversations or messages.
In this case, the cable disconnection event takes about 3 seconds to fire. If there was a conversation which was created in this 3 second, it would not be displayed in the UI until the refresh.
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-07-10 20:28:30 -07:00
Sivin Varghese and GitHub
abf376940d
fix: Avoid overflow caused by the empty span element ( #9753 )
...
This PR addresses an issue with the `createNotificationBubble` function, which generates an empty `span` element with the class `woot--notification`. This `span` element is currently not utilized anywhere in the code and lacks associated CSS, leading to an overflow issue, specifically in the Firefox browser. It solves the website overflow issue by removing this unused `span` element. This change is unrelated to the unread notification dot, which is working as before.
Fixes https://linear.app/chatwoot/issue/PR-1098/missing-css-for-woot-notification-div
2024-07-10 19:56:46 -07:00
9de8c27368
feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI ( #9722 )
...
Due to the pattern `**/specs/*.spec.js` defined in CircleCI, none of the
frontend spec in the folders such as
`specs/<domain-name>/getters.spec.js` were not executed in Circle CI.
This PR fixes the issue, along with the following changes:
- Use vitest instead of jest
- Remove jest dependancies
- Update tests to work with vitest
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-07-10 08:32:16 -07:00
wudi and GitHub
9498d1f003
fix: Localize 'Social Profiles' text in ContactForm ( #9745 )
2024-07-09 22:16:45 -07:00
Pranav and GitHub
a2cb932d54
chore: Upgrade csv-safe to the latest version ( #9739 )
...
The following error starting is shown on the console after the ruby
upgrade.
csv.rb was loaded from the standard library, but will no longer be part
of the default gems since Ruby 3.4.0. Add csv to your Gemfile or
gemspec. Also contact author of csv-safe-3.2.1 to add csv into its
gemspec.
Csv-safe has already added a patch via
https://github.com/zvory/csv-safe/pull/20 .
This PR updates the version to the latest version of csv-safe (3.3.1)
2024-07-09 12:03:05 -04:00
fe246698b6
chore: [Snyk] Fix for 1 vulnerabilities ( #9720 )
...
- updates for security vulnerabilities
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-07-08 14:00:54 -04:00
31bcdaa3dd
chore: Upgrade ruby to 3.3.3 ( #9664 )
...
- Upgrade the ruby version to 3.3.3
---------
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-07-05 12:20:07 +05:30
Sivin Varghese and GitHub
6ae606c981
fix: Custom snooze is not working in mobile view ( #9717 )
...
# Pull Request Template
## Description
Currently, when a user navigates to a chat and attempts to access the
custom snooze modal, it is not visible, making it unable to set custom
snooze options. With this fix, the custom snooze modal will correctly
display even when a chat is open in mobile view.
**Cause of this issue**
The `<custom-snooze-modal/>` component is added to the `<chat-list/>`
component. To accommodate small screen views, we are using the expanded
view. However, if we open a chat and select the custom snooze option
from the chat header in the message view, the `<custom-snooze-modal/>`
component is hidden in the `<chat-list/>` component.
**Solution**
So, I moved the `<custom-snooze-modal/>` to the wrapper component
`<conversation-view/>` so we can use in all cases like,
1. Right-click to custom snooze
2. CMD bar custom snooze
3. Small screen custom snooze
2024-07-04 13:13:03 +05:30
aaf47b4c1f
chore: [Snyk] Security upgrade sidekiq from 7.2.4 to 7.3.0 ( #9710 )
...
Upgrade gems to mitigate vulnerabilities.
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-07-03 15:48:57 -07:00
cc4851b19d
chore: Move frontend authorization to permission based system ( #9709 )
...
We previously relied on user roles to determine whether to render
specific routes in our frontend components. A permissions-based model is replacing this approach.
Follow up: #9695
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-07-03 15:13:16 -07:00
Shivam Mishra and GitHub
5520bf68f3
feat: disable scripts on password reset page ( #9693 )
2024-07-01 11:11:57 +05:30
Sojan Jose and GitHub
46621b0983
chore: Add permissions to auth data ( #9695 )
...
This API change sets the foundation for an upcoming frontend update, transitioning from a role-based model to a permission-based model. This new approach will determine eligibility for various actions and UI elements based on specific permissions rather than roles, enhancing flexibility and security in user access management.
2024-06-28 12:52:48 -07:00
Sivin Varghese and GitHub
2c94c89077
feat: Add video message viewer in agent widget bubble ( #9691 )
...
Fixes https://linear.app/chatwoot/issue/CW-3384/video-message-display-issue
2024-06-28 12:51:27 -07:00
Sojan
97de283103
Merge branch 'release/3.10.2' into develop
2024-06-26 17:09:16 -07:00
Sojan
862ef37e7f
Merge branch 'release/3.10.2'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-06-26 17:08:38 -07:00
Sojan
7ed7c1b618
Bump version to 3.10.2
2024-06-26 17:04:56 -07:00
Sivin Varghese and GitHub
8f3234cf4b
feat: Add video message viewing in to the user bubble in widget ( #9642 )
2024-06-26 13:21:41 -07:00
What are you searching? and GitHub
b2de6843f6
chore()Update Translate vi.yml ( #9656 )
2024-06-26 12:54:57 -07:00
73c4180e64
chore(snyk): Upgrade sentry-rails & sentry-sidekiq to 5.18.0 ( #9686 )
...
<p>This PR was automatically created by Snyk using the credentials of a
real user.</p><br
/>
### Snyk has created this PR to fix 1 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 |
:-------------------------:|:-------------------------|:-------------------------
 | Web Cache Poisoning
<br/>[SNYK-RUBY-RACK-1061917](https://snyk.io/vuln/SNYK-RUBY-RACK-1061917 )
| **616**
---
> [!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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhM2ZjZWMzOC1mZjk5LTRkNjQtYWU2OS01NDVhZDA2N2FmZjUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImEzZmNlYzM4LWZmOTktNGQ2NC1hZTY5LTU0NWFkMDY3YWZmNSJ9fQ== "
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:**
🦉 [Learn about vulnerability in an interactive lesson of Snyk
Learn.](https://learn.snyk.io/?loc=fix-pr )
[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"sentry-rails","from":"5.17.3","to":"5.18.0"},{"name":"sentry-sidekiq","from":"5.17.3","to":"5.18.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof
of
Concept","id":"SNYK-RUBY-RACK-1061917","priority_score":616,"priority_score_factors":[{"type":"exploit","label":"Proof
of
Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Web
Cache Poisoning"},{"exploit_maturity":"Proof of
Concept","id":"SNYK-RUBY-RACK-1061917","priority_score":616,"priority_score_factors":[{"type":"exploit","label":"Proof
of
Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Web
Cache Poisoning"},{"exploit_maturity":"Proof of
Concept","id":"SNYK-RUBY-RACK-1061917","priority_score":616,"priority_score_factors":[{"type":"exploit","label":"Proof
of
Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.9","score":295},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Web
Cache
Poisoning"}],"prId":"a3fcec38-ff99-4d64-ae69-545ad067aff5","prPublicId":"a3fcec38-ff99-4d64-ae69-545ad067aff5","packageManager":"rubygems","priorityScoreList":[616],"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-RACK-1061917"],"vulns":["SNYK-RUBY-RACK-1061917"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-06-26 12:46:21 -07:00
96f4f50d2d
feat: Add the ability to un-assign teams using automation ( #9668 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-06-26 12:40:36 -07:00
Pranav and GitHub
f7f687ce53
fix: Update notification payload ( #9666 )
...
- Fix notification payload to avoid argument error.
2024-06-21 17:28:48 -07:00
Sojan
5716bb29b8
Merge branch 'release/3.10.1' into develop
2024-06-21 15:07:09 -07:00
Sojan
9a1d5519ec
Merge branch 'release/3.10.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2024-06-21 15:07:01 -07:00
Sojan
e72a343612
: Bump version to 3.10.1
2024-06-21 15:06:28 -07:00
Pranav and GitHub
ee2844877c
fix: Add catch for additional webpush errors ( #9662 )
...
Webpush gem throws errors such as `WebPush::ExpiredSubscription`,
`WebPush::InvalidSubscription`, `WebPush::Unauthorized`. We handled only
ExpiredSubscription.
If the SDK threw any other errors, it would pause sending the
notification to all other devices for that user. This change would
update the logic to remove the expired subscription and handle the rest
of the errors gracefully.
Fixes
https://linear.app/chatwoot/issue/CW-3399/webpushinvalidsubscription-host-fcmgoogleapiscom-nethttpnotfound-404
2024-06-21 14:58:36 -07:00
Sojan Jose and GitHub
66c6b8cd4f
fix: [Snyk] Security upgrade rspec-rails from 6.1.2 to 6.1.3 ( #9658 )
...
- security upgrade for gems
2024-06-20 15:36:08 -07:00
Pranav and GitHub
ef606204a2
fix: Temporarily fix text/plain email rendering ( #9653 )
...
This is hacky fix for plain text email rendering. The issue happens only
for the text/plain only emails. If there was an HTML component, then the
rendering works fine.
**How was this tested?**
Mac Email client allows you to send text/plain emails. I've sent one to
myself and imported it on Chatwoot. I've also verified that the email
contains only text/plain part.
Sample rendered email below.
<img width="476" alt="Screenshot 2024-06-18 at 8 15 10 PM"
src="https://github.com/chatwoot/chatwoot/assets/2246121/0c3c07f6-c49d-401a-bba5-a79e82b57bd6 ">
Fixes https://github.com/chatwoot/chatwoot/issues/9649
Fixes https://github.com/chatwoot/chatwoot/issues/9480
2024-06-18 21:10:41 -07:00
3dee50d2b1
chore(deps): bump ws from 6.2.2 to 6.2.3 ( #9650 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.2 to 6.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/websockets/ws/releases ">ws's
releases</a>.</em></p>
<blockquote>
<h2>6.2.3</h2>
<h1>Bug fixes</h1>
<ul>
<li>Backported e55e5106 to the 6.x release line (eeb76d31).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/websockets/ws/commit/d87f3b6d3a00513af9bbb74f45ba9183af4e5f43 "><code>d87f3b6</code></a>
[dist] 6.2.3</li>
<li><a
href="https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63 "><code>eeb76d3</code></a>
[security] Fix crash when the Upgrade header cannot be read (<a
href="https://redirect.github.com/websockets/ws/issues/2231 ">#2231</a>)</li>
<li>See full diff in <a
href="https://github.com/websockets/ws/compare/6.2.2...6.2.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-06-18 12:39:27 -07:00
Sojan
1f09af270c
Merge branch 'release/3.10.0' into develop
2024-06-17 23:59:31 -07:00
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
Pranav Raj S and GitHub
12916ceca6
fix: Capture delivery errors to avoid false positives ( #8790 )
...
The system did not detect the delivery errors earlier, resulting in some false positives. The user was not informed when an email failed to be delivered. While we do handle failure status in other channels, we were not able to capture the actual delivery status for the email channel.
This pull request makes the following changes:
- Updated the class EmailReplyWorker to use the deliver_now method instead of deliver_later. This change is made to raise any errors that may occur with the SMTP connection. The errors are then captured and sent to Sentry, and the email is marked as failed. Previously, we did not consider the case of retries in the email channel, so this feature is currently not functioning. So, I have disabled the retry option. We will address this in a follow-up ticket.
- Downgraded the net-smtp gem to version 0.3.4. This change is made to avoid an argument error when using XOAUTH2.
Fixes: https://linear.app/chatwoot/issue/CW-3032/argumenterror-wrong-authentication-type-xoauth2-argumenterror
2024-01-26 14:22:18 +04:00
3c952e6a4a
fix: change email conversation not found exception to log ( #8785 )
...
* fix: change email conversation not found exception to log
* chore: refactor reply_mailbox methods
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-25 22:36:02 +05:30
Sojan Jose and GitHub
59184122f7
fix: [Snyk] Security upgrade administrate from 0.19.0 to 0.20.1 ( #8741 )
...
- Upgrade administrate gem to latest
- Update the `show` partial with changes from upstream
2024-01-25 17:33:21 +04:00
381423b1ae
fix: Removed author section from public help center ( #8767 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-25 17:17:16 +05:30
Pranav Raj S and GitHub
b7c9f779ad
fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages ( #8780 )
...
Currently, we do not support reactions, ephemeral messages, or the request_welcome event for the WhatsApp channel. However, if this is the first event we receive in Chatwoot (i.e., there is no previous conversation or contact in Chatwoot), it will create a contact and a conversation without any messages. This confuses our customer, as it may appear that Chatwoot has missed some messages. There are multiple cases where this might be the first event we receive in Chatwoot. One quick example is when the user has sent an outbound campaign from another tool and their customers reacted to the message.
Another event like this is request_welcome event. WhatsApp has a concept for welcome messages. You can send an outbound message even though the user has not send a message. You can receive notifications through a webhook whenever a WhatsApp user initiates a chat with you for the first time. (Read the Welcome message section: https://developers.facebook.com/docs/whatsapp/cloud-api/phone-numbers/conversational-components/ ). Although this can help the business send a pro-active message to the user, we don't have it scoped in our feature set. For now, I'm ignoring this event.
Fixes https://linear.app/chatwoot/issue/CW-3018/whatsapp-handle-request-welcome-case-properly
Fixes https://linear.app/chatwoot/issue/CW-3017/whatsapp-handle-reactions-properly
2024-01-25 11:40:18 +04:00
Muhsin Keloth and GitHub
904d76420d
fix: Add last_activity_at to notification push event data ( #8784 )
...
fix: Add last_activity_at to push event data
2024-01-25 12:05:00 +05:30
Muhsin Keloth and GitHub
fa907840c7
feat: Add middle_name and last_name to contact model ( #8771 )
...
feat: Add `middle_name` and `last_name`
2024-01-24 16:22:04 +05:30
3760f206e8
fix: mutex timeout and error handling ( #8770 )
...
Fixes the follow cases
- The ensure block released the lock even on LockAcquisitionError
- Custom timeout was not allowed
This also refactored the with_lock method, now the key has to be constructed in the parent function itself
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-24 14:18:21 +04:00
Sojan Jose and GitHub
a861257f73
chore: Fix flaky contacts spec ( #8773 )
...
- The ordering was not guaranteed; hence, the specs were failing randomly. Made changes to the expectations accordingly
2024-01-24 13:58:27 +04:00
Muhsin Keloth and GitHub
143299f138
feat: Add contact_type attribute to contact model ( #8768 )
2024-01-24 12:26:47 +05:30
Vishnu Narayanan and GitHub
232369cd5c
feat: sla 1 - refactor sla_policies model and add applied_sla model ( #8602 )
...
* feat: add models
* chore: refactor sla column names
* chore: remove foreign keys
* chore: fix spec
* chore: refactor models
2024-01-23 23:48:02 +05:30
Surabhi Suman and GitHub
4b40c61201
feat: Support Regex validation for custom attributes ( #7856 )
...
This allows a user to add/update a custom regex and a cue while defining custom attributes(Only applicable for type- text).
While adding/editing custom attributes, the values are validated against the attribute definition regex, and if it is incorrect, a cue message or default error message is shown and restricts invalid values from being saved.
Fixes : #6866
2024-01-23 18:01:57 +04:00
834c219b9b
feat(perf): update query to do a simpler search [CW-2997] ( #8763 )
...
Message search would frequently timeout. The reason was that the query would join the conversation too, the new query searches the message table directly
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-23 14:20:00 +04:00
Sivin Varghese and GitHub
d0cd1c8887
fix: Help center articles not accessible after authoring agent is deleted ( #8756 )
2024-01-23 14:06:51 +05:30
Muhsin Keloth and GitHub
682a2aea1c
chore: Handle twillio Down::ClientError ( #8757 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2992/downclienterror-400-bad-request-downclienterror
2024-01-22 15:33:26 +04:00
Shivam Mishra and GitHub
1dc66db516
fix: SQL error when rules with missing attributes is triggered ( #8673 )
2024-01-22 16:09:34 +05:30
Sojan Jose and GitHub
bc04d81a5a
fix: Handle Net::IMAP::InvalidResponseError Exception bad response type "ESMTP" ( #8755 )
2024-01-22 15:32:44 +05:30
d2c5c2f9a3
chore: [Snyk] Security upgrade sidekiq from 7.2.0 to 7.2.1 ( #8748 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-01-22 13:12:26 +04:00
Sojan Jose and GitHub
381fda270a
chore: Fix typo in Inbox Management copy ( #8750 )
...
- Fixes the typo in Inbox Management copy -> vistors to visitors
2024-01-22 13:07:36 +04:00
b3c9d1f1a5
fix: clear timers and animation frame request before component unmounts ( #8700 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-22 12:08:33 +05:30
Sivin Varghese and GitHub
fd4376d062
fix: TypeError: Cannot read properties of undefined (reading 'emoji') ( #8753 )
2024-01-22 12:06:59 +05:30
Pranav Raj S and GitHub
a8f053921b
fix: Migrate notes when merging the contacts ( #8749 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2987/migrate-notes-of-the-secondary-contact-to-primary-contact-when-merging
2024-01-20 10:32:18 +04:00
Sivin Varghese and GitHub
8e15ada164
fix: TypeError: Cannot read properties of undefined (reading 'emoji') ( #8747 )
2024-01-19 19:55:51 +05:30
Sojan
51093fd543
Merge branch 'release/3.5.2' into develop
2024-01-19 15:15:33 +04:00
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
48e638cc56
Bump version to 3.5.2
2024-01-19 15:14:49 +04:00
Pavel Kuzmin and GitHub
e6dfc159ed
fix: change teamid ( #8613 )
2024-01-19 16:15:28 +05:30
Chatwoot Bot and GitHub
900c2de89a
chore: Update translations ( #8717 )
2024-01-19 14:32:27 +04:00
29106ebc4b
fix: raise_lock_acquisition_error if the job cannot set the lock ( #8744 )
...
Consider a scenario where two jobs are concurrently accessing a job with a lock mechanism. If the second job accesses lock_manager.locked? before the first job called lock_manager.lock(lock_key), it would return a false positive. At this point, both jobs can be executed freely.
To address this issue, the following change ensures that only the current thread that has set the lock can execute. Otherwise, a LockAcquisitionError will be thrown.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-01-19 14:31:41 +04:00
Pranav Raj S and GitHub
a579684b34
fix: Update the message-id check to use messageId parsing from mail gem ( #8743 )
...
- Update the message ID parsing logic to use the mail gem
- Update the code to improve readability
2024-01-19 14:29:04 +04:00
c29a9ad062
feat: Updates branding logo and name in public portal footer ( #8745 )
...
- Use white-label settings for Chatwoot Help Center
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-19 13:37:24 +04:00
Muhsin Keloth and GitHub
0ac015ce7a
feat: Add a job to clear notifications that were created before 1 month ( #8732 )
2024-01-19 13:03:23 +05:30
19474e0074
chore: Improve active job error logs for deserialization error ( #8742 )
...
- Improve active job error logs for deserialization error
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-18 19:27:18 +04:00
Sojan Jose and GitHub
ce8190dacf
fix: API error when using SuperAdmin token ( #8739 )
...
- Fixes the issue in release 3.5.0, which causes SuperAdmin tokens to throw error during API calls
Fixes : #8719
2024-01-18 18:49:32 +04:00
Shivam Mishra and GitHub
aacf326ca1
refactor: remove exception tracker ( #8737 )
2024-01-18 17:49:27 +05:30
Shivam Mishra and GitHub
e39c14460b
fix: validate url for Dashboard Apps [CW-2979] ( #8736 )
2024-01-18 17:48:30 +05:30
Sojan Jose and GitHub
5f6e17f307
feat: Use Telegram HTML Parsemode ( #8731 )
...
- this ensures that the markdown formatted messages from the Chatwoot dashboard will render consistently in telegram UI for the supported types like bold, italics, links etc
2024-01-18 15:36:36 +04:00
Shivam Mishra and GitHub
4bf23adcf5
feat: use short_summary for downloading reports [CW-2962] ( #8733 )
2024-01-18 16:06:13 +05:30
Pranav Raj S and GitHub
1f4d860d9d
fix: Use channel.inbox instead of inbox ( #8734 )
2024-01-18 00:46:25 -08:00
fdbb3bf4b1
fix: Optimize email fetching logic to fix bandwidth exceeded issues ( #8730 )
...
The Inboxes::FetchImapEmailsJob is designed to fetch the entire email object and check if its message id is already in the database. However, this process is resource-intensive and time-consuming, as fetching the full email object takes a significant amount of time.
On average, fetching 100 emails can take approximately 3-4 minutes to complete depending on the IMAP server. Since we are not using server flags to identify which emails have already been fetched (to avoid compatibility issues with flags in different email services), we have to fetch all previously available emails. Currently we fetch all the messages that were created from yesterday. This becomes problematic with services like Gmail, which throttle requests based on bandwidth usage.
To address this issue, I have updated the logic as follows:
Fetch the sequence IDs of all the mails in the "Inbox" that were created from yesterday.
Use the FETCH command to fetch only the message-ids using BODY.PEEK[HEADER.FIELDS (MESSAGE-ID)] with the sequence IDs we got in the previous step. This is a faster operation with lower bandwidth usage, as it only returns the sequence ID and message ID.
Check if the message IDs are already present in the database for the selected inbox.
If not present, fetch the entire email object using the FETCH command and create the message.
If the message ID is already present, ignore it and move on to the next message-id.
I have also addressed the issue of duplicate emails appearing in conversations when two fetch email jobs occur simultaneously. I have added a lock for the channel to ensure that the job gracefully exits without waiting for the current job to complete.
Fixes #7247
Fixes #6082
Fixes #8314
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-18 11:45:16 +04:00
Muhsin Keloth and GitHub
c899cc825d
fix: Handle Contact import MalformedCSVError ( #8706 )
2024-01-18 13:05:58 +05:30
Muhsin Keloth and GitHub
eb972684b3
feat: Show notification last active time instead of created time ( #8724 )
2024-01-18 09:41:53 +05:30
Muhsin Keloth and GitHub
896473f03e
fix: Notification count is incorrect when the number of notifications exceeds the page size. ( #8723 )
...
- The notification count is incorrect when the number of notifications exceeds the page size.
2024-01-17 15:14:37 +04:00
Sojan
8c43edbd50
Merge branch 'release/3.5.1' into develop
2024-01-17 13:48:28 +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
4c4eb4bd90
Bump version to 3.5.1
2024-01-17 13:47:57 +04:00
Vishnu Narayanan and GitHub
88b8597e4d
chore: log emails sent from chatwoot ( #8721 )
...
- Log details related to emails sent from Chatwoot to assist in debugging email delivery/bounces/complaints
2024-01-17 13:19:14 +04:00
Sojan Jose and GitHub
76fe2f9bb8
chore: Switch to Markdown instead of MarkdownV2 for telegram channel ( #8720 )
2024-01-17 14:28:13 +05:30
818424259f
chore: Get all notification API improvments ( #8549 )
...
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2024-01-17 09:02:18 +05:30
Sivin Varghese and GitHub
e67f8824d9
fix: Backdrop color for insert article modal in dark mode ( #8711 )
2024-01-16 18:36:43 +05:30
Sojan Jose and GitHub
8f1a1e0905
fix: Stop overwritting contact avatars unneccesarily ( #8710 )
...
While debugging a sentry error for "ActiveRecord::InvalidForeignKey ActiveStorage::Representations::RedirectController", it was noticed that we enqueue a Avatar::AvatarFromUrlJob for each setUser call, which is unnecessary. Hence making this call only if the contact doesn't have an existing avatar.
If one needs to have this avatar updated, they can go to the contacts tab and delete the current avatar, Chatwoot will pick up the new avatar in subsequent API call.
2024-01-16 16:38:46 +04:00
Mongkon Kaenjan and GitHub
1b6360d9d3
chore: change OFFLINE text in th translations ( #8642 )
...
change OFFLINE text from เราไม่อยู่ to ออฟไลน์
2024-01-16 15:18:59 +04:00
8b7f10fe61
feat: log errors on automation filter ( #8702 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-01-16 16:13:57 +05:30
4958b3e7b6
chore: Fix codespaces not booting up ( #8264 )
...
Fixed an issue where the codespace was not correctly booting up.
Fixes #7609
Co-authored-by: Liam Ashdown <liam.ashdown@debbiesvillas.co.uk >
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-16 14:34:23 +04:00
e467d15f2c
chore: Update translations ( #8544 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-16 13:49:38 +04:00
d1e7e75638
feat: Adds internal support for markdown in Telegram outgoing messages ( #8640 )
...
This PR adds support for Markdown in the telegram API for send message. The dashboard uses commonmark syntax for markdown but telegram is using MarkdownV2.
More info - https://core.telegram.org/bots/api#markdownv2-style
Adds support for bold - *bold*, _italic text_, __underline__, ~strikethrough~
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-16 13:32:59 +04:00
Sojan
4aab63b7df
Merge branch 'release/3.5.0' into develop
2024-01-16 11:15:29 +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
acf24649b0
Bump version to 3.5.0
2024-01-16 11:14:38 +04:00
Sojan Jose and GitHub
316cf35795
chore: Add display manifest to whitelabel settings ( #8708 )
...
- Adds display manifest to white label settings
- Improve the app config rendering with options for display name and description
2024-01-16 09:50:23 +04:00
Muhsin Keloth and GitHub
52a5a59ddb
fix: Handle error if the Twillio attachment download fails to download ( #8705 )
2024-01-15 19:13:44 +05:30
Sivin Varghese and GitHub
22db201a08
chore: Hide the variable list if its empty. ( #8704 )
2024-01-15 15:45:36 +05:30
ea7898d113
feat: fallback to DB localStorage for idb names ( #8682 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-01-15 15:08:15 +05:30
Vishnu Narayanan and GitHub
e7e14f01e4
fix: undefined method 'zero?' for nil:NilClass ( #8689 )
2024-01-15 15:07:36 +05:30
Muhsin Keloth and GitHub
7d6085cefd
fix: Log twillio attachment error ( #8703 )
2024-01-15 12:46:58 +05:30
Shivam Mishra and GitHub
10076c6a3e
feat: set lock timeout to 1 second ( #8661 )
2024-01-12 08:28:07 +05:30
Vishnu Narayanan and GitHub
1c44445088
chore: Update the error message to the correct one ( #8646 )
...
- Update the error message in reply_mailbox to more appropriate one.
2024-01-11 17:38:38 -08:00
d305c5fd0f
fix: Check the file attachment URL exists before downloading attachments in Telegram. ( #8679 )
...
In rare cases, the API call to Telegram for the file path fails. We were logging the error in sentry, switching to logs instead.
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-11 17:25:46 -08:00
Muhsin Keloth and GitHub
1577288843
fix: Twilo attachment download fallback to the step where authorization headers are not passed. ( #8681 )
...
In the previous release, we enabled "HTTP Basic Authentication" to secure all attachments requiring HTTP authentication. This is particularly important for media files that may contain sensitive data, as recommended by Twilio. However, some users experienced issues because they did not enable this option despite our alerts prompting them to do so. If the authenticated attachment download call fails, add another call to download the attachment without authentication.
2024-01-11 17:23:31 -08:00
Muhsin Keloth and GitHub
63b3686746
chore: Add a check to verify if the user exists before broadcasting the notification_deleted event. ( #8678 )
...
When a user is deleted, all associated notifications are also deleted from the database. As a result, the user record becomes empty. handling this case in code to prevent sentry errors.
2024-01-11 16:54:03 -08:00
810f950e16
fix: Fixes error with editor when --- is inserted ( #8669 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-01-11 07:56:18 -08:00
dd09d560d5
fix: logic error when setting new relic logging forwarding ( #8687 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2024-01-11 21:05:04 +05:30
Sivin Varghese and GitHub
c60c523851
fix: TypeError cannot read properties of undefined (reading 'queryselector') ( #8671 )
2024-01-11 20:42:24 +05:30
22c2235d90
fix: TypeError: Cannot read properties of null (reading 'assignee') ( #8647 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-01-11 11:31:02 +05:30
Sojan Jose and GitHub
35c26367da
chore: Unset Redis config after spec ( #8685 )
...
The sentinel configuration set in this specification seems to be affecting other specifications. So, let's ensure that the memoised config variable gets unset after execution of the spec.
2024-01-10 15:32:48 -08:00
Sojan Jose and GitHub
aaf4fee9a6
chore: Fix sentry errors in email processing for bounce notifications ( #8677 )
...
This case occurs for bounce notification emails where the from address is From: "" (Mail Delivery System) . We will be discarding these emails for now.
Fixes: https://linear.app/chatwoot/issue/CW-2793/activerecordrecordinvalid-validation-failed-email-invalid-email
2024-01-10 14:30:23 -08:00
Sivin Varghese and GitHub
3c21f62485
fix: Error ResizeObserver loop completed with undelivered notifications. ( #8680 )
2024-01-10 11:44:13 -08:00
50b2ca014e
feat: UI for unsupported message ( #8660 )
...
Display an unsupported message in UI when handling unsupported messages from channels like facebook, Instagram etc.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-09 21:53:58 -08:00
Vishnu Narayanan and GitHub
d731c972ad
fix: skip auditlogs for whatsapp template sync ( #8579 )
...
Skips audit logs for whatsapp_template sync
Fixes: https://linear.app/chatwoot/issue/CW-2641/skip-whatsapp-template-updates-from-audit-logs
2024-01-09 21:51:48 -08:00
Sojan Jose and GitHub
5845881b08
chore: Handle stripe events without plan data ( #8668 )
...
`plan` isn't a guaranteed object in stripe `customer.subscription.updated` events. It can be null for cases like `send_invoice` for `past_due` event as seen in the payload shown in sentry error.
fixes: https://linear.app/chatwoot/issue/CW-2925/nomethoderror-undefined-method-[]-for-nilnilclass-nomethoderror
2024-01-09 14:48:07 -08:00
Muhsin Keloth and GitHub
64138ef220
chore: Rescue Slack::Web::Api::Errors::NotInChannel error ( #8670 )
...
The primary cause of this issue is when Chatwoot sends a message to a channel that has either been deleted or is unauthorized. So, we will prompt reauthorization when this error occurs.
Fixes https://linear.app/chatwoot/issue/CW-2930/slackwebapierrorsnotinchannel-not-in-channel
2024-01-09 14:30:17 -08:00
Sojan Jose and GitHub
046ce68a45
chore: Improve Openai json rendering ( #8666 )
...
We have been observing JSON parsing errors for responses from GPT. Switching to the gpt-4-1106-preview model along with using response_format has significantly improved the responses from OpenAI, hence making the switch in code.
ref: https://openai.com/blog/new-models-and-developer-products-announced-at-devday
fixes: #CW-2931
2024-01-08 17:02:25 -08:00
e34ab5957f
chore(deps): bump puma from 6.3.1 to 6.4.2 ( #8663 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 16:51:30 -08:00
Pranav Raj S and GitHub
75a5492840
fix: Remove the usage of DragWrapper to fix the Dyte integration ( #8655 )
2024-01-05 15:28:20 -08:00
56fbbe92b4
feat: trigger handoff when agent bot is the actor ( #8639 )
...
- This PR adds a feature to auto-trigger handoff events when an Agent bot toggles a conversation status from Pending to Open
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-05 15:26:52 -08:00
Sojan Jose and GitHub
dc4e13b300
chore: Fix for empty update case for messages ( #8641 )
...
We observed an issue in production where the external webhook for an API inbox was failing. This, in turn, calls message update to update message status to failed. This causes a loop because rails trigger after_update callbacks even for empty commits.
Ref: rails/rails#44500
2024-01-05 13:10:26 -08:00
Pranav Raj S and GitHub
2c7f93978e
fix: Update broken specs ( #8651 )
...
- Use fakeTimer for time.spec.js
- Use default sort as last_activity_at_desc
- Update specs for getAllConversations getter
2024-01-05 13:09:09 -08:00
Shivam Mishra and GitHub
6e30064421
feat: handle unsupported media on the backend ( #8650 )
...
This PR logs additional information in content_attributes of a message in case it is unsupported. This info can be used by the client to render a fresh UI
2024-01-05 13:05:00 -08:00
Muhsin Keloth and GitHub
68062216e4
feat: Add a job to reopen snoozed notifications ( #8545 )
2024-01-05 15:13:22 +05:30
Vishnu Narayanan and GitHub
8a8f325f64
fix: messageTimestamp test ( #8644 )
2024-01-05 12:36:26 +05:30
Kevin Lin and GitHub
cf90b898f4
feat: enable new relic log decorations ( #8616 )
...
This enables local decorating of logs when using a new relic. It can be used when you use a log forwarding agent to do additional enrichment on APM logs before forwarding to the new relic.
2024-01-04 15:34:55 -08:00
Sojan Jose and GitHub
1f4cb0e1ca
chore: add config for Darkmode logo for whitelabeling ( #8597 )
...
- Add config for dark mode logo
2024-01-04 15:30:55 -08:00
c6ecf80dff
chore(synk): Upgrade administrate to fix 2 vulnerabilities ( #8625 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2024-01-04 13:38:03 -08:00
c29b77c214
chore(snyk): Security upgrade factory_bot_rails from 6.4.2 to 6.4.3 ( #8628 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-01-04 10:47:48 -08:00
Pranav Raj S and GitHub
c301845ade
chore: 2023 -> 2024 ( #8635 )
2024-01-03 12:49:36 -08:00
Sivin Varghese and GitHub
78fab7897d
feat: Use typing status from utils ( #8589 )
2023-12-22 13:47:41 +05:30
f48e014694
feat: Updates the design of the network connection warning snack bar ( #8509 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-12-21 14:16:21 -08:00
Nithin David Thomas and GitHub
206433db32
feat: Adds dropdown to switch locales from articles list page ( #8402 )
2023-12-21 13:16:59 -08:00
1ddb73ea97
chore(security): Security upgrade omniauth from 2.1.1 to 2.1.2 ( #8591 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-12-20 13:38:34 -08:00
Muhsin Keloth and GitHub
b5071e61d7
feat: Add last_activity_at field to Notification model ( #8585 )
2023-12-20 13:02:37 +05:30
Muhsin Keloth and GitHub
a80eff9aa3
feat: Enable custom attributes in the suggestion for variables. ( #8520 )
2023-12-20 12:20:09 +05:30
Sojan
a59fb90785
Merge branch 'release/3.4.0' into develop
2023-12-18 21:23:02 -08: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
29478880ff
Bump version to 3.4.0
2023-12-18 21:22:06 -08:00
Vishnu Narayanan and GitHub
c9f8cdb51b
fix: switch to nodejs ppa for linux installations ( #8337 )
...
Nodesource script-based installation is deprecated. Switch to a different ppa for nodejs.
Fixes: https://linear.app/chatwoot/issue/CW-2686/upgrade-warning
Fixes : #8151
2023-12-18 21:18:42 -08:00
Pranav Raj S and GitHub
a2ebf92932
fix: Fix the issue "Undefined method `inbox' for Instagram::MessageText" ( #8582 )
2023-12-19 08:43:43 +05:30
Pranav Raj S and GitHub
00eb5b152a
chore(migration): Re-run database migration job for caching. ( #8581 )
...
A support request that came to Chatwoot Cloud revealed that the job was timed prematurely. The default timeout for Sidekiq queues was set as 25 minutes in sidekiq.yml file. The cache was not created properly for the accounts with more than 100k conversations.
This change removes the cache logic in the previous migration and creates a new migration with a new job which processes conversations in batch.
2023-12-18 17:29:02 -08:00
Sojan Jose and GitHub
0b2f539ad0
chore: Update self-hosted billing redirect ( #8580 )
2023-12-18 16:34:47 -08:00
Shivam Mishra and GitHub
1ab3966b75
fix: @inbox usage in logs ( #8578 )
2023-12-18 19:30:41 +05:30
552d967c81
fix: Use ogg format for Telegram audio messages ( #8505 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-16 11:55:47 -08:00
Sivin Varghese and GitHub
e5c8a68a76
fix: Typing indicator to support dark mode ( #8564 )
2023-12-15 09:57:13 +05:30
Sivin Varghese and GitHub
15f50635e7
fix: undefined method `available_name' for nil:NilClass ( #8563 )
2023-12-15 09:41:35 +05:30
Liam and GitHub
cf0d6dd7c6
feat: Implement the ability to be able to rotate an image on agent conversation. ( #8559 )
2023-12-15 09:20:24 +05:30
Sivin Varghese and GitHub
fd1813949a
fix: Undefined method `name' for nil:NilClass ( #8562 )
2023-12-15 09:03:16 +05:30
Shivam Mishra and GitHub
6c480098f7
chore: log authentication error for FB and Instagram ( #8551 )
2023-12-14 16:18:23 +05:30
Shivam Mishra and GitHub
ae649a5b3f
refactor: add better logs to Instagram::MessageText ( #8538 )
2023-12-14 14:03:40 +05:30
34675da6fa
feat: Settings screen for custom branding ( #8543 )
...
- Ability to configure Chatwoot custom branding from UI when using paid plans
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-12-13 13:16:24 -08:00
075b0292b5
feat: Conversation list virtualization ( #8540 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-13 17:28:30 +05:30
0e9825f298
chore(deps): bump axios from 0.21.2 to 1.6.0 ( #8339 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-12-13 16:24:10 +05:30
bf883794a4
fix: accepting external source_id ( #8359 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2023-12-13 16:21:55 +05:30
Sivin Varghese and GitHub
3adaa2d602
fix: Retry message not working if the conversation has an external issue ( #8529 )
2023-12-13 15:46:10 +05:30
60a312ace5
feat: Advanced conversation sort options ( #8532 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-12 19:59:31 -08:00
Pranav Raj S and GitHub
8c9a351c84
feat: Add support for ascending and descending options in sort ( #8542 )
2023-12-12 17:15:48 -08:00
Pranav Raj S and GitHub
d28f512de4
fix: Update the label name to use .strip to avoid unnecessary whitespace characters ( #8541 )
...
- The cache stores the labels as label1, label2. Without removing the whitespace, the output of cached_label_list_array would be [label1, [whitespace]label2], which doesn't match with the existing labels. This list is returned with proper label names.
2023-12-12 15:04:29 -08:00
Sojan Jose and GitHub
376de685fb
chore: Adds API for agent bot avatar upload ( #8533 )
...
Adds API for agent bot avatar upload
- accounts/agent_bot
- platform/agent_bot
2023-12-11 19:02:11 -08:00
Pranav Raj S and GitHub
890515edfd
feat(perf): Cache labels on the conversation model ( #8527 )
2023-12-11 18:27:55 -08:00
Shivam Mishra and GitHub
79412ba2c6
feat: disable reply to message in WhatsApp via 360 dialog ( #8500 )
2023-12-11 16:54:47 +05:30
03ebb6947b
chore(synk): Upgrade sentry-rails from 5.13.0 to 5.14.0 ( #8420 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-10 22:00:17 -08:00
c53591f049
chore(snyk): Security upgrade sidekiq-cron from 1.11.0 to 1.12.0 ( #8523 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-10 21:59:12 -08:00
Muhsin Keloth and GitHub
db9a32a4c0
feat: Add sticker support in Line channel ( #8488 )
2023-12-10 20:45:44 -08:00
2ae9bbb24e
chore(snyk): Security upgrade factory_bot_rails from 6.2.0 to 6.4.2 ( #8371 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-10 20:43:58 -08:00
8dfe193461
feat: Add infinite loader, option for increasing page size ( #8525 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-12-10 20:09:17 -08:00
Sivin Varghese and GitHub
27239ae14a
feat: Adds API for retry messages in conversation ( #8518 )
2023-12-11 09:33:39 +05:30
Muhsin Keloth and GitHub
80ff5e2d0a
chore: Change the RemoveMessageNotifications job implementation. ( #8521 )
2023-12-11 08:27:30 +05:30
38240a68aa
[Snyk] Security upgrade rack-mini-profiler from 3.1.1 to 3.2.0 ( #8508 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-12-10 15:02:59 -08:00
Sojan Jose and GitHub
89710b406e
chore: Remove missing styles for super admin ( #8519 )
...
- Remove missing stylesheet references for super admin
2023-12-08 20:47:57 -08:00
f002870c6a
feat: Super admin design improvements ( #8517 )
...
- Revamp the super admin design
- Introduce a new settings page for support and billing settings
- Move the access tokens into users, agent bots and platform app show pages
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-12-08 19:40:35 -08:00
Muhsin Keloth and GitHub
b1a68759cf
feat: Add the support for custom attributes in message variables ( #8511 )
2023-12-08 14:13:35 -08:00
Muhsin Keloth and GitHub
bf49a17efa
feat: Handle notification.deleted action cable event ( #8501 )
2023-12-06 16:49:00 +05:30
Muhsin Keloth and GitHub
6b0d1d77d3
fix: Email notifications ( #8502 )
2023-12-06 15:50:23 +05:30
Muhsin Keloth and GitHub
db33b7d1dc
feat: Clear all previous notifications if a new notification is added to a conversation ( #8490 )
2023-12-06 14:03:43 +05:30
Muhsin Keloth and GitHub
76711d95ff
chore: Change primary actor to Conversation for all the notification types. ( #8435 )
2023-12-06 10:43:09 +05:30
Sivin Varghese and GitHub
17faa6c3b2
fix: Undefined method `length' for nil:NilClass ( #8491 )
2023-12-05 16:34:29 +05:30
Sivin Varghese and GitHub
c1ac354c9b
fix: Remove article meta tag is not working ( #8489 )
2023-12-05 16:17:41 +05:30
Muhsin Keloth and GitHub
449503bb94
feat: Snooze notification API ( #8439 )
2023-12-04 12:32:35 +05:30
Muhsin Keloth and GitHub
aad18e1ca4
feat: Add notification_deleted action cable event ( #8431 )
2023-12-01 23:06:22 +05:30
Muhsin Keloth and GitHub
fdc1123b18
feat: Add support for attachments(image and video) in LINE channel ( #8425 )
2023-12-01 07:23:35 +05:30
Anthony Meirlaen and GitHub
0974b1e705
fix: Install node 20.x in non-production docker ( #8441 ) ( #8442 )
2023-11-30 16:22:34 -08:00
Muhsin Keloth and GitHub
bc6e3e598f
feat: Delete notification by id API ( #8430 )
2023-11-29 22:45:11 +05:30
683f9d9a28
fix: article meta does not show up on reload ( #8415 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-11-29 16:15:31 +05:30
Martín Gómez and GitHub
f9bf0883c6
feat: Allow more image formats in avatar uploads form ( #8419 )
2023-11-28 11:18:16 +05:30
ad8ba299c9
feat: Author sections in category block and category list ( #8414 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-11-27 15:13:38 +05:30
Muhsin Keloth and GitHub
3ae64822e1
chore: Enforce HTTP Basic Authentication for Twilio medias. ( #8396 )
2023-11-27 13:24:53 +05:30
Sivin Varghese and GitHub
a49aaee9cf
fix: Email messages in dark mode ( #8300 )
2023-11-24 12:14:02 +05:30
Sivin Varghese and GitHub
2d1f70eb79
feat: Update public portal colors with new design ( #8230 )
2023-11-23 08:16:52 +05:30
Sojan Jose and GitHub
4fc5f765de
chore: Make super admin auth error readable ( #8406 )
...
- Remove the cryptic error for super admin auth and make it more readable
2023-11-22 17:26:08 -08:00
Nithin David Thomas and GitHub
7efc2726d9
fix: Updates the text alignment on articles table ( #8405 )
2023-11-23 02:58:00 +05:30
Pranav Raj S and GitHub
29a778697c
fix: Remove validation for message signature ( #8404 )
2023-11-22 13:09:17 -08:00
Pranav Raj S and GitHub
90649e72bb
fix: Add a .present? check for sentiment file path to avoid false positives ( #8401 )
2023-11-22 10:35:51 -08:00
Pranav Raj S and GitHub
1904ec7df4
fix: Update campaign routes to fix the rendering issue ( #8400 )
2023-11-22 09:39:41 -08:00
Nithin David Thomas and GitHub
96add30331
chore: Add analytics event for insert article feature ( #8393 )
2023-11-22 08:18:58 -08:00
9c7148e2ad
feat: Split dashboard to chunks for build performance ( #8394 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-21 14:51:05 -08:00
31c709be5c
fix: Opens foreign links from article page in new tab [cw-2725] ( #8304 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-11-22 01:57:58 +05:30
e750ee6d28
chore: [Snyk] Security upgrade administrate-field-active_storage from 0.4.2 to 1.0.0 ( #8382 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-11-20 19:42:54 -08:00
Vishnu Narayanan and GitHub
5b3f9ac1cd
chore: skip node upgrade if latest on cwctl upgrade ( #8336 )
2023-11-20 12:48:39 +05:30
Muhsin Keloth and GitHub
6c8dacfa0d
feat: Facebook delivery reports ( #8136 )
2023-11-20 12:22:45 +05:30
Sojan
feead30b0b
Merge branch 'release/3.3.1' into develop
2023-11-18 10:24:35 -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
4244945e7b
Bump version to 3.3.1
2023-11-18 10:23:18 -08:00
Clairton Rodrigo Heinzen and GitHub
17725e4dd0
fix: Breakage of message pane when Openai integration isn't enabled ( #8381 )
...
Error when the Openai integration isn't enabled
fixes: https://github.com/chatwoot/chatwoot/issues/8379
2023-11-18 10:18:55 -08:00
Sojan
d55bb63aa0
Merge branch 'release/3.3.0' into develop
2023-11-17 20:37:44 -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
6e22695b85
Bump version to 3.3.0
2023-11-17 20:34:39 -08:00
Pranav Raj S and GitHub
146e46d79f
fix: Disable AI Assist CTA if not required ( #8375 )
...
- Show CTAs only on production
2023-11-17 20:10:46 -08:00
Nithin David Thomas and GitHub
0af27a2387
feat: Adds support for logo in portal settings page [CW-2585] ( #8354 )
2023-11-17 19:58:27 -08:00
7380f0e7ce
chore: Making OpenAI label suggestions optional ( #8374 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-17 19:54:15 -08:00
Pranav Raj S and GitHub
2c5a0abcce
fix: Update the height of the input based on the rows ( #8373 )
2023-11-17 17:29:44 -08:00
Sojan Jose and GitHub
f23e33c1a9
perf: Remove unwanted conversation count query ( #8372 )
2023-11-17 16:40:40 -08:00
5588d6e344
feat: convert feature_flag to bigint [CW-2767] ( #8350 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2023-11-17 15:50:24 -08:00
59ace66c6f
chore: [Snyk] Fix for vulnerabilities ( #8340 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-11-17 15:24:00 -08:00
Sojan Jose and GitHub
decef1ad52
chore: Add rails_panel gem for query debugging ( #8370 )
2023-11-18 02:30:35 +05:30
Sojan Jose and GitHub
0e19a4196b
chore: Endpoint to purge portal logo ( #8365 )
2023-11-18 01:13:22 +05:30
Muhsin Keloth and GitHub
04dd65687b
feat: Changes to include delivery reports for all channels ( #8329 )
2023-11-16 19:43:35 +05:30
Muhsin Keloth and GitHub
5f503b1a57
feat: Change slack bot and activity message appearance ( #8349 )
2023-11-16 12:59:52 +05:30
Sojan Jose and GitHub
5f6e974531
chore: Add website_token into request logs ( #8362 )
...
- Log website_token into request logs to identify specific widgets
2023-11-15 20:32:21 -08:00
Sojan Jose and GitHub
a023eabf59
chore: Add logging for facebook errors ( #8360 )
...
- Add logging for Facebook errors
2023-11-15 14:56:21 -08:00
Sivin Varghese and GitHub
cb1e25a487
feat: Change the highlight in article page on scrolling ( #8330 )
2023-11-15 13:51:46 +05:30
Sojan Jose and GitHub
bcf7c6c45a
chore: Improve account seeding ( #8357 )
2023-11-15 13:29:00 +05:30
Shivam Mishra and GitHub
b411b6ca21
feat: remove feature flag checks for message reply to ( #8352 )
2023-11-15 13:05:58 +05:30
Shivam Mishra and GitHub
cd217a3f86
feat: allow automation rules to remove labels ( #8346 )
2023-11-13 13:10:55 +05:30
Pranav Raj S and GitHub
6c79642450
chore: Update dashboard screenshots and the logo ( #8342 )
2023-11-11 23:08:05 +05:30
Nithin David Thomas and GitHub
201d476720
chore: Add meta viewport tag to public portal ( #8335 )
2023-11-09 20:30:58 -08:00
Muhsin Keloth and GitHub
c1a2e67c9e
fix: Change the route change logic based on bus events, after creating a new conversation in the widget. ( #8328 )
2023-11-10 09:44:59 +05:30
1948bef9ac
fix: Fix line break issue with link in portal header ( #8323 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-11-08 20:38:38 -08:00
Sivin Varghese and GitHub
5486f39f7e
feat: Update uncategorized block design ( #8324 )
2023-11-09 08:47:38 +05:30
f018b0013c
feat: Updated the design of the article page ( #8166 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:05:13 -08:00
950f085e80
feat: Updated the design of the category page ( #8165 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:03:16 -08:00
268e26625b
feat: Adds the ability to see the popular articles ( #8152 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:01:07 -08:00
7041d86e4d
feat: Updated home page design ( #8106 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 17:59:03 -08:00
78398ee800
feat: Updated public portal header design ( #8089 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-11-08 17:56:59 -08:00
Sojan Jose and GitHub
7b09b02737
chore: Fix trigger message for response Bot ( #8322 )
...
- Fix the bug where wrong messages was used to search response sources
2023-11-08 17:02:48 -08:00
Muhsin Keloth and GitHub
af7631d9f1
chore: Update MarkMessagesAsReadJob to accept delivered status ( #8319 )
2023-11-08 13:44:57 -08:00
Sivin Varghese and GitHub
e0f33e62af
feat: Adds support for image resize in the message bubble ( #8182 )
2023-11-08 14:11:47 +05:30
5d224f2e04
feat: allow inbox specific flags for signature toggle ( #8280 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-11-08 10:47:22 +05:30
Gabriel Quina and GitHub
4cb981d81b
fix: Semantics across portuguese translations ( #8291 )
2023-11-08 10:42:57 +05:30
f891cfbf47
chore: [Snyk] Security upgrade sidekiq-cron from 1.10.1 to 1.11.0 ( #8294 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-11-08 10:32:04 +05:30
Sojan Jose and GitHub
e54c8a857d
chore: Debug ChatGpt response ( #8316 )
...
- Add loggers to debug ChatGPT requests and responses
2023-11-07 20:07:29 -08:00
66229b0d6b
chore: [Snyk] Security upgrade audited from 5.4.0 to 5.4.1 ( #8305 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-11-07 17:45:32 -08:00
Muhsin Keloth and GitHub
3eb1d49577
fix: Handle all types of errors in API channel webhooks ( #8307 )
2023-11-07 12:54:49 +05:30
Vishnu Narayanan and GitHub
677888bcde
feat: Add job to remove stale contact inboxes ( #8096 )
2023-11-06 20:24:30 -08:00
abbb4180ea
chore: Add facebook business_management scope ( #8004 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-11-06 18:37:41 -08:00
Pranav Raj S and GitHub
d1cbc56d67
chore: Update widget config API to migrate the widget ( #8303 )
...
- Update the keys in the widget config API to support loading the widget separately from the Rails App.
2023-11-06 15:27:29 -08:00
Emanuel and GitHub
b579ff832e
chore: Update the case in the translation files ( #8298 )
2023-11-06 08:01:54 -08:00
Nithin David Thomas and GitHub
39d0748a5b
feat: Lets users insert connected portal article into replies [CW-2282] ( #8117 )
...
- Lets users insert connected portal articles into replies
https://linear.app/chatwoot/issue/CW-2282/list-all-the-top-articles-from-the-connected-help-center
https://linear.app/chatwoot/issue/CW-1453/container-view-for-showing-search-input-and-result-items
2023-11-04 02:57:25 -07:00
Muhsin Keloth and GitHub
b4d20689b7
feat: Mark the messages as failed if the API channel webhooks fail for any reason. ( #8277 )
2023-11-04 12:26:28 +05:30
3b84b0fc47
feat: Creates 404 page for public portal [CW-2727] ( #8293 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-11-04 04:59:44 +05:30
Nithin David Thomas and GitHub
23ea829510
chore: Refactors help center article url helper ( #8269 )
2023-11-04 04:18:34 +05:30
ebe9daea00
chore: Swagger documentation for contact labels APIs ( #8279 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-11-03 15:09:12 +05:30
Shivam Mishra and GitHub
36b6c0cb9c
feat: support image height in markdown rendering of messages ( #8177 )
...
- This PR adds BaseMarkdownRenderer, it takes all the required attributes from the image node, parses the cw_image_height query and renders it.
2023-11-02 13:51:54 -07:00
Muhsin Keloth and GitHub
16c36a78f0
chore: Remove sentry exceptions for the message status failed errors ( #8285 )
...
- Remove sending exceptions to Sentry after capturing the message failed errors.
2023-11-02 12:00:22 -07:00
Nithin David Thomas and GitHub
4999f7ed23
fix: Fixes wrong page size in category filter in articles page ( #8270 )
2023-11-02 15:19:19 +05:30
Chatwoot Bot and GitHub
e8f4ac632f
chore: Update translations ( #8255 )
2023-11-01 15:13:32 -07:00
3c7854ccdf
fix: Fixes error in ChatList component ( #8266 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-11-02 03:23:29 +05:30
Pranav Raj S and GitHub
1e70223ed7
chore: Upgrade Cypress to 13.4.0 ( #8271 )
2023-10-31 19:39:34 -07:00
f34cd3ea61
chore: [Snyk] Security upgrade newrelic-sidekiq-metrics from 1.6.1 to 1.6.2 ( #8254 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-10-31 18:24:18 -07:00
Muhsin Keloth and GitHub
68b8d721a7
fix: Update the message status to failed if the outgoing Facebook message fails. ( #8258 )
2023-10-31 17:40:17 -07:00
Nithin David Thomas and GitHub
d876419b27
fix: Update text area height while typing [CW-2438] ( #8268 )
2023-10-31 17:39:25 -07:00
8455186e9f
feat: allow instagram reply_to [CW-2609] ( #8248 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-31 17:31:12 -07:00
b6584ec68b
feat: toggle reply to on widget based on feature flag ( #8261 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-31 21:33:14 +05:30
Muhsin Keloth and GitHub
29f18c7f18
fix: Handle Twilio::REST::RestError ( #8257 )
2023-10-31 16:23:34 +05:30
Muhsin Keloth and GitHub
11b27f9805
feat: Handle Line send message/attachments errors ( #8200 )
2023-10-31 07:42:30 +05:30
Pranav Raj S and GitHub
653e0335c0
fix: Handle PermissionDeniedError for Dialogflow processor ( #8252 )
2023-10-30 13:24:03 -07:00
013dab7da6
fix: Add support for dark mode for the calendars (date and time picker). ( #8250 )
...
Co-authored-by: Liam Ashdown <liam.ashdown@debbiesvillas.co.uk >
2023-10-30 11:48:16 -07:00
Pranav Raj S and GitHub
2ba81830f3
fix: Update Instagram story rendering ( #8240 )
2023-10-30 11:16:14 -07:00
Sivin Varghese and GitHub
dfba4770bd
feat: Save sort Conversations filter ( #8237 )
2023-10-30 15:25:21 +05:30
Liam and GitHub
63e702ca12
fix: Fix an issue where Chat Widget Unread Message is not correctly d… ( #8245 )
2023-10-30 12:52:26 +05:30
Will Kramer and GitHub
394fece846
docs: Update .env.example for clearer inbound Postmark instructions ( #8235 )
...
Updated the .env.example file to provide clearer instructions for setting up the Postmark inbound webhook. Many users, including myself, found the initial instructions ambiguous, leading to difficulties during setup. This change aims to simplify the process for future users by providing clearer instructions and examples.
Fixes : #8234
2023-10-27 16:06:27 -07:00
Muhsin Keloth and GitHub
24fbab94c3
chore: Refactor MarkMessagesAsReadJob based on conversation id and time stamp ( #8217 )
...
- Mark all messages as read by providing the conversation ID and timestamp.
- For Instagram, ensure all previous messages that weren't marked as failed are now marked as read. This is because the read events are only triggered for the most recent message and not for any previous ones.
2023-10-27 15:21:39 -07:00
Muhsin Keloth and GitHub
61e03fa33a
feat: Bandwidth sms channel delivery reports ( #8198 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2566/delivery-report-for-bandwidth-sms
2023-10-27 14:07:15 -07:00
Pranav Raj S and GitHub
6c4b92f7f6
fix: Revert the changes for SyncCustomFilterCountJob ( #8238 )
2023-10-27 10:45:48 -07:00
f023325b0e
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 ( #8233 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 07:39:48 -07:00
dd05482cb0
chore: update UI copy ( #8229 )
...
Co-authored-by: Hricha Shandily <hrichashandily@gmail.com >
2023-10-27 16:05:42 +05:30
d94108bf3f
feat: show ReplyTo in widget UI ( #8094 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-27 13:35:02 +05:30
ab872beb1d
feat: Helper to support dynamic system theme in public portal ( #8206 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-26 12:59:51 +05:30
d02cfff4cc
fix: canned responses not working when signature is present ( #8176 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-26 11:35:46 +05:30
Robert Coker and GitHub
736f269c49
fix: Always reset CC/BCC emails when switching conversations ( #8157 )
2023-10-25 21:42:36 -07:00
Pranav Raj S and GitHub
b067acfd4a
fix: Update the alignment of the info icon on contact info panel ( #8216 )
2023-10-25 21:30:14 -07:00
Sivin Varghese and GitHub
232fa6fd18
fix: Revert missing files for search ( #8215 )
2023-10-26 09:08:28 +05:30
Chatwoot Bot and GitHub
483d55df91
chore: Update translations ( #8161 )
2023-10-25 19:20:30 -07:00
3e54d3654b
feat: Updated the search result fly-out menu design ( #8203 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-25 19:16:49 -07:00
Sojan Jose and GitHub
b6831d464e
chore: Update API documentation for whatsapp templates ( #8211 )
...
- Update API documentation for whatsapp templates
2023-10-25 17:06:58 -07:00
Sojan Jose and GitHub
8c67ea56e7
chore: Campaign conversations should be created in open state ( #8209 )
...
- Ensure that conversations originating from campaigns are created in the open state.
2023-10-25 13:03:08 -07:00
Muhsin Keloth and GitHub
54bc4c23df
fix: Telegram model specs ( #8207 )
2023-10-26 00:14:09 +05:30
Muhsin Keloth and GitHub
58f47eb02c
feat: Handle Facebook send message/attachments errors ( #8197 )
2023-10-25 08:59:25 -07:00
4fc62ed9ae
feat: Handle Instagram send message/attachments errors ( #8174 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-25 08:56:09 -07:00
4a89bab23a
feat: Handle Telegram send message/attachments errors ( #8173 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-25 08:36:31 -07:00
Muhsin Keloth and GitHub
7438f3b157
fix: Rescue slack ChannelNotFound error ( #8196 )
2023-10-25 13:53:30 +05:30
Shivam Mishra and GitHub
9551dbc25f
feat: add gtm to vueapp ( #8154 )
2023-10-24 15:51:21 +05:30
Sivin Varghese and GitHub
2e54f4a67c
feat: Adds an event for the Google Translate usage ( #8175 )
2023-10-24 15:34:51 +05:30
Shivam Mishra and GitHub
6d9b2a6b33
refactor: UI flags for Reply To ( #8147 )
2023-10-20 14:19:19 +05:30
Sivin Varghese and GitHub
35a9acf099
feat: Adds the ability to set an emoji for help center category ( #8111 )
2023-10-20 13:52:30 +05:30
b9694a0818
feat: support reply to for Telegram ( #8105 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-20 13:14:20 +05:30
Shivam Mishra and GitHub
7416bbb25e
feat: support reply to for outgoing message in WhatsApp ( #8107 )
...
- This PR enables replies to WhatsApp.
2023-10-19 13:24:46 -07:00
Muhsin Keloth and GitHub
b94c89ebf1
fix: Show sent status for messenger channel ( #8145 )
2023-10-19 13:22:19 +05:30
Muhsin Keloth and GitHub
78ce8a4652
feat: Add support for Instagram delivery reports ( #8125 )
2023-10-18 23:42:34 -07:00
Muhsin Keloth and GitHub
04c874fe35
feat: Add delivery reports for API channel ( #8116 )
2023-10-18 10:11:13 +05:30
Sojan
eabe548520
Merge branch 'release/3.2.0' into develop
2023-10-17 17:55:42 -07: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
Sojan
f96b54e57f
Bump version to 3.2.0
2023-10-17 17:54:38 -07:00
Pranav Raj S and GitHub
d3bf828524
chore: Adds hasConversation flag in chatwoot:on-start-conversation event ( #8132 )
2023-10-17 16:24:00 -07:00
c20415f3ba
test: reset Current.user before each example ( #8126 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-10-17 15:42:45 -07:00
Pranav Raj S and GitHub
6b2ed4fe79
fix: Add reset password for edit agent screen ( #8130 )
2023-10-17 12:54:05 -07:00
Shivam Mishra and GitHub
eca9ca90f1
feat: Add June event for reply to ( #8118 )
2023-10-17 09:51:28 -07:00
Shivam Mishra and GitHub
9018ec9678
test: reset Current.user after spec ( #8123 )
2023-10-17 18:06:54 +05:30
Shivam Mishra and GitHub
e55fe33f1b
test: fix flaky test by adding margin for time diff ( #8121 )
2023-10-17 14:20:40 +05:30
3b0788c3be
chore: Update translations ( #8024 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-10-16 19:55:25 -07:00
Vishnu Narayanan and GitHub
626e67b859
feat: add autoupdate for cwctl ( #8108 )
...
- During cwctl --upgrade, check for the latest version of cwctl from master branch
- Upgrade cwctl if a newer version is found
2023-10-16 19:43:44 -07:00
Nithin David Thomas and GitHub
28db18ebbd
chore: Shows articles in dark mode for widget ( #8115 )
2023-10-16 16:59:15 +05:30
b28721e10b
feat: Creates components for Article Search in Reply [CW-2285] ( #7957 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-16 15:02:02 +05:30
Shivam Mishra and GitHub
f77db4d814
refactor: disable bubble by flag ( #8109 )
2023-10-13 21:34:22 +05:30
62d8ec7edb
feat: support reply to for incoming messages on facebook ( #8076 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-13 16:33:50 +05:30
7b09fa4a03
chore(snyk): Upgrade gems to fix SNYK-RUBY-RACK-1061917 ( #8104 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-10-13 09:24:50 +05:30
Muhsin Keloth and GitHub
980013abae
feat: Add delivery reports for live chat ( #8092 )
2023-10-12 20:48:20 +05:30
Shivam Mishra and GitHub
5c729ccea5
chore: Add null checks ( #8100 )
2023-10-12 19:39:19 +05:30
Vishnu Narayanan and GitHub
ae52ca87aa
fix: Handle empty status in conversation controller ( #8091 )
...
Fixes CW-2644
2023-10-12 17:11:04 +05:30
Vishnu Narayanan and GitHub
415bb23c37
fix: Handle invalid metric in ReportsController ( #8086 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Fixes CW-2643
2023-10-12 17:01:23 +05:30
Pranav Raj S and GitHub
9e173fca3c
fix: Return 404 if conversation is nil ( #8098 )
2023-10-12 17:00:51 +05:30
Muhsin Keloth and GitHub
bd918ee506
fix: Change the message status to failed if the Twilio message delivery status is undelivered ( #8097 )
2023-10-12 15:27:38 +05:30
Shivam Mishra and GitHub
7c9884b853
feat: Remove unused prop ( #8093 )
2023-10-12 12:14:39 +05:30
7ffa669c5c
feat: Implement message bubble reply to ( #8068 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-11 22:04:12 +05:30
0bc20873f6
feat: Add delivery status for Twilio Channel ( #8082 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-11 21:17:46 +05:30
88de3359a5
fix: Long names hide the resolve button ( #8083 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-11 13:25:20 +05:30
Sojan Jose and GitHub
a3d008da06
chore: Ensure null validation for private attribute in messages ( #8085 )
2023-10-11 13:16:59 +05:30
cbae95422d
feat: Implement reply to for reply editor ( #8063 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-10 19:13:12 +05:30
Shivam Mishra and GitHub
081c845c56
chore: Remove twitter actions ( #8079 )
2023-10-10 16:48:58 +05:30
Pranav Raj S and GitHub
1e54d6deb3
fix: Update duplicate ids for dashboard app frame ( #8077 )
2023-10-10 16:46:32 +05:30
Shivam Mishra and GitHub
bb5c6a416a
fix: insert position for canned responses ( #8069 )
2023-10-10 10:36:10 +05:30
6a07251007
feat: Add the ability to self-assign conversations in macros ( #8048 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-10 09:38:23 +05:30
Sivin Varghese and GitHub
759a66dd21
feat: Add the ability to send attachment in new conversation ( #7913 )
2023-10-10 09:34:36 +05:30
Vishnu Narayanan and GitHub
8189dd932c
feat: Report cwctl events to hub ( #8009 )
2023-10-10 09:16:03 +05:30
b6ba0f343e
feat: Reverse the contact merge ( #8057 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-10 08:20:48 +05:30
Sivin Varghese and GitHub
86ca90aa15
feat: Support image resize in message signature ( #8042 )
2023-10-09 13:20:12 +05:30
Muhsin Keloth and GitHub
26e8877cd9
feat: Support link unfurling for all the channels within the same connected channel account. ( #8033 )
2023-10-08 17:55:03 +05:30
1b63adfb2e
feat: add option for reply to in context menu ( #8043 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-05 20:01:20 +05:30
e27274a5a8
chore: Adds a bus event to insert text at cursor in editor ( #7968 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-05 14:37:01 +05:30
e5c198f839
refactor: Remove redundant accounts/get ( #8056 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-05 13:54:04 +05:30
Sojan Jose and GitHub
72ba429159
fix: Show sources in bot response only if documents are present ( #8055 )
...
- show sources section in bot only based on appropriate conditions
2023-10-05 00:11:01 -07:00
Pranav Raj S and GitHub
3227cf7ff3
fix: Update query to support multiple tag conditions ( #8054 )
2023-10-05 10:47:42 +05:30
f0740120a8
chore: Add a fix for mouse up event in modal ( #7950 )
...
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-05 10:44:31 +05:30
3ea54065b1
feat: Upgrade prompt for help center ( #8010 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-05 08:34:21 +05:30
Sojan Jose and GitHub
6f19546c3c
feat: Add article messages along with bot responses ( #7993 )
...
ref: https://linear.app/chatwoot/issue/CW-2464/bot-should-also-return-links-to-the-information
2023-10-04 15:40:59 -07:00
Mazen Khalil and GitHub
5c9ab21617
fix: Application not loading after setting RACK_ATTACK_LIMIT ENV variable [CW-2587] ( #8044 )
2023-10-04 15:56:20 +05:30
b71a580573
feat: Adds dark theme support for public portal [CW-2525] ( #7979 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-04 11:56:00 +05:30
Sojan Jose and GitHub
6a73953003
chore: Add delay before running dataimport job ( #8039 )
...
- We have observed some failures for data import jobs in the cloud due to race conditions with job executions and active storage file uploading. This PR adds delays and retries to accommodate that.
2023-10-03 22:18:57 -07:00
Sojan Jose and GitHub
336af1ac9a
chore: Create client API conversations with custom attributes ( #8040 )
...
- Update client API create conversations endpoint to accept custom attributes as well.
2023-10-03 22:18:35 -07:00
e4de366b8d
feat: Add an option to listen to the start conversation click events ( #8038 )
...
This PR will add a new event chatwoot:on-start-conversation to the chat widget, which you can listen to and trigger custom interactions on your end.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-03 18:01:40 -07:00
373c3dcd6c
chore(deps): bump postcss from 8.4.30 to 8.4.31 ( #8034 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:08:18 -07:00
Shivam Mishra and GitHub
4b12dd89b0
fix: videojs-record version ( #8029 )
2023-10-03 20:57:23 +05:30
c19cfeaa81
feat: Adds message signature for new email conversations ( #7946 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-10-03 13:45:28 +05:30
fa118ad18c
fix: Issue on the status filter field ( #7949 )
...
Co-authored-by: AqidaHaidari <42426077+AqidaHaidari@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-03 09:20:46 +05:30
249bfe44bb
fix: issue of translation for TimeAgo.vue ( #7951 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-10-03 08:41:30 +05:30
Sojan Jose and GitHub
826d9ec5a7
chore: Refactor Response Bot Data Schema ( #8011 )
...
This PR refactors the schema we introduced in #7518 based on the feedback from production tests. Here is the change log
- Decouple Inbox association to a new table inbox_response_sources -> this lets us share the same response source between multiple inboxes
- Add a status field to responses. This ensures that, by default, responses are created in pending status. You can do quality assurance before making them active. In future, this status can be leveraged by the bot to auto-generate response questions from conversations which require a handoff
- Add response_source association to responses and remove hard dependency from response_documents. This lets users write free-form question answers based on conversations, which doesn't necessarily need a response source.
2023-10-01 19:31:38 -07:00
d8b53f5d2f
chore: [Snyk] Security upgrade audited from 5.3.3 to 5.4.0 ( #8023 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-09-30 19:49:03 -07:00
Jordan Brough and GitHub
08ced452e1
chore: Log errors handled by RequestExceptionHandler ( #8013 )
...
- Logging this info is invaluable when using logs to track down the reason why a particular request failed.
2023-09-30 19:46:58 -07:00
24fe3805d8
feat: Slack link unfurling ( #7940 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-29 19:35:56 +05:30
Sivin Varghese and GitHub
845b0c0a68
fix: Editor file upload browser showing bug ( #8019 )
2023-09-29 17:53:54 +05:30
Chatwoot Bot and GitHub
8ce7539c5e
chore: Update translations ( #8016 )
2023-09-29 15:46:29 +05:30
Shivam Mishra and GitHub
5ee980465f
fix: Token type hr not supported by Markdown parser ( #8003 )
2023-09-29 12:05:32 +05:30
Pranav Raj S and GitHub
fd633e1613
feat: Add inbox webhook events ( #8006 )
...
- Add webhook events for inbox creation/updation.
- Right now, the feature is added under a feature_flag. It is not available by default on all installations.
2023-09-28 15:28:10 -07:00
Pranav Raj S and GitHub
12a64f1b10
chore: Add an API to find the contacts using contact inbox sourceId ( #8012 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2578/search-by-facebook-id
2023-09-28 15:26:28 -07:00
Pranav Raj S and GitHub
ffc2d98fb8
fix: Use installation locale if configured ( #8002 )
2023-09-27 19:06:36 +05:30
f7f04f788e
feat: Add an option to view the generated articles by Robin AI ( #7995 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-27 18:16:36 +05:30
a88d155dd7
feat: update tool-chain to latest ( #7975 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-27 14:02:34 +05:30
Chatwoot Bot and GitHub
e8b7e791a5
chore: Update translations ( #7969 )
2023-09-27 12:47:03 +05:30
b18cac77fb
chore: Moved file upload methods to mixin ( #7987 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-27 11:05:19 +05:30
Sojan Jose and GitHub
647161121e
chore: pass to agent if there is error parsing json ( #7990 )
...
- GPT bot should pass the conversation to the agent if AI returns invalid json or any other error
2023-09-26 21:05:21 -07:00
Muhsin Keloth and GitHub
cbbe939662
fix: Set avatar for users(agent/contact) in slack channels ( #7960 )
2023-09-26 09:38:14 +05:30
Sojan
30cb141e5e
Merge branch 'master' into develop
2023-09-22 19:55:11 -07:00
Sojan
b0d5c438ac
Merge branch 'release/3.1.1' into develop
2023-09-22 19:54:48 -07:00
Sojan
3eefa4daee
Merge branch 'release/3.1.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-09-22 19:54:43 -07:00
Sojan
ddce999385
Bump version to 3.1.1
2023-09-22 19:54:20 -07:00
ff915dd2ea
fix: Avoid joining tables to fix the distinct value query ( #7965 )
...
DISTINCT query with custom attributes return an error. To avoid the error, this PR refactors the query to include tags only when it is required.
Fixes #7931
Fixes #7836
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-22 19:48:56 -07:00
dd0930d75e
chore: Improve search in super admin panel ( #7952 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-22 19:41:13 +05:30
Shivam Mishra and GitHub
3f0d96c24d
chore: Add better error messages for Facebook unauthorized ( #7936 )
2023-09-22 16:41:04 +05:30
Pranav Raj S and GitHub
c16b801562
chore: Update the filter for articles in the widget ( #7961 )
2023-09-21 19:40:46 +05:30
018c468303
chore: Refactors widget to use i18n locale for articles ( #7958 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-21 18:24:03 +05:30
48bf8d08e5
feat: Update dependencies and fix import syntax for Vite migration ( #7959 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-21 17:55:54 +05:30
Nithin David Thomas and GitHub
fabb3c8da4
fix: Help Center articles are not available on the widget [CW-2534] ( #7954 )
2023-09-21 17:06:15 +05:30
bdeb2f9812
feat: Searching contacts by company name ( #7867 )
...
Implement the functionality of being able to search the contacts page by company name.
Fixes : #7818
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-21 00:53:12 -07:00
53dc38e650
fix: Renders youtube and vimeo links within blank lines as embeds ( #7422 )
...
Within the article we are now rendering every link for youtube and vimeo as embeds. This isn't a good solution, as users might need to have plain links as well. This fix will render only links within two blank lines as embeds.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-21 00:16:03 -07:00
27fc24375d
fix: Handling markdown before replacing or appending signature [CW-2532] ( #7944 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-09-21 11:28:29 +05:30
f999777a2d
chore: Update message signature description ( #7943 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-20 21:09:25 -07:00
Pranav Raj S and GitHub
71d1e98765
chore: Remove spinkit from dependencies ( #7948 )
2023-09-20 18:18:55 +05:30
Sivin Varghese and GitHub
2c93d563c1
fix: Update colors to fix dark mode in the editor add-link modal header ( #7947 )
2023-09-20 17:29:27 +05:30
Pranav Raj S and GitHub
f1b556d4a3
fix: Downcase content filter values to fix the query ( #7942 )
2023-09-20 13:14:00 +05:30
Chatwoot Bot and GitHub
73c119cd3d
chore: Update translations ( #7937 )
2023-09-19 21:19:46 -07:00
Smit Bosamiya and GitHub
0ad2f94151
fix: Error when attempting to Delete User-Associated Accounts via Super Admin Console ( #7810 )
...
This pull request addresses the issue where an error is encountered while attempting to delete user-associated accounts through the Super Admin Console. The problem arises from an error that occurs when the "destroy" action is triggered on an associated account.
Fixes : #7809
2023-09-19 21:16:11 -07:00
f8cb806548
fix: remove trailing spaces before pushing signature ( #7935 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-09-19 13:29:44 +05:30
9ba5adfd60
chore: Support multiple values for automation message content ( #7871 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-19 13:04:58 +05:30
Muhsin Keloth and GitHub
0dd5104acb
chore: Move slack message concern to the helper ( #7912 )
2023-09-19 11:09:23 +05:30
Sojan Jose and GitHub
0968aead6c
chore: Migration status in super admin ( #7938 )
2023-09-19 10:31:41 +05:30
Shivam Mishra and GitHub
53d530b815
feat: Add upload under account scope ( #7914 )
2023-09-19 09:51:54 +05:30
2429daa45c
feat: cwctl upgrade node for existing installations ( #7772 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-18 23:49:29 +05:30
Sojan
86894b27b5
Merge branch 'release/3.1.0' into develop
2023-09-15 16:46:47 -07:00
Sojan
05df4d4212
Merge branch 'release/3.1.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-09-15 16:46:37 -07:00
Sojan
47fd0ea2b2
Bump version to 3.1.0
2023-09-15 16:45:59 -07:00
Sojan Jose and GitHub
30b8a365dc
chore: Improve the feature management styles in super admin ( #7920 )
2023-09-15 15:55:15 -07:00
29110ffd6b
feat: Allow signature in the editor directly ( #7881 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-15 18:46:40 +05:30
Sojan Jose and GitHub
e9950afb1a
refactor: Optimise article query in chat widget ( #7919 )
...
- optimise article query in chatwidget
2023-09-14 17:19:42 -07:00
Pranav Raj S and GitHub
f21298aeb9
chore: Increase the click area for the article list item ( #7918 )
2023-09-14 20:44:08 +05:30
Vishnu Narayanan and GitHub
7b6a56714f
fix: double rendor error on message create api for suspended accounts ( #7917 )
2023-09-14 20:06:48 +05:30
94a20af9db
fix: Render articles in widget if it is available ( #7654 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-09-14 19:56:17 +05:30
Sojan Jose and GitHub
616371adbb
chore: Improve the behavior of lock to single conversation ( #7899 )
2023-09-14 12:32:57 +05:30
Muhsin Keloth and GitHub
2d4ef0c328
feat: Add None option in automation assign agent actions ( #7900 )
2023-09-14 09:01:58 +05:30
5e6e234afe
feat (perf): Remove conversation count in contacts list view ( #7915 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-14 08:49:37 +05:30
Muhsin Keloth and GitHub
18e9e771b5
fix: Check body exists before deleting null bytes in Twilio ( #7910 )
2023-09-13 13:40:26 +05:30
0245e01763
fix: Enable serbian translation ( #7905 )
...
Enable language: Serbian.
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
2023-09-13 00:36:34 -07:00
fcd40e9636
chore: Update translations ( #7887 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-12 18:09:47 -07:00
Jordan Brough and GitHub
4f5c5e9f85
fix: Erase null bytes from incoming Twilio messages ( #7901 )
...
We've had some messages come in from a few different phone numbers that had null bytes in them. I don't know how this happens. They don't seem to be malicious.
They currently cause the Postgres gem to raise an error when Chatwoot attempts to save the message body to the database:
ArgumentError (string contains null byte)
Related Rails GitHub issue: rails/rails#26891
2023-09-12 18:07:18 -07:00
cb07ac16d1
chore: [Snyk] Fix for 1 vulnerabilities ( #7906 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-09-12 18:03:58 -07:00
Muhsin Keloth and GitHub
4fa299ff15
chore: Disable archived channels from the slack integration ( #7904 )
2023-09-12 22:21:50 +05:30
Pranav Raj S and GitHub
71e9566854
Revert "feat: Ability to send attachment in new conversation ( #7698 )" ( #7903 )
2023-09-12 20:57:49 +05:30
272f920811
chore: [Snyk] Security upgrade rails from 7.0.7.2 to 7.0.8 ( #7888 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-09-11 19:12:38 -07:00
e39d19b1e8
feat: Adds image support for message signature ( #7827 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-09-11 10:23:45 +05:30
Nithin David Thomas and GitHub
6c39aed882
fix: Refactor components in widget to show articles ( #7874 )
2023-09-11 09:31:50 +05:30
Nithin David Thomas and GitHub
8d43101892
chore: Improvements to dark mode usage in widget ( #7873 )
2023-09-11 09:31:11 +05:30
Pranav Raj S and GitHub
f05535c5ad
Revert "chore: Improve the behaviour of lock to single conversation (… ( #7886 )
2023-09-09 09:59:21 +05:30
Pranav Raj S and GitHub
4503ba018d
chore: Increase the limit of greeting message ( #7883 )
2023-09-08 15:33:09 +05:30
8bc2bc6d40
feat: Ability to send attachment in new conversation ( #7698 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-08 12:12:24 +05:30
Sojan Jose and GitHub
bfd192ebb2
chore: Improve the behaviour of lock to single conversation ( #7863 )
2023-09-08 11:16:24 +05:30
Sojan Jose and GitHub
6e13d22ff7
chore: Updated prompt for Article Bot ( #7872 )
2023-09-08 11:11:07 +05:30
Muhsin Keloth and GitHub
3e8b6e1aee
fix: Disable AI assist if the AI integration not enabled ( #7876 )
2023-09-07 19:17:10 +05:30
Sivin Varghese and GitHub
3038aaef67
fix: Editor menu option is not showing ( #7879 )
2023-09-07 17:15:19 +05:30
Muhsin Keloth and GitHub
57a68666cb
fix: Integration page responsiveness issues ( #7875 )
2023-09-07 14:16:44 +05:30
4acb824857
chore: [Snyk] Fix for 1 vulnerabilities ( #7870 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-09-06 18:36:32 -07:00
5c74674c2b
feat: Update rack attack IP limit ( #7866 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-06 18:56:42 +05:30
Nithin David Thomas and GitHub
52e49d5f9d
feat: Creates component to show article in an iFrame ( #7857 )
2023-09-06 18:55:39 +05:30
Shivam Mishra and GitHub
e529e1206e
fix: Update inline image processing logic to fix missing images when multiple inline images present ( #7861 )
2023-09-06 14:35:19 +05:30
Nithin David Thomas and GitHub
a8009c7b39
fix: Allow Iframes requests on portal controller ( #7858 )
2023-09-06 14:25:03 +05:30
99bb074656
chore: Security upgrade web-console from 4.2.0 to 4.2.1 ( #7864 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-09-06 11:31:05 +05:30
Nithin David Thomas and GitHub
9322112481
chore: Improvements to utils to load article in widget ( #7859 )
2023-09-05 21:37:51 +05:30
Muhsin Keloth and GitHub
ce4cfee8bd
fix: Attachment sent from slack doesn't reach to chatwoot ( #7852 )
2023-09-05 17:23:58 +05:30
Sivin Varghese and GitHub
f31fc2b375
fix: Avoid XSS in custom attributes ( #7800 )
2023-09-05 09:49:54 +05:30
e5f7807833
fix: Redirect after contact delete [CW-2397] ( #7740 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-04 18:48:30 +05:30
Onur YAŞAR and GitHub
2483d99d3c
fix: Update Portal Turkish Translations ( #7833 )
2023-09-04 18:37:34 +05:30
Shivam Mishra and GitHub
336584c95a
feat: mutex for InstagramEventsJob [CW-2447] ( #7828 )
2023-09-04 15:02:13 +05:30
Shivam Mishra and GitHub
9ebabb9832
feat: common attachment endpoint follow-up changes ( #7826 )
2023-09-01 15:18:48 +07:00
Shivam Mishra and GitHub
2acf09b3eb
refactor: use conversation_id instead of sender_id ( #7831 )
2023-08-31 16:10:37 +07:00
Pranav Raj S and GitHub
d18d3e9e2e
fix: Re-arrange plugins to fix canned-responses/mentions not working ( #7830 )
2023-08-31 15:42:40 +07:00
deec1d213b
feat: add a common upload endpoint ( #7806 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-08-31 10:36:02 +07:00
Shivam Mishra and GitHub
25c3fb3c36
feat: Track the usage of query operator ( #7821 )
2023-08-30 08:28:05 +05:30
e2a6dc3e04
chore: Upgrade Node.js to v20 ( #7759 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-28 19:20:35 +05:30
57feedbf25
fix: Fixes extra backslash while breaking paragraphs [CW-1505] ( #7457 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-08-28 15:46:10 +05:30
Pranav Raj S and GitHub
71310c21ad
chore: Update translations ( #7807 )
2023-08-28 09:02:22 +05:30
623cd72897
fix: Update the order of display of the CSAT ratings ( #7805 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-27 07:39:06 +05:30
04aa13e8aa
feat: Disable options from the message signature editor ( #7777 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-26 08:51:39 +05:30
Sojan Jose and GitHub
6ab964b161
chore: fix flaky spec ( #7686 )
...
- fix flaky reporting specs
- fix flaky export spec
2023-08-25 00:11:41 -07:00
Shivam Mishra and GitHub
5598b4b27e
feat: implement mutex for SlackSendJob ( #7783 )
2023-08-25 11:58:29 +07:00
Sojan Jose and GitHub
64ae9f625a
chore: Persist emojis in Contact Import ( #7803 )
...
The previous fix would remove emojis in contact data. This change ensures they are persisited
ref: #7787
2023-08-24 14:04:52 -07:00
Pranav Raj S and GitHub
3dd3b7b3aa
fix: Rescue InvalidAuth and mark integration as inactive ( #7797 )
2023-08-24 17:02:24 +05:30
Pranav Raj S and GitHub
f451e59aec
chore: Update translations ( #7796 )
2023-08-24 17:02:11 +05:30
paulocr and GitHub
c04f67e8a5
fix: Update translation in Spanish ( #7770 )
2023-08-24 16:24:48 +05:30
Pranav Raj S and GitHub
6ddc99d066
fix: Update the in_reply_to to logic to use processed_mail ( #7793 )
2023-08-24 16:19:17 +05:30
Sojan Jose and GitHub
4cbb3208e8
chore: Revert gem update ( #7792 )
...
- updating redis client caused deployment issues in Heroku, hence reverting to prev version until its resolved
2023-08-24 01:08:34 -07:00
Pranav Raj S and GitHub
5f2a720920
chore: Update translations ( #7766 )
2023-08-24 13:26:39 +05:30
Sojan Jose and GitHub
acb7debd3f
chore: Contact import improvements ( #7787 )
...
- Ensure existing contact information is updated on data import
- Refactor the existing job to make it more readable
- Fixes issues with import files in the wrong encoding
fixes : #7307
2023-08-23 23:24:47 -07:00
Shivam Mishra and GitHub
44f6a9ec3c
feat: update lock timeout and retry configuration ( #7785 )
2023-08-24 12:59:47 +07:00
Shivam Mishra and GitHub
24468d71fb
feat: update rails ( #7786 )
...
Bump up rails
2023-08-23 13:45:55 -07:00
Shivam Mishra and GitHub
26ef21a243
feat: locking and retry in FB message parsing ( #7701 )
2023-08-23 09:48:17 +07:00
Sivin Varghese and GitHub
18235d3fb5
fix: Draft, Articles, Archived are counted wrong in help-center ( #7761 )
2023-08-21 12:42:10 +05:30
Sivin Varghese and GitHub
55972cc17a
fix: Dashboard overflow issue if there is banner ( #7748 )
2023-08-21 12:22:50 +05:30
2daf1ae827
feat: Event to capture the message signature feature ( #7760 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-08-21 13:30:21 +07:00
22421b5ac8
chore(deps): bump puma from 6.2.2 to 6.3.1 ( #7765 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-08-21 13:09:20 +07:00
Muhsin Keloth and GitHub
0d41853b0b
fix: OpenAI CE specs ( #7710 )
2023-08-21 12:54:35 +07:00
Liam and GitHub
355926897a
fix: Fixes error while updating widget builder title ( #7756 )
2023-08-19 10:57:44 +05:30
Pranav Raj S and GitHub
4101a7b566
chore: Update translations from Crowdin ( #7750 )
2023-08-18 12:48:50 -07:00
2d31535620
fix: Improve the contrast for the code snippet on the Widget Builder page. ( #7758 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-08-18 12:44:30 -07:00
Liam and GitHub
c54b469dcb
fix: Update the style of the 'Go To' input in the conversations table ( #7753 )
2023-08-17 13:50:11 -07:00
Pranav Raj S and GitHub
29e8e41443
fix: Delete agent bots without deleting the messages ( #7754 )
2023-08-17 13:48:49 -07:00
178bc80b25
fix: Update email alerts for Slack integration ( #7739 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-08-17 11:46:37 -07:00
Sivin Varghese and GitHub
ab039e14fd
chore: Improve article list pagination logic ( #7737 )
2023-08-17 09:32:29 -07:00
Liam and GitHub
961c911c26
fix: Fix the issue where tag agent option is appearing above the profile menu ( #7743 )
2023-08-17 09:23:26 -07:00
Muhsin Keloth and GitHub
12ae49089b
feat: Add analytics events for notification feature ( #7749 )
2023-08-17 09:18:31 -07:00
Jordan Brough and GitHub
996f842882
feat: Allow Twilio::REST::TwilioError errors to raise and prevent Inbox creation ( #7379 )
...
This update will mean that errors will roll back the current transaction and the error will be sent back to the frontend and the user will know that the Inbox did not finish setting up successfully.
2023-08-16 15:00:02 -07:00
Sivin Varghese and GitHub
616f702871
fix: Agent name not visible in team page in Dark mode ( #7730 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2399/agent-name-not-visible-in-team-page
2023-08-16 14:39:14 -07:00
Pranav Raj S and GitHub
8015490aba
chore: Update translations ( #7731 )
2023-08-16 11:18:14 -07:00
Sojan
fe8a67b76a
Merge branch 'release/3.0.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-08-15 22:41:04 -07:00
Muhsin Keloth and GitHub
b89c917198
feat: Add CTAs for AI features ( #7538 )
2023-08-16 08:39:41 +05:30
7b8a3fcae0
feat: auditlog for team and inbox member updates ( #7516 )
...
- adds an audit log when an agent is added or removed from a team
- adds an audit log when an agent is added or removed from an inbox
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-08-15 19:55:19 -07:00
Sojan Jose and GitHub
2df83276e0
chore: Ability to disable rack attack on widget endpoints ( #7729 )
2023-08-15 17:44:25 -07:00
7b68a7639f
fix: Set the default value to false for the checkbox custom attribute ( #7561 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-15 16:32:06 -07:00
e3b8c1fbb5
fix: Include waiting on agent conversations to unattended view ( #7667 )
...
Updating the `unattended` tab to include conversations where the customer responded and is awaiting an agent's response.
Previously it showed only the conversations where the first response was pending.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-15 15:09:10 -07:00
Pranav Raj S and GitHub
310c127693
chore: Update translations ( #7728 )
2023-08-15 13:47:38 -07:00
Pranav Raj S and GitHub
37c0f1306c
fix: Fix breaking storybook build ( #7723 )
2023-08-14 20:19:02 -07:00
396ef02b0c
feat: Improve the initial screen placeholder ( #7708 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-14 17:50:34 -07:00
Pranav Raj S and GitHub
ebefb2e201
fix: Consider the emails where in-reply-to header has multiple values ( #7715 )
...
- Return the first message id for now to avoid the errors and subsequently missing the message.
- Use .last instead of .first to avoid expensive query.
- Fix array response in response bot.
Fixes: https://linear.app/chatwoot/issue/CW-2358/activerecordstatementinvalid-pgdatatypemismatch-error-argument-of-and
2023-08-11 17:53:57 -07:00
Pranav Raj S and GitHub
6f09f20991
feat: Update bot typing indicator based on the conversation status ( #7714 )
...
- Show the indicator if the last message is incoming and the conversation is in pending status.
- Remove list of articles displayed in the bot response.
2023-08-11 16:41:01 -07:00
cfe86d9c06
fix: Create new slack thread if the thread identifier changes ( #7702 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-08-11 14:19:49 +05:30
Shivam Mishra and GitHub
84240e197a
fix: Summary prompt test ( #7709 )
2023-08-11 13:42:27 +05:30
Pranav Raj S and GitHub
bafff90f18
chore: Add account_id scope for conversation.messages ( #7707 )
2023-08-10 23:02:53 -07:00
Pranav Raj S and GitHub
961d810645
Revert "feat: Show popular articles on widget home" ( #7706 )
2023-08-10 22:27:51 -07:00
Pranav Raj S and GitHub
1a06bfd69c
fix: Force account_id in message filters ( #7705 )
2023-08-10 21:58:25 -07:00
Pranav Raj S and GitHub
1cac2e86c3
fix: Limit count query to return only 10 values ( #7704 )
2023-08-10 19:30:02 -07:00
Pranav Raj S and GitHub
04287a0924
fix: Rename channel_list to channels to avoid "no implicit conversion of nil" exception ( #7700 )
2023-08-09 16:11:51 -07:00
c1c3a62412
fix: Improve reply prompt ( #7588 )
...
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-08-09 10:25:37 +05:30
b5dec067a1
chore(deps): bump commonmarker from 0.23.9 to 0.23.10 ( #7695 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 14:25:42 -07:00
Sivin Varghese and GitHub
f96f166196
fix: Default timezone is not working ( #7692 )
2023-08-08 21:30:29 +05:30
Sivin Varghese and GitHub
9ed701065e
fix: Dark mode color fixes ( #7693 )
2023-08-08 21:07:15 +05:30
Vishnu Narayanan and GitHub
180befbd42
feat: add gh action to check logging percentage ( #7688 )
2023-08-08 15:51:46 +05:30
Pranav Raj S and GitHub
4baa4363f4
fix: Update unread_count being 0 if agent has not seen the conversation ( #7690 )
2023-08-07 18:50:31 -07:00
Pranav Raj S and GitHub
1c8f41f387
fix: Rename logo-dark -> logo_dark to match the installation config ( #7689 )
...
Fix : #7676
2023-08-07 14:30:16 -07:00
7f0ca8b15d
fix: Security upgrade rack-mini-profiler from 3.1.0 to 3.1.1 [Snyk] ( #7657 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-08-07 14:09:28 -07:00
Sojan Jose and GitHub
4c75bb68f4
chore: Fix OpenAI sentry errors ( #7687 )
...
- add check for nil condition
- add logs for openAI
2023-08-07 14:08:26 -07:00
Vishnu Narayanan and GitHub
ed82eb2932
refactor: remove beta label from automation, bots and macros ( #7683 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2334/remove-beta-label-from-everything
2023-08-07 11:15:24 -07:00
Sivin Varghese and GitHub
b62166a18a
fix: Cannot read properties of undefined ( #7682 )
2023-08-07 20:49:13 +05:30
bf2b75b281
feat: Add message timestamp to the conversation transcript emails ( #7648 )
...
Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-04 17:21:14 -07:00
c084ad5a68
[Snyk] Security upgrade lograge from 0.12.0 to 0.13.0 ( #7635 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-08-04 16:56:11 -07:00
dd3e658f19
chore(deps): bump semver from 7.3.5 to 7.5.2 ( #7383 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-08-04 16:53:30 -07:00
453d7ad9fc
fix: Update options interactive messages formatting in web widget ( #7437 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-04 16:52:32 -07:00
Pranav Raj S and GitHub
47b6967dad
fix: Update account data seeder to avoid invalid information ( #7673 )
...
- The message sender was incorrect. Incoming messages were created under the contact's name, and outgoing messages were created under the user's name instead of the reverse.
- The seed user's email address was incorrect in the message data.
- The Sendmail configuration overrode the Letter Opener config which made it difficult to test the email.
- This PR also fixes an ESLint lint issue on develop.
2023-08-04 16:32:54 -07:00
Sojan Jose and GitHub
d06cf27800
chore: Specs for pageCrawler Service ( #7632 )
2023-08-04 15:44:51 -07:00
Sivin Varghese and GitHub
7f6a3b781f
fix: Links are not readable in private notes dark mode ( #7671 )
2023-08-05 00:10:10 +05:30
fde2b180fe
feat: Update design for campaign ( #7668 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-08-04 11:39:59 -07:00
Sivin Varghese and GitHub
2a1662c781
fix: Edit custom views folder ( #7670 )
2023-08-04 13:54:21 +05:30
10d6e9551d
feat: Add the option to toggle the dark/light color-scheme ( #7662 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-03 12:21:45 -07:00
Sivin Varghese and GitHub
69d46f278a
feat: Dark mode improvements ( #7658 )
2023-08-03 12:05:22 -07:00
Muhsin Keloth and GitHub
0921a7c817
fix: Enable cmd bar actions for all conversation routes ( #7664 )
2023-08-03 11:40:03 -07:00
Muhsin Keloth and GitHub
2a73f124ca
feat: Add analytics event for command bar usage ( #7659 )
2023-08-02 13:45:26 +05:30
Sojan Jose and GitHub
ef33c60652
chore: Bump up node version ( #7653 )
...
Bump node version to 16.20.1.
ref: #6629
2023-08-01 12:48:02 -07:00
Pranav Raj S and GitHub
3a547de909
fix: Update the default status of the hooks to enabled ( #7652 )
...
In the recent Slack integration update, we made changes to how hooks are handled. Now, hooks require an additional check to be enabled. By default, new hooks are created in a disabled state, which might lead to issues with the hooks not being executed as expected.
This migration updates the status attribute of hooks to have 'enabled' as the default value, ensuring that new hooks are enabled by default and can function properly.
2023-08-01 12:14:47 -07:00
Shivam Mishra and GitHub
62e9fc1bc5
feat: update color palette [CW-2293] ( #7617 )
2023-08-01 21:34:10 +05:30
Nithin David Thomas and GitHub
e052a061f4
feat: Show popular articles on widget home ( #7604 )
2023-08-01 21:32:44 +05:30
Liam and GitHub
9efadf8804
fix: Update permitted_attributes to support the latest version of administrate ( #7644 )
...
This fixes an issue where permitted_attributes throws an error of ArgumentError (wrong number of arguments (given 1, expected 0)):
This is because we now bring in the latest version of administrate and administrate changes the way permitted_attributes works; it now passes an action parameter to permitted_attributes. This means we need to update permitted_attributes to accept that new parameter.
Fixes : #7592
2023-07-31 11:53:44 -07:00
Muhsin Keloth and GitHub
c8a40932cc
chore: Add June event for AI reply suggest dismissal ( #7601 )
2023-07-31 13:20:47 +05:30
Pranav Raj S and GitHub
9ddd428935
feat: Update the slack integration-flow to allow users to select the channel ( #7637 )
2023-07-28 14:50:30 -07:00
Sojan Jose and GitHub
4d8ba0148c
fix: Use Display name for campaigns ( #7631 )
...
fixes : #4299
2023-07-27 17:58:19 +03:00
65c4ad70e1
refactor: improve logging for channel callback controllers ( #7555 )
...
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-07-27 17:10:39 +05:30
9636478c2a
chore: Improve logging for ip look up and audit logs [CW-2145] ( #7512 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-27 16:48:30 +05:30
Nic Hippenmeyer and GitHub
65190422c4
fix: Rename unread_since scope ( #7267 )
...
- This renames the unread_since scope to created_since, which more accurately describes what the scope returns.
- The EXTRACT(EPOCH FROM created_at) > (?) clause was also simplified and rewritten as created_at > ?, which is equivalent:
2023-07-27 12:29:21 +03:00
Jordan Brough and GitHub
a7bc855486
refactor: Remove deprecated "belongs_to" relationships in Message ( #7434 )
...
- Remove the deprecated columns in message model
2023-07-27 11:41:34 +03:00
Shivam Mishra and GitHub
ff97536095
feat(perf): contact page loading speed ( #7629 )
2023-07-27 13:32:22 +05:30
Sivin Varghese and GitHub
fcf0ba12d0
feat: Dark Mode (PR -12) ( #7590 )
2023-07-27 12:28:06 +05:30
Shivam Mishra and GitHub
2cc82af344
fix: apply event name ( #7628 )
2023-07-27 12:11:57 +05:30
c00855fce4
fix: Skip sentiment analysis for blank text ( #7580 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-27 12:11:48 +05:30
2d07577731
fix: [Snyk] Security upgrade rack-attack from 6.6.1 to 6.7.0 ( #7625 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-07-27 09:06:56 +03:00
Bernie and GitHub
4c98006837
fix: Fix spelling mistakes in the copy ( #7627 )
2023-07-26 21:48:28 -07:00
Nithin David Thomas and GitHub
89e09857af
feat: Add store and API to support articles in widget ( #7616 )
2023-07-26 14:08:27 -07:00
Shivam Mishra and GitHub
12c338364e
fix: sentry issues [CW-2222][CW-2232] ( #7591 )
2023-07-26 23:37:37 +05:30
Sojan Jose and GitHub
846f520ad2
feat: toggle typing and update last seen endpoints for client apis ( #7621 )
...
- Add toggle_typing endpoint for client APIs
- Adds update last seen endpoint for client APIs
Fixes : #7581
2023-07-26 20:40:48 +03:00
Sojan Jose and GitHub
6cbe1ed911
chore: Disable message hooks for conversations without incoming message ( #7620 )
...
When using client APIs to create conversations and auto-assignment is turned on, welcome messages were getting triggered. This PR disable the behaviour and ensure template hooks are triggered only if there are incoming messages present.
Fixes: https://linear.app/chatwoot/issue/CW-2187
2023-07-26 20:38:49 +03:00
Liam and GitHub
6c1ee4d965
fix: Contacts page sort by created_at [CW-2262] ( #7584 )
...
Fixes the contacts page sort by created_at.
fixes : #7577
2023-07-26 18:37:30 +03:00
OMAR.A and GitHub
1d8341504a
fix: contacts count on filter ( #7446 )
...
- Fixes the wrong count shown during the contact filter when contact has multiple labels associated.
2023-07-26 17:31:04 +03:00
Shivam Mishra and GitHub
f8ae6cd95c
fix: no method error when conversation is nil ( #7566 )
2023-07-26 17:40:41 +05:30
Liam and GitHub
63dd2c5a93
fix: Avoid profile options menu overlapping with message tabs ( #7615 )
2023-07-25 21:55:57 -07:00
Shivam Mishra and Sojan
1c47478104
fix: undefined method update_cache_key for nil:NilClass ( #7568 )
2023-07-25 13:00:34 +03:00
Shivam Mishra and Sojan
39f14bebbd
fix: undefined method first for nil:NilClass ( #7567 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-25 13:00:21 +03:00
Liam and GitHub
4b27fdf4db
fix: Increase the out of office message length to 10_000 ( #7583 )
2023-07-24 20:29:04 -07:00
Pranav Raj S and GitHub
a6a0e78bbe
feat: Sort articles based on views ( #7599 )
2023-07-24 20:27:43 -07:00
703e19304d
feat: Components to render articles in widget home ( #7596 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-24 16:45:55 -07:00
Pranav Raj S and GitHub
fa7bbdb0b3
feat: Add support for plain design help center layout ( #7598 )
2023-07-25 05:13:52 +05:30
Nithin David Thomas and GitHub
d837065545
chore: Update storybook settings to widget stories ( #7595 )
2023-07-24 16:28:20 -07:00
2a6f3356c9
chore: Show error message if the AI process APIs fails ( #7560 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-07-24 19:15:34 +05:30
c83105ce4f
feat: dismiss label suggestions only for 24 hours ( #7579 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-07-24 17:51:09 +05:30
Sojan Jose and GitHub
56d0b220f4
chore: Fix response associations for inbox ( #7582 )
...
Publish Chatwoot CE docker images / build (push) Waiting to run
- Fix the bug in inbox associations that crept up in previous PR
2023-07-21 20:47:41 +03:00
Sivin Varghese and GitHub
40ec0d109a
feat: Dark Mode ( #7471 )
2023-07-21 22:10:25 +05:30
Sojan Jose and GitHub
480f34803b
feat: Response Bot using GPT and Webpage Sources ( #7518 )
...
This commit introduces the ability to associate response sources to an inbox, allowing external webpages to be parsed by Chatwoot. The parsed data is converted into embeddings for use with GPT models when managing customer queries.
The implementation relies on the `pgvector` extension for PostgreSQL. Database migrations related to this feature are handled separately by `Features::ResponseBotService`. A future update will integrate these migrations into the default rails migrations, once compatibility with Postgres extensions across all self-hosted installation options is confirmed.
Additionally, a new GitHub action has been added to the CI pipeline to ensure the execution of specs related to this feature.
2023-07-21 18:11:51 +03:00
Sojan Jose and GitHub
30f3928904
chore: bump up version to 3.0.0 ( #7574 )
...
Bump the Chatwoot version to 3.0.0
ref: https://github.com/orgs/chatwoot/discussions/7570
2023-07-21 15:02:05 +03:00
Vishnu Narayanan and GitHub
d188600559
fix: modify exception tracker to log even if sentry configured ( #7563 )
...
Right now, if sentry is configured exception won't be logged. This results in the log management tool missing every error captured with ChatwootExceptionTracker. This change logs the exception, even if Sentry is configured or not.
Fixes https://linear.app/chatwoot/issue/CW-2145/improve-logging-info-debug-trace
2023-07-21 11:58:49 +03:00
Vishnu Narayanan and GitHub
4828071fc3
feat: add audit trail for channel updates ( #7396 )
2023-07-21 12:08:19 +05:30
Shivam Mishra and GitHub
a3d21024a6
feat: add message condition ( #7495 )
2023-07-21 10:20:53 +05:30
2b4f4f0b5c
[Snyk] Security upgrade administrate from 0.18.0 to 0.19.0 ( #7547 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-07-20 12:47:54 -07:00
d66eb8b21f
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 ( #7543 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 12:25:00 -07:00
Pranav Raj S and GitHub
27419eef66
feat: Add report on customer waiting time ( #7545 )
2023-07-20 12:01:22 -07:00
Pranav Raj S and GitHub
d7566c453d
chore: Take the count directly rather than grouping the conversations ( #7535 )
2023-07-19 12:12:30 -07:00
Pranav Raj S and GitHub
25ed66edf5
feat: Update reports UI to make it better ( #7544 )
2023-07-19 12:12:15 -07:00
f72be94323
chore: [Snyk] Fix for 1 vulnerabilities ( #7466 )
...
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2023-07-19 21:41:55 +03:00
Vishnu Narayanan and GitHub
ea825d49da
feat: add auditlogs for account model ( #7511 )
2023-07-19 23:52:34 +05:30
Sojan Jose and GitHub
1d718b92b7
chore: Fix schema disparities ( #7554 )
...
- Fixing the schema disparities that crept up during merges
- Also, fix the issue with migrate command regenerating the schema for contacts.rb model
2023-07-19 19:15:43 +03:00
Tejaswini Chile and GitHub
f3f665cabb
fix: Sentiment analysis queue update ( #7552 )
2023-07-19 20:27:20 +05:30
Vishnu Narayanan and GitHub
8babf7dec3
feat: add debug gem and more make commands ( #7509 )
2023-07-18 13:22:02 +05:30
Tejaswini Chile and GitHub
5b480f563d
feat: Sentiment model download and upload to vendor ( #7526 )
2023-07-18 12:17:50 +05:30
Pranav Raj S and GitHub
3a77e672f8
feat: Compute average response time of replies ( #7530 )
2023-07-17 11:21:31 -07:00
Shivam Mishra and GitHub
3e75ac2de5
feat: update the UX around label suggestions ( #7532 )
2023-07-17 15:10:56 +05:30
91c1061214
feat: Add more AI options ( #7502 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-16 12:25:16 -07:00
ec65b43993
feat: Add support for API key authentication in Twilio ( #7523 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-07-14 19:20:54 -07:00
Shivam Mishra and GitHub
1a81245987
feat: Update label suggestion visibility ( #7525 )
2023-07-14 19:20:03 -07:00
Pranav Raj S and GitHub
2c3ad73542
fix: Update the case for validation where SSO link is used ( #7527 )
2023-07-14 08:30:08 -07:00
Shivam Mishra and GitHub
59b1d59574
fix: idb is not available in firefox private mode [CW-2217] ( #7524 )
2023-07-14 13:35:30 +05:30
Pranav Raj S and GitHub
9de2edd300
fix: Cannot read properties of undefined (reading 'filter') ( #7522 )
2023-07-13 15:56:28 -07:00
Pranav Raj S and GitHub
66751b71dd
fix: Fix issue null is not iterable ( #7521 )
2023-07-13 15:47:33 -07:00
Pranav Raj S and GitHub
7e415fbee3
fix: Disable predictions if model is absent ( #7520 )
2023-07-13 14:40:16 -07:00
Muhsin Keloth and GitHub
50a927bac2
feat: Add reply editor mode to the store ( #7515 )
2023-07-13 14:56:53 +05:30
Muhsin Keloth and GitHub
19ff738211
feat: Add more options for AI reply suggestions ( #7493 )
2023-07-13 10:26:25 +05:30
Shivam Mishra and GitHub
7c080fa9fa
feat: label suggestion UI ( #7480 )
2023-07-13 09:16:09 +05:30
91e2da5e74
fix: Uncategorized article display error - HelpCenter-> Portal -> Uncategorised Article ( #7504 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-12 16:34:16 -07:00
Pranav Raj S and GitHub
21691f2407
fix: Update breaking specs on sentiment and open AI integration ( #7513 )
2023-07-12 14:43:11 -07:00
d495411ef5
feat: Minor improvements to login UI ( #7494 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-12 13:35:02 -07:00
918e1f25c2
feat: Improve summary prompt ( #7510 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-12 13:09:19 -07:00
Tejaswini Chile and GitHub
10dd0ba647
feat: Sentiment Analysis ( #7475 )
2023-07-12 15:03:31 +05:30
Pranav Raj S and GitHub
550bea099c
fix: Add appearance-none to input field for ring to work ( #7507 )
2023-07-11 19:07:02 -07:00
Nithin David Thomas and GitHub
c7bf93ef8a
fix: Adds a space after mention to improve UX ( #7506 )
2023-07-11 17:37:37 -07:00
Shivam Mishra and GitHub
ec7434d000
feat: Remove twitter ( #7505 )
2023-07-11 14:00:11 -07:00
Muhsin Keloth and GitHub
941e7e06cf
feat: Add draft messages store ( #7476 )
2023-07-11 18:29:42 +05:30
Pranav Raj S and GitHub
09f46aa912
chore: Update onMessage event to include conversation id ( #7497 )
2023-07-10 15:04:31 -07:00
Vishnu Narayanan and GitHub
332ab5888c
feat: Disable fb/instagram if env variables are not configured ( #7498 )
2023-07-10 12:28:55 -07:00
Shivam Mishra and GitHub
a940f4c1d2
feat: Allow label suggestions with OpenAI APIs ( #7428 )
2023-07-10 14:40:54 +05:30
Muhsin Keloth and GitHub
5b4f92ccd2
fix: Add the option to revert the AI generated content ( #7458 )
2023-07-10 11:30:22 +05:30
Pranav Raj S and GitHub
ad03be4529
fix: Update the index files to fix missing translations ( #7484 )
2023-07-07 20:11:34 -07:00
Sivin Varghese and GitHub
571e6bd0ec
fix: Update broken design elements in dashboard ( #7468 )
2023-07-06 11:58:54 -07:00
528da1d2cf
feat: Add support for dark mode in more pages
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-05 19:26:24 -07:00
Pranav Raj S and GitHub
4e8d17f017
chore: Update specs and warnings in console ( #7467 )
2023-07-05 18:32:55 -07:00
3054a4cb59
feat: Add support for dark mode in dashboard ( #7460 )
...
- Add config for TailwindCSS
- Enable HMR
- Add a config in LocalStorage for Dark Mode
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-05 12:13:32 -07:00
Tejaswini Chile and GitHub
71837bedf9
feat: Ability to customise the email sender name [CW-1629] ( #7345 )
2023-07-04 20:46:01 +05:30
3c4514c9f7
chore: Update translations ( #7415 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-04 14:23:56 +05:30
Nithin David Thomas and GitHub
4c7c1cd78a
chore: Change order of resolve action dropdown buttons ( #7456 )
2023-07-03 19:39:32 -07:00
985b3f3bfc
chore: Reset the base font-size to 16px instead of 10px ( #7455 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-07-04 03:23:00 +05:30
Clairton Rodrigo Heinzen and GitHub
986abde531
fix: Cannot use 'in' operator to search for 'last_activity_at' ( #7447 )
2023-07-03 14:12:47 -07:00
b57063a8b8
feat: Support dark mode in login pages ( #7420 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-07-01 07:49:52 +05:30
Pranav Raj S and GitHub
022f4f899f
Revert "feat: Support Azure single-tenant application using the Graph… ( #7436 )
2023-06-29 16:50:18 -07:00
Sivin Varghese and GitHub
191b8a64fe
chore: Remove URLs from translations ( #7414 )
2023-06-29 15:09:02 +05:30
ea78020f2f
fix: Translation issues ( #7416 )
...
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com >
2023-06-29 14:41:23 +05:30
Muhsin Keloth and GitHub
dc1a41b136
fix: Set date hours to 9 in snooze time ( #7426 )
2023-06-29 14:38:03 +05:30
Shivam Mishra and GitHub
28e7a5d228
fix: CC conditions when the last email is from someone else ( #7010 )
2023-06-28 20:28:44 -07:00
40830046e8
feat: Audit Logs for Account User Changes ( #7405 )
...
- Audit log for user invitations: https://linear.app/chatwoot/issue/CW-1768/invited-a-user-to-the-account
- Audit log for change role: https://linear.app/chatwoot/issue/CW-1767/name-or-email-changed-the-role-of-the-user-email-to-agent-or-admin
- Audit log for status change: https://linear.app/chatwoot/issue/CW-1766/availability-status-as-events-for-audit-logs
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-28 22:42:06 +05:30
Tejaswini Chile and GitHub
d05c953eef
feat: Support Azure single-tenant application using the Graph API ( #6728 ) ( #6878 )
2023-06-28 08:13:08 +05:30
4a770fdea7
feat: Add Plus Jakarta Font to dashboard ( #7421 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-06-27 17:39:37 -07:00
Tejaswini Chile and GitHub
239b1e2bf1
feat: Include email in the searched result ( #7397 )
2023-06-27 21:05:36 +05:30
f963e00731
fix: capture user and ip details on Inbox delete ( #7395 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1772/ip-address-and-user-details-are-missing-in-some-of-the-logs
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-27 19:49:24 +05:30
TOMMY and GitHub
155a5b9947
fix: Remove free space ( #7411 )
2023-06-27 19:28:38 +05:30
TOMMY and GitHub
26a75b250d
Merge pull request from GHSA-2472-ggjh-43h2
2023-06-27 17:22:54 +05:30
Pranav Raj S and GitHub
20b84ee6a1
chore: Fix darkMode styles in widget ( #7408 )
2023-06-26 14:43:22 -07:00
Pranav Raj S and GitHub
f1f14312fe
chore: Upgrade Tailwind CSS to 3.3.2 ( #7380 )
2023-06-26 11:27:16 -07:00
Tejaswini Chile and GitHub
212d7caab1
fix: log User is authenticated but not connected ( #7394 )
2023-06-26 16:07:40 +05:30
9cda16d0e8
fix: Remove overflow string in label delete confirm button ( #7386 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-06-26 13:26:47 +05:30
Sivin Varghese and GitHub
a8acbb7427
fix: Issue with i18n in update banner ( #7392 )
2023-06-26 11:32:40 +05:30
1176e5eb8a
feat: Custom phone input in pre-chat form ( #7275 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-26 10:26:06 +05:30
996325f35b
feat: multiple UX improvements to labels ( #7358 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-06-25 18:49:49 +05:30
Pranav Raj S and GitHub
4f8ce7b597
chore: Add support for dark mode logo ( #7378 )
2023-06-23 12:06:01 -07:00
Sojan Jose and GitHub
f8e631a00c
chore: Update Crowdin Config ( #7375 )
...
- add pull request titles
- skip ci for crowdin commits
2023-06-23 23:02:55 +05:30
54bf33083e
chore: Update translations ( #7372 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-23 16:01:14 +05:30
533f9f7fe4
fix: Email collect overriding existing contact name ( #7355 )
...
Currently, if Enable email collect box is enabled, and the user starting the chat already has an account with the same email, it will override the current account with {name} from the email name@email.com , this fixes it.
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-22 19:09:12 +05:30
82e5fc413e
fix: Label Duplication in Bulk Actions ( #7341 )
...
When looping the conversations in bulk action to assign them to new labels, the existing labels in other conversations were also getting duplicated across all conversations. This PR fixes the issue.
> In the previous implementation, new_labels is appended to the existing labels using the << operator. This operator modifies the original array instead of creating a new one, causing unwanted side effects. More specifically, new_labels is a reference to the original argument array of the method.
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Peter Salib <74493166+Peteraymansalib@users.noreply.github.com >
2023-06-22 18:36:58 +05:30
Pranav Raj S and GitHub
93daaea19b
feat: Add a sort option for conversations waiting for a reply from an agent ( #7364 )
2023-06-21 13:20:39 -07:00
e6a49b5800
feat: Shows Youtube and Vimeo links as embeds [cw-1393] ( #7330 )
...
This change will render the youbtube, vimeo and .mp4 urls as embedded in the article page in the help centre.
Fixes: https://linear.app/chatwoot/issue/CW-1393/help-center-support-video-upload-in-articles
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-21 20:28:28 +05:30
Sojan Jose and GitHub
595e6e79f0
chore: Add sla policy association to conversation ( #7360 )
...
Adds the sla policy association to the conversation
Fixes: https://linear.app/chatwoot/issue/CW-1615/applying-an-sla-to-the-conversation
2023-06-21 14:48:50 +05:30
Sivin Varghese and GitHub
93d8157a55
feat: Adds Lithuanian language selectable as site language ( #7354 )
2023-06-20 17:29:05 +05:30
Vishnu Narayanan and GitHub
6bea2cbc4a
feat: add audit trail for macros ( #7352 )
2023-06-20 13:04:59 +05:30
Tejaswini Chile and GitHub
afb7e67795
fix: empty account variable for custom_attrbute_definition running in background job ( #7351 )
2023-06-20 12:15:36 +05:30
bc813b71dd
feat: refresh the audit page on navigation without manual reload ( #7292 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-20 09:36:16 +05:30
9ac4a1eb30
refactor: multiple fixes to contact header [CW-2081] ( #7331 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-19 21:58:33 +05:30
Muhsin Keloth and GitHub
9bb455ec2d
feat: Ability to choose the custom time for snooze conversation ( #7257 )
2023-06-19 18:23:35 +05:30
c410fe333a
chore: Update translations ( #7347 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-19 17:27:43 +05:30
Jordan Brough and GitHub
5e807c5875
chore: Remove unneeded include EnsureCurrentAccountHelper ( #7339 )
...
This class inherits from Api::V1::Accounts::BaseController, which already includes EnsureCurrentAccountHelper and also sets up before_action :current_account.
2023-06-19 17:18:07 +05:30
Muhsin Keloth and GitHub
9bed57c7d1
feat: Add more snooze options ( #7344 )
2023-06-19 17:05:16 +05:30
Sojan Jose and GitHub
5c5381c0a9
chore(ci): Ensure PR titles are in semantic format ( #7346 )
2023-06-19 16:48:45 +05:30
Jordan Brough and GitHub
138630b4ae
chore: Update method to access "secret_key_base" ( #7337 )
...
This will look at environment variables and Rails Credentials, and Rails Secrets.
See documentation here: https://api.rubyonrails.org/v7.0.5/classes/Rails/Application.html#method-i-secret_key_base
2023-06-19 16:11:19 +05:30
Tejaswini Chile and GitHub
9d0de04f7c
fix: set custom filter count in redis ( #7164 )
2023-06-19 16:10:03 +05:30
Muhsin Keloth and GitHub
2c3337b117
feat: Move snooze actions to command bar ( #7343 )
2023-06-19 13:57:59 +05:30
Shivam Mishra and GitHub
237358af24
refactor: use as_json for formatting the string ( #7332 )
2023-06-19 13:33:48 +05:30
Sivin Varghese and GitHub
35dfff0a5b
feat: Attachment view improvements ( #7314 )
2023-06-19 11:16:28 +05:30
86b2896333
feat: Show alerts when the limit is reached in accounts ( #7323 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-15 20:47:11 -07:00
Shivam Mishra and GitHub
e8a27bea4b
feat: Add APIs for limit check in accounts ( #7242 )
2023-06-15 20:11:40 -07:00
Sojan
0d465362ac
Merge branch 'release/2.18.0' into develop
2023-06-15 18:45:01 +05:30
Sojan
e204fe1c1f
Merge branch 'release/2.18.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-06-15 18:44:51 +05:30
Sojan
e383e9259b
Bump version to 2.18.0
2023-06-15 18:44:13 +05:30
Muhsin Keloth and GitHub
2c34dca347
fix: NS_ERROR_STORAGE_BUSY warnings in firefox ( #7319 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2075/ns-error-storage-busy-no-error-message
2023-06-15 17:53:26 +05:30
Pranav Raj S and GitHub
69b9123963
fix: Use available_name only ( #7312 )
...
We have display_name and the actual name for an agent. display_name is used in all public facing parts. The https://github.com/chatwoot/chatwoot/pull/7232/files PR missed this and used actual name instead.
This PR fixes it.
2023-06-15 17:52:53 +05:30
Shivam Mishra and GitHub
cac9fe1880
Revert "feat(perf): update query to reduce N+1 impact [CW-1926] ( #7228 )" ( #7271 )
...
This reverts commit f28533bc47 .
2023-06-15 16:23:56 +05:30
Nithin David Thomas and GitHub
06ac7c829b
fix: Fixes wrong variable usage in transcript file ( #7316 )
2023-06-15 16:00:21 +05:30
Shivam Mishra and GitHub
9985f1c143
refactor: remove redundant taggable declaration ( #7310 )
2023-06-15 12:57:56 +05:30
Tejaswini Chile and GitHub
1ee6a8fe90
chore: Add validation for processed content field ( #7306 )
...
* logging the messages id for message validation exception
* Update the processed_message_content validation over length
* codeclimate
* specs failing for contacts
2023-06-14 18:28:42 +05:30
Muhsin Keloth and GitHub
6eb4fa41ff
feat: Add sender details and message create date in the attachment API ( #7308 )
2023-06-14 17:29:13 +05:30
8b91f0ffac
fix: Gemfile.lock to reduce vulnerabilities ( #7280 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-14 15:40:24 +05:30
d2aa19579e
feat: Adds support for superscript in help center articles ( #7279 )
...
- Adds support for superscript when rendering article markdown
- Chatwoot Markdown Render to render markdown everywhere
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-14 15:39:00 +05:30
Shivam Mishra and GitHub
2e79a32db7
fix: calculation for resolution count ( #7293 )
...
* fix: calculation for resolution count
* test: resolution count bug fix
- ensure enqueued jobs are run
- fix the dates check, conversations resolved today should show up in today
* feat: ensure conversations are resolved
* test: do not count extra events if the conversation is not resolved currently
* fix: typo
2023-06-14 13:50:10 +05:30
Shivam Mishra and GitHub
a86e236d19
feat: update cache headers for cache_keys ( #7283 )
...
Update the cache headers for cache_keys to max-age=10, private, stale-while-revalidate=300
1. The cache will be fresh for 10 seconds (max-age=10). During this time, the browser will use the cached version without checking with the server.
2. After the initial 10 seconds, the browser can continue to serve the stale cache for up to 5 minutes (stale-while-revalidate=300). During this period, it will also try to revalidate and update the cache in the background.
3. After 310 seconds in total (10 seconds fresh, 300 seconds stale), if the browser has not been able to revalidate the cache, it will attempt to fetch the fresh resource directly from the server for subsequent requests, causing potential latency equivalent to a network request.
This means that the data will be directly revalidated only every 5 mins. Other times, it will stay fresh for 10 seconds and revalidate in the background. In most cases, we won't have to rely on a cache validation check because there is a WebSocket event for revalidation, so we know if something changes.
Right now the stale-while-revalidate is 5 minutes, we can then move it to 15 minutes.
> The stale-while-revalidate header is not supported in Safari, for Safari the cache keys will only stay in memory for 10 seconds before being marked stale
2023-06-14 13:21:51 +05:30
c755978352
feat: update banner design [CW-1491] ( #7296 )
...
* refactor: banner styling
* refactor: update button style for reply assign banner
* feat: remove update-banner classes
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-06-14 12:56:42 +05:30
Tejaswini Chile and GitHub
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Shivam Mishra and GitHub
429ec7194f
feat: add index to reporting events [CW-1960] ( #7294 )
...
* fix: annotation
* feat: add better index for reporting_events
2023-06-12 18:23:42 +05:30
Tejaswini Chile and GitHub
c99d9f9557
fix: search for nil in-reply-to messages ( #7286 )
2023-06-12 16:01:56 +05:30
Vishnu Narayanan and GitHub
9ff5978d6e
feat: Add audit trail events for team ( #7285 )
2023-06-09 17:30:36 -07:00
Muhsin Keloth and GitHub
cd28f401ba
fix: Custom attribute date is not working in some time zone ( #7224 )
2023-06-09 16:55:03 -07:00
Tejaswini Chile and GitHub
879a244f93
fix: Automations condition based quoted text ( #7272 )
2023-06-09 17:00:05 +05:30
Tejaswini Chile and GitHub
f64f2138db
fix: Update mail check for html_part ( #7273 )
2023-06-09 16:08:40 +05:30
Sojan Jose and GitHub
48f2e58e59
feat: Ability to update avatars from super admin ( #7264 )
...
- Ability to update user avatars from super admin
- Ability to update bot avatars from super admin
fixes : #7060
2023-06-09 15:32:24 +05:30
c715e396f0
feat: added input_select type message support for whatsapp ( #6886 )
...
- Added input_select message type support for Whatsapp Cloud API and Whatsapp 360dialog.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-09 15:20:45 +05:30
Pranav Raj S and GitHub
c8fac08e0b
fix: Cannot read properties of undefined (reading 'some') ( #7278 )
...
Fixes https://linear.app/chatwoot/issue/CW-2041/typeerror-cannot-read-properties-of-undefined-reading-some
Fixes https://linear.app/chatwoot/issue/CW-2042/typeerror-cannot-read-properties-of-undefined-reading-filter
2023-06-08 20:12:14 -07:00
7fd220c177
feat: Adds the ability to edit saved segments ( #7254 )
...
* feat: Ability to edit saved filters
* chore: Adds edit contact segment
* chore: Minor fixes
* fix: code climate
* chore: Minor fixes
* chore: Adds ability to custom view name
* chore: Minor fixes
* chore: Adds spec for helper
* chore: Revert contact filter to split to new PR
* Delete editSegmentMixin.js
* chore: Revert fixes
* Update app/javascript/dashboard/i18n/locale/en/advancedFilters.json
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/advancedFilters.json
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* chore: Moved from mixin to helper for reusing in segments
* Delete editFolderMixin.js
* chore: Fix specs and added new specs
* chore: review comment fixes
* chore: Minor fixes
* fix: Not resetting applied filter
* feat: Adds the ability to edit saved segments
* feat: Adds specs for API part
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 21:25:51 +05:30
Pranav Raj S and GitHub
b3b76d00ff
fix: Do not use the default value if the out of office message is empty ( #7268 )
2023-06-08 08:22:10 -07:00
Shivam Mishra and GitHub
2f2ae88cba
fix: unattended count mismatch in report and list ( #7263 )
2023-06-08 17:58:13 +05:30
Tejaswini Chile and GitHub
2b7989f52b
fix: reply mailer with sender name ( #7232 )
2023-06-08 17:07:08 +05:30
d7314079c9
feat: Ability to edit saved folders ( #7236 )
...
* feat: Ability to edit saved filters
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 14:58:57 +05:30
1017903ee1
fix: Adds domain option to user cookies set by SDK [CW-352] ( #7070 )
...
* fix: Adds domain option to user cookies set by SDK
* Adds domain to init event from chatwootSettings variable
* Testing multiple domains on heroku
* Updates with sdk from staging
* Removes sdk init code
* Testing why cookie is not getting set
* Cleans up testing code
* Refactors code to fix codeclimate issues
* Update app/javascript/sdk/cookieHelpers.js
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Adds test cases for setCookieWithDomain
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 14:27:49 +05:30
Tejaswini Chile and GitHub
d25e7fd54e
fix: add email logging for source-id email-id and message-id ( #7262 )
...
* fix: mail logger for source-id email-id and message-id
* added mail provided to the tracking
* change the logger verb from info to error
* app/jobs/inboxes/fetch_imap_emails_job.rb
* codeclimate fix
* remove extra filter
* fixes: specs
2023-06-07 18:24:37 +05:30
Sojan Jose and GitHub
7e89e3a34a
chore: Ensure template_sync timestamp is updated ( #7265 )
...
Fix for the cases where there are multiple channels with invalid provider config, which results in the templates sync scheduler failing to schedule jobs for valid channels.
fixes: https://linear.app/chatwoot/issue/CW-2032/bug-whatsapp-template-sync-failing-in-cloud
2023-06-07 17:18:24 +05:30
Pranav Raj S and GitHub
39eaed7766
fix: Cannot read properties of undefined (reading 'always_play_audio_alert') ( #7260 )
2023-06-06 15:16:25 -07:00
Pranav Raj S and GitHub
b1a4907ede
fix: around_action not yielding is params are present ( #7259 )
2023-06-06 14:55:08 -07:00
a01d81a7e1
feat: Update display text for auditlog entries ( #7226 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-06-05 12:51:45 -07:00
Sojan Jose and GitHub
117d5301b4
chore: API documentation updates for CSAT surveys ( #7255 )
...
- Expose conversation uuid in APIs
- swagger documentation for cast survey update via public/message/update endpoints
- swagger documentation for survey/responses/conversation_uuid endpoint
Fixes : #6328
2023-06-05 21:14:01 +05:30
Tejaswini Chile and GitHub
aae6081d73
fix: check content disposition, for inline messages in mail ( #7231 )
2023-06-05 20:28:32 +05:30
Sojan Jose and GitHub
d03924b846
feat: Enable sending template messages in webhooks ( #7252 )
...
fixes: https://github.com/chatwoot/chatwoot/issues/5291
2023-06-05 20:27:28 +05:30
b333d0c986
feat: Attachments view ( #7156 )
...
* feat: Attachments view with key shortcuts and dynamically updates when user delete or sent new attachments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-05 19:21:47 +05:30
Shivam Mishra and GitHub
9f3d155822
feat: Add size limit action ( #7253 )
...
* chore: update browserlist
* feat: add size limit action
* feat: set limits
* feat: add size limit in CI
* chore: remove railsenv
* chore: update limits
2023-06-05 18:56:15 +05:30
TOMMY and GitHub
9203b097d2
chore: Show chatwoot_edition in Instance details ( #7200 )
...
- Displays the chatwoot edition in the instance details
2023-06-05 17:32:21 +05:30
Marcel Stör and GitHub
12cb97db5f
fix: Quote database env variables ( #7216 )
...
Database credentials, and passwords, in particular, can easily contain characters that are reserved in YAML and must be quoted.
Example: a case with a password starting with ']'.
2023-06-05 14:19:35 +05:30
Tejaswini Chile and GitHub
09971fd613
fix: Wrap references string into array ( #7243 )
2023-06-03 07:33:36 +05:30
Pranav Raj S and GitHub
ca9d108741
fix: Update documentation of filter APIs ( #7245 )
2023-06-02 15:36:41 -07:00
Shivam Mishra and GitHub
f28533bc47
feat(perf): update query to reduce N+1 impact [CW-1926] ( #7228 )
...
* feat: update query to reduce N+1 impact
* feat: remove channel eager loading
fixes the error: ActiveRecord::EagerLoadPolymorphicError Exception: Cannot eagerly load the polymorphic association :channel
* test: fix search test
* chore: revert change
2023-06-02 11:11:55 +05:30
Pranav Raj S and GitHub
68f82c11a5
Revert "fix: Updates editor to fix the extra slash issue [cw-1505][cw-1526] ( #7091 )" ( #7238 )
...
This reverts commit 1d0930ef63 .
2023-06-01 13:26:02 -07:00
Tejaswini Chile and GitHub
abc27fa791
fix: find mail message by references ( #7220 )
2023-05-31 19:23:29 +05:30
Sojan Jose and GitHub
d93a8d05bc
chore: Increase character limit for external url fields ( #7230 )
...
- Increase the external url field validation to 2048 characters
fixes: https://github.com/chatwoot/chatwoot/issues/7098
2023-05-31 19:17:24 +05:30
Sojan Jose and GitHub
373f5f5b64
chore: Disable coverage reports for .vue files ( #7214 )
...
- Disable coverage reporting for .vue files
fixes: https://linear.app/chatwoot/issue/CW-1331
2023-05-30 19:18:19 +05:30
Sivin Varghese and GitHub
ae7df60a75
fix: Special characters not being decoded ( #7218 )
2023-05-30 18:54:51 +05:30
412d750b6a
feat: auditlogs design refactor cw1764 ( #7181 )
...
* chore: refactor auditlogs design
* chore: refactor aduit log text
* chore: fix 60% width for activity column
* chore: improve log text formatting
* Apply suggestions from code review
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* feat: show agent names if available in auditlogs
* chore: add sign_out
* Apply suggestions from code review
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* chore: handle custom user actions
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-30 14:41:29 +05:30
f1a77ba934
feat: allow superadmins to reset cache keys for IndexedDB ( #7180 )
...
Allows super admins to reset the cache for an account. This will force the front end to fetch the data again on the next load.
fixes: https://linear.app/chatwoot/issue/CW-1817
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-29 23:05:17 +05:30
Sojan Jose and GitHub
ffc6364690
chore: Improve Whatsapp Templates Sync ( #7210 )
...
- update the templates updated at, even if the API request fails ( to prevent jobs from stacking up in case of API failures upstream )
- sequence the job in batches of 25 requests per minutes schedule ( in case API response time is high, also not to send too many requests in a single batch )
- move the sync job re-rerun to 3 hours ( since we are updating the updated at even in case of failures )(prev 15 minutes )
Fixes: https://linear.app/chatwoot/issue/CW-1590
2023-05-29 22:23:22 +05:30
Sojan Jose and GitHub
3a7633b564
feat: API to create HMAC verified conversations ( #7209 )
...
Fixes : #6744
2023-05-29 21:57:24 +05:30
amplitudes and GitHub
91d1d44aa9
fix: profile picture distortion ( #7203 )
...
By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion.
2023-05-29 15:00:14 +05:30
Sojan Jose and GitHub
afc97faa8b
chore: Rotate pubsub token on password change ( #7194 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1350/
2023-05-27 13:24:31 +05:30
1d0930ef63
fix: Updates editor to fix the extra slash issue [cw-1505][cw-1526] ( #7091 )
...
* fix: Updates editor to fix the extra slash issue
* Updates yarn package
* Updates yarn package for editor schema
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-05-26 00:54:37 +05:30
Tejaswini Chile and GitHub
776ea6d39a
fix: Help center api doc ( #7189 )
2023-05-25 18:50:00 +05:30
Muhsin Keloth and GitHub
2c85098698
fix: Mentions in assigned/participation notification( #7185 )
2023-05-25 18:18:56 +05:30
Sivin Varghese and GitHub
6bd0e074dc
feat: Sort agents on availability status ( #7174 )
2023-05-25 14:49:56 +05:30
Vishnu Narayanan and GitHub
123fc73394
feat: add audit trail for sign_in and sign_out ( #7158 )
...
* feat: add audit_trail for sign_in event
* chore: ignore unrelated User model columns for auditing
* chore: fix prepend call for webhook/automation rule
* chore: add spec for sign_in event
* chore: refactor sign_in auditlog method to enterprise namespace
* feat: add sign_out audit trail
* feat: review comments
2023-05-25 14:27:30 +05:30
88cef88d80
fix: Instagram story with video not rendering ( #7184 )
...
* fix: instagram story with video not rendering
* chore: Minor fixes
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-05-25 12:20:42 +05:30
Tejaswini Chile and GitHub
8e79cf72e1
fix: issue with slack job ( #7179 )
2023-05-24 20:22:34 +05:30
Sojan Jose and GitHub
bfaca851f1
chore: Throttle conversation transcript endpoints ( #7155 )
...
- Throttle conversation transcripts to 20 per hour via rack attack
Fixes: https://linear.app/chatwoot/issue/CW-1630/throttle-transcript-endpoint
2023-05-24 19:56:23 +05:30
Muhsin Keloth and GitHub
5618b5ebd3
fix: Enable ogg format for audio recording in API channel ( #7178 )
2023-05-24 15:05:31 +05:30
Muhsin Keloth and GitHub
4807052c37
doc: Swagger for conversation priority API ( #7172 )
2023-05-23 20:39:15 +05:30
Shivam Mishra and GitHub
44b1047b90
feat(perf): contacts query performance ( #7175 )
...
* feat: use more indexable where condition
* feat: add index concurrently
* chore: update schema
* refactor: update index name
2023-05-23 17:22:47 +05:30
Shivam Mishra and GitHub
9c6c19c3e5
fix: CSAT filter metrics rendering & conversation reports not working [CW-1840, CW-1818] ( #7170 )
...
* fix: emoji rendering for CSAT
* feat: add tests for CSAT Metrics
* fix: allow rating in metrics
* refactor: hide satisfaction score & total response chart if rating filter is enabled
* refactor: optional chaining in group by
* fix: spacing using autofill
* test: update csat metrics tests
* test: CSAT metric card
2023-05-23 16:47:04 +05:30
Nithin David Thomas and GitHub
2764338453
fix: Fixes wrong copy being sent to users via email invite [cw-1290] ( #7159 )
...
* fix: Fixes invite email copy
* fix: Fixes wrong copy being sent to users via email invite
2023-05-23 09:37:40 +05:30
Shivam Mishra and GitHub
4f0fcfcbcd
feat: allow Microsoft Clarity from CDN ( #7163 )
...
* feat: add microsoft clarity to main app
* feat: mask messages
* fix: spacing
2023-05-23 08:00:01 +05:30
Pranav Raj S and GitHub
fdbaf98c3b
fix: Update breaking specs ( #7169 )
2023-05-22 17:01:27 -07:00
03bbd048a7
chore: Add action to set dark mode from the react-native-widget ( #7167 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-22 15:34:09 -07:00
Tejaswini Chile and GitHub
d481b9fbcf
feat: Limit the number of custom filters per user ( #7101 )
2023-05-22 18:03:15 +05:30
Vishnu Narayanan and GitHub
68dedc37ba
chore: update auditlog timestamp format ( #7128 )
2023-05-22 17:08:50 +05:30
Shivam Mishra and GitHub
958c0d7946
feat(perf): improve performance of conversation filter API [CW-1605] ( #7120 )
...
* feat(perf): don't use count
* feat(perf): include messages in the conversation query
* feat: include contact inboxes
* refactor: use blank?
2023-05-22 16:03:11 +05:30
Tejaswini Chile and GitHub
9553329092
chore: find instagram_direct_message query ( #7157 )
2023-05-22 16:01:31 +05:30
Nithin David Thomas and GitHub
d01f2063d0
feat: Creates component to show articles search results [CW-1451] ( #7126 )
...
* feat: Creates component to show articles search results
* Adds story for the component
2023-05-22 15:15:19 +05:30
Tejaswini Chile and GitHub
590e4e9c1c
Fix: prevent IMAPBadResponse exception from sending the authorization mail ( #7154 )
2023-05-22 13:51:56 +05:30
Tejaswini Chile and GitHub
0e903d2365
chore: Add delay for slack job when message has attachments ( #7107 )
2023-05-22 13:51:14 +05:30
Shivam Mishra and GitHub
d6ce1ceeeb
fix: CSAT chart showing incorrect data ( #7152 )
...
* fix: computation of data for csat chart
* fix: make horizontal chart reactive
2023-05-22 11:01:01 +05:30
Sivin Varghese and GitHub
e8f56d0e56
chore: Update greeting message label in settings ( #7088 )
2023-05-21 21:07:37 -07:00
Pranav Raj S and GitHub
b8dae07c0f
feat: Add an option to use darkMode only in the widget ( #7151 )
2023-05-22 09:05:05 +05:30
Sojan Jose and GitHub
e3f4be97c0
fix: Reauthorize when channel settings updated ( #7134 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1803/bug-inbox-doesnt-update-reauthorisation-required-automattically
2023-05-19 22:04:34 +05:30
Sojan
1f4d096804
Merge branch 'hotfix/2.17.1' into develop
2023-05-19 20:56:16 +05:30
Sojan
08fa370261
Merge branch 'hotfix/2.17.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-05-19 20:56:06 +05:30
Sivin Varghese and GitHub
1bcc438b21
fix: Problem when using Brazilian Portuguese ( #7135 )
...
Fixes: #7127
2023-05-19 20:55:01 +05:30
Vishnu Narayanan and GitHub
8b3d13a920
fix: add libvips to Dockerfile for rails7 ( #7133 )
...
Fixes : #7124
Fixes: https://linear.app/chatwoot/issue/CW-1805/investigate-217-upgrade-issues-for-dockerk8s-installations
2023-05-19 17:59:33 +05:30
Sojan
dcdd58bae5
Bump version to 2.17.1
2023-05-19 16:00:27 +05:30
Sojan Jose and GitHub
7b9a9831c1
chore: Fix rubococop failures ( #7130 )
...
- fixes rubocop failures on develop
2023-05-19 15:32:25 +05:30
Sojan Jose and GitHub
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +05:30
Shivam Mishra and GitHub
b988a01df3
fix: exclude private and activity messages from public API ( #7123 )
...
- Exclude private messages
2023-05-19 14:24:49 +05:30
105f9a27d2
feat: more CSAT filters ( #7038 )
...
* refactor: use grid instead of flex
* refactor: let the parent layout decide the spacing
* feat: add a separate date-range component
* refactor: use new date-range component
* fix: destructure all options
* refactor: separate group by component
* refactor: better handle group by data
* fix: defaul group by
* refactor: variable naming
* refactor: use DATE_RANGE_OPTIONS directly
* chore: update platform in gemfile.lock
* refactor: trigger fetch on filter change
* refactor: remove redundant method
* refactor: simplify methods and emitting
* refactor: simplify filter logic
* refactor: simplify fetching
* refactor: imports
* refactor: prop name
* refactor: CSAT response to use new APIs
* refactor: use common filter event
* refactor: use computed value for validGroupBy
* refactor: better function names
* refactor: rename prop
* refactor: remove redundant props
* refactor: separate agents filter component
* feat: add labels filter
* feat: add inboxes filter
* fix: event
* refactor: send label and inbox along with request payload
* feat: add inbox filter
* feat: add inbox to download
* refactor: use request payload from computed property
* refactor: params
* feat: add team to csat filters
* feat: add team to csat filters
* feat: add filter for rating
* feat: reverse options
* feat: add labels for ratings and translations
* feat: update translation
* fix: margin and spacing
* fix: trailing whitespace
* feat: add tests for filters
* chore: move files
* feat: add try catch with alerts
* feat: update import
* fix: imports
* Updates broken imports
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-18 22:50:46 +05:30
132cf802d5
fix: Open AI Integration should respond in conversation language ( #7092 )
...
Appended "Reply in the user's language." to obtain the answer in the user's language.
Fixes: https://linear.app/chatwoot/issue/CW-1735/chore-use-account-language-for-the-prompts
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-18 18:50:48 +05:30
Shivam Mishra and GitHub
f2f33038f2
fix: Make category non-mandatory ( #7117 )
...
Creating articles in a new help center without categories throws an error. This PR fixes that.
2023-05-18 18:42:28 +05:30
Vishnu Narayanan and GitHub
590ce788b9
fix: update linux script(cwctl) to account for rails7 upgrade ( #7106 )
...
* chore: modify cwctl to fetch latest redis version on new installations
* fix: add libvips for activestorage imageprocessing support
* chore: update cwctl version
* feat: upgrade redis and install libvps for existing installations
2023-05-18 16:53:47 +05:30
Clairton Rodrigo Heinzen and GitHub
a25179c342
fix: Instagram events job NoMethodError: undefined method for nil:NilClass ( #7105 )
...
- Sometimes tag entry does not have messaging or standby and cause a error
2023-05-18 15:22:01 +05:30
Sivin Varghese and GitHub
aea9470b6a
fix: RTL issue for basic filter dropdown ( #7118 )
2023-05-18 15:06:18 +05:30
Muhsin Keloth and GitHub
6382707146
chore: Check assignee exists or not before rendering the assignee avatar ( #7104 )
2023-05-17 15:41:23 +05:30
Pranav Raj S and GitHub
49ef4e54ca
feat: Add cmd/ctrl click open on the conversation cards ( #7100 )
2023-05-16 16:57:25 -07:00
Sojan
db0d32f01d
Merge branch 'release/2.17.0' into develop
2023-05-16 12:34:00 +05:30
Sojan
de1fb6ba4e
Merge branch 'release/2.17.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-05-16 12:33:47 +05:30
Sojan
7b8bcaba11
Bump version to 2.17.0
2023-05-16 12:33:16 +05:30
Pranav Raj S and GitHub
3f39b7ad1f
fix: Avoid styles getting purged on prod build ( #7086 )
2023-05-15 19:05:07 -07:00
Pranav Raj S and GitHub
a3547c5a1f
feat: Show Table of Contents in the article sidebar ( #7085 )
2023-05-15 18:43:16 -07:00
Tejaswini Chile and GitHub
0f776a173c
Fix: Mail ate compare with nil date ( #7084 )
...
fixes: https://chatwoot-p3.sentry.io/issues/4185144468/?project=6382945
2023-05-15 21:42:22 +05:30
Sojan Jose and GitHub
d320605556
chore: Fix Activerecord querry cancelled when fetching email ( #7083 )
...
limiting the query to 2 days to ensure that it runs timebound.
fixes: https://linear.app/chatwoot/issue/CW-1747/activerecordquerycanceled-pgquerycanceled-error-canceling-statement
2023-05-15 21:23:17 +05:30
Sojan Jose and GitHub
ca85d4e1c6
fix: External url validation in attachment ( #7082 )
...
fixes: https://linear.app/chatwoot/issue/CW-1746/activerecordrecordinvalid-validation-failed-external-url-is-too-long
2023-05-15 20:33:58 +05:30
Tejaswini Chile and GitHub
b994706265
fix: Email date attribute not being set ( #7081 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1738/typeerror-no-implicit-conversion-of-nil-into-string-typeerror
2023-05-15 20:19:03 +05:30
d9f2cd0a6e
chore: Enable Hebrew language for widget ( #7079 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-15 16:56:04 +05:30
Sojan Jose and GitHub
f2a34ad8aa
Chore: Remove deprecation warning post rails upgrade ( #7080 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1575/fix-deprecations-post-upgrade-to-rails-7
2023-05-15 16:32:27 +05:30
Tejaswini Chile and GitHub
65e91f6a6f
fix: Duplicate instagram conversations for echo messages ( #7078 )
2023-05-15 16:25:15 +05:30
Nithin David Thomas and GitHub
7dd1562b40
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #7054 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1290/minor-ui-issues
2023-05-15 16:17:55 +05:30
Shivam Mishra and GitHub
c70367bbd7
feat: add migration to fix image signed keys ( #7076 )
2023-05-15 15:13:26 +05:30
Nithin David Thomas and GitHub
5a8eff35b5
chore: Enable support for hebrew in dashboard [CW-1736] ( #7077 )
2023-05-15 14:03:29 +05:30
Muhsin Keloth and GitHub
1936369b12
feat: Add analytics event for OpenAI ( #7074 )
...
* Add analytics event for OpenAI
* Add more variations
2023-05-15 11:57:56 +05:30
Tejaswini Chile and GitHub
354010a6e1
chore: fetch mails with multiple attachments ( #7030 )
2023-05-14 10:02:36 +05:30
Sojan Jose and GitHub
385eab6b96
chore: Add max length validation to text fields ( #7073 )
...
Introduces a default max length validation for all string and text fields to prevent processing large payloads.
2023-05-12 22:12:21 +05:30
198cd9b28d
feat: Show next available day/hour and minutes on widget ( #6902 )
...
* feat: Show next available hour and minutes on widget
* chore: Adds spec
* chore: Show days
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review suggestion fixes
* chore: Minor fixes
* Added timezone to widget payload
* chore: Adds time zone
* chore: Review fixes
* chore: Adds comments
* chore: Rounded up min with nearest multiple of 5
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Moved day names to i18n
* chore: Review fixes
* chore: Fix specs
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-05-12 19:25:51 +05:30
Nithin David Thomas and GitHub
abdf00d2cf
fixes: Editor adding slash char while creating block quotes [cw-1505] ( #7069 )
...
* fixes: Editor adding slash char while creating block quotes [cw-1505]
* Update with latest package
2023-05-12 16:39:18 +05:30
Muhsin Keloth and GitHub
2c3160cfee
feat: API to list all attachments for a conversation ( #7059 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1678/api-to-list-all-attachments-for-a-conversation
2023-05-12 15:48:06 +05:30
Muhsin Keloth and GitHub
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Pranav Raj S and GitHub
020dcc4dc7
fix: Avoid audio URLs getting cached at the frontend ( #7062 )
2023-05-11 12:14:56 -07:00
271263bcc2
feat: SLA CRUD APIs (EE) ( #7027 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1613/sla-api
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 22:42:56 +05:30
Muhsin Keloth and GitHub
c97d6021e0
chore: Add migration to set the default empty string value for contact name ( #7052 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1650/issue-with-the-contact-name
2023-05-11 17:35:19 +05:30
d99997d17d
feat: Add ability to filter Conversations by underlying source_id ( #6979 )
...
This change adds the ability to include a `source_id` param when querying the `/api/v1/accounts/{account_id}/conversations/search` endpoint. It restricts to results to only conversations related to a contact_inbox with the provided parameter. My motivation for adding this feature was to allow an external API to communicate with a specific conversation with only an awareness of the conversation `source_id` from the client.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 17:32:29 +05:30
Sivin Varghese and GitHub
9c5d062efc
fix: Fix greeting message label in settings ( #7056 )
2023-05-11 17:30:07 +05:30
Muhsin Keloth and GitHub
87f758ee1f
feat: Order conversations by priority ( #7053 )
2023-05-11 12:56:43 +05:30
Shivam Mishra and GitHub
d0a1ad746a
feat: add index migration ( #7050 )
2023-05-10 17:55:14 +05:30
86384bf876
feat: Reply suggestion and summary generation using OpenAI ( #7029 )
...
Add `reply_suggestions` and `summary_generation` options for OpenAI integration
Fixes: https://linear.app/chatwoot/issue/CW-1595/frontend-for-generating-conversation-summary
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-10 17:50:37 +05:30
Muhsin Keloth and GitHub
55e5fa2205
chore: Add the specs for sort conversation ( #7047 )
2023-05-10 17:49:17 +05:30
Sojan
65bad90b69
Revert "fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )"
...
This reverts commit 07aaa046c1 .
2023-05-10 16:43:18 +05:30
07aaa046c1
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )
...
* fix: Welcome email copy changes and canned response API error handling
* Review fixes
* Uses mixin for alerts in canned page
* Typo fixes
* Copy changes
* Fixes broken tests
* Fixes review comments
* Fixes typo errors with mail template
* Removes unwanted case
* Fixes repetitive texts
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-05-10 15:55:48 +05:30
giquieu and GitHub
520bdabefe
fix: Record audio in wav format for web/facebook ( #7046 )
2023-05-10 12:29:56 +05:30
Shivam Mishra and GitHub
662967b5d3
feat(perf): add index to messages created at ( #7044 )
...
* feat: add index to messages created at
* feat: run migration
2023-05-10 11:34:49 +05:30
6137a45214
chore: Update link in the reply summary email ( #7024 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-09 17:39:09 -07:00
Pranav Raj S and GitHub
5e0ce7793c
fix: Re-order gem list to fix rubocop errors ( #7043 )
2023-05-08 16:15:27 -07:00
Pranav Raj S and GitHub
ce3e38df0f
chore: Update the design of the help center portal ( #6775 )
2023-05-08 15:31:38 -07:00
2b88ecdfc4
feat: Add a feature flag for Audit Log UI ( #7035 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-08 12:44:15 -07:00
Pranav Raj S and GitHub
683f259771
fix: Fix rendering issues in Help Center ( #7042 )
2023-05-08 12:23:26 -07:00
Vishnu Narayanan and GitHub
51fb3b7e8e
fix: enable lograge in superadmin path ( #7026 )
...
* fix: lograge superadmin path
* chore: add spec for superadmin devise session controller
* chore: address review comment
2023-05-08 13:43:55 +05:30
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-06 15:10:50 +05:30
Sojan Jose and GitHub
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
59433d9d3c
feat: Adds the ability to sort conversations ( #6853 )
...
* Add sort filter
* Change UI
* Change filter
* Complete sort by filters
* Style fixes
* Fix default sort
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/ChatList.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Added translation
* Added review fixes
* Add more updates
* Code cleanups
* Update last_activity_at on message received event
* Cleans up the design for chatlist and icons
* Fix sort
* Remove inline styles
* Add tag along with the title
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-05 17:08:32 -07:00
Sojan Jose and GitHub
85e57c2e94
chore: Reorganize Sidekiq Queues ( #6976 )
...
- Rearrange and reprioritize current sidekiq queues
- Trim the unnecessary queues
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-05-04 15:44:16 +05:30
Tejaswini Chile and GitHub
b081fe08b8
feat: whatsapp duplicate message ( #7004 )
2023-05-03 15:18:20 +05:30
Muhsin Keloth and GitHub
0d014d5d4b
chore: Bump utils from 0.0.15 to 0.0.16 ( #7022 )
2023-05-03 14:36:55 +05:30
937338e3ea
chore(deps): bump audited from 5.2.0 to 5.3.3 ( #7016 )
...
Bumps [audited](https://github.com/collectiveidea/audited ) from 5.2.0 to 5.3.3.
- [Release notes](https://github.com/collectiveidea/audited/releases )
- [Changelog](https://github.com/collectiveidea/audited/blob/main/CHANGELOG.md )
- [Commits](https://github.com/collectiveidea/audited/compare/v5.2.0...v5.3.3 )
---
updated-dependencies:
- dependency-name: audited
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 14:13:04 +05:30
Pranav Raj S
6e506b070e
Merge branch 'hotfix/2.16.1' into develop
2023-05-02 15:54:49 -07:00
Pranav Raj S
18c5c47836
Merge branch 'hotfix/2.16.1'
2023-05-02 15:53:33 -07:00
Pranav Raj S
257a294166
Bump the version to 2.16.1
2023-05-02 15:52:50 -07:00
Pranav Raj S
12f121f0d8
fix: Provide a default to name if name is not present
2023-05-02 15:52:33 -07:00
Tejaswini Chile and GitHub
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
c8041392dc
feat: Enable features on successful subscription ( #6953 )
...
* feat: Enable features on successful subscription
* fix: Add specs
* disable features for default plan
* Remove mark as cloud customers
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-01 14:58:39 -07:00
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-28 20:28:03 +05:30
Sojan Jose and GitHub
02c467b6db
chore: GPT Reply suggestion & summarize endpoints ( #7011 )
...
Adds additional endpoints for OpenAI integration which will allow
- Reply Suggestions
- Summarization
ref: #6436
fixes: https://linear.app/chatwoot/issue/CW-1596/backend-for-generating-conversation-summary
2023-04-28 19:57:25 +05:30
Muhsin Keloth and GitHub
13fe439d9f
Move the reconnect logic from the update presence ( #6992 )
2023-04-28 14:02:30 +05:30
Shivam Mishra and GitHub
2313edd244
feat: update identity validation docs link ( #6994 )
...
* feat: update identity validation docs link
* fix: copy
* fix: grammar
2023-04-28 13:36:58 +05:30
Muhsin Keloth and GitHub
09c9300c21
chore: Use canned response variable helpers from utils ( #7007 )
2023-04-27 17:01:34 +05:30
c0e905b5d8
fix: Search improvements and bug fixes [CW-1604] ( #6985 )
...
* fix: Search improvements and bug fixes
* Resets tab to all on search
* Fix index bug with tabs
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-27 13:20:29 +05:30
Pranav Raj S and GitHub
04da8aa8dc
fix: Remove duplicates message in WhatsApp Channel ( #7003 )
2023-04-26 19:57:06 -07:00
Shivam Mishra and GitHub
32f7342cd6
chore: Add issue forms for GitHub ( #6982 )
2023-04-26 11:25:02 -07:00
74afb785c2
fix: Update spacing for the priority icon in the inbox views ( #6993 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-26 10:21:30 -07:00
Shivam Mishra and GitHub
cae1e30160
feat: Update demo data to include better messages ( #6995 )
2023-04-26 10:20:56 -07:00
Tejaswini Chile and GitHub
99dfe1d5af
feat: Enable template variables in channel greeting messages ( #6971 )
2023-04-26 20:23:46 +05:30
Sojan Jose and GitHub
3fa654f5c6
chore: Add Index for widget contact lookup ( #6998 )
...
- Adds an index to improve the contact lookup performance while calling setUser from widget
2023-04-26 19:22:16 +05:30
shaheer-haider and GitHub
37fde64c67
fix: installation of gem bundles (lograge, rack-mini-profiler, stackprof, nokogiri) in docker ( #6897 )
2023-04-26 17:04:17 +05:30
Tejaswini Chile and GitHub
3c2d6faf68
feat: Instagram story replies will display the original story link ( #6846 )
2023-04-26 15:27:07 +05:30
Muhsin Keloth and GitHub
5d30dabf97
feat: Command bar action for priority ( #6989 )
...
* Add command action for priority assignment
* Fix icon path
* Update conversationHotKeys.js
2023-04-26 13:29:01 +05:30
cef1f97d18
feat: update product copy [CWM-45] ( #6372 )
...
* chore: Update non-logged-in-page copy
* Update app/javascript/dashboard/i18n/locale/en/login.json
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
* Update app/javascript/dashboard/i18n/locale/en/signup.json
* Update app/javascript/dashboard/i18n/locale/en/signup.json
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-04-25 22:02:15 -07:00
Pranav Raj S and GitHub
92705723f1
fix: Add /api/v1 to the team_members API documentation ( #6987 )
2023-04-25 20:17:15 -07:00
Shivam Mishra and GitHub
af971c9b18
fix: whatsapp template params validation ( #6986 )
2023-04-26 08:46:30 +05:30
2f2cdd7e7c
feat: Hides dismissed campaigns while browsing [cw-33] ( #6842 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* feat: Hides dismissed campaigns while browsing
* Snoozes all campaigns for an hour after dismissing
* Fixes error with date parsing
* Snooze ongoing campaigns
* Review fixes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 22:38:36 +05:30
Shivam Mishra and GitHub
d95283f5c2
feat: improvements to priority ( #6981 )
...
* fix: colors for urgent icon
* feat: trigger updated event on priority change
* fix: specs
2023-04-25 22:28:19 +05:30
402428fb4d
feat: Splits search api by resources to improve query time [cw-47] ( #6942 )
...
* feat: Splits search api by resources to improve query time
* Review fixes
* Spacing fixes
* Update app/javascript/dashboard/modules/search/components/SearchView.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Review fixes
* Refactor searchview
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 17:59:38 +05:30
Shivam Mishra and GitHub
5600b518ac
fix: validate template_params for WhatsApp ( #6881 )
...
- Add JsonSchemaValidator, which takes a declarative schema and validates it for a given property.
- Add specs for JsonSchemaValidator
- Enable the validator for template_params
2023-04-25 16:50:36 +05:30
0bbb28c432
feat: sort conversation on priority ( #6943 )
...
* feat: update seed script to include prioritt
* feat: add sort_handler for conversations
* test: sort on priority order
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 09:47:47 +05:30
Sojan Jose and GitHub
cf91e9eb58
chore: Use find_each instead of .all.each ( #6975 )
...
- Enable the rubocop Rails/FindEach
- Replace the .all.each with .find_each
This should let us avoid potential memory usage.
Motivation from the speedshop newsletter by Nate Berkopec
ref: https://www.rubyinrails.com/2017/11/16/use-find-each-instead-of-all-each-in-rails/
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-04-25 09:32:35 +05:30
b529baa5eb
fix: Pagination bug in chat list ( #6899 )
...
* fix: Pagination bug in chat list
* chore: Review fixes
* Improves variable namings
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-25 09:01:54 +05:30
Pranav Raj S and GitHub
c071f66cdd
fix: Update the icon for low priority ( #6978 )
2023-04-24 13:52:14 -07:00
92fa9c4fdc
feat: Ability to improve drafts in the editor using GPT integration ( #6957 )
...
ref: https://github.com/chatwoot/chatwoot/issues/6436
fixes: https://linear.app/chatwoot/issue/CW-1552/ability-to-rephrase-text-in-the-editor-using-gpt-integration
---------
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-24 23:52:23 +05:30
f6e0453bb2
fix vertical overflow scroll on BackButton ( #6914 )
...
* fix: vertical overflow scroll on BackButton
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
* chore: adds suggested improvement to handle RTS view
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
---------
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-24 22:57:58 +05:30
Pranav Raj S and GitHub
1a07828b1b
fix: Disable the entire element if priority is missing ( #6972 )
2023-04-24 10:21:39 -07:00
Shivam Mishra and GitHub
54880b2342
feat: Track conversation priority events ( #6968 )
2023-04-24 20:21:43 +05:30
Muhsin Keloth and GitHub
e32f3e71e4
feat: Right click context menu action to change the priority ( #6947 )
...
* Right click context menu action to change the priority
* Review comments
* Update Index.vue
* Remove selected priority from menu
* Code cleanup
* Update conversation.json
2023-04-24 20:07:50 +05:30
Shivam Mishra and GitHub
0874aeee2d
feat: priority UI ( #6966 )
2023-04-24 19:00:08 +05:30
Muhsin Keloth and GitHub
f1fc658a0d
feat: Add an action in Macro to change the priority ( #6940 )
2023-04-24 17:14:30 +05:30
Tejaswini Chile and GitHub
e3193dcabc
feat: Link help center portal to an Inbox ( #6903 )
2023-04-24 12:49:52 +05:30
Vishnu Narayanan and GitHub
f825a22997
feat: add Makefile ( #6948 )
...
* feat: add Makefile
* chore: refactor
2023-04-24 11:32:17 +05:30
Muhsin Keloth and GitHub
815322b27a
feat: Refetch the active conversation messages on action cable reconnect ( #6790 )
2023-04-24 10:17:12 +05:30
Pranav Raj S and GitHub
474e65f4c8
feat: Save in_reply_to from WhatsApp messages ( #6964 )
2023-04-23 18:28:14 -07:00
3a35281b3f
chore: Update translations ( #6941 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-21 15:28:56 +05:30
Muhsin Keloth and GitHub
ac6de50b4d
feat: Add a condition for filters based on the priority of automation ( #6939 )
2023-04-20 18:10:05 +05:30
a34729c153
feat: add activity message for priority change ( #6933 )
...
* feat: add priority const
* feat: add toggle priority method
* feat: update controller route and specs
* refactor: status change method
* refactor: abstract label change and mute activity
* feat: add priority change_activity
* fix: interpolation for previous_changes
* refactor: reduce cognitive complexity of priority_change_activity
* refactor: move priority activity message handler to a separate module
* refactor: move typing logic to a service
* refactor: tests to reduce complexity
* fix: typo
* fix: constants
* fix: priority conditions
* fix: add a response
* fix: argument destructuring in I18n.t
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-20 16:41:53 +05:30
6b2736aa63
fix: inconsistency in report and summary for metric counts ( #6817 )
...
* feat: include timezone offset in summary calculation
* fix: exlcude end in date range
* test: explicit end of day
* fix: test for report builder
* fix: reports.spec.js
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-04-20 12:55:04 +05:30
Muhsin Keloth and GitHub
d1584eea72
feat: Add an action on automation to change the priority ( #6925 )
2023-04-20 11:31:33 +05:30
Sivin Varghese and GitHub
527042afd1
fix: Code fix from PR #6823 ( #6934 )
2023-04-19 23:09:37 +05:30
Nithin David Thomas and GitHub
bd1e69e4b4
feat: Adds new inbox selector with more info for new message modal [cw-1358] ( #6823 )
2023-04-19 23:02:50 +05:30
Vishnu Narayanan and GitHub
76d4c22c2d
fix: build_id in heroku installations ( #6932 )
2023-04-19 21:39:10 +05:30
Tejaswini Chile and GitHub
5cdc7d654a
feat: Support multiple emails in email transcript automation ( #6924 )
2023-04-19 16:55:25 +05:30
Tejaswini Chile and GitHub
821d49943a
Delete inbox api doc update ( #6930 )
2023-04-19 16:43:51 +05:30
Shivam Mishra and GitHub
9c0259da6b
feat: add priority field to conversation ( #6921 ) ( #6927 )
...
* feat: add priority
* feat: add indexes
2023-04-19 13:23:14 +05:30
Pranav Raj S and GitHub
ea2c442328
chore: Add account_id as custom_attribute for cloud users ( #6926 )
2023-04-18 22:35:11 -07:00
Volodymyr Makukh and GitHub
b93b8cdab6
Fix flaky reporting_event_listener_spec ( #6923 )
2023-04-19 10:42:45 +05:30
Pranav Raj S and GitHub
e6505fc7a4
chore: Cache the dashboard app on the first load ( #6774 )
2023-04-18 19:44:57 -07:00
Pranav Raj S and GitHub
c5c36af529
fix: Remove fallback phone_number search in WhatsApp event processing ( #6904 )
2023-04-18 18:30:01 -07:00
026e03c307
fix: Handle spaces in CC/BCC email lists ( #6788 )
...
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".
This causes an error on the backend and on the frontend.
It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 19:18:23 +05:30
Sojan
37b7098673
Merge branch 'release/2.16.0' into develop
2023-04-18 01:04:27 +05:30
Sojan
7bd400772d
Merge branch 'release/2.16.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-04-18 01:04:19 +05:30
Sojan
cb2f86b983
Bump version to 2.16.0
2023-04-18 01:02:19 +05:30
905e77048f
chore: Contact import improvements (CW-1362) ( #6747 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1362/csv-imports-are-not-working-properly
Fixes : #3462
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 00:40:55 +05:30
Vishnu Narayanan and GitHub
4505c5dda3
chore: add build id to settings page ( #6873 )
...
- Adds a build Id to the settings page
2023-04-18 00:35:35 +05:30
c9ce9e5b8f
feat: Improved country code in contact form view. ( #6801 )
...
* feat: Improved country code in contact.
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds arrow key navigation and cursor pointer
* chore: Minor fix
* chore: Code clean up
* chore: Handle outside click
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >, Nithin David
2023-04-17 20:32:09 +05:30
9e2f991484
feat: audit logs UI ( #6803 )
...
* feat: init auditlogs ui
* chore: add api
* fix: action
* chore: add action,username,time
* feat: add pagination support
* chore: format time
* chore: refactor
* chore: refactor auditlogs api response
* chore: update icon
* chore: rubocop fixes
* Fixes the way meta is handled in store
* Fixes meta not appearing issue
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 19:11:05 +05:30
Sivin Varghese and GitHub
80dcd17f6e
fix: Border color for CSAT component in widget ( #6915 )
2023-04-17 17:50:30 +05:30
Shivam Mishra and GitHub
a38ecf3dde
feat: show webhook verify token for WhatsApp ( #6916 )
...
- Display WhatsApp webhook verify token in configuration settings
2023-04-17 17:14:08 +05:30
9090eabb8a
chore: Update translations ( #6895 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-17 14:45:49 +05:30
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 14:43:10 +05:30
Shivam Mishra and GitHub
1886d4ce08
fix: response body in twitter callback ( #6907 )
...
* fix: response body
* fix: tests
2023-04-14 16:48:28 +05:30
Shivam Mishra and GitHub
4d49b81f1c
fix: use response.status instead of success ( #6906 )
...
* fix: use response.status instead of success
* refactor: use sentry to capture exception
* refactor: explicitly convert to i
2023-04-14 15:22:08 +05:30
Tejaswini Chile and GitHub
2b736f4698
fix: Update from_email in the name to fix the syntax error ( #6900 )
2023-04-13 10:42:38 -07:00
Tejaswini Chile and GitHub
9ca21df9fd
feat: Route emails based on x-original-to in email channel ( #6901 )
...
Fixes : #6608
ref: https://linear.app/chatwoot/issue/CW-30/emails-not-routed-based-on-x-original-to
2023-04-13 14:52:12 +05:30
Tejaswini Chile and GitHub
44837aa657
Fix: save twitter profile for inbox ( #6667 )
...
Fixes : #737
2023-04-12 14:16:24 +05:30
d04344c094
chore(deps): bump commonmarker from 0.23.7 to 0.23.9 ( #6892 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.7 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.7...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 14:08:14 +05:30
d45512df72
feat: Account deletion with deleteObjectJob ( #6885 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1365/allow-super-admin-to-delete-an-account
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 13:54:01 +05:30
2731c2a5be
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 ( #6893 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 13:29:57 +05:30
Tejaswini Chile and GitHub
610463c980
fix: flatten template array for whatsapp templates ( #6880 )
...
- Refactor the WhatsApp template sync job
- Fix the issue when fetching the next set of templates
2023-04-11 17:48:17 +05:30
09ce85b30d
Chore: moves localstorage helper as a shared utility ( #6838 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-11 15:50:46 +05:30
Shivam Mishra and GitHub
17ff1f11a7
feat: better download for conversation traffic heatmap ( #6755 )
...
* feat: genearte report in a grid
* refactor: update API usage
* refactor: separate generate method
* refactor: abstract transform_data
* feat: annotate with comments
* feat: add explicit timezone
* feat: download data only in user timezone
* fix: dates included in heatmap
2023-04-11 09:40:54 +05:30
Pranav Raj S and GitHub
f4e121cc44
fix: Update the profile API URL in the documentation ( #6875 )
2023-04-10 18:23:20 -07:00
Pranav Raj S and GitHub
cf934450ab
chore: Remove context menu on links ( #6874 )
2023-04-10 14:13:08 -07:00
Vishnu Narayanan and GitHub
ad75a79135
feat: add pagination support for audit logs API ( #6843 )
...
Add pagination support for audit logs API
2023-04-10 21:07:01 +05:30
Tejaswini Chile and GitHub
d49989ace1
chore: Specs for Whatsapp template pagination ( #6870 )
...
Spec for https://github.com/chatwoot/chatwoot/pull/6835
2023-04-10 20:44:43 +05:30
Tejaswini Chile and GitHub
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
e877b01e00
fix: Invalidate cache if any of the related objects change ( #6860 )
...
* fix: Invalidate cache if any of the related objects change
* Add specs:
* Update context
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-04-10 15:47:13 +05:30
da11feb39b
feat: one-click codepen for widget configuration ( #6865 )
...
* feat: allow codepen in code
* feat: enable codepen in config
* feat: update codepen title
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-10 15:44:06 +05:30
Tejaswini Chile and GitHub
138afd9af6
Feat: Fetch whatsapp templates till next cursor ( #6835 )
2023-04-10 14:44:27 +05:30
e753365493
feat: Add the ability to change the agent availability status ( #6855 )
...
* Add the option change agent availability
* Remove callout
* Move `AVAILABILITY_STATUS_KEYS` to constants
* Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-10 13:37:12 +05:30
Pranav Raj S and GitHub
91dc7733b0
feat: Use inbox image as avatar for the bot ( #6859 )
2023-04-07 13:25:18 -07:00
Pranav Raj S and GitHub
463c09184c
fix: Disable processing events if account is suspended ( #6849 )
2023-04-07 12:01:03 -07:00
040e9a732f
chore: Update translations ( #6854 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 16:05:33 +05:30
71c5a1e1d4
feat: add lograge to improve logging ( #5423 )
...
- Add lograge gem to improve rails logging using `LOGRAGE_ENABLED` env variable
- When enabled Single line log for requests in JSON formatting
- Switch sidekiq also to use JSON formatting
Fixes : chatwoot/product#437
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 13:44:30 +05:30
Muhsin Keloth and GitHub
a521762dd6
feat: Support after param in messages end point ( #6848 )
...
Adds support to `after` param while fetching messages
Fixes: https://linear.app/chatwoot/issue/CW-1475/support-after-param-in-messages-end-point
2023-04-07 13:42:54 +05:30
406e8405eb
fix: Specs failing for teams/actions.js ( #6845 )
...
* fix: specs failing
* fix: specs for labels and inboxes
* Update reports.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-06 20:48:49 +05:30
37dd898c9a
Search bar improvements ( #6827 )
...
* chore: implement search improvement
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-06 18:56:56 +05:30
Sivin Varghese and GitHub
be2356724e
fix: Time specs ( #6841 )
2023-04-06 16:33:31 +05:30
Sivin Varghese and GitHub
ab6276327a
feat: Show year in message timestamp if the message is not from the current year ( #6830 )
...
* feat: Shows year in message timestamp if the message is not from the current year
* chore: Naming fix
2023-04-06 15:09:38 +05:30
Sivin Varghese and GitHub
ee131011f9
fix: Canned Responses are not sent in the new message editor ( #6829 )
2023-04-05 12:42:39 +05:30
balawa and GitHub
2ca8726005
feat: Extend the message limit for the Facebook Channels ( #6816 )
2023-04-04 12:07:13 -07:00
Shivam Mishra and GitHub
b39e5bb642
feat: Remove isAdmin check on merge contact button ( #6825 )
2023-04-04 09:58:10 -07:00
Pranav Raj S and GitHub
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
Shivam Mishra and GitHub
b7d0016d99
fix: inconsistent usage of snake_case and camelCase ( #6824 )
2023-04-04 16:22:45 +05:30
Muhsin Keloth and GitHub
a0eafc94d7
fix: Pre-chat message is not showing in campaign ( #6821 )
...
* Fix pre-chat form header issue
* Show pre-message if pre-chat form enabled
2023-04-04 13:37:51 +05:30
Sivin Varghese and GitHub
110e28d08e
chore: Disable import option in agent account ( #6822 )
2023-04-04 13:37:13 +05:30
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Tejaswini Chile and GitHub
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Sivin Varghese and GitHub
268eababa3
feat: Adds an option to edit City/Country ( #6792 )
...
* feat: Adds an option to edit City/Country
* chore: Minor fix
2023-04-03 19:51:27 +05:30
Tejaswini Chile and GitHub
d2d6d271c3
CW-1399 Phone number import ( #6815 )
2023-04-03 13:53:59 +05:30
Muhsin Keloth and GitHub
363ffdbde3
fix: Disable form if pre-chat disabled on new conversation ( #6813 )
2023-04-03 12:03:58 +05:30
Tejaswini Chile and GitHub
44f73e044a
slack with template message link ( #6811 )
2023-04-03 11:32:37 +05:30
Pranav Raj S and GitHub
ebc144683a
chore: Update conversation thread rendering in Slack ( #6812 )
2023-04-02 22:26:08 -07:00
44e4eee28b
chore: Update translations ( #6806 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-02 13:24:13 +05:30
Shivam Mishra and GitHub
2e9eead20c
feat: update contacts filter query ( #6802 )
...
- Update contacts API query to be faster
2023-04-02 13:23:01 +05:30
Tejaswini Chile and GitHub
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Tejaswini Chile and GitHub
21da03fe5b
Fix: Consider bot message on slack integration ( #6793 )
2023-03-31 18:56:51 +05:30
bd5ff7a8bf
fix: Agent avatar instead of bot avatar in pending message ( #6777 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-31 18:49:31 +05:30
Sivin Varghese and GitHub
fd41529b82
chore: Adds the ability to copy phone number from user details ( #6791 )
2023-03-30 11:03:51 -07:00
Tejaswini Chile and GitHub
7bd830ebfe
fix: Email based automation conditions filter ( #6786 )
2023-03-30 22:34:18 +05:30
Sojan Jose and GitHub
7930902ec8
chore: Refactor Automation Specs ( #6796 )
...
The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files.
fixes: CW-1447
2023-03-30 21:02:52 +05:30
Tejaswini Chile and GitHub
d8604107aa
fix: Add link to conversation in slack message ( #6768 )
2023-03-30 13:03:19 +05:30
cef44bc557
fix: Check valid params exists in WhatsAapp payload ( #6780 )
...
Fixes #6779
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-30 12:10:59 +05:30
Sojan Jose and GitHub
7e3a4d2c20
fix: Adds assignee as a participant during auto-assign ( #6789 )
...
- Ensures that the assignee is added as a participant during auto-assign
2023-03-30 11:39:53 +05:30
Sojan Jose and GitHub
a4c9a2b2f2
chore: Support telegram edited_message events ( #6785 )
...
- Add support for telegram edited_message events: Update the user message back in the Chatwoot dashboard when updated by the contact on telegram
2023-03-29 18:48:16 +05:30
d1b65b6c9e
chore: Fixes avatar position on failed messages ( #6784 )
...
* feat: show external error in message
* Fixes avatar position on failed messages
---------
Co-authored-by: Clairton Rodrigo Heinzen <clairton.rodrigo@gmail.com >
2023-03-29 18:09:18 +05:30
Clairton Rodrigo Heinzen and GitHub
4ed35cf461
feat: show external error in message as tooltip ( #6701 )
2023-03-29 17:30:57 +05:30
Jordan Brough and GitHub
803015b7f8
chore: Re-add "public" prefix to "public.gen_random_uuid()" in schema.rb ( #6770 )
...
Revert unintended schema change from https://github.com/chatwoot/chatwoot/pull/5338#discussion_r957645071
2023-03-29 16:02:13 +05:30
Jordan Brough and GitHub
aa75666ad9
chore: Remove extra audit column ( #6769 )
...
- Drop unintentional "audits.integer" column
2023-03-29 12:24:14 +05:30
Pavel Kuzmin and GitHub
2b7ff48bcd
fix: Turn off FOCUS_CUSTOM_ATTRIBUTE event to avoid memory leak ( #6772 )
2023-03-28 18:29:15 -07:00
6002394fcf
feat: Support input_select messages on telegram ( #5887 )
...
- Adding interactive button support for telegram for outgoing and incoming messages.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-28 22:50:07 +05:30
Shivam Mishra and GitHub
bc8e8f3bb5
feat: add index to conversation id and account_id ( #6757 )
...
- This PR adds an index to conversations id and account_id. This improves the performance of some reports query
2023-03-28 22:34:04 +05:30
54a809ea54
fix: Case insensitive email match ( #6760 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1354/email-id-case-sensitive
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-28 15:23:41 +05:30
Tejaswini Chile and GitHub
fdb067a352
fix: mentions are not rendered properly in slack ( #6762 )
2023-03-28 13:40:16 +05:30
Nithin David Thomas and GitHub
d082aa50a8
fix: Adds support for multiple file uploads in whatsapp inbox ( #6763 )
2023-03-28 13:10:16 +05:30
Muhsin Keloth and GitHub
3535a1a708
chore: Auto capitalize the last name field while sending the canned response/variables ( #6767 )
...
* Capitalize last name
* Add more spec
* Fix last name spec issue
* More spec fixes
* Add more spec fixes
* Update user_drop_spec.rb
2023-03-28 13:03:51 +05:30
Shivam Mishra and GitHub
4c10845acd
fix: [CW-44] don't count private message as first reply ( #6707 )
...
* fix: don't count private message as first reply
* fix: update first_human_response_logic
* refactor: separate valid_first_reply method
* test: valid first reply
* feat: add check for automation rule
* test: update step that creates data
* fix: add boundary condition in case first_reply_created_at is not present
* test: fix report builder
* refactor: conditions
* test: remove second message condition
2023-03-27 21:23:37 +05:30
Muhsin Keloth and GitHub
5b7bed9640
chore: Auto capitalize the name field while sending the canned response/variables ( #6758 )
...
* capitalize name before sending the message
* Fix specs
* Code cleanups
2023-03-27 18:49:48 +05:30
b3850cb4fa
fix: Show meaning full error message while creating and email inbox [CW-1312] ( #6711 )
...
* chore: Shows error message while creating and email inbox
* chore: Review fixes
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-03-27 16:15:11 +05:30
7de89b6f9b
chore: Update translations ( #6751 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-27 14:45:50 +05:30
Shivam Mishra and GitHub
00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] ( #6710 )
...
* feat: allow caching of labels in the account scope
* feat: send cache keys in account json response
* feat: kickstart web worker
* feat: setup basic architecture for workers
* feat: install idb
* feat: add datamanger
* fix: typos
* refactor: rename method
* feat: make init db a manual step
* refactor: separate accountIdFromRoute
* feat: cache enabled API client
* feat: enable caching for inboxes and labels
* feat: enable cache for team
* feat: manage exceptions for team
* feat: add team to data manager
* feat: add a generic listener
* refactor: send only cache keys
* refactor: separate validate method
* feat: add listeners
* feat: add event for revalidate
* feat: add cache keys endpoint
* refactor: fetch cache keys instead of full account data
* fix: key pattern
* feat: don't fetch account for cache_keys
* fix: cache key base class
* refactor: cache keys helper
* feat: add helper
* fix: cache-key update logic
* feat: delete indexeddb on logout
* feat: remove worker.js
* refactor: move data-manager
* refactor: name of file
* feat: add test for DataManager
* refactor: add fake idb to jest setup
* test: cache keys helper
* test: cache keys helper
* test: cache_keys in accounts controller
* refactor: remove cache_keys context
* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
Pranav Raj S and GitHub
6000028f64
feat: Allow agents/admins to copy the link to a message ( #5912 )
2023-03-26 22:58:42 -07:00
Pranav Raj S and GitHub
1e8881577a
fix: Display native context menu on image, video preview modals ( #6756 )
2023-03-26 15:16:56 -07:00
Pranav Raj S and GitHub
4b83bcb5ca
fix: Move subscription to after initialize ( #6752 )
2023-03-26 12:19:29 -07:00
Pranav Raj S and GitHub
70e7530cb4
feat: Setup context menu for message ( #6750 )
2023-03-24 16:20:19 -07:00
Pranav Raj S and GitHub
d666afd757
chore: Refactor messages to support right click context menu ( #6748 )
2023-03-24 13:49:44 -07:00
Muhsin Keloth and GitHub
a6e7737c56
feat: Show custom attributes in pre-chat form on new conversation ( #6735 )
2023-03-23 15:22:49 +05:30
Tejaswini Chile and GitHub
856d9067b0
fix: Super admin redirect issue [CW-1370] ( #6715 )
2023-03-23 14:37:21 +05:30
Tejaswini Chile and GitHub
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
1370cf3c07
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-23 13:30:21 +05:30
Sivin Varghese and GitHub
1dd7cfc25d
fix: Design issues after RTL changes ( #6718 )
2023-03-21 13:25:35 -07:00
Nithin David Thomas and GitHub
f3aba84063
fix: Fixes scroll behavior for search page ( #6717 )
2023-03-21 12:10:08 +05:30
Tejaswini Chile and GitHub
9c040af028
[CW-1348] fix: Update email regex validation for contact_inbox ( #6705 )
2023-03-21 10:51:12 +05:30
Sivin Varghese and GitHub
4cae5c7d51
chore: The label creation UI input is transform to lowercase ( #6712 )
2023-03-20 20:35:15 +05:30
Shivam Mishra and GitHub
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Tejaswini Chile and GitHub
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Tarang and GitHub
0c9f129c74
Fix issues with Microsoft Provider ( #6702 )
2023-03-20 12:27:43 +05:30
Nithin David Thomas and GitHub
d2aa5f4c69
fix: Reverts popover styling for search page ( #6688 )
2023-03-20 11:04:56 +05:30
Nithin David Thomas and GitHub
e76b63f91d
chore: Upgrade prosemirror package to fix link rendering issue ( #6685 )
2023-03-16 13:42:52 -07:00
Muhsin Keloth and GitHub
5c5764ca85
chore: Enable icelandic language( #6682 )
...
ref: #6681
2023-03-16 20:32:55 +05:30
Tejaswini Chile and GitHub
cf487c76a0
fix: delete user record if belongs to no account ( #6664 )
2023-03-15 21:49:49 +05:30
Sojan
6848433a4c
Merge branch 'release/2.15.0' into develop
2023-03-15 19:58:28 +05:30
Sojan
3e6d23e071
Merge branch 'release/2.15.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-03-15 19:58:19 +05:30
Sojan
565b87fa98
Bump version to 2.15.0
2023-03-15 19:57:59 +05:30
Sojan Jose and GitHub
de8c26dce8
chore: Additional indexes and fixes ( #6675 )
...
- Fix breakage related to the look-up job in Heroku deploys
- Add additional db indexes for performance optimisations
2023-03-15 19:52:02 +05:30
7331154f04
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-15 15:23:38 +05:30
Sojan Jose and GitHub
a99c37ae5e
chore: Resolve bundle audit ( #6671 )
...
- Update gems to resolve bundle Audit advisories
2023-03-15 14:05:54 +05:30
a4bcb7f154
chore(deps): bump @xmldom/xmldom from 0.7.5 to 0.7.9 ( #6666 )
...
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom ) from 0.7.5 to 0.7.9.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.7.5...0.7.9 )
---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 19:00:09 -07:00
Pranav Raj S and GitHub
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Sojan Jose and GitHub
e8a174f689
chore: Add sidekiq metrics to newrelic ( #6659 )
...
* chore: Add sidekiq stats to newrelic
* chore: add gemlock
2023-03-14 20:50:28 +05:30
Tejaswini Chile and GitHub
24f8befdf2
Fix: Add articles order in category show page ( #6662 )
2023-03-14 20:00:01 +05:30
Sojan Jose and GitHub
abe57873db
chore: Disable throwing Webhook exceptions to Sentry ( #6663 )
...
- There is little value in throwing the third-party webhook-related exceptions to sentry. Let's rather write it to logs instead.
2023-03-14 17:40:40 +05:30
Nithin David Thomas and GitHub
cae3ac94cd
feat: Search improvements for conversations ( #6645 )
...
* feat: Shows search as a popover
* Reverts search from popover to page
* Fixes review comments on usability
* Fixes keyboard navigation issues
2023-03-14 13:09:43 +05:30
Sojan Jose and GitHub
da76537011
chore: Search optimisations ( #6644 )
...
- Strip search term before searching
- order messages by created_at desc
- order contacts by last_activity_at desc
- order conversations by created_at desc
- Search only resolved contacts
- Optimize resolved contacts query
ref: #6583
2023-03-13 19:10:31 +05:30
Sojan Jose and GitHub
7cbf1857e4
chore: Set statement timeout for Postgres ( #6641 )
...
By default, Rails does not set a timeout on database statements. For example, this will run for a full day, even if your ruby process goes away. But it's configurable in the database.yml with the statement_timeout variable.
Hence we are enforcing a 14s timeout by default. Migration commands inside chatwoot will run with a 10 minutes timeout. For specific cases like migrations, we can override this timeout using the environment variable POSTGRES_STATEMENT_TIMEOUT while starting a new rails console.
Test the timeouts from the rails console using.
```
ActiveRecord::Base.connection.execute("SELECT pg_sleep(15);")
```
ref: https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts#postgresql
ref: https://til.hashrocket.com/posts/b44baf657d-railspg-statement-timeout-
2023-03-13 18:34:18 +05:30
Tejaswini Chile and GitHub
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30
2e95d3a173
fix: Duplicate conversations and contacts WA and Brazil numbers ( #6222 )
...
Resolves issue when receiving a message from Brazil Whatsapp number.
Fixes : #5840
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-13 13:20:53 +05:30
Tejaswini Chile and GitHub
c9b63ae8eb
fix: hook exception for empty hook ( #6646 )
2023-03-10 16:40:15 +05:30
Tejaswini Chile and GitHub
f2684545d9
fix: Handle dialogflow hook without setting and credentials ( #6638 )
2023-03-09 20:11:08 +05:30
Tejaswini Chile and GitHub
fbdc79df76
Fix: skip invalid access token from sentry ( #6639 )
2023-03-09 16:28:45 +05:30
Tejaswini Chile and GitHub
54b7c98795
fix: Warn Facebook error code 100-2018218 ( #6632 )
2023-03-09 13:51:10 +05:30
Tejaswini Chile and GitHub
757e1bb1f7
fix: String interpolation ( #6635 )
2023-03-09 13:50:26 +05:30
Shivam Mishra and GitHub
4673cf8cf1
fix: timing in the API ( #6633 )
...
* fix: timing in the API
* test: fix params
2023-03-09 00:40:38 +05:30
dd8f8fc845
chore: Disable error tracking for Whatsapp error webhooks ( #6627 )
...
https://developers.facebook.com/docs/whatsapp/on-premises/webhooks/components
We are not going to handle the WhatsApp error component webhook event.
https://chatwoot-p3.sentry.io/issues/3957884597/?project=4504723538771968&query=is%3Aunresolved&referrer=issue-stream
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 20:50:59 +05:30
c20410f3f4
feat: Ability to update CSAT over Client APIs ( #6470 )
...
This PR allows updating CSAT over Client APIs.
ref: #6328
Co-authored-by: Cristian Duta <Cristian.Duta@ti8m.ch >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 18:42:49 +05:30
Sojan Jose and GitHub
9bc0f67f54
feat: Add specs for WHATSAPP_CLOUD_BASE_URL env variable ( #6630 )
...
ref: #6622
2023-03-08 18:38:54 +05:30
Clairton Rodrigo Heinzen and GitHub
eb4da33cdc
feat: Ability to customize the base url for Whatsapp Cloud Service ( #6622 )
...
Configure a custom endpoint for Whatsapp Cloud Service via `WHATSAPP_CLOUD_BASE_URL`.
refs: #5142
2023-03-08 18:23:25 +05:30
0fe05dc1b9
feat: add trigram index to tags ( #6615 )
...
Fixes : chatwoot/product#796
This migration adds a trigram index to the tags table on the name column. This is used to speed up the search for tags by name, this is a heavy sub-query when generating reports where labels are involved.
Trigram indexes are used to speed up LIKE queries; they are not used for equality queries. This is because the index is not a btree index, it is a GIN index. This means that the index is not ordered and so cannot be used for equality queries.
Read more: https://www.postgresql.org/docs/current/pgtrgm.html
The index is created concurrently: https://thoughtbot.com/blog/how-to-create-postgres-indexes-concurrently-in
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-08 18:11:07 +05:30
Sojan Jose and GitHub
d59fd6b747
chore: Ensure Template messages work even when bot is connected ( #6455 )
...
ref: #5592
2023-03-08 18:01:00 +05:30
Sojan Jose and GitHub
5166fd8948
chore: Update gems ( #6628 )
...
- Updating gems based on ruby advisory warnings
2023-03-08 17:40:21 +05:30
5214be67c7
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-08 14:00:00 +05:30
d6f3643bf0
fix : Meta tags input in help center clears the input value after clicking outside ( #6552 )
...
* chore: supports preserving input value after clicking out
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* chore: supports tag addition on blur
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* feat: use search-change instead of vue-multiselect refs
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-07 19:27:10 +05:30
Tejaswini Chile and GitHub
9c9183a352
chore: spec ensuring first_reply_created doesn't trigger automations
...
Specs to ensure that first_reply_created event doesn't trigger automations
ref: #6618
2023-03-07 17:40:17 +05:30
c88792f4a3
feat: add Conversation traffic heatmap ( #6508 )
...
* feat: add heatmap component
* feat: add heatmap component
* feat: add dummy heatmap
* refactor: compact tiles
* feat: allow hour
* feat: wire up heatmap query
* feat: allow arbritrary number of weeks
* feat: update position of the widget
* chore: update heatmap title
* refactor: move traffic heatmap to overview
* chore: add comment for perf
* feat: add reconcile logic for heatmap fetching
Fetching the data for the last 6 days all the time is wasteful
So we fetch only the data for today and reconcile it with the data we already have
* refactor: re-org code for new utils
* feat: add translations
* feat: translate days of the week
* chore: update chatwoot utils
* feat: add markers to heatmap
* refactor: update class names
* refactor: move flatten as a separate method
* test: Heatmap Helpers
* chore: add comments
* refactor: method naming
* refactor: use heatmap-level mixin
* refactor: cleanup css
* chore: remove log
* refactor: reports.js to use object instead of separate params
* refactor: report store to use new API design
* refactor: rename HeatmapHelper -> ReportsDataHelper
* refactor: separate clampDataBetweenTimeline
* feat: add tests
* fix: group by hour
* feat: add scroll for smaller screens
* refactor: add base data to reconcile with
* fix: tests
* fix: overflow only on smaller screens
* feat: translate tooltip
* refactor: simplify reconcile
* chore: add docs
* chore: remoev heatmap from account report
* feat: let Heatmap handle loading state
* chore: Apply suggestions from code review
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* feat: update css
* refactor: color assignment to range
* feat: add short circuit
* Update app/javascript/dashboard/routes/dashboard/settings/reports/components/Heatmap.vue
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-07 09:01:58 +05:30
Tejaswini Chile and GitHub
2abc57300c
fix: Add a check for automation_created message in FIRST_REPLY_CREATED event ( #6618 )
2023-03-06 17:47:35 +05:30
Wojtek and GitHub
9c6eb8b03d
chore: Fix the comment in schedule.yml ( #6606 )
2023-03-03 10:22:25 -08:00
88ed028a06
feat: Revamps search to use new search API's ( #6582 )
...
* feat: Revamps search to use new search API's
* Fixes search result spacing
* Fixes message result
* Fixes issue with empty search results
* Remove console errors
* Remove console errors
* Fix console errors, canned responses
* Fixes message rendering on results
* Highlights search term
* Fixes html rendering for emails
* FIxes email rendering issues
* Removes extra spaces and line breaks
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-03-03 20:58:21 +05:30
2a385f377c
chore: Use markdown-it instead of marked ( #6123 )
...
* chore: Use markdown-it instead of marked
* Adds styling for markdown rendered content
* fixes codeclimate issue
* Fixes blockquote styles for widget in darkmode
* fix: issue block quote color issue in light mode
* fix: issue block quote color issue in light mode
* Fixes blockquote color in dark mode
* Remove usage of dark mode mixin in user bubble
* chore: code clean up
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-03-03 13:26:54 +05:30
Tejaswini Chile and GitHub
ec04ddc725
Fallback name branch ( #6591 )
2023-03-03 12:26:59 +05:30
Tejaswini Chile and GitHub
60fee519bd
Exception tracker with account ( #6603 )
2023-03-03 12:14:44 +05:30
Sivin Varghese and GitHub
a685e065da
fix: Fixes assignee and inbox name spacing issues ( #6589 )
2023-03-02 22:00:43 +05:30
Tejaswini Chile and GitHub
a4fc0eef4b
fix: Exception tracking for dialogflow bot service ( #6593 )
2023-03-02 21:33:07 +05:30
Shivam Mishra and GitHub
a6405ea339
fix: migration script to run on all reporting events ( #6590 )
...
* fix: migration script to run on all reporting events
* fix: don't update user_id if it is already present
* refactor: create a new migration
* feat: update schema
* feat: ignore events with bot handoff
* feat: prefetch conversations with handoff events
* Revert "feat: update schema"
This reverts commit 25ed2856e62655f5f1db14fd0cffad3a69d0b1fb.
* feat: update schema
* refactor: separate method get_conversations_with_bot_handoffs
* refactor: cognitive complexity
* refactor: early return if last_bot_reply is blank
* feat: add async_database_migration queue
* feat: update queue priority
2023-03-02 19:03:31 +05:30
Sojan Jose and GitHub
b185059681
chore: Handle APM variables being empty ( #6594 )
...
- handle the case where the system fails to start when empty APM environment variables are present
2023-03-02 16:00:16 +05:30
89c391e7c0
fix: Clicking contact name in conversation should open contact details panel ( #6580 )
...
* chore: support panel trigger on contact name click
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update ConversationHeader.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-03-02 13:16:57 +05:30
Pranav Raj S and GitHub
9e8eb293e9
fix: Allow integration apps to be listed by an agent ( #6587 )
...
* fix: Allow integration apps to be listed by an agent
* Fix rubocop
2023-03-02 13:02:21 +05:30
Tejaswini Chile and GitHub
61d0a63bf7
Fix: product#804: email sender improvement ( #6579 )
2023-03-02 10:57:14 +05:30
Tejaswini Chile and GitHub
f1827c82fd
Update contact create swagger ( #6576 )
2023-03-01 20:24:21 +05:30
Vishnu Narayanan and GitHub
d870b0815a
feat: Audit log APIs ( #6434 )
...
- Adds the appropriate APIs for Audit Logs.
ref: #6015
2023-03-01 20:02:58 +05:30
Nithin David Thomas and GitHub
daf17046e9
feat: Creates component to display conversation search results ( #6575 )
...
* feat: Creates component to display conversation search results
* Fixes minor bugs
2023-03-01 19:11:10 +05:30
c8cdff8bc4
feat: Creates component to show contact search results ( #6571 )
...
* feat: Creates component to show contact search results
* Refactors unused code
* Review fixes
* Update app/javascript/dashboard/modules/search/components/SearchResultContactItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-01 18:26:29 +05:30
34a2486e9c
chore: Support plus forwarding in email channel ( #6482 )
...
- Support for plus forwarding in the email addresses for email channels
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-01 15:42:48 +05:30
40e81c63ad
chore: New Crowdin updates ( #6566 )
...
- Pulling the latest translation updates from Crowdin.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-01 14:35:04 +05:30
Sojan Jose and GitHub
c9c3ac4b44
chore: Load only required APMs ( #6497 )
...
- Disable requiring the gems for all the APMs
- Switch to selectively requiring them.
2023-03-01 14:31:51 +05:30
Sojan Jose and GitHub
4c921d3d0e
chore: fix flaky tests ( #6569 )
...
- fixing flaky test in search service spec
2023-03-01 11:44:16 +05:30
Pranav Raj S and GitHub
e5090fcdc7
fix: Show only categories where published articles count > 0 ( #6567 )
2023-03-01 11:02:54 +05:30
Sivin Varghese and GitHub
0a993978ba
bug: Bulk actions Assign agent is not working ( #6568 )
2023-03-01 10:53:40 +05:30
Sojan Jose and GitHub
d4e7eaecce
feat: New APIs for search ( #6564 )
...
- Adding new API endpoints for search
- Migrations to add appropriate indexes
2023-02-28 22:00:36 +05:30
Sivin Varghese and GitHub
9bd47588fc
bug: Fixes i18n is not working on the help center dashboard ( #6562 )
2023-02-28 16:12:08 +05:30
d5a2756462
feat: Add the option for consent form ( #6511 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-02-28 13:57:05 +05:30
Vishnu Narayanan and GitHub
42d9b6ffed
chore: upload log artifact in nightly gh action ( #6513 )
2023-02-28 12:18:06 +05:30
Chatwoot Bot and GitHub
04f30e3033
chore: Update translations ( #6534 )
2023-02-27 18:15:34 -08:00
Pranav Raj S and GitHub
69a1c4527f
fix: Fix i18n issues with help center ( #6559 )
2023-02-27 17:45:57 -08:00
Pranav Raj S and GitHub
b141fc1289
fix: Fetch categories by locale ( #6557 )
2023-02-27 09:12:14 -08:00
Tejaswini Chile and GitHub
ce807d3251
fix: Condition based backend validation ( #6554 )
2023-02-27 20:22:07 +05:30
Tejaswini Chile and GitHub
b76fda53a2
fix: Email subject automation issue ( #6533 )
2023-02-27 18:33:11 +05:30
Sivin Varghese and GitHub
eb55ff5c9b
chore: Adds the ability to automatically initialize the RTL direction ( #6531 )
2023-02-27 12:03:40 +05:30
Sivin Varghese and GitHub
bfb445186d
chore: Refactor reports css for RTL ( #6537 )
2023-02-27 11:50:21 +05:30
7d4e6d0257
chore: Refactor tables in all screen for RTL ( #6525 )
...
* chore: Refactor tables in all screen for RTL
* Notification page footer
* Apply suggestions from code review
* chore: Minor ixes
* chore: Adds rtl comment
* chore: Code clean up for contact table
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-02-27 11:36:28 +05:30
06ffaa90fc
fix: bots included in time to response metrics ( #6409 )
...
* feat: ignore bots in avg_first_response_time
* feat: ignore bots in avg_first_response count
* feat: add bot handoff event
* feat: add handoff event listener and reporting event
* fix: ignore agent bot in first response
* refactor: calculate first_response with last handoff
* refactor: method defn order
* test: new reporting events
* feat: Revert "feat: ignore bots in avg_first_response count"
This reverts commit de1977c219a2e7a9180dd02272244fe3b3f7ce89.
* feat: Revert "feat: ignore bots in avg_first_response_time"
This reverts commit bb9171945d5e3b2f6015f4f96dd1b76b3efb6987.
* fix: business hour calculation for first_reply
* fix: event_start_time for first_response
* feat: add migration to recompute first_responses
* refactor: separate mute helpers for conversation
* refactor: rename migration
* refactor: migration script
* fix: migration typo
* fix: typo in query
* feat: update schema.rb
* Revert "feat: update schema.rb"
This reverts commit 353ef355f2d956dd219907bb66982dc90ca5d896.
* feat: update schema
* refactor: update events as a batch job
* fix: ignore the event if value is negative
* feat: don't create a new hand-off if it's already present
* refactor: break the action into smaller chunks
* refactor: update reporting listener spec
Handle the case to ensure extra bot handoffs are not created for a give conversation
* fix: import error
---------
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2023-02-25 09:48:48 +05:30
Sivin Varghese and GitHub
92d0398744
chore: Refactor conversation info panel for RTL ( #6526 )
...
* chore: Refactor conversation info panel for RTL
* chore: Adds comments
* chore: Settings header icon fix
* chore: Toggle layout switch
* chore: Border fix in chat list
2023-02-24 19:20:17 +05:30
Shivam Mishra and GitHub
76650c86cd
chore: add --force-exclusion option ( #6535 )
...
The pre-commit hook would format event those files excluded in the config. This is because the files were passed as args instead of the linter running on the entire project. When this happens, the exclude is not respect.
The --force-exclusion flag instructs our machine overlords to force exlucde files specified in the configuration Exclude even if they are explicitly passed as arguments.
2023-02-24 17:15:11 +05:30
Pranav Raj S and GitHub
c998c84bc0
fix: Name missing when email is collected via email hook ( #6530 )
...
- The name is not updated when the email is updated via the email collect message. This PR fixes that.
2023-02-24 15:24:53 +05:30
Tejaswini Chile and GitHub
26e760a281
Add sender_name in the SMTP reply mails ( #6528 )
2023-02-24 13:20:56 +05:30
9fcb29484d
chore: Refactor sidebar related changes for RTL ( #6519 )
...
* Woot tabs
* Refactor sidebar related RTL
* Context menu
* chore: Minor fixes
* chore: Dropdown
* chore: Toggle switch
* chore: sidebar fixes
* fix: spacing issues and minor fixes
* chore: Space slab to small
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-02-24 13:01:54 +05:30
Sivin Varghese and GitHub
6d4b894f95
chore: Refactor chat list for RTL ( #6524 )
...
* chore: Refactor chat list for RTL
* chore: Modal
* fix: Show more button margin
* chore: Inbox name fix
2023-02-24 12:35:06 +05:30
Pranav Raj S and GitHub
e7d0bf8a1b
chore: Display CSAT responses in the message itself. ( #6529 )
2023-02-23 18:11:46 -08:00
60f953cd27
chore: Refactor reports for RTL ( #6517 )
...
* Refactor reports
* fix: spacing issues and minor fixes
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-02-23 19:50:49 +05:30
Vishnu Narayanan and GitHub
71f2b27728
fix: ActiveRecord::RecordNotFound Couldn't find Channel::WebWidget ( #6523 )
...
* fix: resucue ActiveRecord::RecordNotFound for webwidget controller
* chore: add rails.log
2023-02-23 19:16:07 +05:30
Sivin Varghese and GitHub
6407745571
chore: Woot tabs for RTL( #6518 )
2023-02-23 18:18:28 +05:30
Sivin Varghese and GitHub
409466bbd5
chore: RTL configuration ( #6521 )
...
* chore: RTL configuration
* Adds scss file
2023-02-23 17:50:44 +05:30
87aabfbb9a
chore: Refactor integrations pages for RTL ( #6516 )
...
* Refactor integrations
* Adjust spacing for integration item
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-02-23 17:29:28 +05:30
Sivin Varghese and GitHub
fdf8b3f369
chore: Refactor utility files for RTL ( #6515 )
...
* Chore: Refactor for RTL
* Chore: mInor fixes
* minor fixes
2023-02-23 16:59:48 +05:30
Nithin David Thomas and GitHub
2674130714
chore: Refactors chatlist header css to work with RTL ( #6520 )
...
authored by 1277421+nithindavid@users.noreply.github.com
2023-02-23 16:45:56 +05:30
Clairton Rodrigo Heinzen and GitHub
8935933266
fix: First attachment with caption for whatsapp channel ( #6486 )
2023-02-22 18:20:10 +05:30
cd6a836bf6
fix: Resolves icelandic locale not shown properly on UI ( #6505 )
...
Closes #6484
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
2023-02-22 15:40:48 +05:30
b905d4854a
fix: Access token should be hidden/masked by default in Agent Dashboard ( #6492 )
...
Supports masking/unmasking sensitive data such as API Tokens in the agent dashboard.
Fixes : #6322
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-02-21 19:19:15 +05:30
aff97bff26
feat: Supports masking tokens in super admin ( #6491 )
...
Supports masking/unmasking sensitive data such as API Tokens in the super admin dashboard.
ref: #6322
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com >
2023-02-21 17:50:55 +05:30
Afonso Lage and GitHub
e3d9a0441d
chore: Bumped Ruby version on codespace image to 3.1.3 ( #6490 )
...
- Bumped Ruby version on codespace docker image to match the new Ruby version 3.1.3, which is required since from 2.14.
2023-02-21 17:05:46 +05:30
930863b25b
fix: sentry CHATWOOT-37A ActiveRecord::RecordNotUnique ( #6496 )
...
* fix: sentry CHATWOOT-37A #6457
* chore: add spec
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-02-21 09:34:51 +05:30
62de25960c
feat: Integrate LogRocket ( #6494 )
...
* feat: install logrocket
* feat: allow log rocket
* feat: enable vuex log-rocket
* feat: integrate vuex with log rocket
* feat: add log rocket identify
* fix: identify if log rocket is initialized
---------
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2023-02-21 08:42:45 +05:30
Vishnu Narayanan and GitHub
26f164d6a0
fix: foss_spec github action ( #6495 )
...
* fix: foss_spec gh action
* chore: upload log artifact in foss_spec gh action
* chore: ping foss_spec gh action runner os version to ubuntu-20.04
* fix: set nodeversion to 16
2023-02-20 23:37:41 +05:30
Nithin David Thomas and GitHub
c9242fac9e
fix: Warning in conversations page from participants ( #6479 )
2023-02-17 08:44:16 -08:00
Pranav Raj S and GitHub
b479b7c6d7
chore: Enable push permissions if available ( #6474 )
2023-02-17 08:43:28 -08:00
Nithin David Thomas and GitHub
4d719a8fe3
fix: Add a settings link for portals in sidebar ( #6475 )
2023-02-17 17:48:16 +05:30
Pranav Raj S and GitHub
71d8195845
fix: Add scoped CSS for participants ( #6472 )
2023-02-16 09:57:11 -08:00
59964a4f41
swagger: fixed invalid specification ( #5485 )
...
Currently, the swagger spec doesn't follow the Swagger 2.0 specification. So, I facing 4 errors when trying generate the Golang client for chatwoot.
Due to the spec, the binary field should use format: binary beside type: string
Signed-off-by: Giau. Tran Minh <hello@giautm.dev >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-02-16 17:47:26 +05:30
Sojan
8c49a2efc5
Merge branch 'release/2.14.0' into develop
2023-02-16 13:42:32 +05:30
Sojan
0e3eb51d7a
Merge branch 'release/2.14.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-02-16 13:42:21 +05:30
Sojan
0bbc8ebd6f
Bump version to 2.14.0
2023-02-16 13:41:10 +05:30
ca1adb9960
feat: conversation participants ( #4145 )
...
Fixes #241
Fixes : chatwoot/product#648
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-16 13:35:06 +05:30
7be2ef3292
feat: Google OAuth for login & signup ( #6346 )
...
This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account.
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-02-16 11:12:02 +05:30
2c8ecbeceb
feat: Adds image attachment for help center articles ( #6426 )
...
* Added one more endpoint to attach tempfile and get logo
* Added one more endpoint to attach tempfile and get logo
* spec fixes
* Upload file for articles irrespective of the association
* Upload file for articles irrespective of the association
* Add multiple images with different keys
* feat: Adds image attachment for help center articles
* Adds validation for file upload
* Fixes space above image after adding to doc
* chore: Removed svg from file upload type
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Removes caption for the image
* Fixes woot prosemirror package version
* Update yarn.lock
* Update yarn.lock
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-15 21:11:32 -08:00
Pranav Raj S and GitHub
80784e3cab
feat: Add Google Translate API Integration ( #6454 )
2023-02-15 20:50:45 -08:00
Chatwoot Bot and GitHub
c12bdc8350
chore: Update translations ( #6449 )
2023-02-15 20:42:45 -08:00
Sojan Jose and GitHub
0888596b83
chore: Limit widget endpoint with rack attack ( #6465 )
...
ref: https://github.com/chatwoot/chatwoot/issues/1007#issuecomment-1427156094
2023-02-15 20:41:40 -08:00
7044eda281
chore: Add controllers for conversation participants ( #6462 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-02-15 16:33:31 -08:00
Pranav Raj S and GitHub
949ddf68ba
chore: Refactor the notification service for participants ( #6461 )
2023-02-15 14:14:56 -08:00
d6baa5db85
fix: Send attachments as multiple messages for whatsapp channel ( #6428 )
...
* fix: Send attachments as multiple messages for whatsapp channel
* Review fixes
* Fixes bug with whatsapp inbox check condition
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-15 12:53:20 -08:00
97b1b4c6f9
fix: Prevents duplicate action trigger on interactive messages ( #6448 )
...
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com >
2023-02-14 11:57:22 -08:00
Pranav Raj S and GitHub
98ff185d42
chore: Add formatting for the view count ( #6447 )
2023-02-13 14:29:14 -08:00
caca99a823
fix : Help Center article view count ( #6429 )
...
* fix: resolves issue with non updating article view count
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update articles_controller.rb
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-13 14:27:17 -08:00
Sojan Jose and GitHub
f0fbaacaf7
chore: Switch to csv-safe gem to avoid csv injection ( #6444 )
2023-02-13 13:38:36 -08:00
Chatwoot Bot and GitHub
ff9cadc9a0
chore: Update translations from Crowdin ( #6283 )
2023-02-13 13:34:53 -08:00
29025759d6
feat: Add webhook events for contact created, updated ( #6415 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-13 13:28:27 -08:00
Shivam Mishra and GitHub
ba69f4cd35
test: fix time spec breaking circle CI ( #6443 )
2023-02-13 18:35:09 +05:30
Sojan Jose and GitHub
5cbfcfbfa0
chore: Limit conversation resolution Job ( #6433 )
...
We will be adding a limit to the resolution job so that it is performed at a spaced interval. This will ensure there won't be a sudden spike in resource usage
fixes : chatwoot/product#707
2023-02-13 14:00:52 +05:30
Shivam Mishra and GitHub
a06a5a574a
fix: use innerText instead of innerHTML ( #6431 )
...
* refactor: use inner text instead of inner html
* refactor: use innerText instead of innerHTML
2023-02-10 17:20:15 +05:30
Pranav Raj S and GitHub
8db40f2d82
chore: Add chatwoot:on-message event ( #6425 )
2023-02-09 12:48:22 -08:00
53d5d2af3c
chore: Remove pagination from macros listing api ( #6419 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-02-09 16:56:37 +05:30
e18f4aeee9
fix: Text color bug on attachment bubble in widget ( #6399 )
...
* fix: Text color bug on attachment bubble
* chore: Fix file bubble text color issue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-02-09 16:50:11 +05:30
Tejaswini Chile and GitHub
c5b245977a
Added one more endpoint to attach tempfile and get logo ( #6407 )
2023-02-09 14:05:45 +05:30
0a7a5abec1
feat: Adds the ability to change WhatsApp API key ( #6348 )
...
This PR adds the ability to change the WhatsApp API key through the settings under the configuration section
Fixes : #6199
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-02-08 19:57:59 +05:30
Sojan Jose and GitHub
aab6b10b67
[Snyk] Fix for 9 vulnerabilities ( #6304 )
2023-02-08 18:29:41 +05:30
JanWarlen and GitHub
8a6f647027
fixBug: email notification error, Attachment Message without content ( #6408 )
2023-02-08 12:51:52 +05:30
Tejaswini Chile and GitHub
7c21cef467
Added event for conversation opened ( #6412 )
2023-02-08 12:05:22 +05:30
73d14f204e
feat: Add the ability to receive contact(vCard) on a WhatsApp inbox ( #6330 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-07 19:36:38 -08:00
Pranav Raj S and GitHub
bc96e5ed22
fix: Add defaults for the cc, bcc emails ( #6405 )
2023-02-06 18:12:45 -08:00
f8aa544aae
fix: order for canned response ( #6400 )
...
* feat: order canned response
Order canned responses by short_code match first and then with content
* Added specs
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-06 12:53:48 -08:00
Pranav Raj S and GitHub
d672aa357b
chore: Add subject to the slack message ( #6404 )
2023-02-06 12:42:06 -08:00
Pranav Raj S and GitHub
527bf593b1
fix: data.attachments is undefined for emails without body ( #6403 )
2023-02-06 11:45:15 -08:00
Muhsin Keloth and GitHub
5902c7a5e1
chore: Update user account availability status ( #6375 )
2023-02-06 11:07:31 -08:00
Sojan Jose and GitHub
6b839a0442
feat: Ability for super admin to impersonate a user ( #6382 )
2023-02-06 11:00:08 -08:00
brunosfg and GitHub
0a2d3130e0
Wrong Translation ( #6384 )
...
The "open action" translation would be "Abrir" (verb) instead of "Abertas" (which is the adjective).
2023-02-06 13:20:59 +05:30
8ac1cab27e
feat: Show contact created date in contact panel ( #6364 )
...
* feat: Show contact created date in contact panel
* Add created at in Contacts table
* Moves created at info as tooltip
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-02-04 10:40:23 +05:30
Sojan Jose and GitHub
38aee8d9ea
chore: Switch to web-push gem ( #6390 )
...
- The previous gem, `webpush` was last updated a while ago. Also, with the recent ruby upgrade, we needed a fix for zaru/webpush#106 . Hence switching to the `web-push` gem where the issues are fixed.
2023-02-03 18:55:22 +05:30
Vishnu Narayanan
46eeee7d92
Merge branch 'hotfix/2.13.1' into develop
2023-02-03 18:47:57 +05:30
Vishnu Narayanan
4ffe73a1ce
Merge branch 'hotfix/2.13.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-02-03 18:47:31 +05:30
Vishnu Narayanan
76b0279571
chore: Bump version to v2.13.1
2023-02-03 18:46:25 +05:30
Vishnu Narayanan
76731ae31a
chore: fix docker public assets issue #6341
2023-02-03 18:45:35 +05:30
Sojan Jose and GitHub
ef02fff71e
chore: Update Newrelic agent ( #6388 )
...
- update new relic agent to 8.15
2023-02-03 16:47:10 +05:30
Shubham Kumar and GitHub
51e0388779
feat: Skip gh thread lock gh action on forks ( #6381 )
2023-02-03 12:20:49 +05:30
30fcb47477
chore(deps): bump commonmarker from 0.23.6 to 0.23.7 ( #6342 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.6 to 0.23.7.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.6...v0.23.7 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 13:13:35 -08:00
Sivin Varghese and GitHub
84e46adf1c
fix: Cannot delete message with attachments without content ( #6378 )
2023-02-02 11:03:19 -08:00
Nithin David Thomas and GitHub
c9667190f6
fix: Increase font size for canned response list item ( #6380 )
2023-02-02 10:58:03 -08:00
Tejaswini Chile and GitHub
5cce04da78
Chore: specs for process_emails in message builder ( #6379 )
2023-02-02 18:36:52 +05:30
Divyansh Singh and GitHub
2030c2ebd6
fix: added cc and bcc email validation to message ( #6320 )
2023-02-02 17:32:04 +05:30
Tejaswini Chile and GitHub
2ab0b8552a
fix: Identity JSON response header ( #6326 )
2023-02-02 11:01:18 +05:30
Sojan Jose and GitHub
2d245cef91
chore: Enable language icelandic(is) ( #6373 )
2023-02-01 09:43:29 -08:00
Vishnu Narayanan and GitHub
992a367d93
fix: redis health status in superadmin panel ( #6363 )
2023-01-31 22:57:49 +05:30
Shivam Mishra and GitHub
e1e836cb59
chore: Run linters on staged files only ( #6347 )
...
- This PR speeds up the pre-commit hook to lint only the staged files instead of running it across all files as it does now.
2023-01-31 17:29:34 +05:30
4d92cafd3f
feat: Order articles by updated_at ( #6324 )
...
* feat: Order articles by updated_at
* Sort before pagination
---------
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-01-31 17:28:14 +05:30
ee3124cf84
fix: Uses woot-button in mention box ( #6317 )
...
* fix: Uses woot-button in mention box
* Style changes to fix mention box position
* Fixes review comments
* Fixes review comments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-31 16:25:24 +05:30
Vishnu Narayanan and GitHub
b1af814eab
feat: add chatwoot instance status in superadmin ( #6045 )
...
* feat: add chatwoot instance status in superadmin
* feat: add redis metrics to instance health page
* chore: fix rubocop
* chore: rescue redis no connection
* chore: add rspec
* chore: refactor
* feat: add instance health to /api
* chore: rescue postgres
* chore: fix spec
2023-01-30 18:37:51 +05:30
Nithin David Thomas and GitHub
747e6cacb9
fix: Fixes enter key sending text while mentions menu is active ( #6359 )
2023-01-30 16:59:22 +05:30
Muhsin Keloth and GitHub
024af909e3
feat: Add support of variables in macros and automation ( #6358 )
2023-01-30 13:17:33 +05:30
Tejaswini Chile and GitHub
6013cc9bea
fix: validate instagram story only while saving the message ( #6340 )
2023-01-30 13:03:59 +05:30
Pranav Raj S and GitHub
6bd4e8853b
fix: Update styles for canned responses modal ( #6350 )
2023-01-25 19:11:54 -08:00
Pranav Raj S and GitHub
5d331f0bb2
fix: Add missing timestamp in the real-time event ( #6349 )
...
* fix: Add missing timestamp in the real-time event
* Fix broken specs
2023-01-25 15:21:41 -08:00
b1ec67d110
chore: upgrade ruby to 3.1.3 ( #5555 )
...
* chore: update to ruby 3.1.3
* chore: ping docker version to alpine3.16 for nodev16.x
Starting with Node 17, nodejs switched to OpenSSL3. The docker builds
are installing node18.xx with alpine-3.1.3.
From Node.js 17's announcement post:
If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application
with Node.js 17, it’s likely that your application or a module you’re
using is attempting to use an algorithm or key size which is no longer
allowed by default with OpenSSL 3.0. A new command-line option,
--openssl-legacy-provider, has been added to revert to the legacy
provider as a temporary workaround for these tightened restrictions.
Looks like a webpack issue. This is fixed in webpacl 5+ and we are on
webpack4 at the moment.
Solutions
Upgrade webpack.
Pin nodejs version to be 16.x.x
Use --openssl-legacy-provider as a workaround.
Pin docker version to alpine3.16 branch to have node16.x by default
ref:
https://github.com/chatwoot/chatwoot/pull/5555#issuecomment-1379778532
* chore: update webmock
* chore: fix ruby gem path in dockerfile
* chore: switch to node16 in circleci
* chore: update ruby version in linux installer script
* chore: update ruby version in linux installer script
* chore: fix circleci
* chore: fix circleci
* feat: upgrade node version to 16.x in linux installer
* chore: update systemd files
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
2023-01-24 23:55:07 +05:30
Fayaz Ahmed and GitHub
b196492f23
fix: Remove whatsapp formats which do we do not support yet ( #6331 )
...
- Filters out all the templates where formats are either of these ['DOCUMENT', 'IMAGE', 'VIDEO']
2023-01-24 18:45:39 +05:30
Muhsin Keloth and GitHub
d9a1154977
feat: Support variables in canned response ( #6077 )
...
- Added the option to insert variables in canned responses.
- Populate variables on selecting a canned response.
- Show a warning if there are any undefined variables in the message before sending a message.
2023-01-24 13:06:50 +05:30
cab409f3ef
chore: Fixes grammatical errors with content on inbox page ( #6308 )
...
* Fixes #6307
- Typo fixed.
- Period added.
* Update app/javascript/dashboard/i18n/locale/en/inboxMgmt.json
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com >
2023-01-24 11:46:26 +05:30
Sivin Varghese and GitHub
af5c71e060
chore: Adds the ability to see the existing filter when we apply a new filter ( #6310 )
...
* feat: Adds existing filter to advance filter modal when we apply a filter
2023-01-24 09:10:17 +05:30
Sivin Varghese and GitHub
9782f71bdf
feat: Shows the last activity, created at timestamp in the same row ( #6267 )
2023-01-23 21:50:16 +05:30
487d90207b
fix: Update node version in setup_20.04.sh ( #5986 )
...
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2023-01-23 16:34:45 +05:30
Tejaswini Chile and GitHub
551dd81d21
chore: change the execution flow for deleting the invalid instagram story ( #6313 )
...
* fix: change the execution flow for deleting the invalid instagram story
* fix: bundle audit update fix
2023-01-23 16:23:35 +05:30
Fayaz Ahmed and GitHub
4deff9ce77
Break words in phones - iPhones etc ( #6287 )
2023-01-23 11:36:11 +05:30
Pranav Raj S and GitHub
3b1036e3d6
chore: Add an event for conversation filter ( #6306 )
2023-01-19 14:07:02 -08:00
Sivin Varghese and GitHub
a745068473
chore: Adds a settings button to the notification settings from the notification popup ( #6233 )
2023-01-19 18:53:42 +05:30
Shivam Mishra and GitHub
845311a539
chore: add stale PR bot ( #6289 )
...
The PR only adds the stale label and puts a comment, does not close them (yet)
2023-01-19 18:53:21 +05:30
Sojan Jose and GitHub
e2ccac78d2
fix: Error when unsupported Whatsapp message status ( #6295 )
...
fixes error when unsupported WhatsApp message status
2023-01-19 18:52:38 +05:30
Shivam Mishra and GitHub
1193cf1847
feat: ignore errors from extensions ( #6297 )
...
This PR ignores errors from chrome and safari extensions, and any local scripts by developers
2023-01-19 18:49:57 +05:30
fgrep and GitHub
a86c2705e9
Fix: more events tracking for SaaS ( #6234 ) ( #6298 )
2023-01-19 17:19:27 +05:30
Fayaz Ahmed and GitHub
905fca7869
fix: Whatsapp template picker bug
...
- Enforce lowercasing the template status value before checking the value
2023-01-19 16:40:46 +05:30
Fayaz Ahmed and GitHub
6151e42bdf
Filter and return only approved templates ( #6288 )
2023-01-19 13:40:50 +05:30
Tejaswini Chile and GitHub
83ea2a87e2
Microsoft Re-authorization flow ( #6268 )
2023-01-19 01:06:01 +05:30
Prithvi Tharun and GitHub
8d60bd9970
Fixes #3655 ( #6264 )
2023-01-18 14:45:37 +05:30
Shivam Mishra and GitHub
37b9816827
feat: more events tracking for SaaS ( #6234 )
2023-01-17 21:53:40 -08:00
Pranav Raj S and GitHub
1df1b1f8e4
fix: Update the inbox id if changed ( #6272 )
2023-01-18 00:09:17 +05:30
Sojan
0b595211e3
Merge branch 'release/2.13.0' into develop
2023-01-17 18:20:54 +05:30
Sojan
e054c2a32f
Merge branch 'release/2.13.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-01-17 18:20:45 +05:30
Sojan
dbe27e081e
Bump version to 2.13.0
2023-01-17 18:19:12 +05:30
Pranav Raj S and GitHub
f6a56edf86
feat: Add the UI flow for Microsoft Oauth ( #6243 )
2023-01-17 17:48:14 +05:30
Jordan Brough and GitHub
66cb0ee865
chore: Refactor code in ApplicationMailbox ( #5857 )
...
Refactor code in ApplicationMailbox
* short-circuiting as soon as we get a "true" value in some cases
* using ".exists?" instead of instantiating an ActiveRecord object
* using "match?" instead of "match"
2023-01-17 17:30:03 +05:30
Prithvi Tharun and GitHub
74b9c79f49
Fixes #3670 ( #6265 )
...
Success toast content for copy action made generic that fits all the context and scenarios.
2023-01-17 15:45:59 +05:30
Jan Matuszewski and GitHub
d46f96e45c
Fix performance of report builder spec ( #6024 )
2023-01-17 09:27:50 +05:30
Chatwoot Bot and GitHub
032699930c
chore: Update translations from Crowdin ( #6240 )
2023-01-16 16:07:00 -08:00
Pranav Raj S and GitHub
16085fdfbd
fix: Add missing translations ( #6263 )
2023-01-16 15:43:18 -08:00
00cbdaa8ca
Feat: Support for Microsoft Oauth in Email Channel ( #6227 )
...
- Adds the backend APIs required for Microsoft Email Channels
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-01-17 02:39:05 +05:30
Pranav Raj S and GitHub
d0972a22b4
chore: Update styles for canned response ( #6262 )
2023-01-16 12:40:13 -08:00
e707778490
feat: Revamp editor for message and article ( #6145 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-01-16 09:08:47 -08:00
0d894e0abc
fix: Add animation to live chat trigger button ( #6252 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-16 09:07:10 -08:00
Sojan Jose and GitHub
72f206025a
chore: Fix connection pool ( #6005 )
...
We want to allocate as much database connection to the pool to match the sidekiq concurrency configuration.
ref: https://maxencemalbois.medium.com/the-ruby-on-rails-database-connections-pool-4ce1099a9e9f
fixes : #6004
2023-01-16 17:50:23 +05:30
70cb0a8ed9
fix: Use account locale as the default locale on widget ( #6248 )
...
* fix: Use account locale as the default locale on widget
* Refactors check for invalid locale
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-01-16 12:14:35 +05:30
d488a42664
feat: Allow disconnecting agent bots ( #6245 )
...
* Allow disconnecting the bot
* Code Climate fix
* Show error message if exists
* Codeclimate test - rename file
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-13 22:28:45 +05:30
ooooooo_q and GitHub
9e4a5d028c
fix: Path traversal at SwaggerController ( #6205 )
2023-01-12 23:44:21 +05:30
Pranav Raj S and GitHub
9bbadc2388
chore: Create a resuable component for selecting a channel ( #6241 )
2023-01-11 21:13:51 -08:00
Sojan Jose and GitHub
ad782e450e
fix: Stop processing broken liquid tags ( #6236 )
2023-01-11 17:41:02 +05:30
Fayaz Ahmed and GitHub
98eb20d600
Use the table-layout: fixed prop ( #6232 )
2023-01-11 11:37:30 +05:30
0ba5e47308
chore: Update the widescreen layout button icon and background ( #6217 )
...
* Update the button icon and background
* Use the woot-button
* Minor css cleanup
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-01-11 00:40:48 +05:30
d041f5fc9f
fix: Fixes inconsistent spacing in message bubble ( #6219 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-10 20:51:21 +05:30
Sivin Varghese and GitHub
14382ad881
fix: Not able to create a portal if the custom domain is empty ( #6224 )
2023-01-10 20:50:35 +05:30
Sojan Jose and GitHub
c16624dc5d
fix: Duplicate messages in Whatsapp Channel ( #6220 )
...
fixes : #5433
2023-01-10 18:57:34 +05:30
Fayaz Ahmed and GitHub
60f16e8954
Use woot-editor instead of native textarea ( #6216 )
2023-01-10 17:50:16 +05:30
078ff615ee
feat: Add support for template variables in messages content ( #6215 )
...
Fixes : #6078
Co-authored-by: Sojan <sojan@pepalo.com >
2023-01-10 16:00:34 +05:30
Sivin Varghese and GitHub
e7a52c3a46
fix: If desktop view is false then the view not getting updated ( #6214 )
...
* fix: Desktop view is false then the view not getting updated
* chore: Handle sidebar in small screen
* fix: Scroll issue in touch screens
2023-01-10 15:36:16 +05:30
add33d032c
feat: Adds automation view for assigning an agent ( #6131 )
...
* feat: Adds automation view for assigning an agent
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-01-10 11:35:56 +05:30
Sojan Jose and GitHub
28c8023bad
chore: Update translations ( #6211 )
2023-01-09 21:23:11 -08:00
817ec4c50f
fix: Fix the default article sidebar state ( #6191 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-09 20:16:53 -08:00
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-01-09 11:52:31 -08:00
24cf7af30b
feat: Add video call option with Dyte in the dashboard ( #6207 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-09 11:49:27 -08:00
0a65a233d7
fix: Invalid portal domain validation ( #6166 )
...
* fix: Invalid portal domain validation
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-01-09 13:42:19 +05:30
4172cb4b23
feat: Uses expanded layout as default if the breakpoint is less than or equal to 992px ( #6134 )
...
* feat: Uses expanded layout as default if the breakpoint is below 992px
* fixes: ES lint issue
* chore: Review fixes
* chore: Hide toggle sidebar menu in profile settings
* chore: Fix login screen
* Update app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* chore: Review fixes
* chore: Review fixes
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-01-09 13:26:31 +05:30
Pranav Raj S and GitHub
cbfbe6dbad
feat: Add backend APIs for Dyte integration ( #6197 )
...
- The backend changes required for Dyte Integration.
2023-01-09 12:37:18 +05:30
Shivam Mishra and GitHub
50894fd591
fix: Add padding for an empty state ( #6190 )
2023-01-06 13:44:30 -08:00
Sojan Jose and GitHub
fbdc921ee5
chore: Fix sentry errors for Instagram channel ( #6189 )
...
fixes : #6188
2023-01-06 17:18:31 +05:30
3beafe31f8
chore(deps): bump express from 4.17.1 to 4.18.2 ( #6030 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.17.1 to 4.18.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.17.1...4.18.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-01-06 16:01:43 +05:30
74c6db37b3
fix: Fixes broken style in automation page ( #6171 )
...
* fix: Fixes broken style in automation page
* Fix the position of drag handle
Co-authored-by: fayazara <fayazara@gmail.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2023-01-06 15:37:28 +05:30
Hricha Shandily and GitHub
4bbd56f87d
chore: Update error message in Custom Attributes ( #6187 )
2023-01-06 13:58:05 +05:30
Shivam Mishra and GitHub
b9ae664d47
fix: Update incorrect label for team selection ( #6180 )
2023-01-05 19:35:11 -08:00
Sojan Jose and GitHub
269ad8f697
Fix: Errors in Heroku deployments ( #6182 )
...
Due to 86ca7f4a8d the redis configuration in Heroku deployments was breaking, temporarily reverting the part until we identify a fix.
fixes : #5938
2023-01-05 18:36:21 +05:30
9cb75b55f7
chore(deps): bump json5 from 1.0.1 to 1.0.2 ( #6168 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 14:30:41 +05:30
Pranav Raj S and GitHub
fc06ee7726
fix: Update the page size to 15, change default sort to last_activity ( #6177 )
2023-01-04 15:39:03 -08:00
Sojan Jose and GitHub
88053c60c7
chore: Update translations ( #6160 )
2023-01-04 11:03:02 -08:00
OMAR.A and GitHub
7b5f1e4876
feat: Support for telegram incoming location message ( #6158 )
...
Support for incoming location messages in the telegram channel.
ref: #3398
2023-01-04 16:11:54 +05:30
c88ea257d5
chore(deps): bump httparty from 0.20.0 to 0.21.0 ( #6164 )
...
Bumps [httparty](https://github.com/jnunemaker/httparty ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/jnunemaker/httparty/releases )
- [Changelog](https://github.com/jnunemaker/httparty/blob/master/Changelog.md )
- [Commits](https://github.com/jnunemaker/httparty/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: httparty
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:35:57 +05:30
Pranav Raj S and GitHub
dd0d221cfc
2022 -> 2023
2023-01-01 22:12:22 -08:00
Sojan Jose and GitHub
ab87f9d6c0
chore: Update translations ( #6159 )
2023-01-01 21:40:15 -08:00
e3f13dd455
choreButtons must have discernible text ( #6132 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-01-01 21:39:38 -08:00
Pranav Raj S
4941c93cb0
Merge branch 'develop'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-12-30 13:58:18 -08:00
Pranav Raj S
c11eebb83a
Bump version to v2.12.1
2022-12-30 13:54:37 -08:00
Pranav Raj S
69bed3e08d
fix: Update unread_messages count in WhatsApp inboxes ( #6154 )
...
* fix: Update unread_count from backend instead of computing on the frontend
* Fix spec
* Remove status indicator on private notifications
* CodeClimate fix
* CodeClimate
2022-12-30 13:54:37 -08:00
Sojan Jose and Pranav Raj S
cf48610f2f
chore: Update translations ( #6152 )
2022-12-30 13:54:37 -08:00
Nithin David Thomas and Pranav Raj S
b179d1b563
chore: Refactor shortcuts modal to use modal component ( #6151 )
...
* chore: Refactor SHortcuts modal to use modal component
* Typography changes
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
34e509b9b7
feat: Adds the ability to play audio alert every 30 sec ( #6150 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-30 13:54:37 -08:00
Pranav Raj S
6ffb7fe34e
chore: Refactor audio notification helper ( #6148 )
2022-12-30 13:54:37 -08:00
Pranav Raj S
297e144f33
fix: Update account limit selection logic ( #6149 )
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
02a687b226
feat: Add new audio alert options ( #6141 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-30 13:54:37 -08:00
Sojan Jose and Pranav Raj S
10a03cae24
chore: Update translations ( #6129 )
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
e446a12ebb
chore: Fixes issue showing the CSAT error message ( #6136 )
...
Approved by Muhsin
2022-12-30 13:54:37 -08:00
Nithin David Thomas and Pranav Raj S
00eabe07a4
fix: Expand title height of textarea on load ( #6103 )
2022-12-30 13:54:37 -08:00
Sojan Jose and Pranav Raj S
78251f54c9
chore: Update translations ( #6113 )
2022-12-30 13:54:37 -08:00
d55988a6e0
feat: Add the ability to toggle the secondary sidebar in all display breakpoints ( #6118 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-30 13:54:37 -08:00
Muhsin Keloth and Pranav Raj S
37aa602c61
chore: Increase the max concurrent number of devices ( #6121 )
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
aba5a1a131
chore: Helpcenter improvements ( #6098 )
2022-12-30 13:54:37 -08:00
94ca2fd229
feat: Send audio longer than 10 seconds and Add Prop audio-record-format ( #6108 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-12-30 13:54:37 -08:00
Pranav Raj S
a3e5aad753
fix: Update the logic to show read status for web ( #6107 )
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
8e13a06833
fix: Use canned response menu from the editor in contact messages ( #6109 )
2022-12-30 13:54:37 -08:00
Sivin Varghese and Pranav Raj S
38f9c3940b
chore: Hide inbox name only has one inbox ( #6115 )
2022-12-30 13:54:37 -08:00
Pranav Raj S
e026dc03e0
Merge branch 'release/2.12.1'
2022-12-30 13:49:57 -08:00
Pranav Raj S
d911d38391
Bump version to v2.12.1
2022-12-30 13:49:09 -08:00
Pranav Raj S and GitHub
5d1be70e67
fix: Update unread_messages count in WhatsApp inboxes ( #6154 )
...
* fix: Update unread_count from backend instead of computing on the frontend
* Fix spec
* Remove status indicator on private notifications
* CodeClimate fix
* CodeClimate
2022-12-30 13:13:33 -08:00
Sojan Jose and GitHub
12b45f5c76
chore: Update translations ( #6152 )
2022-12-30 09:38:28 -08:00
Nithin David Thomas and GitHub
9f842bcd59
chore: Refactor shortcuts modal to use modal component ( #6151 )
...
* chore: Refactor SHortcuts modal to use modal component
* Typography changes
2022-12-30 22:26:16 +05:30
4fba9ef1fb
feat: Adds the ability to play audio alert every 30 sec ( #6150 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-29 22:16:58 -08:00
Pranav Raj S and GitHub
cd3b6ebf28
chore: Refactor audio notification helper ( #6148 )
2022-12-29 20:01:14 -08:00
Pranav Raj S and GitHub
11f6e6bc61
fix: Update account limit selection logic ( #6149 )
2022-12-29 19:37:36 -08:00
e5fd866a7c
feat: Add new audio alert options ( #6141 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-29 10:21:23 -08:00
Sojan Jose and GitHub
e5219df2b4
chore: Update translations ( #6129 )
2022-12-28 13:56:49 -08:00
Sivin Varghese and GitHub
98c289dc3e
chore: Fixes issue showing the CSAT error message ( #6136 )
...
Approved by Muhsin
2022-12-28 12:49:11 +05:30
Nithin David Thomas and GitHub
3e91765472
fix: Expand title height of textarea on load ( #6103 )
2022-12-22 14:14:30 -08:00
Sojan Jose and GitHub
1bf23055df
chore: Update translations ( #6113 )
2022-12-22 14:08:08 -08:00
2af337be10
feat: Add the ability to toggle the secondary sidebar in all display breakpoints ( #6118 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-22 14:07:11 -08:00
Muhsin Keloth and GitHub
dbb6c0a074
chore: Increase the max concurrent number of devices ( #6121 )
2022-12-22 19:13:54 +05:30
Sivin Varghese and GitHub
8c88344170
chore: Helpcenter improvements ( #6098 )
2022-12-22 18:51:24 +05:30
6a78254701
feat: Send audio longer than 10 seconds and Add Prop audio-record-format ( #6108 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-12-22 13:36:03 +05:30
Pranav Raj S and GitHub
26ada8b342
fix: Update the logic to show read status for web ( #6107 )
2022-12-21 09:58:56 -08:00
Sivin Varghese and GitHub
3c6bd2c8fd
fix: Use canned response menu from the editor in contact messages ( #6109 )
2022-12-21 16:01:50 +05:30
Sivin Varghese and GitHub
2c2c47d7fd
chore: Hide inbox name only has one inbox ( #6115 )
2022-12-21 13:31:53 +05:30
Sojan
34f7405689
Merge branch 'release/2.12.0' into develop
2022-12-19 22:48:01 +05:30
Sojan
56b1388339
Merge branch 'release/2.12.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-12-19 22:47:50 +05:30
Sojan
3ebfb3a140
Bump version to 2.12.0
2022-12-19 22:44:43 +05:30
Pranav Raj S and GitHub
2dfe38ae4d
chore: Cleanup feature flags ( #6096 )
...
- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
2022-12-19 22:38:30 +05:30
Sojan Jose and GitHub
ca88eb55f4
chore: Update translations from Crowdin
2022-12-19 22:34:49 +05:30
Nithin David Thomas and GitHub
d1a26e80f4
fix: Hide show more labels button when there's no overflow ( #6097 )
2022-12-19 08:54:20 -08:00
022d0b0ea3
chore: Enable prototyping classes for foundation ( #5945 )
...
* chore: Enable prototyping classes for foundation
* Marcros css clean up
* Imports utilities separately
* Fix macro position
* Changes global margin
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-12-19 14:11:11 +05:30
Tejaswini Chile and GitHub
5541d9e00b
Fix: automation email improvement ( #6061 )
2022-12-19 13:21:33 +05:30
Pranav Raj S and GitHub
38587b3aa1
fix: Update Slack integration to fix message delivery issues ( #6093 )
2022-12-17 16:41:11 -08:00
4d2b7c37a0
feat: Display labels in the conversation card ( #6088 )
...
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com >
2022-12-17 13:11:28 -08:00
aaacf9d4d2
feat: Allow users to disable marking offline automatically ( #6079 )
...
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2022-12-16 11:59:27 -08:00
Sivin Varghese and GitHub
82d3398932
fix: Add improvements to the Help Center module ( #6081 )
2022-12-16 11:41:55 -08:00
9106f6278d
fix: Allow editing label and placeholder for standard attributes in pre chat form ( #6067 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-12-15 09:36:18 -08:00
f8e6308caf
chore: [Snyk] Fix for 7 vulnerabilities ( #6075 )
...
* fix: Gemfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168317
- https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168318
- https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168649
- https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168316
- https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168646
- https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168647
- https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168648
* chore: update gemlock
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2022-12-15 16:40:50 +05:30
Sojan Jose and GitHub
72fcaa739c
chore: Update translations from Crowdin
2022-12-15 14:11:15 +05:30
9292653bf9
fix: Update enabled_features logic to fix superadmin edit action ( #5959 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-14 18:24:02 -08:00
2a1a38f986
chore: Add feature flags for campaigns and website channel ( #5778 )
...
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-14 16:06:26 -08:00
2972319026
fix: Update colors in widget buttons to fix invalid colors ( #6033 )
...
Co-authored-by: nithindavid <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-14 15:21:20 -08:00
26e05de642
chore(deps): bump loofah from 2.18.0 to 2.19.1 ( #6072 )
...
Bumps [loofah](https://github.com/flavorjones/loofah ) from 2.18.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases )
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flavorjones/loofah/compare/v2.18.0...v2.19.1 )
---
updated-dependencies:
- dependency-name: loofah
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 12:51:36 -08:00
8222a47154
chore(deps): bump rails-html-sanitizer from 1.4.3 to 1.4.4 ( #6074 )
...
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases )
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4 )
---
updated-dependencies:
- dependency-name: rails-html-sanitizer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 12:51:12 -08:00
9d78f0d6c6
feat: Adds number validation for WhatsApp inbox at the creation step ( #6043 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-12-12 19:52:37 -08:00
Sivin Varghese and GitHub
86958278cd
fix: Unable to save automation "send email to team" ( #6052 )
...
* fix: Unable to save automation "send email to team"
* chore: Minor fixes
2022-12-12 20:10:33 +05:30
Pranav Raj S and GitHub
823c836906
feat: Allow wildcard URL in the campaigns ( #6056 )
2022-12-09 16:43:09 -08:00
Pranav Raj S and GitHub
6200559123
chore: Update analytics events ( #6050 )
2022-12-08 20:53:13 -08:00
Tejaswini Chile and GitHub
7dc790a7e0
fix: Automatically remove expired story mention ( #5300 )
...
When a user mentions the connected Instagram page in a story, the story's content is downloaded in Chatwoot, then if the user deletes the story, the content persists in the platform.
fixes : #5258
2022-12-08 15:55:24 +03:00
431e2931c4
chore(deps): bump nokogiri from 1.13.9 to 1.13.10 ( #6040 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.9 to 1.13.10.
- [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.13.9...v1.13.10 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 14:01:52 +03:00
Pranav Raj S and GitHub
52ea201070
fix: Remove duplicate submit action ( #6039 )
2022-12-07 16:28:45 -08:00
779bcf5e0d
feat: Update Signup screen ( #6002 )
...
* feat: Update Signup page designs
* feat: Update the signup page with dynamic testimonials
* Remove the images
* chore: Minor UI fixes
* chore: Form aligned to centre
* Update app/javascript/dashboard/routes/auth/components/Signup/Form.vue
* Design improvements
* Update company name key
* Revert "chore: Minor UI fixes"
This reverts commit 1556f4ca835d9aa0d9620fd6a3d52d259f0d7d65.
* Revert "Design improvements
This reverts commit dfb2364cf2f0cc93123698fde92e5f9e00536cc2.
* Remove footer
* Fix spacing
* Update app/views/installation/onboarding/index.html.erb
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-12-07 15:55:03 -08:00
Pranav Raj S and GitHub
6064aad38f
chore: Add business email validation on signup ( #6037 )
2022-12-07 13:03:51 -08:00
caa45d1d92
feat: Pass logged in agent context to dashboard app ( #6034 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-07 12:02:27 -08:00
f1d1bb84fd
fix: Filters are not applied unless I'm on the All Conversations screen ( #6006 )
...
* fix: Filters are not applied unless I'm on the All Conversations screen
* chore: Review fixes
* chore: Minor sidebar fixes
* chore: Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-07 12:00:51 +05:30
01cc3d7c9c
chore(deps): bump qs from 6.5.2 to 6.5.3 ( #6028 )
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 12:49:00 -08:00
Sivin Varghese and GitHub
89cfc5bbf3
fix: Send message with "enter" also do new line ( #5961 )
...
* fix: Send message with "enter" also do new line
* chore: Review fixes
* chore: Naming fixes
* chore: Minor fixes
* chore: Fix line break issue when cmd plus enter enabled
2022-12-06 11:25:49 +05:30
OMAR.A and GitHub
a82b9991b3
fix: Update the link used for email address change in the confirmation mail ( #5937 )
2022-12-05 16:17:27 -08:00
Sojan Jose and GitHub
06434bc655
chore: Update translations from Crowdin ( #5952 )
2022-12-05 16:04:49 -08:00
Jordan Brough and GitHub
b9fd1d88ea
Escape search term before building regular expression ( #5994 )
...
When doing a conversation search, if the search term includes any regular
expression characters and the search returns results, then this function would
throw an exception.
For example, if a conversation includes the text "+15555550111" and you search
for "+15555550111" then you get an exception like:
> Invalid regular expression: /(+15555550111)/: Nothing to repeat
Because the "+" is not escaped.
2022-12-05 16:02:43 -08:00
8004f67efe
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 ( #6016 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 16:01:27 -08:00
Sivin Varghese and GitHub
87ef39ad9c
feat: Add the ability to search emojis ( #5928 )
2022-12-05 16:00:42 -08:00
Vishnu Narayanan and GitHub
c3b6e1a732
fix: update heroku app.json to use premium plans ( #5349 )
...
* fix: update heroku app.json to use premium plans
Use premium/paid dynos and addons as Heroku is set to deprecate free dynos/addons.
* fix: set default stack to heroku-20
* chore: update heroku app.json to use new dyno types
web and worker to use basic dynos
redis and postgres to use mini
2022-12-05 21:15:44 +05:30
Muhsin Keloth and GitHub
c9cae01cb4
fix: Support audio in safari browser ( #5943 )
2022-12-05 12:30:56 +05:30
Sivin Varghese and GitHub
613fb0b064
fix: Unable to add emoji exactly where the cursor is at ( #5865 )
...
* fix: Unable to add emoji exactly where the cursor is at
* chore: Minor fixes
* chore: Review fixes
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review fixes
2022-12-05 11:16:00 +05:30
Tejaswini Chile and GitHub
0b5c82ad5f
fix: Save hostname for the custom domain in the portal ( #5984 )
...
* fix: Save hostname for the custom domain in the portal
2022-12-03 20:37:56 +05:30
c8ec397c79
fix: Update missing features in unattended / mentions view ( #6009 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-02 15:07:38 -08:00
Tejaswini Chile and GitHub
a08099bbcc
fix: Custom attr filter on conversations ( #5978 )
2022-12-02 10:37:32 +05:30
Pranav Raj S and GitHub
e35638588a
fix: Avoid conversationId getting undefined in unattended view ( #6001 )
2022-11-30 20:37:58 -08:00
3083f74d45
fix: Update inbox json, removing password ( #5981 )
...
- Filter restricted inbox attributes in APIs for agents
Fixes chatwoot/product#668
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-11-30 13:04:46 +03:00
85b52a1d3f
feat: Add a view for unattended conversations ( #5890 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-29 08:18:00 -08:00
Nithin David Thomas and GitHub
c94ba16565
fix: Updates logic to insert canned response into editor ( #5880 )
...
* fix: Updates logic to insert canned response into editor
* Removes commented code
* Parse incoming canned text as markdown
2022-11-29 19:46:55 +05:30
0cad3bed71
fix: Files in Whatsapp arrives with a different Name ( #5907 )
...
- Add file name parameter to the WhatsApp attachment payload
fixes : #4481
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-11-29 16:54:49 +03:00
edcbd53425
feat: Read/Delivery status for Whatsapp Cloud API ( #5157 )
...
Process field statuses received in webhook WhatsApp cloud API
ref: #1021
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2022-11-29 15:51:37 +03:00
Tejaswini Chile and GitHub
a397f01692
fix: unassign team activity message ( #5969 )
2022-11-29 13:35:08 +05:30
Vishnu Narayanan and GitHub
4755031e1d
feat: use sendmail for email as default ( #5899 )
...
* feat: use sendmail for the email if SMTP_ADDRESS is empty
2022-11-29 09:13:27 +05:30
Tejaswini Chile and GitHub
fc9fc5a661
fix: destroy bulk service ( #5921 )
2022-11-25 22:46:50 +05:30
b05d06a28a
feat: Ability to lock to single conversation ( #5881 )
...
Adds the ability to lock conversation to a single thread for Whatsapp and Sms Inboxes when using outbound messages.
demo: https://www.loom.com/share/c9e1e563c8914837a4139dfdd2503fef
fixes : #4975
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2022-11-25 13:01:04 +03:00
Vishnu Narayanan and GitHub
8813c77907
chore: add ph-no-capture css class to messages ( #5932 )
...
This ensure posthog replaces the corresponding elements with an empty
block in recordings.
ref: https://posthog.com/manual/recordings#ignoring-sensitive-elements
2022-11-24 10:42:28 -08:00
Sojan Jose and GitHub
8ea0660862
chore: Add reauthorization prompt for Whatsapp Channel ( #5929 )
...
- Add reauthorization prompt for Whatsapp Channel
fixes : #5782
2022-11-24 14:50:32 +03:00
606fc9046a
feat: Allow users to mark a conversation as unread ( #5924 )
...
Allow users to mark conversations as unread.
Loom video: https://www.loom.com/share/ab70552d3c9c48b685da7dfa64be8bb3
fixes : #5552
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-24 10:55:45 +03:00
Pranav Raj S and GitHub
e593e516b8
chore: Enable Latvian (lv) language ( #5920 )
2022-11-22 12:54:13 -08:00
Sojan Jose and GitHub
b5f8524167
chore: Update translations from Crowdin ( #5883 )
2022-11-22 11:42:29 -08:00
Sivin Varghese and GitHub
b765e17457
fix: Sidebar missing at 1200px width ( #5917 )
2022-11-22 10:48:15 -08:00
Fayaz Ahmed and GitHub
db37bfea06
fix: Add word-break to canned response list table content
2022-11-22 23:53:15 +05:30
Pranav Raj S and GitHub
16bfd68d95
chore: Allow admins to choose the agent bot from the UI ( #5895 )
2022-11-18 08:54:32 -08:00
Fayaz Ahmed and GitHub
33aacb3401
Add team option in bulk actions ( #5885 )
2022-11-18 14:44:36 +05:30
47676c3cce
feat: Allow agent-bots to be created from the UI ( #4153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-17 22:15:58 -08:00
Tejaswini Chile and GitHub
9bfbd528ef
feat: Assign team with teams none option ( #5871 )
2022-11-17 14:15:16 +05:30
Tejaswini Chile and GitHub
e85f998a08
feat: Remove labels in macro ( #5875 )
2022-11-17 12:30:47 +05:30
Pranav Raj S and GitHub
66044a0dc3
feat: Show last non-activity messages in the chat list ( #5864 )
2022-11-16 15:43:55 -08:00
Pranav Raj S and GitHub
9b9c019de0
feat: Add support for after param in messages API ( #5861 )
2022-11-16 08:11:48 -08:00
86e0ff76c5
chore(deps): bump loader-utils from 1.4.1 to 1.4.2 ( #5859 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 18:56:59 -08:00
abbb6ac676
chore(deps): bump minimatch from 3.0.4 to 3.1.2 ( #5860 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 18:56:50 -08:00
Pranav Raj S and GitHub
42b466bda2
chore: Cleanup the design in widget builder ( #5852 )
2022-11-15 18:56:24 -08:00
Sojan
956837ded5
Merge branch 'release/2.11.0' into develop
2022-11-16 00:45:43 +00:00
Sojan
8a0d6f6f50
Merge branch 'release/2.11.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-11-16 00:45:34 +00:00
Sojan
f0ef497005
Bump version to 2.11.0
2022-11-16 00:40:38 +00:00
Sojan Jose and GitHub
8e2da837d4
chore: Update translations from Crowdin
2022-11-16 00:37:29 +00:00
Sojan Jose and GitHub
e7f1a9ab4d
chore: Enable Macros for all accounts ( #5858 )
...
- migrations to enable macros for all accounts
2022-11-16 00:33:09 +00:00
Tejaswini Chile and GitHub
826a735cdb
fix: Assign agent action changes ( #5827 )
2022-11-15 13:15:27 +05:30
Tejaswini Chile and GitHub
38ab3c36db
fix: send label list not object in event data presenter ( #5853 )
2022-11-15 12:20:06 +05:30
b5f7be0cd2
fix: Full name update when creating a conversation without an email id ( #5832 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-14 19:39:46 -08:00
Tejaswini Chile and GitHub
efceaec950
fix: Activity message generation for team assignemnt automation ( #5846 )
2022-11-11 19:07:24 +05:30
Fayaz Ahmed and GitHub
6aba352e0d
fix: Single select for agents and teams in Macros actions ( #5837 )
...
* Ignore settings.json
* Single select dropdown for teams and agents
2022-11-10 20:09:33 +05:30
9eb861a3b7
feat: Custom attributes in automations and refactor ( #4548 )
...
* Custom attributes
* Custom Attrs Manifest
* Fix dropdown values for custom attributes
* Handle edit mode for custom attributes
* Ported duplicate logic to a mixin
* fix Code climate issue
* Fix Codeclimate complexity warning
* Bug fix - Custom attributes getting duplicated
* Bug fixes and Code Climate issue fix
* Code Climate Issues Breakdown
* Fix test spec
* Add labels for Custom attributes in dropdown
* Refactor
* Refactor Automion mixin
* Refactor Mixin
* Refactor getOperator
* Fix getOperatorType
* File name method refactor
* Refactor appendNewCondition
* spec update
* Refactor methods
* Mixin Spec update
* Automation Mixins Test Specs
* Mixin Spec Rerun
* Automation validations mixin spec
* Automation helper test spec
* Send custom_attr key
* Fix spec fixtures
* fix: Changes for custom attribute type and lower case search
* fix: Specs
* fix: Specs
* fix: Ruby version change
* fix: Ruby version change
* Removes Lowercased values and fix label value in api payload
* Fix specs
* Fixed Query Spec
* Removed disabled labels if no attributes are present
* Code Climate Fixes
* fix: custom attribute with indifferent access
* fix: custom attribute with indifferent access
* Fix specs
* Minor label fix
* REtrigger circle ci build
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* Update app/javascript/shared/mixins/specs/automationMixin.spec.js
* fix: Custom attribute case insensitivity search
* Add missing reset action method to input
* Set team_input to single select instead of multiple
* fix: remove value case check for date,boolean and number data type
* fix: cognitive complexity
* fix: cognitive complexity
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: Fixed activity message for automation system
* fix: codeclimate
* fix: codeclimate
* fix: action cable events for label update
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* fix: codeclimate, conversation modela number of methods
* Fix margin bottom for attachment button
* Remove margin bottom to avoid conflict from macros
* Fix automation action query generator using the right key
* fix: not running message created event for activity message
* fix: not running message created event for activity message
* codeclimate fix
* codeclimate fix
* codeclimate fix
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/shared/mixins/specs/automationHelper.spec.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/helper/automationHelper.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/mixins/automations/methodsMixin.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-11-10 10:53:29 +05:30
Sojan Jose and GitHub
3184c8964d
chore: Update translations from Crowdin ( #5831 )
2022-11-09 20:26:30 -08:00
865346223b
fix: Add missing dropdown method ( #5830 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-09 17:27:04 -08:00
Nithin David Thomas and GitHub
4f82859bba
chore: Design improvements for thumbnail and dropdown ( #5822 )
2022-11-09 16:52:30 -08:00
47c90e2085
feat: Add a loader till the dashboard app is loaded ( #5814 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-11-09 10:06:09 -08:00
7352b928da
feat: Add assign agent option in macro ( #5821 )
...
Co-authored-by: fayazara <fayazara@gmail.com >
2022-11-09 09:52:48 -08:00
Muhsin Keloth and GitHub
5febdde938
chore: Add feature flag for mobile v2 ( #5797 )
2022-11-08 21:56:02 -08:00
Nithin David Thomas and GitHub
d39ace5a6b
feat: Improve image loading for thumbnails ( #5823 )
2022-11-08 21:05:13 -08:00
Sojan Jose and GitHub
e2059cfc5b
fix: SocketError: getaddrinfo: for imap channels ( #5824 )
...
fixes : #5431
2022-11-08 20:23:46 -08:00
Sojan Jose and GitHub
2e42821c48
chore: Update translations from Crowdin ( #5810 )
2022-11-08 09:36:24 -08:00
16d59f4bb0
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 ( #5816 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 09:33:35 -08:00
0d9ed0674b
feat: Add store for conversation watchers ( #5808 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-08 09:33:14 -08:00
6ff0c93659
feat: Ability to receive location on whatsapp inbox ( #5742 )
...
- Ability to receive location messages on WhatsApp Inbox
ref: https://github.com/chatwoot/chatwoot/issues/3398
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-11-07 21:36:47 -08:00
Nithin David Thomas and GitHub
20406dce01
feat: Adds component to show location based messages ( #5809 )
...
- Adds a component to show location-type messages in the dashboard
2022-11-07 20:50:07 -08:00
smartdev58 and GitHub
b50890d1b5
chore: Update data format for platform API feature management ( #5718 )
...
Updated JSON data format for Platform API for account creation update API endpoints features flags to accept false values on each feature.
fixes : #5717
2022-11-07 17:49:45 -08:00
Tejaswini Chile and GitHub
48373628a1
fix: Macros authorizations ( #5779 )
...
Macros policy update.
ref: #5730
2022-11-07 17:46:00 -08:00
CristianDuta and GitHub
479d88a480
fix: Identifier not persisted on customer created via Inbox API Channel ( #5804 )
...
- Fixes the identifier not being used to identify the contact, this results in having a new contact created every time the email or phone is not supplied.
Fixes : #5704
2022-11-07 16:02:45 -08:00
Pranav Raj S and GitHub
526722dffa
fix: Update invalid payload for template messages ( #5802 )
2022-11-07 15:21:47 -08:00
Tejaswini Chile and GitHub
a23974d8b9
Feat/5733 Add private note action in macros ( #5805 )
2022-11-07 22:12:10 +05:30
matenauta and GitHub
894234e777
chore: Remove quotes from SMTP_USERNAME ( #5800 )
...
Removing quotes related to https://github.com/chatwoot/chatwoot/issues/4787
2022-11-06 16:06:18 -08:00
Nithin David Thomas and GitHub
dc3ee3464b
feat: Add component for grouped thumbnails ( #5796 )
2022-11-03 22:38:45 -07:00
Pranav Raj S and GitHub
4bb5e812ba
fix: Allow ending the conversation if snoozed or pending ( #5793 )
2022-11-03 13:47:24 -07:00
Nithin David Thomas and GitHub
8bd5ba187a
fix: Fix widget thumbnail not rendering background colors ( #5791 )
2022-11-02 22:13:12 -07:00
mjattiot and GitHub
c121b44df4
fix: GCP Redis managed don't support redis client setname command ( #4422 )
...
If using Redis on GCP, actionable will attempt to use the Redis client setname command. However, the command is not supported.
So Introducing `REDIS_DISABLE_CLIENT_COMMAND` environment variable will let you solve this issue.
ref: https://github.com/rails/rails/issues/38244#issuecomment-575454444
2022-11-02 19:14:51 -07:00
CristianDuta and GitHub
4c43330b15
feat: Add inbox details endpoint ( #5549 )
...
This change targets the public API and is related to the Inbox with channel type API.
Exposes public inbox details under /public/api/v1/inboxes/{inbox_identifier}. This allows access to feature flags and business hours configured for the inbox.
ref: #5514
2022-11-02 19:05:03 -07:00
Sojan Jose and GitHub
8b659de73d
chore: Use connection_pool for redis ( #5790 )
...
fixes : #3199
2022-11-02 17:31:20 -07:00
Tejaswini Chile and GitHub
936c2ec7e2
fix: Ensure Automation rule executions are account scoped ( #5768 )
...
This is one possible fix to tackle with cached automation rules when automation gets called on two different accounts with the same event name.
Fixes: https://github.com/chatwoot/product/issues/605
2022-11-02 17:24:35 -07:00
smartdev58 and GitHub
9c0cce0392
chore: Mark conversations as pending instead of reopen when bot is present ( #5751 )
...
With this change, conversations are marked as pending instead of reopening when a bot is connected to that Inbox.
Fixes : #5668
2022-11-02 13:54:56 -07:00
Arkadiy Ayvazyan and GitHub
86ca7f4a8d
fix: Autoloading during initialization deprecation warning ( #5628 )
...
Autoloading during initialization deprecation warning fix
fixes : #4012
2022-11-01 20:19:42 -07:00
Sojan Jose and GitHub
6cfd594d85
fix: flaky test whatsapp_cloud_service_spec.rb:17 ( #5786 )
...
Fix flaky test: flaky /spec/services/whatsapp/providers/whatsapp_cloud_service_spec.rb:17
example build: https://app.circleci.com/pipelines/github/chatwoot/chatwoot/48955/workflows/a2959d25-19ea-4812-ba15-5aac69c43265/jobs/49523
Cause: factory bot can create phone numbers of length 15 digits, which is valid e164, while our regex only handled up to 14 digits
2022-11-01 19:51:42 -07:00
Sivin Varghese and GitHub
e1190fd9bf
fix: Text colour is getting merged with the light background colour ( #5773 )
2022-11-02 05:52:00 +05:30
Stephen Paul Weber and GitHub
f2753df8df
chore: Use multiple connections in Redis connection pool ( #5574 )
...
- The initializer set up a connection pool, but both pools created namespace wrappers around a single global connection. Splitting them up.
2022-11-01 16:49:26 -07:00
Tejaswini Chile and GitHub
00e06e5139
fix: Unsupported message type ( #5783 )
...
- fix handling unsupported message types
2022-11-01 15:21:45 -07:00
Fayaz Ahmed and GitHub
be516a5ea6
fix: Filename issue while editing a macro with attachment action ( #5775 )
2022-11-01 16:20:09 +05:30
givetimetolife and GitHub
f8d9a27d7a
fix: db/seeds.rb field contact_inbox is undefined ( #5743 )
...
fixes rails db:chatwoot_prepare error: field contact_inbox is undefined
2022-11-01 00:52:07 -07:00
Muhsin Keloth and GitHub
92724576af
fix: Update conversation read status indicator logic ( #5777 )
2022-10-31 09:35:48 -07:00
Tejaswini Chile and GitHub
a0606d36f6
fix: Set message sender to macros excution ( #5769 )
2022-10-31 19:33:12 +05:30
Muhsin Keloth and GitHub
2073a23d5c
chore: Fix Thumbnail component specs ( #5776 )
2022-10-28 14:19:12 +05:30
Sivin Varghese and GitHub
b20f5e5cef
feat: Adds URL validation for domain and home page links ( #5761 )
2022-10-28 06:21:38 +05:30
Nithin David Thomas and GitHub
3b09840d39
chore: Fix import paths in storybook ( #5772 )
2022-10-28 01:42:24 +05:30
2aa99ee137
fix: Fix timestamp auto-update in conversations chat list ( #5640 )
...
* fix: Fix timestamp auto-update
* fix: rewrite `setInterval` to `setTimeout`
* fix: change refresh time logic
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-28 01:05:39 +05:30
David Kubeš and GitHub
89d7e4ead6
chore: refactor thumbnail ( #5682 )
2022-10-28 01:02:23 +05:30
Sojan Jose and GitHub
12cd15b6ad
chore: Disable email processing for suspended accounts ( #5762 )
...
- Disable email processing for suspended accounts
2022-10-26 03:40:47 -07:00
Sivin Varghese and GitHub
352558dd11
fix: Update color for the action button used in card messages ( #5740 )
2022-10-25 16:17:05 -07:00
Pranav Raj S and GitHub
bedb2cab63
Use @page-change instead of on-page-change ( #5749 )
2022-10-26 03:46:09 +05:30
abe439594e
fix: Add preference to choose browser lang for widget settings page ( #5726 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-25 15:04:29 -07:00
bcde84b5b5
feat: Add ability to paste file/image from clipboard ( #5627 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-10-25 13:35:11 +05:30
06e2219110
chore: Improve macros stability ( #5700 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-24 23:49:19 -07:00
c3ec1d4f8a
feat: Add the ability for the agents to execute a macro ( #5698 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-24 20:33:59 -07:00
Nithin David Thomas and GitHub
d54392cb53
fix: Update max-width to fix overflow for emoji selector ( #5727 )
2022-10-24 19:59:36 -07:00
Sojan Jose and GitHub
3a71fe3260
chore: Stop duplicate websocket updates for conversation updates ( #5711 )
...
- remove extra dispatch for label updates
2022-10-21 18:06:02 -07:00
af020f446e
fix: check the content type for the file when uploading from cloud storage ( #5378 )
...
When sending the message with audio, only the signed id of the file is sent.
In the back end check only the UploadedFile type.
The attachment has the default file type image, now it gets the content type from the signed id
Fixes : #5375
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-10-21 18:05:36 -07:00
Pranav Raj S and GitHub
6823b04e5b
fix: Update public partials to fix help center search ( #5713 )
2022-10-21 17:32:01 -07:00
Nithin David Thomas and GitHub
8d5a9a9daa
fix: Show account switch modal from portal dashboard ( #5712 )
2022-10-21 17:24:52 -07:00
c3426929d7
chore: Refactor sidebar components used in help center ( #5695 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-21 16:43:43 -07:00
4a299a9441
fix: Add an action cable events for label updates ( #5694 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-21 16:12:35 -07:00
782165478b
fix: Update article count in portal admin dashboard ( #5647 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-21 13:43:15 -07:00
Pranav Raj S and GitHub
95cc55d043
fix: Update pagination logic in the help center ( #5693 )
2022-10-20 20:05:17 -07:00
Tejaswini Chile and GitHub
a274a1702a
chore: Macros enhancement ( #5609 )
...
- Fixed send_attachment and send_email_transcript
- Fixed duplicate activity messages
- Fixed Order of execution
Fixes : #5584
2022-10-20 19:41:48 -07:00
Chad Burggraf and GitHub
4d0b302802
Avoid crashing when AudioContext is not available. ( #5641 )
...
#4942 . We've also had a number of crash reports show up in our logs related to this. Typically we see "undefined is not a constructor" because of the `window.AudioContext || window.webkitAudioContext` returns `undefined`.
2022-10-20 19:13:20 -07:00
Pranav Raj S and GitHub
a8561cd798
fix: Add portal pack to tailwind config ( #5686 )
2022-10-19 21:49:34 -07:00
fa73b5290c
chore: Allow feature flag parameters in platform API for account creation ( #5589 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 21:16:36 -07:00
a3277b45af
feat: Update conversation attributes in realtime when they changed ( #5542 )
...
Co-authored-by: daniel gannage <daniel@pxdel.com >
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2022-10-19 17:26:10 -07:00
10d86fbb35
chore: Ability to Remove password info from sentinel config ( #4550 )
...
Introduce the REDIS_SENTINEL_PASSWORD environment variable to customize the behaviour of sentinel passwords.
Co-authored-by: EXT02D22861 <nusret.ozates@consultant.turkcell.com.tr >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-10-19 17:25:16 -07:00
22d5703b92
feat: Macros listing and Editor ( #5606 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 17:13:13 -07:00
1fb1be3ddc
feat: Add search functionality for public portal ( #5683 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 17:09:32 -07:00
bce0bb8acb
chore: Improve pr and bug report templates ( #5556 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 13:45:32 -07:00
Tejaswini Chile and GitHub
ceaffe862a
Fix: Handled IG unsupported file type ( #5650 )
...
We get 'unsupported_type' in the web-hook event only when Instagram faces issues processing the attachments. https://developers.facebook.com/docs/messenger-platform/instagram/features/webhook/ according to their document, we are handling the given types and are ignoring this one for now.
Fixes : #5428
2022-10-19 13:44:17 -07:00
Sojan Jose and GitHub
199f462af4
chore: Update translations from Crowdin ( #5663 )
2022-10-19 13:27:10 -07:00
David Kubeš and GitHub
c542d2e0ff
chore: Refactor urlParamsHelper.js ( #5639 )
2022-10-19 13:20:40 -07:00
6bc34db932
fix: Make links more accessible on helpcenter public views ( #5681 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 13:07:44 -07:00
Tejaswini Chile and GitHub
0343acdb7e
fix: ensure contact_inbox if contact exists( #5667 )
...
- Fixing Instagram issue for existing contacts in the inbox
2022-10-19 12:56:39 -07:00
f740727177
Added testcases for AddReminder Component ( #5538 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-10-20 00:54:08 +05:30
Fayaz Ahmed and GitHub
3de8f256cb
fix: Avoid overflowing submenus in conversation context menu ( #5113 )
...
* Scroll overflowing content inside submenus
* Disable submenus if options are not available
2022-10-19 12:23:53 -07:00
Muhsin Keloth and GitHub
2e7ab484bd
fix: Discard invalid contact attributes in widget conversation end point ( #5664 )
...
Fixes : chatwoot/product#601
2022-10-18 13:16:29 -07:00
smartdev58 and GitHub
e34e975776
chore: ability to delete user in super admin console
...
fixes : #4164
2022-10-18 01:05:28 -07:00
Sojan
a1ce188dab
Merge branch 'release/2.10.0' into develop
2022-10-17 19:38:42 -07:00
Sojan
ce9c8645df
Merge branch 'release/2.10.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-10-17 19:38:31 -07:00
Sojan
2f7a16ae16
Bump version to 2.10.0
2022-10-17 19:31:53 -07:00
Pranav Raj S and GitHub
71ca530292
fix: Fix typo in help center ( #5661 )
2022-10-17 18:59:22 -07:00
Pranav Raj S and GitHub
e19c6d5671
chore: Add editor toggle for API inbox ( #5660 )
2022-10-17 18:52:51 -07:00
Sojan Jose and GitHub
2423def8e8
chore: Add attachments key to message_created webhook payload ( #5659 )
...
- Add attachments key to `message_created` webhook payload
2022-10-17 17:36:56 -07:00
1c44e43c43
fix: Fix overflow issue for category name in article list ( #5658 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-17 15:59:18 -07:00
Sivin Varghese and GitHub
444809cc68
fix: Added validation for check box in the pre-chat form ( #5648 )
2022-10-17 15:00:02 -07:00
Pranav Raj S and GitHub
20b4a91122
chore: Add feature flags in the settings console ( #5657 )
2022-10-17 14:59:44 -07:00
Nithin David Thomas and GitHub
73f5595762
chore: Sync colors from dashboard to tailwind config ( #5656 )
2022-10-17 13:13:02 -07:00
Sojan Jose and GitHub
704554d453
chore: Update translations ( #5644 )
2022-10-17 11:14:29 -07:00
Muhsin Keloth and GitHub
706ab872f3
fix: Disable name in pre-chat form if the name is already provided in setUser ( #5466 )
2022-10-17 20:59:17 +05:30
Nithin David Thomas and GitHub
252eda14c6
chore: Add woot button to message context menu ( #5638 )
2022-10-16 16:48:32 -07:00
ce3730d640
fix: Avoid email icon getting distorted ( #5633 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-14 13:38:08 -07:00
Sojan Jose and GitHub
db53af91e7
chore ( #5636 )
...
* New translations conversation.json (Latvian)
* New translations bulkActions.json (Portuguese, Brazilian)
* New translations agentMgmt.json (Latvian)
* New translations teamsSettings.json (Latvian)
* New translations contactFilters.json (Latvian)
* New translations automation.json (Latvian)
* New translations attributesMgmt.json (Latvian)
* New translations labelsMgmt.json (Latvian)
* New translations settings.json (Latvian)
* New translations integrations.json (Latvian)
* New translations inboxMgmt.json (Latvian)
* New translations generalSettings.json (Latvian)
* New translations contact.json (Latvian)
* New translations helpCenter.json (Latvian)
2022-10-14 12:46:41 -07:00
David Kubeš and GitHub
a6960dc2d3
chore: Refactor widget ( #5621 )
2022-10-14 09:13:11 +05:30
Sojan Jose and GitHub
e310230f62
chore: Refactor Contact Inbox Builders ( #5617 )
...
- Remove duplicate code and move everything to builders
- fixes : #4680
2022-10-13 15:12:04 -07:00
Nithin David Thomas and GitHub
1f271356ca
feat: Update the design for dropdown buttons ( #5625 )
2022-10-13 13:36:42 -07:00
bf4338ef9e
feat: Make category name in article table clickable ( #5626 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-13 13:35:11 -07:00
Tejaswini Chile and GitHub
a533f43fbf
fix: Stop raising errors for unsupported Whatsapp messages ( #5541 )
...
- Handle unsupported Whatsapp messages
2022-10-13 13:31:49 -07:00
Vishnu Narayanan and GitHub
8f4944fda0
chore: revert arm64 docker build in gh action ( #5619 )
...
ref: https://github.com/chatwoot/chatwoot/pull/5575
https://github.com/chatwoot/chatwoot/pull/5575#issuecomment-1277208625
2022-10-13 13:46:28 +05:30
Pranav Raj S and GitHub
d2fd05ee4e
fix: Show webhook url only on WhatsApp inbox ( #5618 )
2022-10-12 21:45:28 -07:00
Nithin David Thomas and GitHub
ee520bdf98
feat: Show last active portal articles when sidebar portal icon is clicked ( #5616 )
2022-10-12 16:22:44 -07:00
6c048626d0
chore: Replace deprecated functions ( #5611 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-12 14:55:59 -07:00
David Kubeš and GitHub
0c8f744c33
chore: Remove unnecessary methods and polyfills ( #5614 )
2022-10-12 14:42:06 -07:00
fca629a32a
fix: Update timezone to get wday from working_hours ( #5605 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-12 14:32:54 -07:00
David Kubeš and GitHub
1b5a335f93
fix: Update .editorconfig to fix spaces and indent_style ( #5612 )
2022-10-12 14:00:42 -07:00
Muhsin Keloth and GitHub
242de0b3f9
chore: Vscode extension recommendations ( #5607 )
...
* Added vscode extension recommendations
* Revert the change
* Revert .gitignore
* Change `volar` to `vetur`
2022-10-12 23:32:24 +05:30
Jordan Brough and GitHub
1bdd59f025
Find by downcased email in SupportMailbox ( #5211 )
2022-10-12 13:38:18 +05:30
Fayaz Ahmed and GitHub
32d885a19b
feat: Add macros routes and views ( #5604 )
2022-10-11 23:20:20 -07:00
Fayaz Ahmed and GitHub
6c160ccad5
feat: Add API module and Vuex store for Macros ( #5603 )
2022-10-11 22:54:17 -07:00
Pranav Raj S and GitHub
9b5c0de0ea
chore: Add router views for agent_bots ( #5600 )
2022-10-11 17:58:52 -07:00
38776906ab
chore: Generate webhook-verify-token automatically ( #5593 )
...
- Autogenerate webhook verification token in the WhatsAppCloud channel.
Co-authored-by: Sojan <sojan@pepalo.com >
2022-10-11 17:32:31 -07:00
Pranav Raj S and GitHub
5f4b6f2ce4
chore: Add AgentBot API module ( #5599 )
2022-10-11 17:23:57 -07:00
7419e413f4
fix: Added "None" option in bulk actions assignment menu ( #5585 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-11 13:44:35 -07:00
0b5a956e05
chore: Update the design for emoji picker ( #4244 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-11 12:59:28 -07:00
Tejaswini Chile and GitHub
2c8ded98aa
fix: Update format in password reset page ( #5596 )
2022-10-11 11:27:22 -07:00
Sojan Jose and GitHub
d727093538
chore: Update translations from Crowdin ( #5578 )
2022-10-10 15:40:12 -07:00
Sojan Jose and GitHub
5bd5395d31
chore: Add missing indexes for attachments table ( #5588 )
...
- index for attachments table
- index for conversations table
2022-10-10 15:23:33 -07:00
Sojan Jose and GitHub
779f815f8e
chore: Update translations ( #5566 )
2022-10-07 09:08:18 -07:00
Jordan Brough and GitHub
ce7d9be633
Fix "presence" checks in Channel::TwilioSms ( #5206 )
2022-10-07 10:22:33 +05:30
Pranav Raj S and GitHub
788b766179
feat: Quickly create canned responses ( #5563 )
2022-10-05 22:00:15 -07:00
0a9ea6e272
chore(deps): bump google-protobuf from 3.21.2 to 3.21.7 ( #5550 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 3.21.2 to 3.21.7.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.7 )
---
updated-dependencies:
- dependency-name: google-protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-10-05 17:32:00 -07:00
b668723313
chore: Ability to change default account ( #5393 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2022-10-05 17:31:12 -07:00
Geophilus Durairaj and GitHub
bd445216e9
fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated ( #5560 )
...
fixes the warning: Rendering actions with '.' in the name is deprecated
2022-10-05 17:24:34 -07:00
Pranav Raj S and GitHub
cd4c1ef27e
feat: Update the design of mentions with thumbnail ( #5551 )
2022-10-05 14:18:16 -07:00
Sojan Jose and GitHub
8b0e95ece8
fix: Flakiness in CI pipeline ( #5562 )
...
- Fixing the recent flakiness in CI pipelines
2022-10-05 10:59:31 -07:00
7b1630b468
feat: Enable Docker Buildx multi-arch builds with arm64 support( #5545 )
...
Fixes #2575
multi-arch images with arm64 support CE edition images
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2022-10-05 17:07:49 +05:30
Sojan Jose and GitHub
c76aed6d5e
chore: Update translations from Crowdin ( #5546 )
2022-10-04 18:14:35 -07:00
8df7547043
feat: Add support for draft messages in reply box ( #4440 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-10-03 21:29:02 -07:00
beedfc47bf
feat: Allow users to select Cmd+Enter as a hotkey ( #4401 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-03 15:27:34 -07:00
9ea43a2678
chore: Improve Nginx settings for speed and security ( #5144 )
...
* fix: Fixes #5138
* Move to helper function
* Improve Nginx settings
* chore: set ssl_prefer_server_ciphers to off
ssl_prefer_server_ciphers should be set to `off` in a modern context.
ref: https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=modern&openssl=1.1.1k&guideline=5.6
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2022-10-03 17:43:50 +05:30
Nithin David Thomas and GitHub
705d06ac3c
fix: Avoid editor formatting issues when a canned response is edited ( #5533 )
2022-09-30 15:03:33 -07:00
Tejaswini Chile and GitHub
7b54990ae6
fix: Updated IMAP errors add method ( #5520 )
...
fixes : #5519
2022-09-30 11:33:00 -07:00
Jordan Brough and GitHub
4f0360c7a2
chore: Allow setting "users.display_name" in Platform API ( #5532 )
2022-09-30 11:28:18 -07:00
Tejaswini Chile and GitHub
57fcb79d71
fix: Article slug auto saves ( #5524 )
...
- Auto save article slug
2022-09-30 07:25:23 -07:00
1819041f5a
fix: "wa_source_id" function return value ( #5451 )
...
- Fix contact inbox builder returning invalid WhatsApp source id
- Add specs to cover source id validations
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-09-29 10:34:55 -07:00
Sojan Jose and GitHub
74e03f9beb
chore: Update translations from Crowdin ( #5523 )
2022-09-28 21:59:41 -07:00
Chamath K.B. Attanayaka and GitHub
6b47c7b43d
fix: Attachment not sending to bots message creation ( #5353 )
2022-09-28 13:13:29 -07:00
Tejaswini Chile and GitHub
fcb9a9ab0c
fix: contact is not available for inaccessible sender ( #5509 )
...
Fixes : #5508
We can not read contact information because of this error, as the messages echo when the sender sends messages to contacts. We don't have the user's consent until and unless they send messages to us.
So after this result, information about the contact is empty, and we are trying to create a contact inbox for the same, and the error appears.
type: OAuthException, code: 230, message: (#230 ) User consent is required to access user profile, x-fb-trace-id: AaitxF/whwY [HTTP 403] (Koala::Facebook::ClientError)
2022-09-28 12:50:23 -07:00
Pranav Raj S and GitHub
83eee7df91
chore: Set locale in default_locale ( #5515 )
2022-09-28 08:29:00 -07:00
Tejaswini Chile and GitHub
543854eaa8
fix: Remove the notification subscription if present ( #5510 )
2022-09-27 12:36:57 -07:00
Tejaswini Chile and GitHub
336c09e072
fix: Add all articles count to article API ( #5497 )
2022-09-27 12:35:53 -07:00
Tejaswini Chile and GitHub
c1c57fb2cd
fix: Add slug to articles ( #5500 )
2022-09-27 12:27:18 -07:00
Sojan
8e5d8fcdaf
Merge branch 'release/2.9.1' into develop
2022-09-22 14:22:40 -07:00
Sojan
7ad5ddaf8a
Merge branch 'release/2.9.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-09-22 14:22:29 -07:00
Sojan
d2d7355e2d
Bump version to 2.9.1
2022-09-22 14:18:30 -07:00
Sojan Jose and GitHub
913224ad84
chore: Normalize portal slug to nil ( #5487 )
2022-09-22 14:08:48 -07:00
b463ce5b1a
chore(deps): bump commonmarker from 0.23.5 to 0.23.6 ( #5480 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.5 to 0.23.6.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.5...v0.23.6 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 20:43:08 -07:00
Tejaswini Chile and GitHub
111016fe4c
fix: Add not found status if macro not found ( #5473 )
2022-09-21 14:10:35 +05:30
Pranav Raj S and GitHub
cc4ef14faa
chore: Fix link generation logic in help-center ( #5470 )
2022-09-20 18:23:28 -07:00
2d871a1ed5
fix: Hide conversation links in input_csat message in non-website channels ( #5469 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-09-20 17:15:32 -07:00
Tejaswini Chile and GitHub
c556e9c694
Fix: Redirect to portal with default locale ( #5467 )
...
- Redirect to default locale if URL does not provide the locale param
2022-09-20 10:31:39 -07:00
Nithin David Thomas and GitHub
d28502b917
Bug: Adds support multiline text input on article edit page ( #5465 )
...
* Bug: Scroll issue with article list page
* Adds support multiline text input on article edit page
2022-09-20 22:42:09 +05:30
Pranav Raj S and GitHub
1761100c77
chore: Remove static URLs from the documentation ( #5461 )
2022-09-19 21:52:01 -07:00
Sojan
3a1e521b4c
Merge branch 'release/2.9.0' into develop
2022-09-19 20:37:02 -07:00
Sojan
85d3f91dac
Merge branch 'release/2.9.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-09-19 20:36:55 -07:00
Sojan
06c9aad7b3
Bump version to 2.9.0
2022-09-19 20:34:49 -07:00
Pranav Raj S and GitHub
eb8e348ec1
chore: Update design of the help-center articles ( #5459 )
...
- Update designs
- Fixes meta tags
- Update typography
2022-09-19 20:31:38 -07:00
54d0055e86
chore: Helpcenter routing and UI fixes ( #5460 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-09-19 19:40:32 -07:00
Sojan Jose and GitHub
3b7cae19e6
chore: Enable help center for self-hosted accounts ( #5458 )
2022-09-19 19:39:41 -07:00
Shivam Chahar and GitHub
6b80afaf50
fix: un-assign agent from conversation after removal ( #5417 )
...
Unassign agents from the conversation when they are removed from the account.
Fixes : #4555
2022-09-19 18:14:55 -07:00
Sojan Jose and GitHub
99de8f4500
chore: Improve Helpcenter custom domains ( #5456 )
...
- Support rendering articles over frontend URL
- Support rendering articles over help center URL
- Support rendering help center home page in the custom domain root
2022-09-19 17:36:01 -07:00
Sivin Varghese and GitHub
a773ad7d08
fix: Read status not updated in widget popout mode ( #5454 )
2022-09-19 15:35:41 -07:00
Sojan Jose and GitHub
97583e410c
feat: Ability to manage account features from super admin ( #5455 )
...
- This PR adds the ability to enable and disable features for an account from the super admin.
2022-09-19 14:57:21 -07:00
678a0af962
chore: Enable Help Center on Sidebar ( #5435 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-09-18 13:08:30 -07:00
Vishnu Narayanan and GitHub
bc23c69605
chore: Fix gh nightly failure ( #5442 )
...
* chore: fix gh nightly failure
2022-09-15 23:16:45 +05:30
Fayaz Ahmed and GitHub
e585b227f1
chore: Check for empty strings in name formatter ( #5434 )
2022-09-14 07:15:04 -07:00
Nithin David Thomas and GitHub
cb4dd7e633
fix: Fixes bug with locale switching from popover ( #5426 )
2022-09-13 18:49:55 +05:30
Pranav Raj S and GitHub
8af27d861b
chore: Default to rich content editor in website and email channel ( #5357 )
2022-09-13 05:41:42 -07:00
Jordan Brough and GitHub
59b31615ed
chore: Use "create!" and "save!" bang methods when not checking the result ( #5358 )
...
* Use "create!" when not checking for errors on the result
* Use "save!" when not checking the result
2022-09-13 17:40:06 +05:30
Sivin Varghese and GitHub
44f498be6d
fix: Not able to create a new category through the sidebar ( #5421 )
...
* fix: Not able to create a new category through the sidebar
* chore: Minor spacing fixes
2022-09-13 00:15:24 +05:30
1ea289e8b7
feat: Sets up portal public views with rails ERB and tailwind ( #5309 )
...
* feat: Sets up portal public views with rails ERB and tailwind
* linter fixes
* Remove duplicate style file
* Shows articles and categories
* Specify layout for articles page
* Updates public portal styles
* Fixes blog content styles
* Portal style updates for article page
* Review fixes
* Adds breadcrumbs
* fix: rspec
* fix: public portal spec
* Code climate fixes
* Adds test cases for missing files
* Show only published articles
* Updates help center routes
* Review fixes
* Render markdown content for aticle body
* Update app/views/public/api/v1/portals/articles/index.html.erb
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: tejaswini chile <tejaswini@chatwoot.com >
2022-09-12 23:36:24 +05:30
Sivin Varghese and GitHub
a680b08251
chore: Fixes height issues with seconday sidebar ( #5407 )
2022-09-12 19:36:49 +05:30
Tejaswini Chile and GitHub
db73d033b7
feat: Fetching the portal data related to a specific custom domain ( #5249 )
2022-09-07 12:22:24 +05:30
Tejaswini Chile and GitHub
6574407636
fix: Track Imap exception in sentry ( #5397 )
2022-09-07 11:41:56 +05:30
afe31a3156
chore: parallel runs in circle ( #2810 )
...
- Enable parallel runs in circle
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-09-06 19:17:33 +05:30
Pranav Raj S and GitHub
cf7dac5bab
chore: Add feature flag for conversation continuity in API ( #5399 )
...
- Add the ability to toggle conversation continuity in API channel
2022-09-06 18:14:36 +05:30
Sivin Varghese and GitHub
7a5ea89fd9
chore: Sidebar improvements in small screens ( #5400 )
...
* chore: Sidebar improvements in small screens
* chore: Minor fixes
2022-09-06 14:06:26 +05:30
Sivin Varghese and GitHub
79406c5775
fix: Emoji picker is not working on the expanded layout ( #5398 )
2022-09-06 10:41:39 +05:30
Sivin Varghese and GitHub
f5e360fd4d
fix: Adding a private note clears the CC field in an Email inbox ( #5366 )
2022-09-05 16:08:28 +05:30
8f873a34a2
feat: Adds the ability to update conversation timeframe automatically ( #5253 )
...
* feat: Adds the ability to update conversation timeframe automatically
* Update app/javascript/dashboard/components/ui/TimeAgo.vue
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-09-05 16:07:58 +05:30
Sivin Varghese and GitHub
952368948b
fix: Alignment issue of edit article dropdown ( #5390 )
2022-09-05 15:35:52 +05:30
1c590160bb
feat: Add locales under portal settings ( #5386 )
...
* Add locales under portal settings
* Fix path issue
* chore: Updated category route
* chore: Updated category route
Co-authored-by: iamsivin <iamsivin@gmail.com >
2022-09-05 15:32:14 +05:30
80180a60c5
chore: Final touches for portals ( #5388 )
...
* chore: Final touches for portals
* Review fixes
* Minor fixes
* Fixes styles for input and buttons
* Minor fixes
* Spacing fixes on header
* Minor fixes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-09-05 12:46:27 +05:30
329e8c37c8
fix: Validations for updating team members ( #5384 )
...
fixes : chatwoot/product#539
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-09-02 23:09:29 +05:30
Sojan Jose and GitHub
9525d4f034
chore: Improve rack-attack configuration ( #5389 )
...
fixes: https://github.com/chatwoot/product/issues/540
2022-09-02 23:09:03 +05:30
Sivin Varghese and GitHub
d47a0ae461
feat: Adds the ability to edit/delete category ( #5385 )
2022-09-02 22:34:07 +05:30
Nithin David Thomas and GitHub
a9801a3c76
design: Fixes to make portal page design close to figma mockups ( #5383 )
2022-09-02 18:07:17 +05:30
Sojan Jose and GitHub
8bdd229adb
chore: Update security guidelines ( #5382 )
...
- update security guidelines
2022-09-02 16:59:38 +05:30
03c8251cc3
feat: Adds the ability to publish an article ( #5365 )
...
* feat: Adds the ability to publish an article
* chore: Disabled publish button and dropdown when there is no article id
* chore: Review fixes
* chore: Review fixes
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/Header/EditArticleHeader.vue
* chore: Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-09-02 12:53:18 +05:30
Muhsin Keloth and GitHub
b16c5de7ca
Add fix for portal update issue ( #5381 )
2022-09-02 12:32:07 +05:30
Muhsin Keloth and GitHub
403ff1a679
feat: Add the ability update/edit locale in portal ( #5377 )
2022-09-02 11:45:03 +05:30
a1663e4e49
feat: Adds pages to edit portals ( #5373 )
...
* feat: Adds pages to edit portals
* Update app/javascript/dashboard/i18n/locale/en/helpCenter.json
* Update app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Review fixes
* Adds translations
* Fixes broken tests
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-09-02 10:22:15 +05:30
Muhsin Keloth and GitHub
504d339dd7
feat: Adds the ability to add new locale in portal ( #5363 )
2022-09-01 22:19:30 +05:30
Sojan Jose and GitHub
7f3f6f7129
fix: Account seeder error on staging ( #5371 )
...
- Fix for Account seeding error on staging environments
2022-09-01 21:23:57 +05:30
Sojan Jose and GitHub
4a74ab59d2
chore: Add a feature toggle for account seeding ( #5369 )
2022-09-01 17:19:15 +05:30
Sivin Varghese and GitHub
c09b10a710
feat: Display identifier in the contacts info panel ( #5318 )
2022-09-01 17:12:47 +05:30
Pranav Raj S and GitHub
83fb46bc50
chore: Add feature flag for branding ( #5370 )
2022-09-01 17:12:26 +05:30
Tejaswini Chile and GitHub
ee2189d98a
fix: Set and Update portal's default locale ( #5368 )
2022-09-01 16:44:06 +05:30
Sivin Varghese and GitHub
f4fc53b425
feat: Adds the ability to delete a portal ( #5305 )
2022-09-01 13:27:08 +05:30
Muhsin Keloth and GitHub
6e945dd61e
feat: Add the ability to delete/archive articles ( #5319 )
2022-09-01 10:55:59 +05:30
Sojan Jose and GitHub
c8d01a84ce
feat: Ability to seed Demo Accounts ( #5352 )
...
Introduces the ability to seed sample data into accounts in development and staging.
fixes : #3429
2022-09-01 00:31:43 +05:30
Nithin David Thomas and GitHub
ebea5428bc
chore: Moves portal slug as ID to query resources in vue store ( #5359 )
2022-08-31 19:59:05 +05:30
Sivin Varghese and GitHub
d14beeb654
feat: Article settings sidebar in new article page ( #5355 )
2022-08-30 14:41:27 +05:30
Vishnu Narayanan and GitHub
d7cbeed13e
fix: heorku deploy failure ( #5338 )
...
* fix: heorku deploy failure
* fix: set default stack to heroku-20
2022-08-30 11:39:28 +05:30
Sivin Varghese and GitHub
a9d687565e
chore: Displayed WhatsApp API provider name in inbox settings ( #5346 )
2022-08-29 12:40:15 +05:30
Jordan Brough and GitHub
9ddf4c205c
chore: Add index on conversations.uuid ( #5179 )
...
- We search for conversations by this attribute (e.g. in ReplyMailbox and CsatSurveyController) so it seems like we should have an index on it.
2022-08-23 19:05:30 +05:30
Vishnu Narayanan and GitHub
5957edc76b
feat: abort cwctl upgrade if custom code changes detected ( #5329 )
...
* feat: abort cwctl upgrade if custom code changes detected
* fix: cwctl exit handler on upgrade
* chore: update cwctl version
2022-08-23 18:56:39 +05:30
Sivin Varghese and GitHub
8bc560752f
fix: File validations for Twilio WhatsApp Channel ( #5294 )
...
Fixes : #5289 #2971
- Removed unsupported attachment file format from Twilio WhatsApp Channel. https://www.twilio.com/docs/whatsapp/guidance-whatsapp-media-messages
- Added 5 MB attachment file limit for Twilio SMS Channel.
2022-08-23 18:35:31 +05:30
Tejaswini Chile and GitHub
9c67814724
Fix: Instagram webhook test event ( #5317 )
2022-08-22 16:10:14 +05:30
Tejaswini Chile and GitHub
747ce9c80f
fix: Update automation to use case-insensitive filter ( #5302 )
2022-08-22 10:16:50 +05:30
bef3f66501
feat: Allow Dashboard App Frames to query the information ( #5313 )
...
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2022-08-22 09:27:35 +05:30
Sojan Jose and GitHub
f33ff351cf
chore: New Translation updates ( #5287 )
2022-08-19 13:55:23 +05:30
Muhsin Keloth and GitHub
a788e7ac7a
feat: Create portal UI improvements ( #5261 )
2022-08-18 17:11:19 +05:30
Tejaswini Chile and GitHub
ea918d9c5a
fix: send confirmation email on re-adding agent ( #5279 )
...
Send confirmation email after re-adding the agent.
Fixes : #4951
2022-08-18 13:12:43 +05:30
Muhsin Keloth and GitHub
0cd08065d1
feat: Adds the ability to create a new article ( #5255 )
2022-08-18 11:45:08 +05:30
Sivin Varghese and GitHub
45d0d101b1
chore: Handled help center sidebar in small screen ( #5293 )
2022-08-18 11:14:06 +05:30
Sojan
8042810e42
Merge branch 'hotfix/2.8.1' into develop
2022-08-17 19:47:57 +05:30
Sojan
0cfe654b33
Merge branch 'hotfix/2.8.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-08-17 19:47:48 +05:30
Vishnu Narayanan and GitHub
1db72dbe52
fix: linux installation failure due to empty db name ( #5283 )
2022-08-17 16:53:19 +05:30
Sojan
975eed65d7
Bump version to 2.8.1
2022-08-17 15:09:50 +05:30
Muhsin Keloth and GitHub
b71291619c
feat: Adds the ability to edit article ( #5232 )
2022-08-16 17:55:34 +05:30
Sojan
b5e497a6a2
Merge branch 'release/2.8.0' into develop
2022-08-16 17:33:38 +05:30
Sojan
3eee74cb1a
Merge branch 'release/2.8.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-08-16 17:33:28 +05:30
Sojan
cc8625ca75
Bump version to 2.8.0
2022-08-16 17:31:55 +05:30
Sojan Jose and GitHub
fc8c7a7107
chore: New Translation updates ( #5235 )
2022-08-16 17:06:21 +05:30
Sojan Jose and GitHub
2ecb2ca0f0
feat: Enable Capacity Config UI ( #5164 )
...
- Enables Capacity Config in UI
- Rewrite auto assignment Logic to consider only online agents
fixes : #4990
2022-08-16 16:58:23 +05:30
287f0a6de0
Fix: Truncate overflowing dashboard apps text ( #5221 )
...
* Truncate overflowing text
* Update app/javascript/dashboard/routes/dashboard/settings/integrations/DashboardApps/DashboardAppsRow.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Fix overflowing content
* Reviwe changes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-08-16 16:37:52 +05:30
Vishnu Narayanan and GitHub
3cb72242de
feat: add gh action for linux nightly installer ( #5191 )
...
* feat: add gh action for nightly installer
Signed-off-by: Vishnu Narayanan <vishnu@chatwoot.com >
2022-08-16 11:04:09 +05:30
Sojan Jose and GitHub
ecb1f57efe
chore: Improve memory usage in RemoveStaleNotificationsJob ( #5271 )
...
The job we introduced recently for removing the stale migrations would time out in instances with a large amount of deleted data.
So improving it for better memory utilization.
2022-08-15 19:58:42 +05:30
Tejaswini Chile and GitHub
2397326324
fix: Auto populate team after assigned via API ( #5250 )
2022-08-12 13:40:28 +05:30
Sojan Jose and GitHub
831a3bcd50
chore: Fix RemoveStaleNotificationJob query ( #5242 )
...
Rubocop amended the query in #5236 , which led to failure as the Message model already has a default scope.
This PR fixes it.
2022-08-10 15:08:37 +02:00
Sojan Jose and GitHub
74fdfffe08
fix: Notification page breakages ( #5236 )
...
- Remove the cascading foreign key indexes
- Add migration to clean up existing objects
fixes : #4285
2022-08-10 13:46:46 +02:00
Sivin Varghese and GitHub
12b6fb211a
feat: Created article settings side panel ( #5197 )
2022-08-10 11:58:19 +05:30
9bc75225fe
feat: Category store integration ( #5218 )
...
* Add more actions
* Complete sidebar store integration
* Complete portal list store integration
* Fixed the specs
* Added missing specs
* Add comment
* Code cleanup
* Fixed all the spec issues
* Add portal and article API specs
* Add category name in article list
* Add more locales
* Code beautification
* Exclude locale from codeclimate ci
* feat: Category store integration
* chore: Minor fixes
* chore: API call fixes
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds the ability for get articles based on categories
* chore: minor fixes
* chore: Minor fixes
* chore: fixes specs and minor improvements
* chore: Review fixes
* chore: Minor fixes
* chore: Review fixes
* chore: Review fixes
* chore: Spacing fixes
* Code cleanup
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-08-10 10:48:41 +05:30
Muhsin Keloth and GitHub
16ad263a3a
feat: Add the ability add new portal ( #5219 )
2022-08-10 09:27:52 +05:30
Pranav Raj S and GitHub
657bd44418
fix: Update the relevant agent presence only ( #5220 )
2022-08-09 12:32:09 +05:30
Pranav Raj S and GitHub
cbcee6414c
fix: Update styles to fix the status filter dropdown ( #5230 )
2022-08-09 12:10:56 +05:30
Pranav Raj S and GitHub
27a9806817
chore: Add support for conversation_id in SSO params ( #5228 )
2022-08-09 00:13:06 +05:30
Pranav Raj S and GitHub
4b1bb65c92
chore: Add notification ID to tag to make it unique ( #5227 )
2022-08-09 00:09:11 +05:30
Sojan Jose and GitHub
fe74a259be
fix: assigned_conversation_new_message? NoMethod error ( #5225 )
2022-08-08 23:43:57 +05:30
Sojan Jose and GitHub
a89a280a94
chore: Update translations from Crowdin ( #5202 )
2022-08-08 21:14:50 +05:30
Sojan Jose and GitHub
e26c6a2de5
chore: Lock closed threads automatically ( #5222 )
2022-08-08 21:12:28 +05:30
Pranav Raj S and GitHub
d8de16fd70
chore: Remove bourbon dependancy ( #5215 )
2022-08-08 21:02:29 +05:30
Muhsin Keloth and GitHub
20f3568583
feat: Portals store integration ( #5185 )
2022-08-08 15:47:32 +05:30
Pranav Raj S and GitHub
052422ed03
chore(deps): Upgrade vuelidate to 0.7.7 ( #5214 )
2022-08-08 12:02:37 +05:30
Sojan Jose and GitHub
8e75b3fc2a
chore: Remove stale contact presence records ( #5205 )
...
fixes : chatwoot/product#493
2022-08-05 12:51:39 +02:00
124390a019
chore: Cleanup update banner with localstorage updates ( #5209 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
2022-08-05 13:46:12 +05:30
fc9699d993
feat: Add assign team option to the context menu ( #5153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-08-05 10:57:58 +05:30
giquieu and GitHub
9bea84e2b5
fix: Sending Audio messages not working in Whatsapp Cloud
...
To send audio via Cloud API, it is unnecessary to send the caption.
fixes : #5078
2022-08-04 18:12:40 +02:00
Pranav Raj S and GitHub
b38877300c
chore: Update styles in cc/bcc input ( #5201 )
2022-08-04 17:45:12 +05:30
Sojan Jose and GitHub
044692e475
chore: Skip reprocessing invalid Stripe events ( #5200 )
2022-08-04 17:21:11 +05:30
Fayaz Ahmed and GitHub
7c5ee55d3e
feat: Add store to manage categories ( #5127 )
2022-08-04 15:11:29 +05:30
d55a8f7987
chore: Add POSTGRES_DATABASE details to the env file ( #5180 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-08-04 10:28:50 +05:30
Sivin Varghese and GitHub
65ac78acec
feat: Add a popup component for announcements ( #4615 )
2022-08-03 20:49:42 +05:30
Sojan Jose and GitHub
7659197d4d
chore: Update translations from Crowdin ( #5192 )
2022-08-03 18:26:24 +05:30
David Kubeš and GitHub
a18c0a97f3
chore: Replace packages with native functions ( #5140 )
2022-08-03 17:08:21 +05:30
Sivin Varghese and GitHub
262458f07d
fix: Update broken styles in the editor ( #5183 )
2022-08-03 15:04:32 +05:30
Sivin Varghese and GitHub
f7d4f39b5c
fix: Avatar renders an incorrect symbol if it has emoji ( #5184 )
2022-08-03 14:11:33 +05:30
Pranav Raj S and GitHub
e0cebfaa1a
chore: Allow super admin to suspend an account ( #5174 )
2022-08-03 11:40:03 +05:30
Tejaswini Chile and GitHub
4152883f38
chore: Add missing locale info in portal API ( #5177 )
2022-08-03 10:33:48 +05:30
Sivin Varghese and GitHub
11fe3f071e
feat: Component for listing the portal ( #5146 )
2022-08-02 20:03:51 +05:30
Muhsin Keloth and GitHub
5735a8e377
feat: Articles store integration ( #5133 )
2022-08-02 17:14:10 +05:30
Pranav Raj S and GitHub
82207c0d3e
fix: Convert limits to Integer ( #5169 )
2022-08-02 15:35:51 +05:30
Tejaswini Chile and GitHub
596b611fc0
fix: search with status and author ( #5152 )
2022-08-02 15:28:27 +05:30
Aswin Dev P.S and GitHub
d9b102cff0
feat: Widget Builder ( #5104 )
...
* feat: Add widget builder
2022-08-02 00:34:20 -07:00
945288ce15
fix: Trim search parameter value on contacts controller ( #5114 )
...
Co-authored-by: richardokusumasali@gmail.com <chi>
2022-08-01 19:59:27 +05:30
Sojan Jose and GitHub
8db5a528ef
chore: Roundrobin should consider auto-offline false config ( #5160 )
...
Previously round-robin conversation assignment logic wasn't considering the case where the Agent who had auto-offline config set as false.
fixes : #4780
2022-08-01 15:32:34 +02:00
2c372fe315
feat: Improve email rendering, introduce a new layout for emails ( #5039 )
...
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2022-08-01 10:53:50 +05:30
Sivin Varghese and GitHub
ef9ea99b91
feat: Opening and closing portal switch ( #5126 )
2022-07-28 14:52:05 +05:30
Tejaswini Chile and GitHub
41df70fb96
chore: Add articles metadata ( #5125 )
2022-07-28 13:59:16 +05:30
7f48cffeb3
feat: Support case insensitive tags for Slack note prefix ( #5123 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-28 09:57:39 +05:30
Tejaswini Chile and GitHub
21912155f2
chore: adding env example for direct_upload ( #5130 )
2022-07-27 20:03:33 +05:30
Fayaz Ahmed and GitHub
806e5efd7a
Portals Popover component ( #5052 )
...
* Portal Switch component
* Review fixes
* Update storybook props
* Review changes
* Popover component
* Review changes and moved the files to helpcenter folder
2022-07-27 14:37:55 +05:30
Fayaz Ahmed and GitHub
ce66b31422
feat: Portal Switch component ( #5008 )
2022-07-27 13:56:49 +05:30
Muhsin Keloth and GitHub
6368f9106a
feat: Article list view page ( #5122 )
2022-07-27 13:08:27 +05:30
6295f5fd61
feat: Add store to manage Articles ( #5048 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-27 12:29:11 +05:30
bfca4852c8
feat: Create store to manage Portals ( #5020 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-27 12:24:43 +05:30
1594d49a70
Chore: Add link to product docs on sidebar ( #5119 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-27 10:49:06 +05:30
Tejaswini Chile and GitHub
f6891aebbb
fix: Set account default language in account API ( #5086 )
2022-07-26 22:42:20 +05:30
Sivin Varghese and GitHub
699b01c1d1
fix: Console warnings from help-center routes ( #5117 )
2022-07-26 19:59:46 +05:30
Tejaswini Chile and GitHub
6a4c0a1578
feat: Execute macro actions, for the conversation ( #5066 )
2022-07-26 12:41:22 +05:30
Muhsin Keloth and GitHub
bd7a56061e
feat: Create category component ( #5103 )
2022-07-26 12:15:01 +05:30
92bb84127b
feat: Creates view for edit/new article page ( #5061 )
...
* feat: Creates view for edit/new article page
* chore: Minor fixes
* chore: Minor fixes
* Update HelpCenterLayout.vue
* chore: Minor fixes
* chore: Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-26 11:39:53 +05:30
2082409657
feat: Add support for right click context menu in conversations ( #4923 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-26 10:47:28 +05:30
Pranav Raj S and GitHub
d57dc41cee
fix: Do not reset the scroll if there is no new message ( #5108 )
2022-07-26 10:40:21 +05:30
Sojan Jose and GitHub
885fcf667c
chore: Enable Thai language (th), update translations ( #5095 )
2022-07-26 09:52:59 +05:30
Tejaswini Chile and GitHub
ffec427513
fix: mention notification mail for empty contact name ( #5091 )
2022-07-22 15:37:24 +05:30
Sojan Jose and GitHub
8acba37baf
chore: Add specs for stripe Webhooks endpoint ( #5087 )
2022-07-22 11:46:31 +02:00
a946c06fc4
chore(deps): bump terser from 4.8.0 to 4.8.1 ( #5069 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 11:41:14 +02:00
Kyle McLaren and GitHub
bc3e7d2b5e
chore: Support for Elastic APM ( #5004 )
...
This PR adds support for Elastic APM for APM and Tracing in self-hosted installations.
Configuration can be done via the ELASTIC_APM_SERVER_URL and ELASTIC_APM_SECRET_TOKEN env variables.
fixes : #4999
2022-07-22 11:39:37 +02:00
Tejaswini Chile and GitHub
5727928600
fix: help center clearing minor bugs ( #5075 )
2022-07-22 15:01:07 +05:30
Pranav Raj S and GitHub
32291f4f7d
fix: Update browser_language logic to include all languages ( #5090 )
2022-07-22 13:14:17 +05:30
Sojan Jose and GitHub
6a6a37a67b
chore: Ability to Disable Gravatars ( #5027 )
...
fixes : #3853
- Introduced DISABLE_GRAVATAR Global Config, which will stop chatwoot from making API requests to gravatar
- Cleaned up avatar-related logic and centralized it into the avatarable concern
- Added specs for the missing cases
- Added migration for existing installations to move the avatar to attachment, rather than making the API that results in 404.
2022-07-21 19:27:12 +02:00
Sivin Varghese and GitHub
6105567238
enhancement: Uses bold font-weight for unread notifications ( #5073 )
2022-07-20 14:41:03 +05:30
Pranav Raj S and GitHub
cd5e0c548c
fix: Do not enqueue job if it is already enqueued ( #5068 )
2022-07-19 21:12:31 +05:30
Pranav Raj S and GitHub
7fc0d166e8
feat: Allow SaaS users to manage subscription within the dashboard ( #5059 )
2022-07-19 19:04:17 +05:30
Tejaswini Chile and GitHub
0cee42a9f9
feat: Macros CRUD api ( #5047 )
2022-07-19 17:37:00 +05:30
c4b2005425
feat: Component for editing an article ( #5032 )
...
* feat: Component for editing an article
* chore: font fixes
* chore: Review fixes
* chore: fixes conflicts
* Update app/javascript/dashboard/components/helpCenter/EditArticle.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* chore: Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-07-19 09:28:19 +05:30
Chad Burggraf and GitHub
558e3c7499
fix: Catch audio context errors ( #5051 )
...
Prevent errors in decoding and playing sounds from propagating
by catching them in the promise chain.
Fixes #4281 .
2022-07-19 08:59:50 +05:30
Pranav Raj S and GitHub
1dc7ce526e
chore: Add ee helper, custom_attributes to account ( #5058 )
2022-07-19 00:33:06 +05:30
Sojan
d8140db2e8
Merge branch 'release/2.7.0' into develop
2022-07-18 16:48:23 +02:00
Sojan
628f40c2ab
Merge branch 'release/2.7.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-07-18 16:48:01 +02:00
Sojan
5d674dddfe
Bump version to 2.7.0
2022-07-18 16:41:44 +02:00
Tejaswini Chile and GitHub
00dc65ef73
fix: Twilio validation over blank messaging_service_sid ( #5055 )
2022-07-18 20:02:37 +05:30
Simon and GitHub
fd44f9f28a
chore: add file size to response ( #5054 )
...
Add file_size to the attachment response to display the file size in chat.
Fixes : #4992
2022-07-18 15:21:24 +02:00
f004db3d26
feat: New sidebar component for help-center ( #5017 )
...
* feat: New sidebar component for help-center
* chore: Review fixes
* chore: Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-07-18 11:16:36 +05:30
Muhsin Keloth and GitHub
21a8b79aa5
feat: Article table component ( #5018 )
2022-07-18 10:47:15 +05:30
Sojan Jose and GitHub
bba3475083
chore: Update Crowdin translations ( #5022 )
2022-07-15 18:35:03 +07:00
Vishnu Narayanan and GitHub
18d9bd8359
feat: add -I option to cwctl and modify -i option ( #5045 )
...
* feat: add -I option to cwctl and modify -i option
Modify -i option to drop support for installing specified branch
-i will always default to installing the latest stable branch(master)
Add -I option to support installing Chatwoot with a custom branch
* chore: minor fixes
2022-07-15 16:17:52 +05:30
Sivin Varghese and GitHub
a4e21f2c47
fix: Avoid text overflow with notification content ( #5035 )
2022-07-15 16:27:27 +07:00
Sojan Jose and GitHub
4187428729
chore: Update dependencies to the latest versions ( #5033 )
2022-07-15 09:51:59 +07:00
Sojan Jose and GitHub
ea1a27c7d4
fix: Twilio channel selection when MessagingServiceSid is empty ( #5040 )
...
- Fixes channel selection logic in incoming_message_service for Twilio messages
ref: #4242
2022-07-14 15:16:07 +02:00
Vishnu Narayanan and GitHub
b7c2159274
chore: Improve output of cwctl -w option ( #5037 )
2022-07-14 14:13:33 +05:30
Pranav Raj S and GitHub
8dd0d514fd
feat: Init HelpCenter Routes ( #5034 )
2022-07-14 10:31:36 +07:00
Tejaswini Chile and GitHub
d7be0ea08e
fix: Conversation filter on dates ( #5024 )
2022-07-13 10:08:24 +05:30
Sojan Jose and GitHub
8f8a1813bf
chore: Fix puma configuration ( #5023 )
...
Fixes the console warning:
`` `
WARNING: Detected running cluster mode with 1 worker.
Running Puma in cluster mode with a single worker is often a misconfiguration.
! Consider running Puma in single-mode (workers = 0) in order to reduce memory overhead.
```
2022-07-12 12:27:33 +02:00
giquieu and GitHub
827f977a37
feat: Update API for contact avatar ( #4719 )
...
Added the ability to update the contact's avatar via API and Dashboard.
- Contact create and update APIs can now accept avatar attachment parameters [form data].
- Contact create and update endpoints can now accept the avatar_url parameter.[json]
- API endpoint to remove a contact avatar.
- Updated Contact create/edit UI components with avatar support
Fixes : #3428
2022-07-12 10:03:16 +02:00
Fayaz Ahmed and GitHub
68fcd28751
chore: Add key for referrer link ( #5021 )
2022-07-12 09:46:39 +02:00
Pranav Raj S and GitHub
d1bd829bc0
fix: Update yarn.lock file to fix deployment issue ( #5019 )
2022-07-12 13:58:57 +07:00
Sojan Jose and GitHub
05db053f60
chore: fix schema error from PR merges ( #5016 )
2022-07-11 20:12:48 +02:00
Sojan Jose and GitHub
da12a39321
chore: New translation updates ( #5001 )
...
New translation updates
2022-07-11 19:14:37 +02:00
Muhsin Keloth and GitHub
ce1f69b2bc
feat: Article item component ( #5007 )
2022-07-11 13:46:42 +05:30
Tejaswini Chile and GitHub
23ac1c0334
feat: Added portal logo and the updated the JSON ( #4996 )
2022-07-11 12:43:24 +05:30
9d4b77533e
chore(deps): bump moment from 2.29.2 to 2.29.4 ( #5005 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-10 14:01:19 +07:00
Fayaz Ahmed and GitHub
b9eb9a5e48
feat: Support square variants of thumbnail and avatar components ( #5003 )
2022-07-09 14:03:55 +05:30
Sivin Varghese and GitHub
43f46e96d4
feat: Header for help-center pages ( #4987 )
2022-07-08 21:19:19 +05:30
Vishnu Narayanan and GitHub
1bb9556c86
fix: non-zero exit on --logs and handle no opts ( #5006 )
...
* fix: non-zero exit on --logs and handle no opts
* chore: update cwctl version + add utm_source
2022-07-08 18:49:27 +05:30
Jordan Brough and GitHub
49d08a6773
feat: Support Twilio Messaging Services ( #4242 )
...
This allows sending and receiving from multiple phone numbers using Twilio messaging services
Fixes : #4204
2022-07-08 18:20:07 +05:30
Tejaswini Chile and GitHub
fdf449dc87
Feat: Article public apis ( #4955 )
2022-07-08 17:24:38 +05:30
Aswin Dev P.S and GitHub
13a4e0e6d9
chore: Email improvements. ( #4901 )
...
* Update email processing logic.
* Fix sentry issues
2022-07-08 04:13:24 -07:00
Aswin Dev P.S and GitHub
19c637eb33
chore: Fix sentry issues ( #4940 )
...
Fixes : #4810
2022-07-08 15:09:06 +05:30
ef1d117717
feat: Add the ability to create dashboard apps from the UI ( #4924 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-08 15:55:32 +07:00
Sojan Jose and GitHub
e4b159dd54
chore: Fix contact model silently discarding invalid attributes ( #4994 )
...
fixes : #4775
2022-07-08 13:58:09 +05:30
Pranav Raj S and GitHub
bca347149a
feat: Add responsive tab styles ( #4997 )
2022-07-08 13:53:01 +07:00
Sojan Jose and GitHub
181d7797a2
chore: New translation updates ( #4980 )
...
New translation updates
2022-07-07 21:07:19 +05:30
Sojan Jose and GitHub
f014d9d13b
chore: Ability to Disable Sentry Transactions ( #4989 )
...
fixes : #4866
2022-07-07 20:37:05 +05:30
Tejaswini Chile and GitHub
2f3bdbdea2
fix: Handling facebook client error for deleted story ( #4984 )
2022-07-07 18:02:18 +05:30
Simon and GitHub
91d9584fcb
feat: show HMAC and enforcement for identity validation for API inbox ( #4807 )
...
Display HMAC token in Settings of Inbox API and enable enforcement option. I have also adjusted the copy so that it can apply to all inbox types.
Fixes : #4804
2022-07-06 21:47:39 +02:00
3145492a26
chore: Copy change for inbox management page ( #4868 )
...
Copy change for inbox management page
Co-authored-by: Hricha Shandily <103104754+Hricha-Shandily@users.noreply.github.com >
2022-07-06 21:46:23 +02:00
Sojan Jose and GitHub
a6c609f43d
feat: Support for Whatsapp Cloud API ( #4938 )
...
Ability to configure Whatsapp Cloud API Inboxes
fixes : #4712
2022-07-06 21:45:03 +02:00
Tejaswini Chile and GitHub
4375a7646e
fix: Fixing message create issue for deleted instagram story ( #4979 )
2022-07-06 17:18:36 +05:30
Pranav Raj S and GitHub
2a899a633a
chore: Remove confirm password field from the account signup step ( #4976 )
2022-07-06 12:26:26 +07:00
Tejaswini Chile and GitHub
b86638faac
fix: last incoming message sort ( #4972 )
2022-07-06 00:37:43 +05:30
Sojan Jose and GitHub
ac2adfbd57
chore: Append incoming SMS to last conversation ( #4906 )
...
- Append incoming SMS to the last conversation created for a contact
2022-07-05 21:19:41 +05:30
Jordan Brough and GitHub
4b405dc052
chore: Remove no-op condition in Api::V1::InboxesHelper ( #4966 )
...
- `smtp` cannot be nil in this context
- `anything&.nil?` will never be truthy, even if `anything` is nil
2022-07-05 17:12:53 +02:00
Sojan Jose and GitHub
5d2cdb40f5
chore: Disable CORS on public API endpoints ( #4970 )
...
fixes : #3070
2022-07-05 15:00:17 +02:00
Tejaswini Chile and GitHub
029209a634
feat: Portal and Category public APIs ( #4946 )
2022-07-05 17:15:38 +05:30
Tejaswini Chile and GitHub
ae59d0a343
feat: CRUD operation for associated articles to current article ( #4912 )
2022-07-04 20:29:44 +05:30
Tejaswini Chile and GitHub
62ed9fe1b4
fix: update gemfile ( #4968 )
2022-07-04 12:38:45 +05:30
Tejaswini Chile and GitHub
97bf5d0c6a
fix: Fetch email address to create contact ( #4952 )
...
Get the email address from the email content in the correct format.
Fixes : chatwoot/product#454
2022-07-02 17:40:28 +05:30
Tejaswini Chile and GitHub
ac7ebe516a
fix: Add validation for the inbox name to avoid special characters ( #4920 )
2022-06-30 10:59:37 +05:30
Pranav Raj S and GitHub
3f6862e04d
chore: Display API key in the configuration for WhatsApp Channel ( #4944 )
2022-06-29 11:52:55 +05:30
Tejaswini Chile and GitHub
df1bf112ea
feat: Category API to handle linked categories and parent-sub categories ( #4879 )
2022-06-28 11:23:20 +05:30
Pranav Raj S and GitHub
c0249a1b5b
chore: Fix loading state in the inbox settings page ( #4926 )
2022-06-24 23:15:46 +05:30
Fayaz Ahmed and GitHub
263b8240d3
fix: Add a fix for minor UI / a11y issues ( #4905 )
2022-06-24 23:12:53 +05:30
Pranav Raj S and GitHub
dcbca173ac
chore: Revert the migration for inbox name changes ( #4919 )
2022-06-23 20:36:46 +05:30
Sivin Varghese and GitHub
f39c10395a
fix: Add email validation in the email field of the new contact form ( #4909 )
2022-06-23 19:22:31 +05:30
Pranav Raj S and GitHub
b7606e4dd2
feat: Add native support for CSML in agent_bot API ( #4913 )
2022-06-23 19:17:46 +05:30
f71980bd95
chore: Enhance contact merge action for identified users ( #4886 )
...
- Discard conflicting keys
- Do not merge if there is already an identified contact
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-23 15:48:56 +05:30
Aswin Dev P.S and GitHub
d5ddc9d76c
chore: Fix SMTP sentry issue ( #4883 )
...
* Fix SMTP sentry issue
2022-06-22 14:09:04 -07:00
Vishnu Narayanan and GitHub
f2dd88223f
feat: add chatwoot ctl(cwctl) cli tool ( #4836 )
...
* chore: Add log messages for stages skipped during installation
* feat: allow chatwoot user to start/stop/restart chatwoot service
* feat: init options support
* feat: add option support to linux install script [c|h|i|l|s|u|wi]
Install/Update/Configure/Manage your Chatwoot installation
Example: cwctl -i master
Example: cwctl -l web
Example: cwctl --logs worker
Example: cwctl --upgrade
Example: cwctl -c
Installation/Upgrade:
-i, --install install Chatwoot with the git branch
specified
-u, --upgrade upgrade Chatwoot to latest version
-s, --ssl fetch and install ssl certificates using
LetsEncrypt
-w, --webserver install and configure Nginx webserver
Management:
-c, --console open ruby console
-l, --logs tail logs from Chatwoot. Supported values
include web/worker.
Miscellaneous:
-h, --help display this help text and exit
* feat: add cwctl to PATH
* feat: add -v to cwctl
* chore: switch db migration to db:chatwoot_prepare
* fix: reload systemd files after update
* fix: improve -s -w cwctl options
* chore: throw error if run without options
Signed-off-by: Vishnu Narayanan <vishnu@chatwoot.com >
* feat: add -d/--debug option to cwctl
* fix: remove hardcoded ruby version in cwctl --upgrade
* chore: improve cwctl -v function
* fix: disable cwctl selfupdate
* chore: cleanup
* feat: allow chatwoot user to run cwctl
* chore: cwctl improve formatting for log messages
* fix: variable expansion inside heredoc
* feat: save pg_pass to file to support idempotency
One of the things preventing idempotency was the postgres
password generated at run-time to setup postgres initally.
This commit saves the password to the file if postgres setup function
is executed and reloads on future re-runs if needed.
* chore: formatting
* chore: add cwctl promotion message at the end of installation
* feat: add comments
* chore: add chatwoot and cwctl version files
* feat: add func to get latest chatwoot version
* chore: formatting
* feat: add --restart option to cwctl
* chore: update --help with restart option details
* chore: minor improvements to --restart
2022-06-22 23:39:01 +05:30
Tejaswini Chile and GitHub
ffd102cdfe
Feat: custom sort ( #4864 )
2022-06-22 11:04:42 +05:30
Vishnu Narayanan and GitHub
a2204cf269
chore: add artifact hub shield to README ( #4904 )
...
https://artifacthub.io/packages/helm/chatwoot/chatwoot
2022-06-21 20:02:35 +05:30
Fayaz Ahmed and GitHub
9c721d279e
fix: Truncate overflowing labels in bulk actions selector ( #4898 )
2022-06-20 22:32:52 +05:30
Tejaswini Chile and GitHub
9cf6d18e4c
fix: Update the documentation for automation rules API endpoint ( #4896 )
2022-06-20 19:57:52 +05:30
Fayaz Ahmed and GitHub
3fa34991d0
fix: Display missing agent avatar in bulk actions and reports ( #4893 )
2022-06-20 16:04:26 +05:30
f31c6d5de2
feat: Update the design of labels to use a smooth theme ( #4325 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-20 15:09:22 +05:30
Muhsin Keloth and GitHub
a8c6cd729b
chore: Sync pre-chat fields after custom attribute update ( #4692 )
2022-06-20 14:16:49 +05:30
Sojan Jose and GitHub
6c6df8661b
chore: Codespace webpacker fix ( #4887 )
...
- fixes the webpacker error when running overmind start -f Procfile.dev
2022-06-17 19:12:56 +05:30
Sojan Jose and GitHub
db86263353
chore: Codespace Improvements ( #4867 )
...
- switch to ubuntu base image
- use rbenv to manage ruby
- add gh to base image
2022-06-17 03:07:07 +05:30
Fayaz Ahmed and GitHub
205d42e978
fix: Bulk actions agent loading ( #4874 )
2022-06-16 11:02:32 +05:30
Prithvi Tharun and GitHub
644f07a23d
chore: Copy change for automatic greeting message ( #4727 )
...
fixes : #4726
2022-06-15 18:34:24 +05:30
Sojan Jose and GitHub
881feb1274
Merge tag 'v2.6.0' into develop
...
v2.6.0
2022-06-15 12:09:39 +00:00
Sojan Jose and GitHub
374b367115
Merge branch 'release/2.6.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-06-15 12:09:13 +00:00
Sojan Jose and GitHub
c2114e468e
Bump version to 2.6.0
2022-06-15 12:06:15 +00:00
Aswin Dev P.S and GitHub
9015d83679
chore: Fix sentry issues ( #4863 )
...
Fix sentry issues.
Fixes #4815 , #4814 , #4811 , #4809
2022-06-15 16:20:19 +05:30
067c905329
feat: Allow agents to bulk assign labels to conversations ( #4854 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-15 14:18:05 +05:30
Sojan Jose and GitHub
fdcaed75f6
chore: Move Whatsapp template sync to cron ( #4858 )
...
syncing WhatsApp templates job is moved to a cron job for a better user experience. The Templates are synced at 15-minute intervals now.
2022-06-14 23:46:36 +05:30
Pranav Raj S and GitHub
1bb0371c1d
feat: Add agent_reply_time_window in API channels ( #4857 )
2022-06-14 18:05:37 +05:30
Pranav Raj S and GitHub
f0db8545cb
fix: Update profile settings header title ( #4856 )
2022-06-14 10:55:16 +05:30
Tejaswini Chile and GitHub
37cb46238a
chore: Add documentation for automation rule, fix conversation/inbox_members ( #4852 )
2022-06-14 10:35:56 +05:30
713fdb44ee
feat (ee): APIs to configure an auto assignment limit for inboxes ( #4672 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-13 20:18:38 +05:30
Tejaswini Chile and GitHub
ae72757d23
feat: APIs for Articles ( #4777 )
...
Fixes : #4802
2022-06-13 15:56:49 +05:30
2198930185
feat: Add snooze, reopen option to bulk actions ( #4831 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-13 12:14:27 +05:30
Tejaswini Chile and GitHub
aa903a5da9
Fix: backend changes for custom attribute ( #4830 )
2022-06-13 11:58:54 +05:30
Pranav Raj S and GitHub
98f2160462
chore: Remove partner signup link ( #4843 )
2022-06-13 11:27:22 +05:30
Sojan Jose and GitHub
bc8e08f126
chore: Update translations from Crowdin ( #4838 )
2022-06-12 11:08:06 +05:30
7bb8186e43
chore: Update self-closing tag eslint config ( #4826 )
...
* chore: Fix self-closing tag issues
* Fix merge conflicts
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2022-06-10 19:29:52 +05:30
Pranav Raj S and GitHub
3f3ee6c34a
chore: Add support for message_templates in API inbox ( #4835 )
2022-06-10 18:40:29 +05:30
Tejaswini Chile and GitHub
9bac5873ef
chore: upgrade FB api version ( #4834 )
2022-06-10 12:26:21 +05:30
Fayaz Ahmed and GitHub
c5c89449dd
fix: Remove validation for WhatsApp templates with no params ( #4820 )
2022-06-09 21:34:59 +05:30
Sojan Jose and GitHub
6385e42d9b
chore: Update translations from Crowdin ( #4833 )
2022-06-09 21:30:03 +05:30
Sojan Jose and GitHub
74fa907010
chore: Update translations from Crowdin ( #4822 )
2022-06-08 21:36:47 +05:30
a9e84ec182
chore: Update translations from Crowdin ( #4772 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-08 18:07:45 +05:30
5d1729c7dd
chore(deps): bump jmespath from 1.6.0 to 1.6.1 ( #4808 )
...
Bumps [jmespath](https://github.com/trevorrowe/jmespath.rb ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/trevorrowe/jmespath.rb/releases )
- [Changelog](https://github.com/jmespath/jmespath.rb/blob/main/CHANGELOG.md )
- [Commits](https://github.com/trevorrowe/jmespath.rb/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: jmespath
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:08:27 +05:30
Jordan Brough and GitHub
635e544124
chore: Make "apk" commands consistent in Dockerfile ( #4790 )
...
* Make "apk" commands consistent in Dockerfile
1. Add "--no-cache" to some "apk" command that are missing it
* Remove "--update-cache" in Dockerfile
> As of Alpine Linux 3.3 there exists a new --no-cache option for apk. It allows
> users to install packages with an index that is updated and used on-the-fly and
> not cached locally
>
> This avoids the need to use --update-cache and remove /var/cache/apk/* when
> done installing packages.
https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md
2022-06-07 19:49:32 +05:30
Tejaswini Chile and GitHub
772d92a4d3
fix: Facebook reauthorization mailer ( #4695 )
2022-06-07 17:50:51 +05:30
bad24f97ab
feat: Add support for Whatsapp template messages in the UI ( #4711 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-07 17:33:33 +05:30
Tejaswini Chile and GitHub
56f668db6b
feat: Attribute changed filter for automations ( #4621 )
2022-06-07 13:01:01 +05:30
Pranav Raj S and GitHub
267252d13a
chore: Remove flay, rspec from development/test group ( #4795 )
2022-06-06 12:43:19 +05:30
79a525aa62
feat: Add Bulk actions to conversations ( #4647 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-03 11:12:22 +05:30
Vishnu Narayanan and GitHub
43a0b4c039
fix: command execution in heredoc comment ( #4783 )
2022-06-02 19:51:50 +05:30
Pranav Raj S and GitHub
6b9f4d08ca
fix: Disable marking IMAP connection as invalid for Standard Errors ( #4764 )
2022-06-02 11:38:58 +05:30
c7c46463ae
fix: Update text used in personal message signature ( #4776 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-01 18:41:18 +05:30
Pranav Raj S and GitHub
b9aa4444b3
feat: Allow users to create dashboard apps to give agents more context ( #4761 )
2022-06-01 11:13:10 +05:30
55f7be4ffc
chore(deps): bump eventsource from 1.1.0 to 1.1.1 ( #4774 )
...
Bumps [eventsource](https://github.com/EventSource/eventsource ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases )
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md )
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 10:57:18 +05:30
Fayaz Ahmed and GitHub
3f382e5979
Handle falsy values for filename ( #4766 )
2022-05-31 16:38:24 +05:30
Sojan Jose and GitHub
afc7c1ac64
chore: Update translations ( #4755 )
2022-05-30 18:39:20 +05:30
e924ce8b4e
chore(deps): bump rack from 2.2.3 to 2.2.3.1 ( #4756 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 17:18:18 +05:30
568c30e93e
chore: Update ruby and docker base image to 3.0.4 ( #4693 )
...
* chore: Update ruby version to 3.0.4
* chore: update ruby version in docker workflow
* chore: update ruby version to 3.1.2
* Upgrade vue-jest to remove deasync
* Revert to 3.0.4 to see if deasync issue is fixed
* fix: script failure if pg/redis not opted in
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-05-27 17:33:24 +05:30
Devin Ellis and GitHub
50d2dbd462
chore: Fix the exception while destructuring data in chatwoot:error listener ( #4702 )
2022-05-27 12:23:29 +05:30
52fad886b8
feat: Add business hours in downloadable reports ( #4674 )
...
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
2022-05-27 09:26:59 +05:30
Sojan Jose and GitHub
dceeb57a1d
chore: Update translations from Crowdin ( #4751 )
2022-05-26 20:23:36 +05:30
Sojan Jose and GitHub
ab05dd9b9b
chore: Improve the reauthorization requirement for Email Channel ( #4753 )
2022-05-26 20:23:00 +05:30
Tejaswini Chile and GitHub
47a6d9681a
feat: send instagram message after 24 hours ( #4698 )
...
Added MESSAGE_TAG: HUMAN_AGENT for Instagram messages if the user wants to send it after the standard message window.
Fixes #4689
2022-05-26 19:05:30 +05:30
Pranav Raj S and GitHub
1215f37dda
fix: Remove translated keys from locale files ( #4748 )
2022-05-25 17:06:31 +05:30
Pranav Raj S and GitHub
7434b60f71
fix: Revert changes to fix name updation from pre-chat form ( #4741 )
2022-05-25 12:38:23 +05:30
22d22cf4c3
feat: Improve Linux installation experience ( #4713 )
...
* feat: improve linux install script
* feat: setup logging and reduce verboseness
- redirect output/error to logfile
- reduce verboseness in main script exection
- trap non-zero exit
* chore: remove debug logging
* feat: fix exit handler
* improve legibility
* Apply suggestions from code review
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
* chore: improve formatting
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-05-25 12:30:00 +05:30
baa3efaf0e
chore: Update cache name in Circle CI builds ( #4738 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-05-24 22:15:57 +05:30
d20eafbda4
chore(deps): bump nokogiri from 1.13.5 to 1.13.6 ( #4734 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.5 to 1.13.6.
- [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.13.5...v1.13.6 )
---
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>
2022-05-24 11:12:19 +05:30
Pranav Raj S and GitHub
56cd9bc0b8
chore: Add Assignable Agents API ( #4722 )
2022-05-23 19:24:07 +05:30
Pranav Raj S and GitHub
79280ae372
chore: Enable Ukrainian language (uk) ( #4720 )
2022-05-23 12:46:17 +05:30
Sojan Jose and GitHub
f74a1f7d5a
chore: Update translations ( #4691 )
2022-05-23 11:33:54 +05:30
Aswin Dev P.S and GitHub
59969cc553
chore: Update conversations API to include unattended conversations. ( #4708 )
...
* Update conversations API to include unattended conversations.
2022-05-22 00:38:41 -07:00
Pranav Raj S and GitHub
11ea8a3032
chore: Update the documentation for configuring webhooks in the account ( #4703 )
2022-05-19 21:43:23 +05:30
Aswin Dev P.S and GitHub
8538660bbd
Add first_reply_created event in conversation ( #4576 )
2022-05-18 21:16:33 -07:00
Pranav Raj S and GitHub
20565d09c0
fix: Update report method to fix issues with special characters ( #4697 )
2022-05-18 12:15:30 +05:30
Pranav Raj S and GitHub
47f04ee3fe
chore: Add an option to download CSAT Reports ( #4694 )
2022-05-17 21:01:45 +05:30
Sojan
361ffbab82
Merge branch 'release/2.5.0' into develop
2022-05-16 16:55:34 +05:30
Sojan
63b1013b45
Merge branch 'release/2.5.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-05-16 16:55:24 +05:30
Pranav Raj S and GitHub
b8f25d77bf
chore: Enable New Message Button on Contact Panel ( #4681 )
...
Fixes : #4653
2022-05-16 16:41:40 +05:30
Tejaswini Chile and GitHub
938fb887c4
feat: Portal endpoint ( #4633 )
2022-05-16 13:59:59 +05:30
Sojan Jose and GitHub
f620bdec54
chore: Update translations ( #4682 )
2022-05-16 12:45:45 +05:30
Pranav Raj S and GitHub
45e2cd4903
fix: Render links with target attribute ( #4685 )
2022-05-16 11:29:05 +05:30
Sojan
2060f270d3
Bump version to 2.5.0
2022-05-13 17:26:26 +05:30
Sojan Jose and GitHub
6535624cd6
chore: Update translations from Crowdin ( #4665 )
2022-05-13 11:38:49 +05:30
Vishnu Narayanan and GitHub
8fbe470bdd
feat: Control sidekiq log level via rails LOG_LEVEL env variable ( #4675 )
2022-05-13 11:34:43 +05:30
Hricha Shandily and GitHub
ab3ee74a86
chore: Update the note of Personal message signature ( #4679 )
2022-05-13 11:34:09 +05:30
Aswin Dev P.S and GitHub
41b8901432
Fix: Agent Reports counts when they have access to multiple accounts ( #4663 )
...
This change restricts the agent report API to fetch agent metrics from the current account.
Fixes : #4660
2022-05-11 14:31:57 +05:30
Tejaswini Chile and GitHub
329d305e92
Fix: Creating contacts for already outgoing/echo messages ( #4668 )
...
Check if the Instagram contact is already present in the system before throwing the exception.
Fixes : #4666
2022-05-11 14:29:38 +05:30
Sojan Jose and GitHub
5c161e0fef
chore: Split Inbox Settings Page Component ( #4664 )
...
Clean up the Inbox settings page component as the logic was growing complex.
- Moved subpages like collaborators and configuration to new components
- Moved Assignment settings to the collaborators tab
- Introduced a new inbox seeder to quickly preview setting pages of all inbox types when in development
2022-05-11 13:33:24 +05:30
Pranav Raj S and GitHub
9cec091716
chore: Remove unused method scriptGenerator ( #4671 )
2022-05-11 12:05:42 +05:30
Tejaswini Chile and GitHub
9ed1f5d96b
Fix: Make version changeable from the environment vars ( #4654 )
2022-05-10 19:20:55 +05:30
Sojan Jose and GitHub
81d0405473
chore: Ability to update user email via Platform APIs ( #4659 )
...
When the platform update API is called with a new user email, Chatwoot will still follow the same behaviour as in the dashboard where the user will have to confirm the new email activation link until the email gets updated on the user record.
In the case of platform APIs, this might not be the ideal behaviour since the original app will already have a flow to update the user emails. Hence we need to confirm the emails without the extra step in this case
fixes : #4510
2022-05-10 00:28:46 +05:30
Tejaswini Chile and GitHub
f64cf85ab2
Fix: sentry issue for slack incoming files check ( #4656 )
...
Interpreter error for nil. any? added nil. present?
Fixes: https://sentry.io/share/issue/48c10d26490f4bdaab78c82244fcea98/
2022-05-09 23:54:45 +05:30
Tejaswini Chile and GitHub
0eeab8c56c
Fix: slack repeated callback event message for attached files ( #4610 )
2022-05-09 19:18:30 +05:30
Sojan Jose and GitHub
5ce29a7beb
chore: Update translations from Crowdin ( #4652 )
2022-05-09 18:57:05 +05:30
Sojan Jose and GitHub
04dfb034cc
chore: Upgrade Exception tracking ( #4638 )
...
- Upgrade Sentry Libraries
- Enable provision for account and user info in error tracking
- Add ChatwootExceptionTracker
fixes : #4375
2022-05-09 14:23:19 +05:30
Aswin Dev P.S and GitHub
360b438a55
Fix: Campaign triggers first_response reporting event ( #4607 )
...
* Fix: Campaign triggers first_response reporting event
* fix spec failure
2022-05-09 01:34:52 -07:00
5b5a6d89c0
chore: "Channel::TwilioSms" to be unique on account_sid+phone_number ( #4188 )
...
"Twilio::IncomingMessageService" searches for the correct "Channel::TwilioSms"
by account_sid+phone_number. If these values are duplicated then which record it
finds is indeterminate and may alternate between queries.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-05-07 17:57:16 +05:30
Pranav Raj S and GitHub
2e0d43c093
chore: Use different files for widget and dashboard audio alert ( #4637 )
2022-05-06 20:19:36 +05:30
ef850eda0f
feat: Add the SDK method to programatically toggle live chat bubble ( #4223 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-05-06 19:30:48 +05:30
Sojan Jose and GitHub
80b8f5f915
chore: Update puma config as per recommendations ( #3640 )
...
Ability to configure workers for puma
ref:
https://devcenter.heroku.com/articles/concurrency-and-database-connections#threaded-servers
https://www.speedshop.co/2017/10/12/appserver.html
2022-05-06 16:38:44 +05:30
77a6893203
feat: Open "Switch Account" modal when clicking account name on dashboard ( #4613 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-05-06 14:55:38 +05:30
Sojan Jose and GitHub
8d2b719dc1
chore: Sentry issues ( #4623 )
...
Fixes various issues reported on sentry
- Twilio channel creation validation errors
- Room Channel error with nil class
- Webhook Uri exception
2022-05-06 14:50:55 +05:30
Muhsin Keloth and GitHub
4f9d41962a
fix: Pre chat custom fields drag and drop ( #4530 )
2022-05-06 12:01:34 +05:30
Vishnu Narayanan and GitHub
66d366f0ff
chore: update newrelic gem to support log forwarding ( #4626 )
...
Newrelic gem 8.7 has application log forwarding support and
this is enabled by default. Update the gem to make use of this
feature. Chatwoot have turned this off by default though.
Set `NEW_RELIC_APPLICATION_LOGGING_ENABLED` to enable this feature. Make
sure to disable another log forwarding services you have to prevent
duplicated logs.
ref: https://docs.newrelic.com/docs/release-notes/agent-release-notes/ruby-release-notes/ruby-agent-870
Fixes : #4625
2022-05-05 23:57:55 +05:30
Pranav Raj S and GitHub
832a0f24a0
chore: Update missing packages in yarn.lock ( #4627 )
2022-05-05 19:29:51 +05:30
Sojan Jose and GitHub
c9a8796a36
chore: Sentry Issue fixes ( #4618 )
...
Address the following sentry issues
fixes : #4616 , #4617
2022-05-05 00:31:11 +05:30
giquieu and GitHub
b3c8c83830
fix: unable to send audio messages on Telegram ( #4493 )
...
- Changed the lib used to record the audio (videojs-record).
- Changed the audio recording format to .ogg, this will keep compatibility with sending to channels, Telegram, Whatsapp, Web Widget and API.
- Changed the visualization of recording waves, it is now using bars, the same format used by applications (Whatsapp and Telegram)
Fixes : #4115
2022-05-02 13:14:04 +05:30
Shivam Chahar and GitHub
c1cc94e37c
Fix: Accept phone number in public contact api ( #4580 )
...
This PR makes it possible to pass a phone number to the public contacts API.
Fixes #4023
2022-04-29 20:54:12 +05:30
Vishnu Narayanan and GitHub
45099f40f1
fix: ce spec action for PRs from forks ( #4587 )
...
CE spec action was failing for PRs from external forks at the checkout stage. This PR modifies the checkout action to use the full repo name and branch.
#4586
2022-04-29 14:38:10 +05:30
Shivam Chahar and GitHub
b5e0921d0d
fix: sidekiq cron deprecation warnings ( #4581 )
...
Updates sidekiq-cron to fix the deprecation warnings
Fixes #4090
2022-04-29 00:43:10 +05:30
Tejaswini Chile and GitHub
e5136c2691
Fix: File upload from slack ( #4494 )
...
When you upload a file from slack chat it's not appearing in the chatwoot inbox.
This is because Slack updated the webhook event format
2022-04-28 21:09:39 +05:30
Shivam Chahar and GitHub
04194e7247
Fix: attachment name for incoming messages
...
Use original_filename to get the name of the file attached to the message.
Had to add the message_type method to the WhatsApp/incoming_message_service due to the Assignment Branch Condition linter error for the attach_files method.
Fixes #4183
2022-04-28 21:02:17 +05:30
Aswin Dev P.S and GitHub
8d04894744
fix: Add index in conversation and reporting event ( #4577 )
...
Fixes chatwoot/product#422
2022-04-28 16:58:06 +05:30
Tejaswini Chile and GitHub
cb38ec3267
chore: Allow Facebook channel to receive standby messages ( #4511 )
2022-04-28 01:14:03 +05:30
Pranav Raj S and GitHub
8348392d43
fix: Disable automation on tweets ( #4571 )
...
Fixes #4565
2022-04-27 20:10:40 +05:30
Aswin Dev P.S and GitHub
95c7a24dd1
fix: Unattendeed conversation count in agent metrics ( #4568 )
2022-04-27 06:26:35 -07:00
Pranav Raj S and GitHub
4250c40d1d
chore: Upgrade rails to 6.1.5.1 ( #4570 )
2022-04-27 18:33:22 +05:30
3d824855f0
Fix positioning of read ticks on attachment message bubbles ( #4545 )
...
* Fix positioning of read ticks
* Review fixes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2022-04-27 08:12:30 +05:30
Aswin Dev P.S and GitHub
1bf2da180b
fix: Update agent metrics query to show data from current account ( #4557 )
...
* Update agent metrics query to fetch data from current account
2022-04-26 05:52:13 -07:00
Muhsin Keloth and GitHub
3a5e34fccb
fix: Check phone_number and email changes are exist before validation ( #4551 )
2022-04-26 15:13:28 +05:30
Sivin Varghese and GitHub
fa031a0e2d
feat: Adds support for canned responses in contact messages ( #4453 )
2022-04-26 09:04:34 +05:30
Aswin Dev P.S and GitHub
676796ddc7
feat: Add reports about live agent load ( #4537 )
...
* feat: Add reports about live agent load
2022-04-25 07:34:41 -07:00
899176a793
feat: Add event subscription option to webhooks ( #4540 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-04-25 17:44:42 +05:30
Muhsin Keloth and GitHub
fa51fd1d73
fix: Bypass invalid values in contact patch end point ( #4519 )
2022-04-25 12:25:38 +05:30
1b3011b27b
fix: Add Attachment endpoint to save file against automation rule ( #4480 )
...
Co-authored-by: fayazara <fayazara@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-24 12:02:40 +05:30
2acb48bbe0
feat: Add support for conversation attribute automation conditions in message event ( #4518 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-21 20:52:23 +05:30
Muhsin Keloth and GitHub
b082b0e58c
fix: Dig params in widget contact end point ( #4516 )
2022-04-21 20:39:45 +05:30
Sojan
bd0ed322cc
Merge branch 'hotfix/2.4.1' into develop
2022-04-21 14:19:18 +05:30
Sojan
3584bbb3af
Merge branch 'hotfix/2.4.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-04-21 14:19:09 +05:30
Pranav Raj S and GitHub
f769471439
fix: Issue with closed all hours ( #4521 )
...
fixing the accidentally merged conditions for open all day and closed all day.
2022-04-21 14:14:56 +05:30
Sojan
f2815a2c00
Bump version to 2.4.1
2022-04-21 14:10:54 +05:30
Muhsin Keloth and GitHub
27ddd77a1b
chore: Sanitize html content ( #4498 )
2022-04-21 11:27:28 +05:30
Sojan Jose and GitHub
2c73df4292
Chore: Provide fixed attachment URLs for Channels ( #4507 )
...
Prior to this change, The attachment URL sent from Chatwoot to 3rd party integrations like Whatsapp and Facebook
involved a 301 redirect before the original content is served. This causes intermittent breakages for the sent attachments.
fixes : #3632
ref: https://blog.saeloun.com/2021/09/14/rails-7-adds-expiring-urls-to-active-storage.html
2022-04-20 22:42:13 +05:30
2b2252b66e
feat: Add a read indicator for web-widget channel ( #4224 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-20 16:03:12 +05:30
Pranav Raj S and GitHub
f2f0d466f2
chore: Update Help Center APIs to accomodate locale ( #4515 )
2022-04-20 16:00:37 +05:30
Muhsin Keloth and GitHub
4f3a271355
chore: Add custom attributes in campaign.triggered event ( #4463 )
2022-04-20 10:49:52 +05:30
5b9c4bf7f1
chore(deps): bump async from 2.6.3 to 2.6.4 ( #4497 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 17:13:17 +05:30
Muhsin Keloth and GitHub
26f23a6e21
feat: Custom fields in pre-chat form ( #4189 )
2022-04-19 12:47:29 +05:30
Tejaswini Chile and GitHub
1ccd29140d
Feat: send fb message outside of standard messaging window ( #4439 )
2022-04-19 12:21:20 +05:30
Sojan
d2d838afd1
Merge branch 'release/2.4.0' into develop
2022-04-18 23:25:59 +05:30
Sojan
480eb3043c
Merge branch 'release/2.4.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2022-04-18 23:25:37 +05:30
Sojan
569ae24d8a
Bump version to 2.4.0
2022-04-18 23:23:17 +05:30
Sojan Jose and GitHub
615a575bdd
fix: Agent typing indicator for website widget ( #4495 )
...
When we migrated the pubsub tokens from contact to contact inboxes, we missed out on doing this update for the typing indicator events. Hence the agent typing events weren't visible on the widget side. This change fixes that and removes the necessary column contact pubsub token from the model.
fixes : #4476
2022-04-18 19:05:45 +05:30
Pranav Raj S and GitHub
17fb6b8d55
fix: Update business hour calculation ( #4496 )
2022-04-18 18:15:20 +05:30
Muhsin Keloth and GitHub
e010f0c6f0
chore: Sync pre-chat fields after custom attribute destroy ( #4456 )
2022-04-18 14:06:27 +05:30
Shivam Chahar and GitHub
04e890070d
fix: Change report_type to type in report API docs ( #4492 )
2022-04-18 11:38:22 +05:30
Pranav Raj S and GitHub
0319b78eac
fix: Allow users to login even if they have access to more than 15 accounts ( #4475 )
2022-04-14 20:54:26 +05:30
Vishnu Narayanan and GitHub
80e5d6d7a0
feat: add chatwoot_edition variable for CE docker images ( #4462 )
...
* chore: add chatwoot_edition variable for CE docker images
* fix cw_edition variable
* chore: update comment
* feat: include cw_edition data in payload to hub
* refactor cw_edition to edition
2022-04-14 17:15:57 +05:30
337a74a10c
feat: Add send message, fix issues with message conditions ( #4423 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2022-04-14 13:36:55 +05:30
d4be268cc3
enhancement: Remove clickaway for expanded reply box ( #4414 )
...
* enhancement: Remove clickaway for expanded reply box
* Removes unused imports
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-04-13 12:04:34 +05:30
Tejaswini Chile and GitHub
a6b119d187
Feat: twitter image support ( #4429 )
2022-04-13 01:29:51 +05:30
Tejaswini Chile and GitHub
923b4637db
chore: Automation bug fix ( #4442 )
2022-04-12 20:23:34 +05:30
b6ad468eb4
fix: Nokogiri bundle update ( #4448 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-04-12 11:30:54 +05:30
14503b5fe0
feat: Add missing password validation at signup ( #4441 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-12 11:08:12 +05:30
c64e2e3bc5
chore: Report improvements ( #4392 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-11 20:57:22 +05:30
Aswin Dev P.S and GitHub
31cdc63e18
fix: Remove IMAP and SMTP email validation ( #4435 )
...
* Remove IMAP and SMTP email validation
* Rename imap_email & smtp_email columns to imap_login & smtp_login respectively.
* Use channel email domain if inbound email domain not present
2022-04-11 07:07:20 -07:00
Nithin David Thomas and GitHub
3d164271a8
fix: Yellow color shades are inconsistent ( #4391 )
2022-04-11 17:27:28 +05:30
Sojan Jose and GitHub
1194188f13
chore: Swagger doc for Conversation meta API ( #4394 )
...
fixes: https://github.com/chatwoot/chatwoot/issues/4327
2022-04-11 16:43:09 +05:30
Aswin Dev P.S and GitHub
9b5eb98c59
feat: Support additional authentication mechanisms for SMTP ( #4431 )
...
* Support additional authentication mechanisms for SMTP
2022-04-11 03:13:05 -07:00
8622740161
chore(deps): bump moment from 2.29.1 to 2.29.2 ( #4434 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 15:10:37 +05:30
Muhsin Keloth and GitHub
fb3ed29c90
chore: Add missing test cases in conversations_controller_spec ( #4438 )
2022-04-11 14:06:44 +05:30
Aswin Dev P.S and GitHub
f1ae09d21b
fix: SMTP shouldn't be configurable without IMAP enabled ( #4428 )
...
* fix: Configure SMTP only if IMAP is enabled
2022-04-11 00:05:03 -07:00
Pranav Raj S and GitHub
b1efcde495
feat: Remove duplicate Switch Component ( #4427 )
2022-04-08 18:25:08 +05:30
Pranav Raj S and GitHub
bc7bcc20b8
Revert "feat: Adds support for draft in conversation reply box ( #4205 )" ( #4425 )
...
This reverts commit 5ea0436051 .
2022-04-08 15:52:39 +05:30
Muhsin Keloth and GitHub
7e5ec7925c
feat: Add phone_number & custom_attributes in create conversation end point ( #4421 )
2022-04-08 14:53:37 +05:30
727993aa19
feat: Add toggle button component( #4419 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-04-08 14:02:26 +05:30
Aswin Dev P.S and GitHub
d5536d65f7
feat: Consider business hours while generating the reports ( #4330 )
...
* feat: Consider business hours while generating the reports
2022-04-08 00:18:18 -07:00
Tejaswini Chile and GitHub
57359be37e
Fix: Find mailbox with cc email ( #4372 )
2022-04-08 11:20:19 +05:30
Sivin Varghese and GitHub
14e6a5d6b0
fix: Background dark mode colour issue in campaign view ( #4416 )
2022-04-08 10:54:51 +05:30
5ea0436051
feat: Adds support for draft in conversation reply box ( #4205 )
...
* Add draft support
* Fixes issue with draft loading
* Adds draft for private notes
* Use localstorage helper
* .remove instead of .clear
* Remove timestamp
* clearLocalStorageOnLogout
* Fix draft save on refresh
* Remove usage of delete operator
* Adds autosave for draft messages
* Remove setinterval and add debounce
* Removes draft redundancy check
* Adds test cases for debouncer
* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Review fixes
* Fixes issue with debouncer
* FIxes debouncer issue
* Fixes issue with draft empty message
* Removes empty keys from local storage drafts
* Fixes error with empty draft
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2022-04-07 22:16:45 +05:30
Muhsin Keloth and GitHub
dfb56f6bb8
doc: Swagger for custom attribute APIs ( #4382 )
2022-04-07 19:01:31 +05:30
d4a046a21e
fix: Audio notification would not work without action on the dashboard ( #4303 )
...
* fixes: Audio notification would not work without an action on dashboard
* fixes spec
* Minor fixes
* Minor fixes
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-04-07 10:23:18 +05:30
Fayaz Ahmed and GitHub
8482ecc1b1
Feat - Sort inboxes alphabetically ( #4383 )
2022-04-07 10:01:08 +05:30
Sivin Varghese and GitHub
5b490bc8cc
chore: fix scroll bar color in the dark mode ( #4404 )
2022-04-07 07:14:40 +05:30
Muhsin Keloth and GitHub
c2afdd5c93
chore: Remove unnecessary fields from notification payload ( #4403 )
2022-04-07 00:07:53 +05:30
Vishnu Narayanan and GitHub
75ce5345a9
feat: add gh action to build Chatwoot CE/foss docker image ( #4406 )
...
Github action to build and push chatwoot-ce(foss) edition images. This action will run on merges to master, develop and when tags are created. Corresponding docker tags are as follows.
GitHub branch/tag --> docker tag
----
master --> latest-ce
develop ---> develop-ce
v2.3.2 ---> v2.3.2-ce
v* ---> v*-ce
Fixes #4388
2022-04-06 21:14:04 +05:30
9329f08e14
chore: Fix typo in en localisation file ( #4405 )
...
Fix
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2022-04-06 20:21:19 +05:30
Pranav Raj S and GitHub
0b03e4b296
feat: Add an option to disable endConversation button ( #4352 )
2022-04-06 13:54:55 +05:30
Tejaswini Chile and GitHub
821b953ee9
Fix: handling UTF encoded mail ( #4384 )
2022-04-06 12:36:32 +05:30
Sojan Jose and GitHub
7a8aa4ca2e
chore: Add Swagger Doc for Team Members ( #4390 )
...
Add swagger documentation for Team Members APIs
2022-04-05 16:05:49 +05:30
2595e774e5
fix: Update validations in automation edit actions ( #4370 )
...
Co-authored-by: fayazara <fayazara@gmail.com >
2022-04-05 15:22:56 +05:30
Sojan Jose and GitHub
9a8a0bd865
feat: Ability to customize the online presence duration ( #4385 )
2022-04-05 15:20:34 +05:30
cd5646b4b9
fix: Skip contact_last_seen_at in empty conversation payload ( #4387 )
...
* Fix undefined `last_seen_at` empty conversation
* chore: remove the comment
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-04-05 14:00:07 +05:30
Vishnu Narayanan and GitHub
76f53d9a11
feat: add gh action to run CE edition tests ( #4342 )
...
* feat: add gh action to run CE spec
* setup ruby
* add pg,redis services
* fix failing tests
2022-04-04 19:27:01 +05:30
Muhsin Keloth and GitHub
591d186d66
chore: Add agent_last_seen_at in conversation API ( #4377 )
2022-04-04 18:23:38 +05:30
Jordan Brough and GitHub
73d8073530
chore: Fix test failure in action_cable_listener_spec.rb due to ordering ( #4357 )
2022-04-04 15:15:45 +05:30
Muhsin Keloth and GitHub
1dd0c7249c
fix: Unread notification count in multiple accounts ( #4373 )
...
Fixes : #4367
2022-04-04 14:34:01 +05:30
Pranav Raj S and GitHub
3509692055
chore: Fix brand name in survey translations ( #4360 )
2022-04-03 19:22:56 +05:30
Sivin Varghese and GitHub
5d85a21287
fix: Fix login button is missing in Safari ( #4332 )
...
Fixes #4328
2022-04-01 21:03:53 +05:30
caee9535f1
feat: Support Dark mode for the widget ( #4137 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-01 20:59:03 +05:30
Vishnu Narayanan and GitHub
3813b3b372
feat: make linux script installation non-interactive ( #4355 )
...
This PR changes the LetsEncrypt behaviour to be non-interactive. Earlier, the installation flow was waiting for user input at the SSL cert generation stage. With this change, once the user confirms completes the initial selection, the installation can be completed unattended.
2022-04-01 00:34:50 +05:30
Pranav Raj S and GitHub
c397fe1964
fix: Update the URL for POST inbox_members ( #4354 )
2022-03-31 21:21:25 +05:30
cb23ff53bf
fix: Reset Captcha if account signup is an error ( #4279 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-31 21:20:37 +05:30
Sivin Varghese and GitHub
3cd1616df6
fix: Fix agent name in Twitter channel private note acting as a link ( #4326 )
2022-03-31 20:22:52 +05:30
Muhsin Keloth and GitHub
eff3a50316
fix: Disable showing read messages in unread view ( #4324 )
2022-03-31 17:35:39 +05:30
0477123f92
chore(deps): bump minimist from 1.2.5 to 1.2.6 ( #4351 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 16:33:14 +05:30
c9f821cc5b
chore(deps): bump puma from 5.6.2 to 5.6.4 ( #4348 )
...
Bumps [puma](https://github.com/puma/puma ) from 5.6.2 to 5.6.4.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v5.6.2...v5.6.4 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 16:02:53 +05:30
baf697f064
design: Changes yellow color palette for better contrast ratio ( #4334 )
...
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2022-03-30 18:53:24 +05:30
Tejaswini Chile and GitHub
5be9380547
Fix: html mail fix with html_body content ( #4011 )
2022-03-30 18:04:30 +05:30
Muhsin Keloth and GitHub
24b20c10ce
fix: Referer URL validation ( #4309 )
...
Fixes #354
2022-03-30 14:36:22 +05:30
Tejaswini Chile and GitHub
bfe6324d9a
chore: Webhook event data improvements ( #4317 )
2022-03-30 11:37:36 +05:30
Tejaswini Chile and GitHub
15fd37b124
Feat: attachments automation ( #4266 )
2022-03-30 08:08:58 +05:30
3f2ac2042f
fix: Fetch conversation attributes after contact reset ( #4319 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-03-29 19:51:51 +05:30
Tejaswini Chile and GitHub
3158966241
Feat: automation rule based on contact conditions ( #4230 )
2022-03-29 17:29:34 +05:30
Fayaz Ahmed and GitHub
c674393c02
feat: New automation actions ( #4033 )
2022-03-29 13:27:16 +05:30
Kyle Killion and GitHub
cffc984ef6
chore: Add active_storage_purge queue to Sidekiq ( #4322 )
...
I found that these jobs were just enqueuing without processing until I added this queue after switching to S3 storage. This fixed that issue.
2022-03-29 11:43:07 +05:30
Aswin Dev P.S and GitHub
5e8fd689c9
feat: Add live agent load report api ( #4297 )
...
This change allows the admin user to fetch conversation metrics for an account, agents, and filter conversation metrics for a specific agent.
Fixes #4305
2022-03-29 10:31:52 +05:30
Muhsin Keloth and GitHub
ccf52a620b
feat: Update notifications and unread count in real time ( #4261 )
2022-03-28 20:01:23 +05:30
Vishnu Narayanan and GitHub
ec0ea0b1dc
chore: Upgrade to next gen docker convenience image ( #4310 )
...
* chore: Upgrade to next gen docker convenience image
https://discuss.circleci.com/t/legacy-convenience-image-deprecation/41034/16
* switch to postgres:14.1 and redis:6.2 images
2022-03-28 18:15:38 +05:30
Vishnu Narayanan and GitHub
8155024b6a
feat: fix logging levels ( #4314 )
...
https://ruby-doc.org/stdlib-2.7.0/libdoc/logger/rdoc/Logger.html
Fixes https://github.com/chatwoot/chatwoot/issues/4313
2022-03-28 18:14:30 +05:30
823c0ab6a7
chore: Use Round Robin service for team assignment ( #4237 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-28 14:38:07 +05:30
e8bc30e3c6
feat: Add a confirmation note before deleting a note about a contact ( #4294 )
...
Co-authored-by: Richardo <richardokusuma.sali@medirecords.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-28 14:19:12 +05:30
Fayaz Ahmed and GitHub
30ac8054ba
feat: Add an SDK method for opening conversation in popout window ( #4232 )
2022-03-28 13:31:51 +05:30
Aswin Dev P.S and GitHub
0ba6e772a4
feat: Display how many conversations are considered for the metric calculation ( #4273 )
...
* feat: Display how many conversations are considered for the metric calculation
2022-03-28 00:38:23 -07:00
Aswin Dev P.S and GitHub
ba0188aefc
fix: Report spec failure ( #4304 )
2022-03-28 12:31:09 +05:30
Sojan Jose and GitHub
e0f29b9d81
chore: Add swagger docs for Canned Responses ( #4295 )
...
fixes : #3962
2022-03-26 00:43:44 +05:30
Pranav Raj S and GitHub
971755b845
fix: Remove unnecessary dispatchWindowEvent ( #4288 )
2022-03-25 20:25:07 +05:30
0667d9f016
fix: Avatars get cropped on the widget ( #4238 )
...
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-03-25 19:20:53 +05:30
Sivin Varghese and GitHub
48389d69d8
feat: New notification panel for unread notifications ( #4061 )
...
Fixes : #4052
2022-03-25 19:02:45 +05:30
Sojan Jose and GitHub
ff881fcad9
chore: Support Email should give priority to environment variable ( #4270 )
...
Account.support_email should give priority to environment variables over installation config
Fixes : #3304
2022-03-25 16:13:45 +05:30
Sagar and GitHub
5da0b0667f
Fix: SMTP IMAP configuration from email
...
This fix should allow emails from the "Email" inbox to show from as "Name <email@example.com >". if SMTP within Inbox is disabled.
2022-03-25 16:05:26 +05:30
Jordan Brough and GitHub
a8cfcbc168
chore: Timezone fixes for ReportBuilder and for ReportController spec ( #4246 )
...
- ReportBuilder wasn't using the specified time zone for the timestamp in the
"build" method
- The ReportController spec was calling `Time.zone.today.to_time`, but
`Date#to_time` disregards the zone from `Time.zone` and reverts to the system
time zone.
2022-03-25 14:00:27 +05:30
6bfe0f2fc1
feat: Add support for rich editor and allow CCs in email for a new conversation. ( #4194 )
...
* feat: Add support for rich editor and allow CCs in email for a new conversation.
* Minor fixes
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-03-25 11:27:45 +05:30
Jordan Brough and GitHub
131c0a8668
chore: Don't send confirmation email when creating User via platform api ( #4272 )
...
The platform api automatically confirms users so we don't need to send this
email.
2022-03-25 00:36:59 +05:30
Sojan Jose and GitHub
8e153d6350
fix: Redis 6 on Heroku breaks ActionCable config ( #4269 )
...
Heroku made some SSL/TLS changes with Redis 6, which is breaking the ActionCable configuration.
Hence providing an environment variable configuration `REDIS_OPENSSL_VERIFY_MODE` to fix that.
set the value `none` for this environment variable in your Heroku installations where breakage occurs.
fixes : #2420
2022-03-24 19:25:07 +05:30
Tejaswini Chile and GitHub
60a0709de6
Fix: added validation for custom and additional attribute ( #4260 )
2022-03-24 15:38:28 +05:30
Jordan Brough and GitHub
14c53b8b54
chore: Use "contain_exactly" in some tests ( #4243 )
2022-03-24 13:50:04 +05:30
Vishnu Narayanan and GitHub
7577c9c888
fix: drop conv and campaign seq on account delete ( #4256 )
...
Conversation and campaign sequences persist in the database even after the related account is deleted. This PR adds an after_desttory callback on the account model that will delete the associated sequences.
Fixes : #4252
2022-03-24 13:33:15 +05:30
Jordan Brough and GitHub
0cf970dafd
chore: Eliminate deprecation warning in "app_config_controller_spec.rb" ( #4258 )
...
Fix the warning:
Using `should` from rspec-expectations' old `:should` syntax without
explicitly enabling the syntax is deprecated. Use the new `:expect` syntax
or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead.
2022-03-24 13:31:19 +05:30
Jordan Brough and GitHub
c2647a1f27
chore: Use "destroy!" instead of "destroy" when not checking the return value ( #4259 )
2022-03-24 13:28:25 +05:30
giquieu and GitHub
8b9aea231c
feat: support audio player on widget ( #4250 )
2022-03-24 12:44:34 +05:30
Jordan Brough and GitHub
b735135431
chore: Fix "action_mailer.delivery_method" in the test env ( #4257 )
...
Fixes : #4247
2022-03-23 20:46:28 +05:30
Sojan
160e8a8ab4
Merge branch 'release/2.3.2' into develop
2022-03-23 19:06:52 +05:30
Sojan
2605f24539
Merge branch 'release/2.3.2'
2022-03-23 19:06:45 +05:30
Sojan
dd76dd4204
Bump version to 2.3.2
2022-03-23 19:05:34 +05:30
86b4183bde
fix: Add multiple file paste support and fix for bugs ( #4066 )
...
- Add multiple files paste support.
- Fixes showing file name in the editor field when we paste the file from finder.
- Fixes showing the image in the advance editor when we paste the image as an attachment from the clipboard.
Fixes : #4036
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2022-03-23 18:25:57 +05:30
Jordan Brough and GitHub
4a21633a2b
chore: Use bang version of "find_or_create_by!" in Platform UsersController ( #4248 )
2022-03-23 16:09:10 +05:30
Sojan Jose and GitHub
f8c46341f6
chore: Disable invalid contact resolved activity messages ( #4253 )
...
Fixes the bug which triggered "Contact resolved conversation" activity messages when snoozed conversations where reopened
2022-03-23 16:08:42 +05:30
Pranav Raj S and GitHub
771cb5b9fc
fix: Update scroll event name to fix auto-scroll ( #4251 )
...
Fixes #3622
2022-03-23 13:27:50 +05:30
Sojan Jose and GitHub
f43018e017
chore: New translations automation.json (Italian) ( #4231 )
2022-03-22 12:42:10 +05:30
Sojan Jose and GitHub
467f3b9191
chore: Disable fetching new emails after mailbox error ( #4176 )
...
- Disabled email fetch job if credentials for the channel isn't working
- notify customers when the email channel isn't working
fixes: https://github.com/chatwoot/chatwoot/issues/4174
2022-03-22 12:14:17 +05:30
Muhsin Keloth and GitHub
715400f7ab
fix: Disable pre-chat fields for identified users ( #4234 )
2022-03-22 01:28:22 +05:30
Tejaswini Chile and GitHub
7b4cac746a
feat: enhancement to un-send instagram message ( #4120 )
2022-03-21 17:10:15 +05:30
Sojan Jose and GitHub
6169d172d8
chore: Update translations from Crowdin ( #4217 )
2022-03-21 13:15:33 +05:30
Tejaswini Chile and GitHub
e06a6a7c55
Automation enhancement ( #4087 )
2022-03-21 13:12:27 +05:30
c608ca37e0
fix: Contact conversations are showing in the chat list ( #4078 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-21 11:46:43 +05:30
Pranav Raj S and GitHub
6097f4c122
fix: Update survey locale based on the account ( #4207 )
2022-03-20 13:07:36 +05:30
Fayaz Ahmed and GitHub
8372ae418e
System default monospace fonts for code elem ( #4222 )
2022-03-19 20:56:29 +05:30
Sojan Jose and GitHub
71391d982b
chore: filter .xml files for Bandwidth SMS ( #4206 )
...
MMS sent from an ATT or Verizon phone number seems to be appending a SMIL file in .xml format for MMS.
2022-03-18 19:00:36 +05:30
b77fad52fb
fix: Add missing contact information to fix invalid activity messages ( #4195 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2022-03-18 13:43:02 +05:30
Sojan Jose and GitHub
40f31cb0a3
chore: Update translations ( #4208 )
2022-03-18 11:24:22 +05:30
7f8a199b29
chore: Update translations ( #4099 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-17 20:02:32 +05:30
Muhsin Keloth and GitHub
23fe8847d8
feat: Notification action cable event ( #4154 )
2022-03-17 18:56:36 +05:30
Sojan
430547e026
Merge branch 'hotfix/2.3.1' into develop
2022-03-17 16:55:00 +05:30
Sojan
d0702363f4
Merge branch 'hotfix/2.3.1'
2022-03-17 16:54:49 +05:30
Sojan
d6d0c79618
Bump version to 2.3.1
2022-03-17 16:53:36 +05:30
Sojan Jose and GitHub
9f8e442333
chore: Improve n+1 queries ( #4202 )
...
Fixes the n+1 queries that get triggered while accessing agents endpoint
2022-03-17 15:57:32 +05:30
Pranav Raj S and GitHub
4a3ddad02f
fix: Reduce the height of the unread container while campaign is active ( #4185 )
2022-03-16 14:45:57 +05:30
Tejaswini Chile and GitHub
207a03155e
Feat: authenticate direct upload ( #4160 )
2022-03-16 13:54:18 +05:30
Sojan
796a7805db
Merge branch 'release/2.3.0' into develop
2022-03-15 23:04:09 +05:30
Sojan
a50ea9c88a
Merge branch 'release/2.3.0'
2022-03-15 23:03:59 +05:30
Sojan
711251560b
Bump version to 2.3.0
2022-03-15 22:59:54 +05:30
c4837cd7ac
feat: End conversation from widget ( #3660 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-15 22:07:30 +05:30
Pranav Raj S and GitHub
4b748e2c8c
fix: Delete content_attributes in message destroy API ( #4184 )
2022-03-15 22:01:16 +05:30
8c8c5a77c8
feat: Show banner message if Chatwoot update available ( #3999 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2022-03-15 21:09:14 +05:30
Sojan Jose and GitHub
02dd5ecfab
chore: 360Dialog attachments fix ( #4173 )
...
fixes : #3701
2022-03-15 17:42:21 +05:30
Muhsin Keloth and GitHub
f405572e5c
Revert "feat: Custom fields in pre-chat form ( #4135 )" ( #4182 )
...
This reverts commit e730804b48 .
2022-03-15 16:54:33 +05:30
Sojan Jose and GitHub
25876993ff
fix: NoMethodError: undefined method `id' for nil:NilClass ( #4172 )
...
fixes : #4171
2022-03-15 14:30:33 +05:30
b3ba8b9513
fix: Could not able to create label ( #4161 )
...
* fixes: Could not able to create label
* review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-03-14 20:43:56 +05:30
Fayaz Ahmed and GitHub
4a2452173e
feat: Added support for Created At, Last Activity At filters in the UI ( #4031 )
2022-03-14 20:24:53 +05:30
Aswin Dev P.S and GitHub
c62d74a01d
feat: Display trends in report metrics ( #4144 )
2022-03-14 18:15:27 +05:30
Sivin Varghese and GitHub
5edf0f2bbe
fix: Fix modal responsiveness ( #4149 )
2022-03-14 18:14:16 +05:30
Fayaz Ahmed and GitHub
dd1fe4f93a
fix: Handle unsanitized markup in DOM ( #4110 )
2022-03-14 18:13:21 +05:30
Muhsin Keloth and GitHub
e730804b48
feat: Custom fields in pre-chat form ( #4135 )
...
Fixes : #2744
2022-03-14 15:06:56 +05:30
Sivin Varghese and GitHub
578414d788
feat: Adds ability to delete contact without having to type name ( #4155 )
2022-03-11 17:00:55 +05:30
Sivin Varghese and GitHub
619441ce1c
fixes: Showing vue warning in the console ( #4152 )
...
* fixes: Showing vue warn with PR#4100
* Minor fixes
2022-03-10 22:06:59 +05:30
Nithin David Thomas and GitHub
3c3b6f90c7
fix: Add base_url to the audio notification file ( #4116 )
2022-03-10 20:40:47 +05:30
Tejaswini Chile and GitHub
647efa12e7
fix: Attach instagram images with file type story_mentions ( #4100 )
2022-03-10 20:27:30 +05:30
b3545f42f1
fixes: Contact search is skipping the '+' sign for email. ( #4142 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-10 11:15:41 +05:30
Pranav Raj S and GitHub
fb03b6f434
chore: Upgrade rails to 6.1.4.7 to fix ( #4143 )
...
Fixes CVE-2022-21831
2022-03-10 11:01:40 +05:30
Pranav Raj S and GitHub
1aa7d6f7d8
fix: Update brand name in mailers ( #4123 )
2022-03-08 09:22:57 +05:30
giquieu and GitHub
96b719017b
feat: Ability to send voice message to channel ( #4064 )
...
Created the possibility to send audio as an attachment via the dashboard.
The channels that can send audio are the same channels that can send any type of attachment.
Used RecordRTC (https://github.com/muaz-khan/RecordRTC ) to capture the audio and Wavesurfer (https://github.com/katspaugh/wavesurfer.js ) to display the audio waves.
RecordRTC can be used to record videos if necessary.
Fixes #1973
2022-03-04 19:43:07 +05:30
Aswin Dev P.S and GitHub
b94e67f5d7
feat: Add agents filter in CSAT reports ( #4106 )
...
* add agents filter in csat reports
2022-03-04 03:49:26 -08:00
c76b588850
chore(deps): bump marked from 2.0.3 to 4.0.10 ( #3771 )
...
* chore(deps): bump marked from 2.0.3 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked ) from 2.0.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v2.0.3...v4.0.10 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* use {marked}
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-04 14:53:40 +05:30
a28b911132
chore(deps): bump url-parse from 1.5.7 to 1.5.10 ( #4076 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-03-04 10:58:05 +05:30
6e4ae1a1bc
chore(deps): bump commonmarker from 0.23.2 to 0.23.4 ( #4108 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.2 to 0.23.4.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.2...v0.23.4 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 10:57:22 +05:30
Pranav Raj S and GitHub
9583a2dbad
chore: Pass sso_account_id to select the account during SSO Login ( #4103 )
2022-03-03 20:49:51 +05:30
Sojan Jose and GitHub
11adfd2384
chore: remove unnecessary dependent destroy ( #4104 )
2022-03-03 13:02:02 +05:30
Pranav Raj S and GitHub
28d102f526
fix: Show new message screen instead of input field ( #4102 )
2022-03-03 12:36:31 +05:30
3d7ca61481
Show email signature with maximum height 8vh, fixes #4021 ( #4063 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-03-02 15:28:56 +05:30
Sojan Jose and GitHub
7b9e4982cf
Feat: Support MMS in SMS Channel ( Bandwidth ) ( #4046 )
...
Ability to send and receive MMS to bandwidth channel
fixes : #3961
2022-03-02 15:09:56 +05:30
4d458c2184
feat: Support respective input types in custom attributes - filters ( #4032 )
...
* Support differnt input types in custom attributes
* Handle list type custom attributes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-03-02 14:16:42 +05:30
0582d15eb5
chore(deps): bump image_processing from 1.12.1 to 1.12.2 ( #4095 )
...
Bumps [image_processing](https://github.com/janko/image_processing ) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/janko/image_processing/releases )
- [Changelog](https://github.com/janko/image_processing/blob/master/CHANGELOG.md )
- [Commits](https://github.com/janko/image_processing/compare/v1.12.1...v1.12.2 )
---
updated-dependencies:
- dependency-name: image_processing
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 10:31:37 +05:30
915fe3897c
chore: Add Github in contact social profiles ( #4086 )
...
* Add github in social links
* Code cleanup
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-03-01 14:33:26 +05:30
Muhsin Keloth and GitHub
f08d1b35d0
feat: Toggle automation status ( #3991 )
2022-03-01 14:14:23 +05:30
a3cb26a317
fix: AudioContext warning when loading widget on Chrome ( #3956 )
...
* fix: AudioContext warning when loading widget on Chrome
* minor fixes
* Minor fixes
* adds event on document
* Play audio from parent window through SDK
* Adds notification to dashboard
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2022-02-28 21:43:24 +05:30
eee89bf0d8
feat: Show cc from last email on reply editor ( #3983 )
...
* Adds last emails to reply editor
* Fixes bug in reply box
* Adds test cases
* Prevents private notes having cc bcc data
* Prevents private notes having cc bcc data
* Init reply head with values
* fix broken tests
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-02-28 21:42:50 +05:30
Muhsin Keloth and GitHub
1de18391b4
fix: Handle invalid country code in contact details ( #4081 )
2022-02-28 19:48:13 +05:30
Muhsin Keloth and GitHub
bb16780278
chore: Upgrade utils to 0.0.5 ( #4082 )
2022-02-28 18:50:29 +05:30
4260441f8c
Chore: clean up Reporting Events ( #4044 )
...
Tech debt clean up
Fixes #4057
Co-authored-by: Aswin Dev P S <aswin@chatwoot.com >
2022-02-28 18:16:12 +05:30
12c0be002e
feat: Format time in reports ( #4072 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-28 16:54:43 +05:30
Muhsin Keloth and GitHub
aff14b697f
chore: Add webhook URL validation ( #4080 )
2022-02-28 15:44:02 +05:30
Pranav Raj S and GitHub
87a6266ddc
fix: Add resetTriggered flag to fix reset loop ( #4079 )
2022-02-28 14:53:11 +05:30
Sojan
cebb1bf871
Merge branch 'release/2.2.1' into develop
2022-02-28 14:12:36 +05:30
Sojan
ed2772dd59
Merge branch 'release/2.2.1'
2022-02-28 14:12:22 +05:30
Sojan
4f19fa763c
Bump version to 2.2.1
2022-02-28 14:04:40 +05:30
Muhsin Keloth and GitHub
46c1734ba1
feat: Add additional attributes in setUser method ( #3958 )
2022-02-28 12:10:55 +05:30
9b615f11f1
fix: Consider timezone in the reports ( #4027 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2022-02-28 10:56:24 +05:30
Sojan Jose and GitHub
4ca66c1195
fix: Automation loop on conversation_update ( #4071 )
2022-02-25 18:01:21 +05:30
Pranav Raj S and GitHub
cc74bebc0f
feat: Display Account context in the UI ( #4069 )
2022-02-25 16:36:36 +05:30
2c8a3ef3b2
fix: Message signature going with other channels message ( #4024 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-25 16:36:10 +05:30
Pranav Raj S and GitHub
6c94768bdb
feat: Add flat design for widget ( #4065 )
2022-02-25 16:18:18 +05:30
Nithin David Thomas and GitHub
dcecbf4b80
Fix: show empty emails in chat ( #4030 )
2022-02-24 21:33:16 -08:00
Vishnu Narayanan and GitHub
d590b0ebc4
fix: nokogiri gem build failure in docker ( #4060 )
...
tar (child): xz: Cannot exec: No such file or directory¶
Starting in v1.13.2, the source archive used for libxml2 and libxslt is compressed with xz (previous versions were compressed with gzip. As a result, when compiling from source, your system will need to have xz installed in order to extract the source code for these libraries.
2022-02-23 23:27:19 +05:30
Pranav Raj S and GitHub
85f19fa25a
chore: Show error messages from server in agent APIs ( #4055 )
2022-02-23 20:18:20 +05:30
Tejaswini Chile and GitHub
1ca1b4d36b
feat: bulk actions to update conversation objects ( #3934 )
...
Added the endpoints for bulk updating conversation objects
Fixes : #3845 #3940 #3943
2022-02-23 16:53:36 +05:30
Sivin Varghese and GitHub
9059f5906a
fix: Throwing error when click load more conversation ( #4049 )
2022-02-23 16:48:53 +05:30
Sojan Jose and GitHub
eb0da2026f
chore: Bundle update ( #4038 )
...
- address the nokogiri security issues
2022-02-22 16:06:04 +05:30
Aswin Dev P.S and GitHub
e348db1e37
Fix: add option to choose 24 hour working slot ( #4018 )
...
* Add option to choose 24 hour working slot
* fix spec
* add check to update open hour and close hour for open all day
* update 24 hour working slot change in widget side
* add validation to check open_all_day and closed_all_day true at the same time
2022-02-22 01:28:49 -08:00
Muhsin Keloth and GitHub
7ba24b90c4
feat: Add chatwoot:error sdk event ( #3998 )
2022-02-21 09:40:11 +05:30
3b015d4dd8
chore(deps): bump url-parse from 1.5.3 to 1.5.7 ( #4016 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-20 11:30:19 +05:30
ea44a32758
feat: Add hCaptcha for public forms ( #4017 )
...
- added hCaptcha based verification for chatwoot signups
Co-authored-by: Sojan <sojan@pepalo.com >
2022-02-18 20:02:50 +05:30
Muhsin Keloth and GitHub
80d83b401c
feat: Show refresh modal on action cable disconnect ( #4010 )
2022-02-18 11:09:43 +05:30
Sivin Varghese and GitHub
ea3e011d3f
fix: Auto scroll to bottom when agent sends a message ( #3764 )
2022-02-17 20:42:13 +05:30
Sivin Varghese and GitHub
2586c8e7e5
fix: Lock icon colour issue in private messages ( #4009 )
...
* fix: Lock icon colour issue in private messages
* minor fixes
2022-02-17 18:58:53 +05:30
Sojan
b9025a98d3
Merge branch 'release/2.2.0' into develop
2022-02-15 23:41:56 +05:30
Sojan
b6c3d61163
Merge branch 'release/2.2.0'
2022-02-15 23:41:48 +05:30
Sojan
991f291c69
Bump version to 2.2.0
2022-02-15 23:39:57 +05:30
Fayaz Ahmed and GitHub
5ad6db07b4
fix: Automation Bugs and minor enhancements ( #3936 )
2022-02-15 23:36:29 +05:30
Sivin Varghese and GitHub
e345a4486d
fix: Throwing NavigationDuplicated error ( #3978 )
2022-02-15 22:49:53 +05:30
Sojan Jose and GitHub
5ad7e93059
chore: Discard activities from email notifiable messages ( #3989 )
2022-02-15 18:15:45 +05:30
Pranav Raj S and GitHub
505c93c467
revert: "fix: html content is available and mail_part empty" ( #3986 )
...
Reverts de4e4c6
2022-02-15 17:19:28 +05:30
464e12ceb7
fix: Update auto reply and hide reply time for email inbox ( #3985 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-15 17:11:28 +05:30
Aswin Dev P.S and GitHub
e6f8895c1b
feat: Group by filter in reports ( #3973 )
2022-02-15 17:10:49 +05:30
Sojan Jose and GitHub
a703ef2de6
chore: Update translations ( #3980 )
2022-02-15 16:22:42 +05:30
94a473c9f8
chore: Delayed deploy of direct uploads ( #3966 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-15 16:16:54 +05:30
Pranav Raj S and GitHub
2591a04c0b
chore: Remove message_signature_enabled from users ( #3982 )
2022-02-15 12:10:53 +05:30
Nithin David Thomas and GitHub
351a3dc372
feat: Adds email signature form to profile settings ( #3906 )
2022-02-15 10:38:24 +05:30
Tejaswini Chile and GitHub
d5c9193d1a
feat: Add specs for reply-to changes ( #3959 )
2022-02-15 10:28:04 +05:30
Tejaswini Chile and GitHub
de4e4c6f65
fix: html content is available and mail_part empty ( #3964 )
2022-02-14 20:22:58 +05:30
dependabot[bot] and GitHub
f34a2e6115
chore(deps): bump puma from to 5.6.2, rails to 6.1.4.6 ( #3969 )
2022-02-14 20:09:21 +05:30
Pranav Raj S and GitHub
9c7044c81b
fix: Use default from attribute if undefined ( #3977 )
2022-02-14 17:37:40 +05:30
Sojan Jose and GitHub
04148b95a6
chore: Update translations ( #3937 )
2022-02-14 17:11:43 +05:30
Sojan Jose and GitHub
3d73d8935a
feat: Add the ability for a super admin to define account limits ( #3946 )
...
Fixes : #3773
2022-02-14 15:55:08 +05:30
edd93ca4a3
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 ( #3970 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
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>
2022-02-14 15:53:13 +05:30
Nithin David Thomas and GitHub
2c15d5b4f3
fix: Custom attribute not getting changed on conversations ( #3965 )
2022-02-14 15:52:15 +05:30
Nithin David Thomas and GitHub
74d9203868
feat: Show the sender email address ( #3974 )
2022-02-14 15:46:20 +05:30
Tejaswini Chile and GitHub
25001689ec
fix: Use to_i in campaign scheduled_at key ( #3968 )
2022-02-14 11:20:31 +05:30
Muhsin Keloth and GitHub
2da618bd5e
feat: Add conversation_created event in webhooks ( #3949 )
2022-02-14 09:44:25 +05:30
ba7f387dde
chore: Reduces clutter in inbox settings page ( #3960 )
...
* chore: Reduces clutter in inbox settings page
* Fix spacing issues
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-02-11 08:38:42 +05:30
Sivin Varghese and GitHub
1115bd18ed
fix: Icon colors are not recognizable in bubble ( #3957 )
2022-02-11 07:15:07 +05:30
e9a162e71a
feat: Prefer reply-to over from in email channels ( #3837 )
...
Co-authored-by: root <root@support.loomio.com >
2022-02-10 19:20:30 +05:30
Nithin David Thomas and GitHub
4201b57315
fix: Fixes console error with image component in widget ( #3955 )
2022-02-10 12:48:22 +05:30
Sivin Varghese and GitHub
0ec3a56041
fix: Blank page after deleting contact ( #3948 )
2022-02-09 14:35:18 +05:30
Aswin Dev P.S and GitHub
4e416b4d51
Add openssl verify mode and email encryption for smtp configuration ( #3885 )
...
* Add openssl verify mode and email encryption for smtp configuration
* Add spec for code coverage
2022-02-08 03:26:13 -08:00
Muhsin Keloth and GitHub
4ae9ed8f94
chore: Assign the conversation to agent who opens the conversation ( #3925 )
2022-02-08 16:39:19 +05:30
Pranav Raj S and GitHub
7b2ff2f112
feat: Show assignee name in folders view ( #3933 )
2022-02-08 10:38:14 +05:30
Sojan Jose and GitHub
e2ff1b1a15
chore: Update German translations ( #3928 )
2022-02-08 10:12:34 +05:30
Sivin Varghese and GitHub
d891c1e7b5
Fixes API call failing after opening the saved filter ( #3932 )
2022-02-08 10:11:56 +05:30
Pranav Raj S and GitHub
2a07eae69f
fix: URL encode params on Platform API call ( #3929 )
...
Add URL encoding for the params in platform API calls.
Fixes: product#307
Fixes : #2186
2022-02-07 15:17:36 -08:00
375d943a48
fix: Avoid filter payload changing to null on load more conversations ( #3926 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-02-07 22:14:21 +05:30
Sojan Jose and GitHub
4c0f6c1333
chore: Update translations ( #3927 )
2022-02-07 20:17:49 +05:30
97675c61ea
chore: Update to the latest translations ( #3923 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-07 17:19:34 +05:30
Muhsin Keloth and GitHub
f4c0ce5dfa
chore: Assign to agent who create new message from contact panel ( #3924 )
2022-02-07 13:43:16 +05:30
Muhsin Keloth and GitHub
9f37a6e2ba
fix: Render valid urls only in custom attributes ( #3921 )
2022-02-07 13:04:27 +05:30
047070ad87
chore: Fix translations in Swedish language ( #3765 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-07 12:44:05 +05:30
1a3d39a7f3
feat: Shows an alert while replying if chats are not assigned to them ( #3867 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-07 12:27:20 +05:30
Muhsin Keloth and GitHub
a737f89c47
fix: Ongoing campaign URL validation ( #3890 )
2022-02-04 14:38:18 +05:30
Tejaswini Chile and GitHub
a7987d4d1c
feat: Add date custom filter ( #3892 )
2022-02-04 13:14:20 +05:30
Sagar and GitHub
32673ea8b4
chore: Allow Self Hosted Instances to use Support Inbox within Dashboard for Agents ( #3907 )
2022-02-04 09:58:53 +05:30
Sojan Jose and GitHub
9454c6b14f
Fix: Conversation filter permissions ( #3908 )
...
fixes : chatwoot/product#225
2022-02-03 18:25:28 -08:00
Sojan Jose and GitHub
cf10f3d03b
chore: Provider APIs for SMS Channel - Bandwidth ( #3889 )
...
fixes : #3888
2022-02-03 15:22:13 -08:00
Tejaswini Chile and GitHub
fba7f40bee
Fix: Custom filter distinct select ( #3895 )
2022-02-03 14:39:47 +05:30
Nithin David Thomas and GitHub
5c6958482f
fix: Shows tooltip and avatar for template messages ( #3898 )
2022-02-03 12:14:34 +05:30
Pranav Raj S and GitHub
8dcb4a5ed4
chore: Add resolve action in Dialogflow Integration ( #3900 )
2022-02-03 12:05:39 +05:30
Pranav Raj S and GitHub
dbb50e5923
fix: Update font-size/width to fix iOS input zoom ( #3894 )
2022-02-03 10:11:02 +05:30
Muhsin Keloth and GitHub
903072ef14
chore: Add custom attributes in conversation webhook payload ( #3839 )
2022-02-03 10:05:56 +05:30
fc1f257793
feat: Clone automation rules ( #3893 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-02-03 09:14:22 +05:30
Tejaswini Chile and GitHub
8821106da9
Fix: Added the backend validation for name ( #3878 )
...
- Added the backend validation for name
- Add message size constraint
2022-02-02 14:21:17 -08:00
Tejaswini Chile and GitHub
e99ea0b582
feat: Email signature API support ( #3874 )
2022-02-02 19:37:33 +05:30
193a531e49
feat: Edit automation modal ( #3876 )
...
* Add automation modal
* Fix the v-model for automations
* Actions and Condition dropdowns for automations
* Fix merge conflicts
* Handle event change and confirmation
* Appends new action
* Removes actions
* Automation api integration
* Api integration for creating automations
* Registers vuex module to the global store
* Automations table
* Updarted labels and actions
* Integrate automation api
* Fixes the mutation error - removed the data key wrapper
* Fixed the automation condition models to work with respective event types
* Remove temporary fixes added to the api request
* Displa timestamp and automation status values
* Added the clone buton
* Removed uncessary helper method
* Specs for automations
* Handle WIP code
* Remove the payload wrap
* Fix the action query payload
* Removed unnecessary files
* Disabled Automations routes
* Ability to delete automations
* Fix specs
* Edit automation modal
* Edit automation modal and api integration
* Replaced hardcoded values
* Using absolute paths
* Update app/javascript/dashboard/routes/dashboard/settings/automation/EditAutomationRule.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/settings/automation/Index.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Intendation fix
* Disable automation route
* Minor fix
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-02-02 19:15:02 +05:30
91b9168fae
feat: Add the ability to add new automation rule ( #3459 )
...
* Add automation modal
* Fix the v-model for automations
* Actions and Condition dropdowns for automations
* Fix merge conflicts
* Handle event change and confirmation
* Appends new action
* Removes actions
* Automation api integration
* Api integration for creating automations
* Registers vuex module to the global store
* Automations table
* Updarted labels and actions
* Integrate automation api
* Fixes the mutation error - removed the data key wrapper
* Fixed the automation condition models to work with respective event types
* Remove temporary fixes added to the api request
* Displa timestamp and automation status values
* Added the clone buton
* Removed uncessary helper method
* Specs for automations
* Handle WIP code
* Remove the payload wrap
* Fix the action query payload
* Removed unnecessary files
* Disabled Automations routes
* Ability to delete automations
* Fix specs
* Fixed merge conflicts
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: fayazara <fayazara@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-02-02 18:46:07 +05:30
1f3c5002b3
feat: Shows agent avatar for message sent by agent ( #3884 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-02-01 16:34:54 +05:30
Vishnu Narayanan and GitHub
c0276d252a
chore: add aws rds root cert for tls connection ( #3812 )
...
* chore: add aws rds cert for tls connection
* add aws rds ca cert
* remove intermediate ca cert
2022-02-01 16:01:25 +05:30
Fayaz Ahmed and GitHub
52d1821cd3
feature: Filtering conversations and contacts with custom attributes ( #3851 )
2022-02-01 13:13:55 +05:30
Pranav Raj S and GitHub
e0d24e0a73
chore: Use globalConfig in NetworkNotification ( #3871 )
2022-02-01 12:25:51 +05:30
Prithvi Tharun and GitHub
b1e1d7e423
fix: Update the copy to use inclusive language ( #3880 )
...
Fixes #3879
2022-02-01 11:12:20 +05:30
Tejaswini Chile and GitHub
a95d249ec1
Feat: Custom attribute advanced filter ( #3818 )
2022-01-31 13:36:44 +05:30
a1034a70c4
chore(deps): bump node-fetch from 2.6.1 to 2.6.7 ( #3862 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 11:41:12 -08:00
Tejaswini Chile and GitHub
357a374478
Fix: Update yarn ( #3866 )
2022-01-28 13:19:22 +05:30
Tejaswini Chile and GitHub
1467a8fa33
Fix: parse verification mail ( #3864 )
...
Email parsing logic was stripping of HTML tables which was causing the issue in this case.
Fixes : #3731
2022-01-27 15:45:26 -08:00
13eaff156a
Added keybindings for commandbar ( #3854 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-01-27 17:57:33 +05:30
Sivin Varghese and GitHub
e7e46590a4
bug: Fixes sidebar does not show an active page for settings page ( #3861 )
2022-01-27 17:39:21 +05:30
Frederik Kriewitz and GitHub
17018d392d
chore: update deployment scripts to install sudo ( #3841 )
...
* Update setup_20.04.sh to install sudo
* Update setup_18.04.sh to install sudo
2022-01-27 16:55:27 +05:30
Tejaswini Chile and GitHub
69eaf3ff7f
feat: Activestorage direct upload ( #3768 )
2022-01-27 15:57:22 +05:30
Sivin Varghese and GitHub
cd6c9a8fe9
enhancement: Custom views ( #3838 )
...
* enhancement: Custom views
* Review fixes
2022-01-27 08:26:12 +05:30
Pranav Raj S and GitHub
5710b7559e
fix: Fix email template to render the chat bubble properly ( #3858 )
2022-01-26 17:52:08 -08:00
Shivam Chahar and GitHub
8e6d8e7654
fix: Validate avatar only when it has changed ( #3849 )
2022-01-26 16:01:41 -08:00
59deffc7e3
feat: Ability to toggle conversation continuity via email ( #3817 )
...
Fixes : #3368
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-01-26 15:59:48 -08:00
Sojan Jose and GitHub
34e8ad9dc5
feat: Unify user and super admin credentials ( #3830 )
...
Fixes : #3061 , #3489
2022-01-25 16:58:49 -08:00
Pranav Raj S and GitHub
23965fbaa3
fix: Return if window.$chatwoot is already defined ( #3847 )
2022-01-25 16:39:19 -08:00
8cff690640
feat: Support multiple file upload on dashboard ( #3748 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-01-24 18:46:58 -08:00
Sivin Varghese and GitHub
b304f5a826
feat: Adds the ability to delete a segment ( #3836 )
...
* feat: Adds the ability to delete a segment
* Minor fixes
* Small changes
2022-01-24 17:37:43 +05:30
Prithvi Tharun and GitHub
e90d064648
fix: Fixes typo in documentation on sidebar
2022-01-24 16:03:37 +05:30
Sivin Varghese and GitHub
504fc24fb3
feat: Add the ability to save filters for contact ( #3791 )
2022-01-21 14:11:59 -08:00
Sojan Jose and GitHub
693f2531ab
feat: Support 360Dialog Interactive Templates ( #3823 )
...
fixes : #3795
2022-01-20 17:09:30 -08:00
Tejaswini Chile and GitHub
e997aaceb7
Fix: Email Parsing for html fix ( #3659 )
2022-01-20 15:55:35 -08:00
Tejaswini Chile and GitHub
a7c947aeae
feat: Clone and update automation rules ( #3782 )
...
- endpoints to clone and update automation rules
fixes : #3740
2022-01-20 15:30:21 -08:00
ab864a86fd
fix: File and emoji pickers are disabled by default ( #3803 )
...
File and emoji pickers should be enabled by default.
Fixes : #3560
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-01-19 22:20:04 -08:00
Shivam Chahar and GitHub
9617137688
chore: Account auto resolution time validation ( #3651 )
2022-01-19 13:16:21 +05:30
1b36143d27
fix: Fixes alignment of widget unread view close button ( #3806 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-01-19 12:43:04 +05:30
241e7d0c29
Enhancement: Add background color to draggable blocks in the sidebar ( #3778 )
...
* add background
* update background color in contact info
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-01-19 11:26:52 +05:30
Sivin Varghese and GitHub
185f916b2a
feat: Adds the ability to delete the saved custom views ( #3780 )
...
* feat: Adds the ability to delete the saved custom views
* Removed unused tag
* Review fixes
* Review fixes
* Update DeleteCustomViews.vue
2022-01-19 09:40:32 +05:30
Sojan
4a68d13310
Merge branch 'hotfix/2.1.1' into develop
2022-01-17 23:37:52 -08:00
Sojan
ceb2b9673c
Merge branch 'hotfix/2.1.1'
2022-01-17 23:37:45 -08:00
Sojan Jose
1749b4eb61
chore: Clean up assignment logic ( #3763 )
2022-01-17 23:36:54 -08:00
Sojan
346d89ecc0
Bump version to 2.1.1
2022-01-17 23:33:47 -08:00
c64cffb294
fix: Update the hardcoded scroll-width to match with the current table length ( #3774 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-01-18 07:37:51 +05:30
6deb3764dc
Fix: Pagination bug with filters payload ( #3747 )
...
* Removes the last operators value
* Moved removing the last operator to the payload generator
* Update app/javascript/dashboard/helper/filterQueryGenerator.js
This makes sure the last operator is never sent to the request
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Fixed the test specs
* Fixed the intendation and added comments
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-01-17 20:35:53 +05:30
4398734bdf
feat: Adds the ability to have custom view for conversations ( #3666 )
...
* feat: Adds the ability to save custom filters and display folders on the sidebar
* Minor fixes
* Review fixes
* Review fixes
* i18n fixes
* Shows conversations when the user click on the folder sidebar item
* Spacing fixes
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-01-17 09:18:54 +05:30
Sojan Jose and GitHub
290196d43b
chore: Clean up assignment logic ( #3763 )
2022-01-13 21:38:10 -08:00
fcd2b892bf
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 ( #3760 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.5 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.7 )
---
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>
2022-01-13 12:46:09 -08:00
cab5a3e53b
chore: Add a redirect link to the conversation in success toast message ( #3711 )
...
When creating a conversation from the contacts tab now we can go directly to the conversation by clicking the link in the success message
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-01-13 11:15:40 -08:00
Muhsin Keloth and GitHub
359caf754c
fix: Update contact bio style to solve overflow ( #3753 )
2022-01-13 10:57:12 -08:00
Sivin Varghese and GitHub
7fcac532df
fix: Update timestamp style on the private message from bot ( #3758 )
2022-01-13 10:54:52 -08:00
Nithin David Thomas and GitHub
d57be3ffae
fix: Allow private note without selecting a tweet ( #3754 )
2022-01-13 10:54:00 -08:00
Pranav Raj S and GitHub
5046dcaf61
fix: Update broken CSS Styles in liquid template ( #3756 )
2022-01-13 10:52:48 -08:00
Tejaswini Chile and GitHub
7df68c6388
Feat: Automations Actions ( #3564 )
2022-01-13 11:21:06 +05:30
Sojan Jose and GitHub
905fd62974
chore: Support Whatsapp Interactive messages (360Dialog) ( #3751 )
...
Render button and list reply clicks as text messages in agent dashboard
fixes : #3684
2022-01-12 19:42:23 -08:00
Sojan Jose and GitHub
1c99294c8c
chore: Fix 360Dialog template message breakage ( #3750 )
...
Template parsing fails when regexp characters are present in templates.
Fixes : #3587
2022-01-12 17:41:42 -08:00
94209d29cb
fix: Fixes widget unread view blocking parent page ( #3658 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-01-12 12:27:16 -08:00
9c31d7c672
feat: Use vue-router on widget route management ( #3415 )
...
* feat: Add vue-router to widget
Co-authored-by: Pranav <pranav@chatwoot.com >
* Move to dynamic imports
* Move to routerMixin
* Fix popup button display
* Remove unnecessary import
* router -> route
* Fix open state
* Fix issues
* Remove used CSS
* Fix specs
* Fix specs
* Fix widgetColor specs
* Fix mutation specs
* Fixes broken lint errors
* Fixes issues with widget flow
Co-authored-by: Nithin <nithin@chatwoot.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-01-12 16:25:27 +05:30
Sojan
991a42c417
Merge branch 'release/2.1.0' into develop
2022-01-11 19:28:49 -08:00
Sojan
4a902fce6d
Merge branch 'release/2.1.0'
2022-01-11 19:28:42 -08:00
Sojan
5475746a87
Bump version to 2.1.0
2022-01-11 19:26:23 -08:00
Vishnu Narayanan and GitHub
acba07cf6e
chore: revert GlobalConfig changes ( #3702 )
...
Priority to GlobalConfig changes are reverted and for the time being, env vars will take precedence if set.
Fixes #3699
2022-01-11 19:20:23 -08:00
Sojan Jose and GitHub
f44be0b1e6
fix: SuperAdmin Improvements ( #3733 )
...
- Fix broken access tokens pages
- Fix broken avatar images in the super admin users tab
- Fix broken pagination links in super admin
- Add agent bot tabs
Fixes : #2021
2022-01-11 19:00:00 -08:00
Prithvi Tharun and GitHub
bec1266242
fix: Update shortcode -> short code ( #3708 )
...
Closes #3672
2022-01-11 15:20:52 -08:00
Sojan Jose and GitHub
ebb04487a8
chore: Prevent null in Contact JSONB attributes ( #3730 )
2022-01-11 15:14:55 -08:00
de37975be4
chore(deps): bump google-protobuf from 3.18.1 to 3.19.2 ( #3714 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 3.18.1 to 3.19.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.18.1...v3.19.2 )
---
updated-dependencies:
- dependency-name: google-protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 13:25:44 -08:00
Axel Tietje and GitHub
8a26d78623
chore: fix german translations ( #3724 )
2022-01-12 00:36:57 +05:30
Aswin Dev P.S and GitHub
7ee7062843
feat: Toggle to disallow users to send messages after a conversation is resolved ( #3605 )
2022-01-11 00:32:03 -08:00
Tejaswini Chile and GitHub
a0884310f4
feat: Save automation rules ( #3359 )
2022-01-10 12:41:59 +05:30
Anisha-art and GitHub
9a9462f5cb
fix: Removed extra space before "." ( #3717 )
...
Fixes Removed extra space before "." as mentioned in the issue: #3669
2022-01-09 22:27:45 -08:00
Prithvi Tharun and GitHub
9b6f1df871
fix: Update copy in canned responses ( #3716 )
...
Fixes #3669
2022-01-09 22:26:35 -08:00
Anisha-art and GitHub
ab4d63a006
Error with plurals in Invite members onboarding guide. Issue #3671 ( #3718 )
...
Updated "email address" to "email addresses" in the Invite your team members guide.
2022-01-10 10:29:16 +05:30
Fayaz Ahmed and GitHub
0745ceb430
Chore: Update ninja keys to 1.1.9 ( #3710 )
2022-01-07 13:52:08 -08:00
Pranav Raj S and GitHub
f7ed7756d9
chore: Use logo thumbnail instead of logo in the sidebar ( #3706 )
2022-01-06 15:09:01 -08:00
Muhsin Keloth and GitHub
e1fe4f09bc
chore: Add subscription delete API ( #3703 )
2022-01-06 21:40:43 +05:30
Nayan Patel and GitHub
a61dae0bb2
General updates and add CODEOWNERS ( #3685 )
2022-01-05 12:37:22 +05:30
Nithin David Thomas and GitHub
fade94658a
chore: Show scrollbar for sidebar only on hover ( #3688 )
2022-01-05 09:37:43 +05:30
Vishnu Narayanan and GitHub
e775d22b98
feat: add new view and controller to display app configs together ( #3563 )
...
fixes : #3578
2022-01-04 21:50:16 +05:30
Tejaswini Chile and GitHub
e304ad27cb
Chore: Custom filter api docs updated ( #3668 )
2022-01-04 13:10:29 +05:30
Prithvi Tharun and GitHub
3e8ae3865f
chore: Update the copy for new password in profile settings ( #3676 )
...
Fixes #3656
2022-01-02 22:43:50 -08:00
Nithin David Thomas and GitHub
223fb2b7e4
chore: Updates design of resolve context menu ( #3667 )
2021-12-29 22:24:11 +05:30
Nithin David Thomas and GitHub
666028a443
feat: Adds multiple path support for fluent icons ( #3665 )
...
* feat: Adds multiple path support for icons
* Changes dashboard icon
2021-12-29 18:01:49 +05:30
Sojan
8bdd7ba3e4
Merge branch 'release/2.0.2'
2021-12-28 21:56:59 +05:30
Sojan
a1c77c8c4c
Bump version to 2.0.2
2021-12-28 21:55:57 +05:30
Sojan Jose and GitHub
577e9905c6
chore: Fix issue with conversation assignment notifications ( #3661 )
...
- fixes issues with conversation assignment notifications not working in certain cases
2021-12-28 21:53:13 +05:30
Muhsin Keloth and GitHub
9606abe251
chore: Fix Eslint warnings ( #3654 )
...
* Fix all the eslint warnings
* Revert the schema
2021-12-27 13:49:31 +05:30
Sojan
28da30f7e4
Merge branch 'release/2.0.1' into develop
2021-12-23 01:04:10 +05:30
Sojan
9f663ed4e5
Merge branch 'release/2.0.1'
2021-12-23 01:04:02 +05:30
Sojan
acc55ea79c
Bump version to 2.0.1
2021-12-23 01:02:56 +05:30
Sojan Jose and GitHub
13d6734977
chore: Minor API cleanups ( #3645 )
...
- exception list updated
- revert mail presenter changes
2021-12-23 00:55:49 +05:30
Tejaswini Chile and GitHub
c57c975a0d
bug: NoMethodError: undefined method `match' for in_reply_to ( #3641 )
...
Fixes #3615
2021-12-22 22:33:18 +05:30
Tejaswini Chile and GitHub
44486fc8e1
chore: Improve email parsing using email trimmer gem ( #3611 )
...
Email parsing using email_trimmer gem
Fixes : #3539 , #2954 , #3572
2021-12-22 18:16:40 +05:30
Sojan Jose and GitHub
009abc1948
chore: API improvements ( #3637 )
...
- Unique validations for Inbox members and Team member objects
- Move notification processing to Async
2021-12-21 22:48:01 +05:30
Muhsin Keloth and GitHub
262474166f
chore: Add display id in all conversation notifications ( #3635 )
...
- Added conversation display id in push payload for the notifications conversation_creation and conversation_assignment
2021-12-21 19:59:22 +05:30
Nithin David Thomas and GitHub
307118b235
feat: Shows error message with retry for widget messages ( #3594 )
...
- Adds error message retry option for widget bubbles
- Adds a fallback for widget images with file type bubble
2021-12-21 12:02:43 +05:30
Sivin Varghese and GitHub
0130e08016
fix: Remove animated running numbers ( #3604 )
2021-12-20 18:19:59 -08:00
Nithin David Thomas and GitHub
83655f4ca4
feat: Show errors for message bubbles in dashboard ( #3585 )
2021-12-21 00:07:33 +05:30
6fe5484119
chore: Allow more filetypes in uploads ( #3557 )
...
- Allowing the ability to upload more common file types like zip, Docx etc
- Fallback for image bubble when the image URL isn't available
fixes : #3270
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2021-12-20 23:50:37 +05:30
Tejaswini Chile and GitHub
76e8acd3c6
Fix: Editable attrs presence check for the channel class ( #3630 )
2021-12-20 19:38:38 +05:30
Sivin Varghese and GitHub
ad09c5dc5f
bug: Fixes pressing enter key not submitting values in widget. ( #3610 )
2021-12-20 08:48:09 +05:30
Sojan Jose and GitHub
f8cf0cd7c5
chore: Enable Slovak Language ( #3614 )
2021-12-19 11:38:21 +05:30
Sojan Jose and GitHub
46d2a8f218
chore: New Crowdin updates ( #3616 )
2021-12-19 11:38:02 +05:30
Amit Kumar and GitHub
6069cd9eba
chore: Contact builder ignores custom attributes ( #3571 )
...
This is incorrect as per the documentation here: https://www.chatwoot.com/developers/api/#operation/create-a-contact
This allows setting the proper attributes when creating a contact
2021-12-19 10:59:03 +05:30
Sojan Jose and GitHub
8d65608666
chore: Clean up migrations ( #3613 )
...
Fixes : #3530
2021-12-19 09:47:07 +05:30
Aswin Dev P.S and GitHub
5ee209c079
chore: Fix user email re-confirmation flow ( #3581 )
...
Users can change their email from profile settings. They will be logged out immediately. Users can log in again with the updated email without verifying the same. This is a security problem.
So this change enforce the user to reconfirm the email after changing it. Users can log in with the updated email only after the confirmation.
Fixes: https://huntr.dev/bounties/7afd04b4-232e-4907-8a3c-acf8bd4b5b22/
2021-12-16 19:32:49 +05:30
Sivin Varghese and GitHub
e0c9687f5e
bug: Fixes irregular padding on agent selector in report page ( #3593 )
...
* bug: Fixes irregular padding on agent selector in report page
* code climate fixes
2021-12-16 13:20:35 +05:30
Sivin Varghese and GitHub
93f384a3ec
enhancement: Changes button design for tables in settings page ( #3553 )
...
* enhancement: Changes button design for tables in settings page
* Minor fixes
* Review fixes
2021-12-16 13:00:55 +05:30
Tejaswini Chile and GitHub
9984edd3ef
Feat: Manage conversation for tweets based on the tweet flag ( #3353 )
...
Add tweet conversation only if tweets are enabled.
Fixes #1961
2021-12-16 00:24:50 +05:30
Sivin Varghese and GitHub
e2e459a1ac
bug: Fixes space missing issue with message bubbles after sending messages ( #3562 )
2021-12-15 19:12:11 +05:30
Tejaswini Chile and GitHub
b7336eca65
Fix: Add max retries for all jobs ( #3582 )
2021-12-15 17:31:16 +05:30
Nithin David Thomas and GitHub
6ae06f2c7a
fix: Fixes wrong color for note tab in reply box ( #3566 )
...
* fix: Fixes wrong color for note tab in reply box
* Changes color for warning button
* Fixes spacing
2021-12-14 20:09:52 +05:30
Vishnu Narayanan and GitHub
7986d61b6f
feat: allow users to select components to install when using linux script ( #3528 )
...
Provide a choice to select the components to install. The script
should be able to just install chatwoot alone. Postgres, redis,
SSL certs via letsencrypt and nginx as a webserver should be
installed after confirmation.
Fixes : #3513
2021-12-14 18:26:57 +05:30
Nithin David Thomas and GitHub
c2191e48b1
Chore: Fixes icon size in button ( #3555 )
...
* Chore: Fixes icon size in button
* Changes normal button to woot button
2021-12-14 17:37:25 +05:30
Vishnu Narayanan and GitHub
ac372f188d
chore: add line messenger in readme ( #3552 )
2021-12-13 14:19:12 +05:30
Sivin Varghese and GitHub
178cb34319
bug: Fixes expanded reply box is not closing after the message is sent ( #3537 )
2021-12-13 12:37:21 +05:30
Tejaswini Chile and GitHub
c2519ea1ea
Fix: fixing mail to and in_reply_to issues ( #3451 )
2021-12-10 19:42:26 +05:30
Pranav Raj S and GitHub
dcdeaa7954
chore: Remove license tag from Readme
2021-12-09 02:30:33 -08:00
arabakevin and GitHub
0b7eb2e2c1
chore: Fix typo in enterprise license ( #3535 )
2021-12-09 02:22:37 -08:00
Pranav Raj S and GitHub
2defe4a8fe
chore: Fix line breaks in Readme.md
2021-12-09 02:19:16 -08:00
Pranav Raj S and GitHub
b0af3f2498
chore: Update Readme.md
2021-12-09 02:16:05 -08:00
Sojan Jose and GitHub
5feb5aba72
Merge tag 'v2.0.0' into develop
...
v2.0.0
2021-12-09 08:17:34 +00:00
Sojan Jose and GitHub
a7623041bf
Merge branch 'release/2.0.0'
2021-12-09 08:17:15 +00:00
Sojan Jose and GitHub
d268f155e4
Bump version to 2.0.0
2021-12-09 06:59:23 +00:00
b1eea7f7d1
chore: Introduce enterprise edition license ( #3209 )
...
- Initialize an "enterprise" folder that is copyrighted.
- You can remove this folder and the system will continue functioning normally, in case you want a purely MIT licensed product.
- Enable limit on the number of user accounts in enterprise code.
- Use enterprise edition injector methods (inspired from Gitlab).
- SaaS software would run enterprise edition software always.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-12-09 12:07:48 +05:30
Pranav Raj S and GitHub
2f63ebb8a6
fix: Add fixes for sentry errors ( #3522 )
...
- Add fixes for sentry errors
2021-12-09 11:50:28 +05:30
Pranav Raj S and GitHub
2be71e73dc
feat: Add a view for mentions ( #3505 )
...
- Added a new table mentions for saving user mentions
- Added a filter conversation_type in the API
- Added a view to see the mentions
2021-12-09 11:20:14 +05:30
Sojan Jose and GitHub
1db82f235d
Chore: Improve confirmation flow for agents ( #3519 )
...
- Agents are redirected to the password reset page which confirms the agent as well as sets a new password.
2021-12-09 11:11:46 +05:30
9306b725d8
chore: Fix pre-commit hooks ( #3525 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-12-08 17:32:00 -08:00
Muhsin Keloth and GitHub
3ee6b7d6e9
chore: Add the ability to use same key for conversation and contact ( #3526 )
2021-12-08 20:15:27 +05:30
Tejaswini Chile and GitHub
35130bc83e
Fix: Add foreign key with delete cascade for destroy_async ( #3527 )
2021-12-08 18:03:27 +05:30
Tejaswini Chile and GitHub
f609a28c6b
Fix: Added facebook login scope with new advanced access for page read ( #3518 )
2021-12-08 16:17:49 +05:30
Sivin Varghese and GitHub
714c10dc66
bug: Fixes error with the secondary menu. ( #3524 )
2021-12-08 14:20:59 +05:30
f5d79ffe58
chore: Updates icon for network disconnect alert ( #3514 )
...
* chore: Upadates icon for network disconnect alert
* Changes background color
* Review fixes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2021-12-07 23:45:36 +05:30
Nithin David Thomas and GitHub
824101bc30
fix: Fixes cc bcc being sent when mail head is empty ( #3515 )
...
* fix: Fixes cc bcc being sent wrongly with emails
* fixes values not sycned to parent component
* Update app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue
* Review fixes
2021-12-07 23:44:32 +05:30
Muhsin Keloth and GitHub
46afcd9348
fix: Index custom attribute uniqueness on account ( #3516 )
...
- Move custom attribute uniqueness validation to account
2021-12-07 18:20:47 +05:30
Nithin David Thomas and GitHub
6b025816f5
fix: Update sidebar toggle icon breaking message view ( #3512 )
2021-12-06 08:41:34 -08:00
Sivin Varghese and GitHub
3c72a2759f
enhancement: Improves sidebar open/close toggle design ( #3507 )
2021-12-06 18:16:36 +05:30
a98f10130b
bug: Fix cannot copy text content from sidebar ( #3506 )
...
* bug: Fixes cannot copy text content from sidebar .
* fixes cannot copy issue in sidebar
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-12-06 14:38:04 +05:30
Muhsin Keloth and GitHub
b46ee5e580
Fix: Conversation status event in widget side ( #3509 )
2021-12-03 22:45:00 +05:30
thedev105 and GitHub
6d378eb206
Fix: Update contact validation messages ( #3500 )
...
Fixes #3476
2021-12-03 13:19:11 +05:30
d7cfe6858e
feat: Add advanced contact filters ( #3471 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-12-02 19:12:44 -08:00
Sivin Varghese and GitHub
1c29f5bbe4
bug: Fixes missing inbox icon in Twillio SMS channel. ( #3502 )
2021-12-02 11:47:49 +05:30
8b4134c790
fix: Update route permissions in the new primary menu ( #3499 )
...
* fix: Display rolewise primary sidebar
* Fix issues with roles
* Fix active style
* Fix accessible menu
* Fix key missing
* Changes menu icon size
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2021-12-02 11:02:43 +05:30
Sojan Jose and GitHub
b826319776
chore: create CONTRIBUTING.md
2021-12-01 23:21:02 +05:30
Muhsin Keloth and GitHub
025bbf1bfb
chore: Add i18n survey transaltion in crowdin ( #3496 )
2021-12-01 18:25:22 +05:30
Nithin David Thomas and GitHub
2a5932cf1b
chore: Fixes error in reply box code ( #3494 )
2021-12-01 16:04:02 +05:30
0a18993b70
fix: Changes thumbnail colors to new color scheme ( #3483 )
...
* Enhancement: Updates sidebar to a new design (#2733 )
* feat: Changes primary navbar to new design (#2598 )
* feat: updates design for secondary navbar (#2612 )
* Changes primary nvbar to new design
* Updates design for contexual sidebar
* Fixes issues with JSON
* Remove duplication of notificatons in Navigation
* Fixes broken tests
* Fixes broken tests
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/modules/sidebar/components/Secondary.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Chore: Update design changes to features
* Fixes menu transitions and refactors code
* Refactors sidebar routeing logic
* lint error fixes
* Fixes dropdown menu styles
* Fixes secondary new item links
* Fixes lint scss issues
* fixes linter issues
* Fixes broken test cases
* Update AvailabilityStatus.spec.js
* Review feedbacks
* Fixes add modal for label
* Add tooltip for primary menu item
* Tooltip for notifications
* Adds tooltip for primary menu items
* Review fixes
* Review fixes
* Fix merge issues
* fixes logo size for login pages
* fixes Merge breaks with styles
* fix: Changes thumbnail colors to new color scheme
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-12-01 15:18:41 +05:30
b01d032d0d
feat: Updates sidebar to accomodate sub menu ( #3416 )
...
* Enhancement: Updates sidebar to a new design (#2733 )
* feat: Changes primary navbar to new design (#2598 )
* feat: updates design for secondary navbar (#2612 )
* Changes primary nvbar to new design
* Updates design for contexual sidebar
* Fixes issues with JSON
* Remove duplication of notificatons in Navigation
* Fixes broken tests
* Fixes broken tests
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/modules/sidebar/components/Secondary.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Chore: Update design changes to features
* Fixes menu transitions and refactors code
* Refactors sidebar routeing logic
* lint error fixes
* Fixes dropdown menu styles
* Fixes secondary new item links
* Fixes lint scss issues
* fixes linter issues
* Fixes broken test cases
* Update AvailabilityStatus.spec.js
* Review feedbacks
* Fixes add modal for label
* Add tooltip for primary menu item
* Tooltip for notifications
* Adds tooltip for primary menu items
* Review fixes
* Review fixes
* Fix merge issues
* fixes logo size for login pages
* fixes Merge breaks with styles
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-12-01 12:45:39 +05:30
Pranav Raj S and GitHub
c792cfc0be
feat: Use Fluent SVG icons on the dashboard ( #3482 )
2021-11-30 21:03:18 -08:00
Pranav Raj S and GitHub
98be3b33c1
fix: Update missing method onNewToastMessage ( #3481 )
2021-11-30 10:57:44 -08:00
Sojan Jose and GitHub
0115b4ddc4
chore: validation spec for schedules ( #3480 )
...
We had instances where after copy-pasting the schedule block, the dev forgets to change the schedule key,
This would break some of the scheduled jobs without explicit errors.
this PR add a spec that will prevent it from happening
2021-11-30 21:44:30 +05:30
Sojan Jose and GitHub
d5c30760a7
chore: Whatsapp templates fix for 360 dialog ( #3479 )
...
Fixes : #3426
2021-11-30 20:50:35 +05:30
Pranav Raj S and GitHub
0899f62912
fix: Use bus.$off to remove listeners on destroy ( #3478 )
2021-11-30 10:45:36 +05:30
Sojan Jose and GitHub
86dfdfb9ab
chore: fix scheduled jobs ( #3473 )
...
- fixes the duplicate schedule job key
2021-11-27 17:08:40 +05:30
Shivam Chahar and GitHub
bfcde9b022
chore: Conversation history in email notifications ( #3414 )
...
Display recent messages in the notification email when a new conversation is created.
Fixes : #2041
2021-11-27 15:38:27 +05:30
Akhil G Krishnan and GitHub
6a98a812e7
Fix: Outgoing email sender header translation issue ( #3393 )
...
Outgoing email-sender header translation fix for "from"
Fixes #3380
2021-11-27 09:46:12 +05:30
Shivam Chahar and GitHub
a4ee8ee239
Chore: Improve conversation auto resolution ( #3405 )
...
Fixes : #1583
2021-11-27 09:26:18 +05:30
Sanju and GitHub
89f9f39e6e
chore: add account id in account settings page ( #3365 )
...
Fixes : #3317
2021-11-27 09:07:09 +05:30
Santhosh C and GitHub
b326da7d94
feat: Ability to remove user profile picture ( #3156 )
...
Fixes #3107
2021-11-27 00:56:07 +05:30
Sojan Jose and GitHub
add004a56e
Chore: API Improvements ( #3469 )
2021-11-27 00:48:46 +05:30
Sivin Varghese and GitHub
55843c5bad
chore: fixes filter input multiselect height issue ( #3466 )
2021-11-26 13:41:09 +05:30
2c3c1888f1
Enhancement: Show unread marker on widget bubble ( #3390 )
...
* add unread marker
* add removeClass in IFramehelper
* Update app/javascript/sdk/sdk.js
* Update app/javascript/sdk/sdk.js
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-11-25 20:25:14 +05:30
Tejaswini Chile and GitHub
b0370ce44d
Feat: Fix contact filter pagination ( #3463 )
2021-11-25 12:01:31 +05:30
Vishnu Narayanan and GitHub
3a48e08fe0
feat: migrate facebook env vars to globalConfig ( #3369 )
...
Migrate facebook env vars to globalConfig and make it editable from the super admin UI.
2021-11-25 00:55:26 +05:30
Nithin David Thomas and GitHub
c23e2c23d4
chore: Update design for filters ( #3423 )
2021-11-24 14:26:32 +05:30
Tejaswini Chile and GitHub
330a97b5c5
Fix: contact filter values ( #3456 )
2021-11-24 12:58:00 +05:30
Muhsin Keloth and GitHub
00143f7ee5
fix: Render checkbox if string value passed ( #3453 )
2021-11-24 11:02:45 +05:30
Sivin Varghese and GitHub
da8f9d0337
feat: Add support for List and Checkbox in Custom Attributes ( #3439 )
2021-11-24 09:00:55 +05:30
Pranav Raj S and GitHub
0530e9491c
fix: Use role permissions from accounts instead of role attribute ( #3445 )
...
Use role permissions from accounts instead of the role attribute
Fixes : #2557
2021-11-23 17:37:01 +05:30
Tejaswini Chile and GitHub
11cd7fd6c5
Feat: Added support changes for contact filters ( #3435 )
2021-11-23 16:36:44 +05:30
Tejaswini Chile and GitHub
9103fbbdde
chore: Update schema files ( #3438 )
...
- removes the unintended table from schema files
2021-11-23 16:04:01 +05:30
Sivin Varghese and GitHub
e182b59002
bug: fixes link icon doesn't work in the campaign editor ( #3447 )
2021-11-23 15:26:26 +05:30
Fayaz Ahmed and GitHub
7f8204a9da
fix: Required check for Conversation filters ( #3442 )
2021-11-23 09:42:47 +05:30
Sojan
0033a35ab8
Merge branch 'hotfix/1.22.1' into develop
...
# Conflicts:
# db/schema.rb
2021-11-22 23:35:44 +05:30
Sojan
5db9d397c5
Merge branch 'hotfix/1.22.1'
2021-11-22 23:34:37 +05:30
791d90c6b7
chore: Migrate PubSub Token to contact inbox ( #3434 )
...
At present, the websocket pubsub tokens are present at the contact objects in chatwoot. A better approach would be to have these tokens at the contact_inbox object instead. This helps chatwoot to deliver the websocket events targetted to the specific widget connection, stop contact events from leaking into other chat sessions from the same contact.
Fixes #1682
Fixes #1664
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-11-22 23:32:17 +05:30
Pranav Raj S and GitHub
1a8b8f0900
chore: Move referrerHost to appConfig store ( #3433 )
2021-11-22 15:05:29 +05:30
Vishnu Narayanan and GitHub
1be7c2d72c
chore: add DigitialOcean 1-click deployment button ( #3421 )
2021-11-22 13:20:35 +05:30
Pranav Raj S and GitHub
e93e43532a
fix: Pass label title instead of id to filter API ( #3432 )
2021-11-22 12:06:43 +05:30
Sojan Jose and GitHub
c332e2df12
chore: Add Code of Conduct
2021-11-20 12:08:45 +05:30
Pranav Raj S and GitHub
da163cc1f7
chore: Move unscoped styles to global stylesheet ( #3422 )
2021-11-19 16:09:20 +05:30
Tejaswini Chile and GitHub
7b44bf5b78
Fix: Filter with label name ( #3418 )
2021-11-19 13:55:40 +05:30
Aswin Dev P.S and GitHub
24e6a92297
feat: IMAP Email Channel ( #3298 )
...
This change allows the user to configure both IMAP and SMTP for an email inbox. IMAP enables the user to see emails in Chatwoot. And user can use SMTP to reply to an email conversation.
Users can use the default settings to send and receive emails for email inboxes if both IMAP and SMTP are disabled.
Fixes #2520
2021-11-19 11:52:27 +05:30
Fayaz Ahmed and GitHub
8384d0b38e
chore: Update dropdown z-index to be on top of contact details pane ( #3411 )
2021-11-18 19:55:32 +05:30
c2333214af
feat: Add Advanced Conversation Filters ( #3239 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2021-11-18 19:15:02 +05:30
Muhsin Keloth and GitHub
bf96e8b68d
choore: Change values to attribute_values in custom attributes ( #3413 )
2021-11-18 18:59:28 +05:30
Pranav Raj S and GitHub
a3ba8f9e35
feat: Remove ionicons v2 dependency on widget ( #3402 )
2021-11-18 15:18:51 +05:30
Muhsin Keloth and GitHub
c2b4991fd8
feat: Add automation route ( #3410 )
2021-11-18 14:09:55 +05:30
Akhil G Krishnan and GitHub
b81a9f2010
Chore: Replaced dependent destroy with dependent destroy_async in all models ( #3249 )
2021-11-18 10:32:29 +05:30
Vinayak and GitHub
4eeaadbd5b
chore: Added SMTP_TLS and SMTP_SSL in .env.example
...
Added SMTP_TLS and SMTP_SSL in .env.example
Fixes #3396
2021-11-17 22:11:27 +05:30
Jan-David and GitHub
e500d1216b
Fix: Make swagger doc compliant to OpenAPI ( #3394 )
...
This fixes issues in the swagger.json file. The motivation to do so is to be able to generate API clients using https://openapi-generator.tech Doing so will require further changes to the api spec, but this seems like a good first step since it is now "valid" according to editor.swagger.io and openapi-generator validate.
Fixes #2806
2021-11-17 18:55:15 +05:30
Pranav Raj S and GitHub
d227a56747
fix: Set default value of sortBy to empty string ( #3406 )
2021-11-17 18:27:14 +05:30
Shivam Chahar and GitHub
fec4a29081
Feat: Include previous messages in mention/assign notifications email ( #3385 )
2021-11-17 18:05:53 +05:30
Muhsin Keloth and GitHub
9ea42ebff2
chore: Add the support for list and checkbox in custom attribute model ( #3400 )
...
ref: #3399
2021-11-16 23:25:19 +05:30
Sojan
e5a80195ab
Merge branch 'master' into develop
2021-11-15 21:52:59 +05:30
Sojan
928580dd41
Merge branch 'release/1.22.0' into develop
2021-11-15 21:50:54 +05:30
Sojan
01577acb2e
Merge branch 'release/1.22.0'
2021-11-15 21:50:36 +05:30
Sojan
52c850f8b6
Bump version to 1.22.0
2021-11-15 21:49:14 +05:30
Pranav Raj S and GitHub
809509404b
fix: Set cc, bcc default to empty string if unavailable ( #3387 )
2021-11-15 21:05:24 +05:30
Sojan Jose and GitHub
acb06e7df6
chore: Prevent notification email loop ( #3386 )
...
Configuring an agent email also as a support email inbox leads to conversations getting created in a loop if notifications were also configured to the same email.
2021-11-15 19:15:51 +05:30
e849759e15
feat: Add Command bar for improved productivity ( #3352 )
...
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2021-11-15 17:22:44 +05:30
1e3f255ece
chore: Update translations, fix Crowdin issues
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-11-15 17:18:56 +05:30
Muhsin Keloth and GitHub
a2764e5c1d
chore: Update deleteCustomAttribute method in SDK ( #3334 )
2021-11-15 14:56:35 +05:30
Muhsin Keloth and GitHub
c2db8a1fd7
chore: Add the option to edit custom attribute display name ( #3382 )
2021-11-15 12:45:47 +05:30
Muhsin Keloth and GitHub
bb18516403
chore: Update conversation sidebar items default order ( #3381 )
2021-11-15 10:34:57 +05:30
Muhsin Keloth and GitHub
d1a62fe6ab
feat: Add the option for changing the contact/conversation sidebar items order ( #3362 )
2021-11-13 12:32:53 +05:30
Sojan Jose and GitHub
f68a4b55bb
chore: Update the translations for CHAT_STATUS_FILTER_ITEMS ( #3375 )
2021-11-13 11:53:59 +05:30
Sojan Jose and GitHub
987c8f5c7c
chore: Fix translations breaking the chat filter ( #3374 )
...
fixes : #2552
2021-11-13 11:45:18 +05:30
Sojan Jose and GitHub
e011b4566b
chore: New Translation updates ( #3371 )
2021-11-12 23:40:08 +05:30
Tejaswini Chile and GitHub
37a36349f2
feat: Update Swagger for the custom filter endpoint ( #3367 )
2021-11-12 19:28:03 +05:30
cf5f6d5a74
feat: enable Dialogflow integration all inboxes except email ( #3285 )
...
Fixes #2461
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-11-12 17:53:03 +05:30
Sojan Jose and GitHub
d78cb67a2a
chore: Fix conversation status in webhooks ( #3364 )
...
- fix the wrong conversation status being sent in webhooks
- additional information in websocket events
- refactor activity messaging code
- move activity message generation to background job to stop the callback loop
2021-11-12 16:17:59 +05:30
b119d9e729
fix: Remove * as import from conversation module ( #3366 )
...
* fix: Remove * as import from conversation module
* Remove * as import from conversation test spec
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2021-11-12 13:41:43 +05:30
Tejaswini Chile and GitHub
564fa5f392
feat: Update custom filter for present/not_present operator ( #3361 )
2021-11-12 11:30:39 +05:30
Vishnu Narayanan and GitHub
58aae7a4a9
fix: make GlobalConfig migrated from .env editable from UI ( #3360 )
2021-11-11 19:31:25 +05:30
Muhsin Keloth and GitHub
c6326993df
feat: Show pre-chat form before triggering the campaign ( #3215 )
2021-11-11 19:02:16 +05:30
Muhsin Keloth and GitHub
76370267f3
feat: Render contact custom attributes in contact/conversation sidebar ( #3310 )
2021-11-11 15:23:33 +05:30
e12edb51a2
chore: Bump axios from 0.21.1 to 0.21.2 ( #3358 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 15:05:59 +05:30
Jakob and GitHub
1dfa173b3a
fix: Limit rails, postgres and redis container access to localhost ( #3354 )
...
This change limits the rails, redis and postgres container on `docker-compose.production.yaml` file to localhost only.
The default docker-compose configuration will expose redis, postgres and rails directly to the internet when the service is started on a virtual machine.
In most cases that is not what you want, and especially for redis and postgres exposing the services could be a potential security risk. By adding 127.0.0.1 access is limited to localhost and access is only possible after nginx oder another web server is configured as reverse proxy.
Note: Moving forward, anyone using docker-compose.production.yaml need to have something like Nginxto proxy the requests to the container.
If you want to verify whether the installation is working, try curl -I localhost:3000 to see if it returns 200. Also, you could temporarily drop the 127:0.0.1:3000:3000 for rails to 3000:3000 to access your instance at http://:3000 . It's recommended to revert this change back and use Nginx in front.
Approved-by: Vishnu Narayanan <vishnu@chatwoot.com >
2021-11-11 14:43:25 +05:30
Sojan Jose and GitHub
a4c87f2052
chore: Handle attachments in Whatsapp Channel ( #3299 )
...
send and receive attachments in 360Dialog WhatsApp channels
2021-11-11 13:03:48 +05:30
sarzynski and GitHub
b3e313a200
fix: Ensure HMAC mandatory when enabled ( #3350 )
...
Add missing condition checking if HMAC is mandatory.
Fixes #3349
2021-11-11 09:48:38 +05:30
Tejaswini Chile and GitHub
c0f5a59cf8
Bug: Instagram render template message twice ( #3313 )
2021-11-10 18:32:46 +05:30
Tejaswini Chile and GitHub
358171062e
Feat: Add Null values at the last while sorting ( #3292 )
...
* Add Null values at the last while sorting
* Add contacts at last with special character in it
* Optimize SQL order and direction
2021-11-10 14:11:00 +05:30
6cfd7d3836
feat: autogenerate vapid keys for push notifications ( #3128 )
...
* feat: Autogenerate push notification keys
* add vapid service class and remove pushkey model
* add spec for vapid service
* unset vapid env keys
* Unset VAPID_PRIVATE_KEY env variable
Co-authored-by: Sojan Jose <sojan@chatwoot.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2021-11-09 21:36:32 +05:30
Nithin David
0c9b682329
Revert "feat: Updates widget message state to support multiple conversations"
...
This reverts commit a34bb565af .
2021-11-09 18:34:55 +05:30
Nithin David
a34bb565af
feat: Updates widget message state to support multiple conversations
2021-11-09 18:23:20 +05:30
Pranav Raj S and GitHub
d00b8df952
fix: Revert translated keys in conversation status ( #3337 )
2021-11-08 17:03:34 +04:00
Akhil G Krishnan and GitHub
4e01278ea8
TEAM_AVAILABILITY dutch translation issue fixed ( #3324 )
2021-11-08 17:44:02 +05:30
wsuff and GitHub
26f36548c2
chore: Update message limit to Twilio recommended 320 characters ( #3333 )
2021-11-08 10:27:00 +04:00
A. Verde and GitHub
81708f92a8
chore: Fcm notification priority ( #3319 )
2021-11-08 11:32:07 +05:30
Vishnu Narayanan and GitHub
97ee1bfa97
feat: add GlobalConfigService to support env vars migration ( #3288 )
2021-11-03 21:34:42 +04:00
Sivin Varghese and GitHub
03b1a3d045
feat: Adds support for paste attachment with keys. ( #3293 )
...
* copy paste files
* Minor fixes
* Adds support for pasting attachment
* Minor files
* Review fixes
2021-11-02 10:05:49 +05:30
Sivin Varghese and GitHub
0651b11fda
bug: Fixes the height issue of attachment image preview. ( #3296 )
...
* bug: Fixes the height issue of attachment image preview
* fixes codeclimate issue
2021-11-01 21:00:14 +05:30
Tejaswini Chile and GitHub
372bd75028
feat: Add filter APIs for Contacts and Conversations ( #3264 )
2021-11-01 12:27:04 +04:00
Hugo Sarti and GitHub
68fa694268
fix: Disable typing indicator for user when agent is typing a private note ( #3303 )
2021-11-01 12:20:07 +04:00
Tejaswini Chile and GitHub
000c7603d6
feat/3247 Escape html tags from the slack messages ( #3306 )
2021-11-01 12:08:10 +05:30
Muhsin Keloth and GitHub
a3b6e5655d
Disallow editing attribute key and type ( #3305 )
2021-10-30 12:14:09 +05:30
Muhsin Keloth and GitHub
ab77e03c92
feat: Render conversation custom attributes ( #3065 )
2021-10-30 07:09:46 +05:30
Sojan Jose and GitHub
69f55a25b6
chore: Minor API fixes ( #3290 )
...
- Log whether web-hook was successful
- Inbox update shouldn't need channel params
2021-10-28 15:26:20 +05:30
Aswin Dev P.S and GitHub
46867e89cb
feat: Ability to specify a subject line for outbound emails ( #3168 )
2021-10-27 13:09:29 +05:30
Sojan Jose and GitHub
2f2d2b4f73
chore: Update translations ( #3289 )
2021-10-26 23:01:52 +05:30
fcbe68141d
fix: Show twilio channel name based on medium ( #3284 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-26 16:00:00 +05:30
Vishnu Narayanan and GitHub
ac46d0c855
feat: add domain check prompt for linux installation script ( #3282 )
...
- move domain check to beginning to have all user input at the start
- notify user to point DNS if they plan to use a domain with Chatwoot
2021-10-25 21:56:26 +05:30
Sanju and GitHub
74db319a7c
feat: Add video preview & player in conversation ( #3201 )
2021-10-25 19:46:37 +05:30
98e9fedfa6
fix: Resolve contacts filter when entered with contry code ( #3241 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-10-25 19:26:11 +05:30
f2c6799444
feat: Update translations ( #3279 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-25 19:23:58 +05:30
Jay Clark and GitHub
5119e7a79e
fix: Update z-index for chevron in contact sidepanel ( #3268 )
...
Signed-off-by: Jay Clark <jay@jayeclark.dev >
2021-10-25 19:14:13 +05:30
Pranav Raj S and GitHub
8e6ce3a813
feat: Add notes for Contacts ( #3273 )
...
Fixes #2275
2021-10-25 18:35:58 +05:30
Viraj Bahulkar and GitHub
e5e73a08fe
fix: Render missing captions for telegram media attachments ( #3257 )
2021-10-25 15:52:06 +05:30
Akhil G Krishnan and GitHub
84df9c807d
chore: Add climate-control gem for handling the test ENV vars ( #3267 )
2021-10-25 13:13:25 +05:30
Sojan Jose and GitHub
06289b03ea
chore: Add Contact Note APIs ( #3266 )
2021-10-24 12:40:30 +05:30
Sivin Varghese and GitHub
19855a90e2
fix: Remove duplicate attachment downloads ( #3262 )
2021-10-22 19:23:05 +05:30
Jan-David and GitHub
09643b63b0
fix: Use correct German translation of 'disabled' ( #3255 )
2021-10-22 10:42:13 +05:30
Tejaswini Chile and GitHub
658a511b88
feat: Conversation and contact endpoint ( #3198 )
2021-10-20 18:14:56 +05:30
Muhsin Keloth and GitHub
b0041ccf3f
fix: Close button click action in contact details sidepanel ( #3245 )
2021-10-20 09:05:08 +05:30
050df43789
feat: Adds sound alert notification for new messages on the widget ( #3181 )
...
* feat: Adds sound alert notification for new messages on the widget
* Review fixes
* uses absolute path
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-10-18 06:09:04 -07:00
Sojan
3b3ab39ca3
Merge branch 'release/1.21.1' into develop
2021-10-18 14:34:08 +05:30
Sojan
7015609577
Merge branch 'release/1.21.1'
2021-10-18 14:34:01 +05:30
Sojan
58ad0e6fd6
Bump version to 1.21.1
2021-10-18 14:33:46 +05:30
Sojan
b8ea8e5b5e
Merge branch 'master' into develop
2021-10-18 14:32:33 +05:30
Vishnu Narayanan and GitHub
eada8c9af2
chore: Fix puma http-parser error ( #3236 )
...
https://github.com/puma/puma/releases/tag/v5.5.2
2021-10-18 14:23:28 +05:30
Pranav Raj S and GitHub
6de964a0bd
fix: HTTP parser error in linux installations ( #3232 )
2021-10-18 14:20:48 +05:30
lybrus and GitHub
9f9dd09985
chore: .env.example MAILER_SENDER_EMAIL put value in quotes ( #3226 )
...
Signed-off-by: Damir Rashidov <damir@rashidov.eu >
2021-10-18 14:15:04 +05:30
Sojan
a9849e402e
Merge branch 'master' into develop
2021-10-16 00:18:47 +05:30
Sojan
a2ffcc4502
Merge branch 'release/1.21.0' into develop
2021-10-16 00:13:23 +05:30
Sojan
c831bee0e3
Merge branch 'release/1.21.0'
2021-10-16 00:13:06 +05:30
Sojan Jose and GitHub
3b53ca157c
chore: fix the failing user destroy for admin ( #3223 )
...
- fix the invitee association on the user
- handle Instagram events with inbox missing
2021-10-16 00:11:53 +05:30
Sojan
de0702b679
Bump version to 1.21.0
2021-10-15 14:44:56 +05:30
Muhsin Keloth and GitHub
cd5c2c51d9
fix: Send notification to all the mentioned users in a private message ( #3222 )
2021-10-15 14:35:43 +05:30
Sojan Jose and GitHub
cebd34053b
chore: Use availability in dashboard presence toggle ( #3212 )
2021-10-15 00:30:48 +05:30
Pranav Raj S and GitHub
ed25435ac2
fix: Render inbox icon properly ( #3219 )
2021-10-14 20:18:43 +05:30
0c65db925d
chore: Fixes the missing gem warning ( #3207 )
...
* chore: Fixes the missing gem warning
fixes : #3143
* chore: rubocop fixes
Co-authored-by: Tejaswini Chile <tejaswini776@gmail.com >
2021-10-14 13:57:01 +05:30
Sojan Jose and GitHub
590001cca2
chore: New Translation updates ( #3214 )
2021-10-14 13:32:15 +05:30
Sojan Jose and GitHub
e669f6766f
chore: Fix Dialogflow issue ( #3210 )
2021-10-14 13:17:09 +05:30
Pranav Raj S and GitHub
99abbb8158
feat: Display sent status of emails in email channel ( #3125 )
2021-10-14 12:55:46 +05:30
Muhsin Keloth and GitHub
5c30bc3e2b
fix: Read message appears on page refresh in the widget ( #3175 )
2021-10-14 11:51:00 +05:30
Muhsin Keloth and GitHub
5799b9fa26
chore: Fix the prop warning issue in contact merge modal ( #3211 )
2021-10-13 18:58:30 +05:30
Nithin David Thomas and GitHub
b33701a666
feat: Create modal to merge two contacts ( #2457 )
2021-10-13 18:35:13 +05:30
WevrLabs and GitHub
6c3e2a0bd3
feat: Render sticker messages from Telegram ( #3204 )
...
Add support for rendering sticker messages thumbs in Telegram.
2021-10-13 17:16:14 +05:30
a494afd0e7
chore: Bump puma from 5.4.0 to 5.5.1 ( #3208 )
...
Bumps [puma](https://github.com/puma/puma ) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v5.4.0...v5.5.1 )
---
updated-dependencies:
- dependency-name: puma
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:01:06 +05:30
6998e9aa2d
fix: Update email message_id parsing order ( #3073 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-12 20:46:00 +05:30
Muhsin Keloth and GitHub
6bfa551c85
fix: Trigger campaigns only during business hours ( #3085 )
...
Fixes #2433
2021-10-12 17:58:33 +05:30
7c21cf2255
feat: Render audio, video and voice attachments in telegram. ( #3155 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-12 12:58:30 +05:30
Tejaswini Chile and GitHub
5749d25ff8
feat: Update instagram webhooks URL ( #3197 )
2021-10-12 12:46:27 +05:30
c1d68cc8ae
feat: Show refresh prompt on network disconnect ( #3165 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-12 11:57:36 +05:30
Nithin David Thomas and GitHub
5237e51f2c
chore: Fixes lint errors in mail component ( #3200 )
2021-10-12 10:14:09 +05:30
Manoj M J and GitHub
2c8bf00d38
chore: Use connection pooling for Redis
...
ref: #3199
2021-10-11 19:46:15 +05:30
Murtaza Bagwala and GitHub
3d3f0ff6ee
feat: Ability to receive attachments from LINE messenger ( #3094 )
...
Add support to add videos, audio, and images from line to chatwoot.
Fixes #3039
2021-10-11 19:06:41 +05:30
2c3e37b157
fix: Disable triggering disabled ongoing campaigns ( #3115 )
...
* fixes: Triggering disabled ongoing campaigns.
* Fix the specs
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-10-11 18:18:11 +05:30
Aswin Dev P.S and GitHub
a35269d275
chore: Create conversation API should accept assignee & team ( #3166 )
2021-10-11 15:17:30 +05:30
68e697c379
feat: Support cc and bcc in email replies ( #3098 )
...
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-11 13:00:48 +05:30
Sojan Jose and GitHub
0e0632be22
chore: Minor Housekeeping tasks ( #3169 )
...
- Limit Rack attack to production environments
- Make the long-running data migration optional
2021-10-08 15:45:45 +05:30
1c4afb10df
fix: Open live-chat widget clicking on any unread message ( #3153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-08 14:08:13 +05:30
Sanju and GitHub
ec2dc1b61b
fix: Update the styles for ol & li - lists in dashboard ( #3110 )
2021-10-08 13:55:21 +05:30
b9e85a628b
Feat : Toggle to enforce user validation in Chatwoots web SDK ( #3137 )
...
* If enabled, enforces user validation with identifier_hash
* Fixes the hmac flag payload
* Adds missing i18n label for checkbox
* If enabled, Adds EOF on json file
* If applied, Handles HMAC Disable option
Co-authored-by: Tejaswini Chile <tejaswini776@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2021-10-08 12:53:24 +05:30
Vishnu Narayanan and GitHub
5d3cce12d5
fix: Disable rack attack gem in circleCI ( #3167 )
2021-10-08 12:14:23 +05:30
Sojan Jose and GitHub
8c192559fe
chore: Rate limits on widget conversation endpoints ( #3162 )
...
- Limit widget conversation creation to 6 per 12 hours
- Enable rack attack by default
2021-10-07 18:06:43 +05:30
Tejaswini Chile and GitHub
700721ea6d
fix: Issue when Instagram response body is empty
...
Fixes #3138
2021-10-07 14:36:54 +05:30
Sojan Jose and GitHub
c54aae21ff
chore: Move agent availability to Account level ( #3074 )
...
- Move agent availability to the account level
2021-10-07 13:21:46 +05:30
1c6a539c0a
feat: Add Reports for teams ( #3116 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-06 23:53:51 +05:30
3e99088fe3
chore: Bump url-parse from 1.5.1 to 1.5.3 ( #3146 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-10-06 22:16:14 +05:30
ec9903ae82
fix: Add background to inbox channel badges ( #3152 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-06 19:34:34 +05:30
Sojan Jose and GitHub
219a8c4bc5
chore: Instagram reconnect fix ( #3142 )
2021-10-06 16:23:32 +05:30
Nithin David
271ca53c58
fix: Makes thumbnail images fill the wrap
2021-10-06 14:47:44 +05:30
Murtaza Bagwala and GitHub
f874925f0e
fix: set default content type as text for message ( #3060 )
...
Fixes #2974
2021-10-06 00:10:29 +05:30
bd7aeba484
chore: Provider API prototype ( #3112 )
...
Enabling Support for Whatsapp via 360Dialog as a prototype for the provider APIs.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-10-05 23:35:06 +05:30
Tejaswini Chile and GitHub
40d0b2faf3
feat: Add Instagram Channel ( #2955 )
2021-10-05 14:35:32 +05:30
Sivin Varghese and GitHub
30244f79a6
fixes: Reply box goes hidden and emoji input header section is broken. ( #3121 )
2021-10-03 21:49:44 -07:00
Sojan Jose and GitHub
1d94e65ca8
fix: CSAT reports page failing to load ( #3123 )
...
CSAT reports page was failing to load when there is an assigned agent is deleted.
2021-10-01 13:37:52 +05:30
Aswin Dev P.S and GitHub
be9a055a3f
feat: Ability to send attachments to telegram ( #3108 )
...
This feature allows the user to send and delete attachments in the telegram conversation.
Fixes #3037
2021-10-01 01:45:29 +05:30
Siddharth Ramesh and GitHub
e6bcf24864
chore: Add readonly attribute to woot-input component ( #3119 )
2021-09-30 22:07:20 +05:30
Pranav Raj S and GitHub
1083a24a26
fix: Update Re-rendering behaviour for lists in conversation view ( #3117 )
...
* fix: Update Re-rendering behaviour for lists in conversation view
* Remove console.log
2021-09-30 15:11:00 +05:30
a1563917ba
feat - Add filter for reports by agent, label and inboxes ( #3084 )
...
* Adds filter for agents, labels and inboxes
* Added Inboxes Reports Feature
* Fixed populating of filter dropdown issue
* If applied, fixes code climate style-lint warnings
* Fixes codeclimate warnings
* if applied, Refactors sidebar file to fix codclimate warnings
* if applied, fixes the download reports button for filtered report-data
* If applied, replaces native img tag with thumbnail component
* If applied, replaces hardcoded color string with variable
* If applied, adds a11y labels to multiselect dropdowns
* If applied, Renames reports methods to generic names
* If applied, Adds test cases for Labels and Inboxes
* If applied, write a test spec for fileDownload helper
* if applied, Moves fileDownload method to a utils folder
* If applied, Fixes the report file name type
* Test Spec for Reports Store module
* Fix specs - add restoreAllMocks
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-30 13:13:45 +05:30
Pranav Raj S and GitHub
57abdc4d5f
feat: Display "Snoozed Until" time on conversation header ( #3028 )
2021-09-29 19:33:51 +05:30
Sojan Jose and GitHub
49ac4a4400
chore: Fix Twilio callback url not appearing until refresh ( #3106 )
...
The Twilio callback url wasn't being displayed until the page is refreshed
fixes : #3034
2021-09-29 18:29:13 +05:30
Pranav Raj S and GitHub
cc244833d0
feat: Add all filter for conversations ( #3102 )
2021-09-29 16:23:39 +05:30
d55a48037a
chore: Bump tmpl from 1.0.4 to 1.0.5 ( #3059 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-29 13:00:56 +05:30
6f6bb91823
fix: Add meaningful alert error message if file upload fails ( #3093 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-29 13:00:08 +05:30
a8f6eebd66
bug: Fixes Incorrect badge for Twilio SMS inbox and adds the ability to differentiate Twitter tweets and chats ( #3003 )
...
* bug: Fixes Incorrect badge in the thumbnail for Twilio SMS inbox
* Minor fixes
* Minor fixes
* Review fixes
* Minor fixes
* fixes codeclimate error
* Minor fixes
* Minor fixes
* Minor fixes
* Review fixes
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-29 12:56:45 +05:30
bba2750975
feat: Add ability to bulk import contacts ( #3026 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-29 12:01:58 +05:30
6129edce08
fix: dialogflow integration in docker environments ( #3072 )
...
* natively compile ruby gems
* add missing compiler tools
* add bundler platform ruby to force native compilation
* fix bundler env in final docker stage
* add comments to DockerFile
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-09-28 20:49:50 +05:30
Sojan Jose and GitHub
ed22e7cad4
chore: mitigate CVE-2021-41098 ( #3101 )
...
ignoring CVE-2021-41098 as Chatwoot doesn't support JRuby at the moment
fixes : #3097
2021-09-28 19:34:11 +05:30
Aswin Dev P.S and GitHub
edd0e2329f
feat: Add the ability to close and reopen the chat window via SDK ( #3080 )
2021-09-28 19:25:44 +05:30
Sivin Varghese and GitHub
1761bec615
feat: Adds ability to edit out webhook URL of API Channel ( #3013 )
2021-09-28 12:33:08 +05:30
Aswin Dev P.S and GitHub
15aaa8883c
feat: API to Filter reports by teams ( #3066 )
...
Add API to Filter reports by teams
Fixes : #2916
2021-09-27 21:12:08 +05:30
8b7f6c691a
bug: fixes error in creating a new one off campaign ( #3067 )
...
* bug: fixes error in creating a new one off campaign
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-24 08:07:30 -07:00
Akhil G Krishnan and GitHub
1cb2226dbc
chore: Remove unused memoization in telegram incoming service ( #3075 )
2021-09-24 17:22:22 +05:30
Hugo Sarti and GitHub
1f4685ae4b
fix: offset issue for Business hours on timezones with DST
2021-09-24 00:20:08 +05:30
Tejaswini Chile and GitHub
54bdb2957f
feat: Add assignee last seen to conversations ( #3069 )
...
- Adds assignee last seen attribute to conversations
2021-09-23 20:59:10 +05:30
Aswin Dev P.S and GitHub
4f51a46c2b
feat: Ability to delete a contact ( #2984 )
...
This change allows the administrator user to delete a contact and its related data like conversations, contact inboxes, and reports.
Fixes #1929
2021-09-23 12:52:49 +05:30
Muhsin Keloth and GitHub
0c24df96a8
chore: Conversation custom attribute APIs ( #3024 )
2021-09-22 10:46:48 +05:30
Tejaswini Chile and GitHub
dddab0bbce
chore: Handle the Twilio exception in sentry
...
Fix trying to extract the Sid from non created message.
Fixes #3029
2021-09-21 23:02:45 +05:30
Murtaza Bagwala and GitHub
c504067e2b
fix: Add blank check for file param in Import API ( #3057 )
2021-09-21 10:20:12 +05:30
Pranav Raj S and GitHub
b59e73b10b
fix: Update associations when a label is updated ( #3046 )
2021-09-21 10:16:32 +05:30
Sojan Jose and GitHub
aaadd61e09
fix: Outbound messages triggering out of office ( #3051 )
2021-09-21 10:16:14 +05:30
dcbbb09ebd
fix: Update widget option button style to handle long text ( #3030 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-19 21:12:54 +05:30
Pranav Raj S and GitHub
fa2db5a729
fix: Update title for out of office message ( #3043 )
2021-09-19 20:38:20 +05:30
Tejaswini Chile and GitHub
b1b0268705
feat: Support sending and receiving attachments in Slack Integration ( #3022 )
...
- Process incoming slack attachments
- Send attachments from chatwoot to slack
2021-09-18 00:49:01 +05:30
Aswin Dev P.S and GitHub
794a56d4cc
Feat: Out of office autoresponder ( #2992 )
...
This change allows the user to enable autoresponder during the out-of-office time.
Fixes : #2035
2021-09-17 22:17:11 +05:30
Tejaswini Chile and GitHub
6ad5a7452c
fix: Emails not delivered when case does not match
...
Fixes #2504
2021-09-17 22:14:39 +05:30
Sojan Jose and GitHub
0c3e8b6dbd
chore: Return medium in inbox APIs ( #3025 )
...
Return medium in inbox APIs
2021-09-16 16:51:06 +05:30
Tejaswini Chile and GitHub
a0ffefad71
chore: Use the name of the sender from the mail object
...
if the sender email is Sony Mathew <Sony@chatwoot.com > Contact should be built with Sony Mathew
Fixes #2911
2021-09-16 13:26:52 +05:30
Sojan
799e0ed4f5
Merge branch 'master' into develop
2021-09-15 20:19:34 +05:30
Sojan
928766f07b
Merge branch 'release/1.20.0' into develop
2021-09-15 20:19:09 +05:30
Sojan
b474e39feb
Merge branch 'release/1.20.0'
2021-09-15 20:18:57 +05:30
Pranav Raj S and GitHub
3abcadb5cb
fix: Reject keyboard shortcut listeners if input box is active ( #3019 )
...
Reject keyboard shortcut listeners if input box is active
2021-09-15 20:15:06 +05:30
Sojan Jose and GitHub
a14f4ede87
chore: Sidebar icons for new inboxes ( #3016 )
...
- Sidebar icons for line and telegram inboxes
- Sentry fix for contact IP lookup job
2021-09-15 18:12:56 +05:30
Sojan Jose and GitHub
2396b59f11
chore: API fixes ( #3014 )
...
- Minor API fixes
- Configuration screen for LINE inbox
2021-09-14 22:44:53 +05:30
Sojan Jose and GitHub
946a09928e
Chore: Release Fixes ( #3011 )
...
- Fix super admin crashing
- Fix error on telegram group messages
fixes : #2856
2021-09-14 15:54:57 +05:30
Vishnu Narayanan and GitHub
2c381d726d
chore: Update installation env value for linux script ( #3005 )
2021-09-14 12:59:22 +05:30
Pranav Raj S and GitHub
11cbc4d952
fix: Revert key changes in it translation files ( #3010 )
2021-09-14 12:33:13 +05:30
Sojan
d76455e840
Bump version to 1.20.0
2021-09-14 12:29:05 +05:30
Pranav Raj S and GitHub
aa5d01b572
fix: Hide quoted replies by default from messages ( #3009 )
...
Fixes : #2009 , #2365
2021-09-14 11:55:48 +05:30
Sojan Jose and GitHub
22d1c8baf2
Chore: Inbox Members API improvements ( #3008 )
...
- New Inbox Member APIs
- Return JSON errors for Platform APIs
2021-09-14 11:55:02 +05:30
ccd0dc39ad
chore: Update translations ( #3004 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-13 19:19:59 +05:30
Fayaz Ahmed and GitHub
84b96526db
chore: Upgrade vue router to the 3.x ( #2981 )
2021-09-13 18:10:56 +05:30
Pranav Raj S and GitHub
f2e2a0b7ed
chore: Update contact sidebar with accordion ( #3002 )
2021-09-13 18:08:58 +05:30
Sojan Jose and GitHub
328edd24de
chore: Move Facebook event processing to worker ( #2988 )
2021-09-13 18:05:14 +05:30
26a3150fd8
feat: Adds the ability to edit and delete custom attributes ( #2982 )
...
* feat: Adds the ability to edit and delete custom attributes
* Review fixes
* Minor fixes
* Adds specs
* Minor fixes
* Update settings.routes.js
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-13 03:26:18 -07:00
Brandon Wilson and GitHub
571fefd7cd
fix: Selected agent profile picture in agent multi select ( #2949 )
2021-09-13 13:43:19 +05:30
Tejaswini Chile and GitHub
b74261205d
chore: Support for special characters in password
...
Fixes : #2919
2021-09-13 13:15:05 +05:30
Pranav Raj S and GitHub
f79c52b8c3
chore: Update Changelog URL ( #3001 )
2021-09-13 12:54:26 +05:30
Sojan Jose and GitHub
0a38632f14
feat: Line Channel ( #2904 )
...
- Ability to configure line bots as a channel in chatwoot
- Receive a message sent to the line bot in chatwoot
- Ability to reply to line users from chatwoot
fixes : #2738
2021-09-11 01:31:17 +05:30
Sojan Jose and GitHub
671c5c931f
feat: Telegram Channel ( #2901 )
...
- Ability to configure telegram bots as a channel in chatwoot
- Receive a message sent to the telegram bot in chatwoot
- Ability to reply to telegram users from chatwoot
- Receive attachment messages in chatwoot
fixes : #1843
2021-09-10 00:00:52 +05:30
Sojan Jose and GitHub
9c4ce9af35
chore: Strip unnecessary data from push payload ( #2924 )
2021-09-09 13:59:42 +05:30
Fayaz Ahmed and GitHub
2821777e93
feat: Add multiline support for channel greeting message ( #2952 )
2021-09-08 15:07:24 +05:30
41314157c2
fix: Revert translated values in CHAT_STATUS_ITEMS ( #2977 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-08 10:06:18 +05:30
Sivin Varghese and GitHub
c80289e661
feat: Add custom attribute table ( #2929 )
2021-09-08 09:37:58 +05:30
39c4fa111a
chore: Update translations ( #2965 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-07 23:14:58 +05:30
Pranav Raj S and GitHub
4759730022
feat: Configure Chatwoot & Analytics for SaaS app ( #2975 )
...
* feat: Add Chatwoot support inside Chatwoot SaaS
* Fix identity issues with Chatwoot
2021-09-07 23:11:01 +05:30
Sojan Jose and GitHub
8de4ce0037
chore: attachment validation fix ( #2976 )
...
- Attachment validation was supposed to affect the web widget channel only. But it was validating for all channels
2021-09-07 22:59:02 +05:30
Nooc and GitHub
7245e66b31
Mount local storage to host in docker-compose.production.yaml ( #2953 )
2021-09-07 19:52:14 +05:30
Tejaswini Chile and GitHub
772d4ae726
feat: Send MMS through Twilio Inbox ( #2959 )
...
Send MMS message to customer for Twilio integration inbox.
Fixes #2311
2021-09-07 00:05:14 +05:30
Pranav Raj S and GitHub
118c1458ab
fix: Remove duplicate emit event ( #2969 )
2021-09-06 15:13:51 +05:30
Pranav Raj S and GitHub
dace97b7b0
feat: Update design - CSAT survey page ( #2964 )
2021-09-06 11:42:02 +05:30
Pranav Raj S and GitHub
7b77bab18e
fix: Update actions position if avatar image is unavailable ( #2963 )
2021-09-06 01:14:17 +05:30
7fc575a474
feat: Use accordion in conversation sidepanel ( #2839 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-06 00:19:09 +05:30
Sojan Jose and GitHub
9acac38635
chore: Update translations ( #2958 )
2021-09-05 19:12:18 +05:30
Sojan Jose and GitHub
2ebd38c3b7
Chore: API Improvements ( #2956 )
...
- API to fetch info of a single inbox
- Document passing custom_attributes in the API
- Ability to filter contacts with contact identifier in search API
2021-09-04 17:56:46 +05:30
Sojan Jose and GitHub
b866c54ad5
chore: Bring updated translations ( #2945 )
2021-09-03 15:48:24 +05:30
Muhsin Keloth and GitHub
ff1625708e
fix: Subscription attribute update issue ( #2951 )
2021-09-03 13:45:14 +05:30
Sanju and GitHub
a03ed4eea0
feat: Update agent report filename to use generated date ( #2934 )
2021-09-03 11:58:26 +05:30
Sojan Jose and GitHub
ad83d1bb71
feat: Platform API improvements ( #2900 )
...
- Platform APIs to add and update custom attributes to users
- Platform APIs to delete accounts
- Platform APIs to delete users
2021-09-02 18:29:45 +05:30
Nithin David Thomas and GitHub
a60a33679f
fix: Fixes messages jumping issue for newly created message ( #2935 )
...
* fix: Fixes messages jumping issue for newly created message
* Fixes border radius issue of messages
* Fixes bottom jumping issue
* Fixes code climate issue
2021-09-02 16:26:20 +05:30
af1d8c0ee5
feat: Fixes #1940 WCAG support for website widget ( #2071 )
...
Co-authored-by: Kaj Oudshoorn <kaj@milvum.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-09-02 12:13:53 +05:30
2ddd508aee
Add missing conversation id for first response event ( #2922 )
...
- Add missing conversation id for first response event
- Fixing the flaky test
Fixes #2746
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2021-09-02 00:16:09 +05:30
8b841596a5
feat: Creates pop out reply box ( #2832 )
...
* enhancement: Creates draggable pop out replay box
* Review fixes
* Minor fixes
* codeclimate fixes
* Update z-index.scss
* Minor fixes
* Review fixes
* Minor fixes
* Update MessagesView.vue
* Review fixes
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-09-01 06:42:22 -07:00
afdf1c70c1
chore: Bump tar from 6.1.3 to 6.1.11 ( #2936 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.3 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.3...v6.1.11 )
---
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>
2021-09-01 18:13:41 +05:30
Sojan Jose and GitHub
6fdd4a2996
chore: Security Improvements to the API ( #2893 )
...
- Devise auth tokens are reset on password update
- Avatar attachment file type is limited to jpeg,gif and png
- Avatar attachment file size is limited to 15 mb
- Widget Message attachments are limited to types ['image/png', 'image/jpeg', 'image/gif', 'image/bmp', 'image/tiff', 'application/pdf', 'audio/mpeg', 'video/mp4', 'audio/ogg', 'text/csv']
- Widget Message attachments are limited to 40Mb size limit.
2021-09-01 15:08:05 +05:30
Muhsin Keloth and GitHub
06d8916341
fix: Handle more rest client exceptions ( #2930 )
2021-08-31 19:45:11 +05:30
Aswin Dev P.S and GitHub
6563cccf34
Add attachment button for email conversation ( #2927 )
2021-08-31 19:06:12 +05:30
5319af3dfc
chore: Merge contact copy over information ( #2812 )
...
fixes : #2767 , #2773
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2021-08-31 15:30:18 +05:30
1ff9939a80
feat: Ability to remove inbox avatar ( #2885 )
...
* Delete inbox avatar
1) New API endpoint added for deleting inbox avatar.
2) Delete avatar button in the inbox settings page.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-31 15:12:05 +05:30
Sivin Varghese and GitHub
fdcc322660
feat: Add the ability to create custom attribute ( #2903 )
2021-08-31 13:54:34 +05:30
Pranav Raj S and GitHub
75329e5de1
fix: Add missing referer & initiated_at.timestamp to events ( #2920 )
2021-08-31 11:46:15 +05:30
Pranav Raj S and GitHub
588f49cc34
fix: Update param name for attachments ( #2921 )
2021-08-31 11:27:40 +05:30
Tejaswini Chile and GitHub
65f3e83afd
feat: APIs to filter reports ( #2889 )
...
Fixes #2823
2021-08-27 22:46:32 +05:30
Brandon Wilson and GitHub
f94abaef5f
feat: Shows inbox identifier token for API inbox ( #2894 )
...
Fixes : #2605
2021-08-27 19:56:45 +05:30
Aswin Dev P.S and GitHub
9a8cbee470
chore: Display email channel configuration while editing ( #2896 )
2021-08-27 19:15:54 +05:30
Nithin David Thomas and GitHub
78646b44b8
fix: Fixes widget holder blocking page clicks ( #2897 )
2021-08-27 13:10:21 +05:30
0a08e1ffc0
feat: Adds async and defer attributes to chatwoot script tag ( #2890 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-08-26 19:51:10 +05:30
Muhsin Keloth and GitHub
5853531d9a
fix: Disable attribute route from settings menu ( #2891 )
2021-08-26 18:51:59 +05:30
Sivin Varghese and GitHub
d13c4ff8c5
feat: Keyboard shortcuts improvements ( #2790 )
2021-08-26 15:55:58 +05:30
Tejaswini Chile and GitHub
69b0434bb7
chore: Display available name in email ( #2888 )
2021-08-26 15:16:47 +05:30
1d5150e3a7
feat: Update activity message, email designs in Message bubble ( #2886 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-08-26 11:58:56 +05:30
Muhsin Keloth and GitHub
7dd42f3fd7
chore: Add description in custom attributes CRUD API response ( #2875 )
2021-08-26 01:10:45 +05:30
Sivin Varghese and GitHub
4a23a393f7
feat: Creates custom attributes route ( #2877 )
2021-08-25 20:30:34 +05:30
Vishnu Narayanan and GitHub
8d6b3efa2e
fix: chatwoot_webpack failure due to missing git ( #2878 )
2021-08-25 14:51:35 +05:30
Muhsin Keloth and GitHub
a27ccc5866
fix: Disable "none" option from team dropdown If team is not selected ( #2876 )
2021-08-25 14:11:16 +05:30
Sojan Jose and GitHub
a9ca76d9df
chore: support for APMs ( #2874 )
...
Add the support for Newrelic and Datadog.
ref: https://www.chatwoot.com/docs/self-hosted/monitoring/apm-and-error-monitoring
fixes : #2861
2021-08-25 01:04:29 +05:30
Tejaswini Chile and GitHub
21e8a41206
fix: Update styles in email template for mention notifications ( #2871 )
2021-08-24 22:42:48 +05:30
Muhsin Keloth and GitHub
1257f86f22
chore: Add description field in custom attribute model ( #2872 )
2021-08-24 21:17:23 +05:30
Tejaswini Chile and GitHub
09e3413d10
chore: consider X-original-sender to create contact in case of group mail ( #2841 )
...
For emails forwarded from google groups, Google rewrites the FROM address to the group email and the original email will be available under X-Original-Sender. This PR enables chatwoot to handle this case.
Fixes : #2715
2021-08-24 14:18:08 +05:30
Muhsin Keloth and GitHub
6515b69560
feat: CSAT for all channels ( #2749 )
2021-08-23 22:00:47 +05:30
5debe9e8ee
fix: Add agent typing notification on all channels ( #2855 )
...
Fixes CVE-2021-22881
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-08-23 21:34:23 +05:30
Vishnu Narayanan and GitHub
7cd3cef0a2
chore: add uptime and response time badges ( #2842 )
2021-08-20 21:28:16 +05:30
Tejaswini Chile and GitHub
eb80324eaa
feat: Add message content to mention email template ( #2838 )
2021-08-18 15:28:45 +05:30
Sojan
20b96c7c60
Merge branch 'release/1.19.0'
2021-08-17 01:50:25 +05:30
Sojan
6a9c885926
Bump version to 1.19.0
2021-08-17 01:48:46 +05:30
Pranav Raj S and GitHub
ed317c5bb3
feat: Use relay server for self-hosted mobile push notifications ( #2757 )
2021-08-17 01:44:16 +05:30
Vishnu Narayanan and GitHub
319412f6dc
feat: include installation method in data to cw hub ( #2831 )
2021-08-16 23:35:00 +05:30
Sivin Varghese and GitHub
0e4196c91a
enhancement: Removes the focus of the first item in the dropdown when it is active. ( #2833 )
2021-08-16 22:11:20 +05:30
Nithin David Thomas and GitHub
70d41ffcdd
fix: Smoothens out opening animation for widget ( #2789 )
2021-08-14 08:40:29 +05:30
Nithin David Thomas and GitHub
e09941db1c
fix: Use all: revert to avoid external css styles for widget bubble ( #2809 )
2021-08-13 20:16:33 +05:30
Pascal Jufer and GitHub
37bf4b7dd8
fix: Use label for "Subscribe to updates" checkbox ( #2788 )
2021-08-13 19:10:47 +05:30
Aswin Dev P.S and GitHub
9e052fd5b2
chore: Set phone_number through Website SDK ( #2803 )
...
Fixes : #2599
2021-08-13 17:26:09 +05:30
dfcc33cbdd
fix: Fixes error when dropdown button is focused ( #2797 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-13 13:40:12 +05:30
0f148f7700
fix: Fixes parsing issue with custom attributes ( #2796 )
...
* fix: Fixes parsing issue with custom attributes
* Update app/javascript/dashboard/routes/dashboard/conversation/ContactCustomAttributes.vue
Co-authored-by: शैलेश कळमकर (Shailesh Kalamkar) <shailesh.kalamkar@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: शैलेश कळमकर (Shailesh Kalamkar) <shailesh.kalamkar@gmail.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-08-13 13:37:51 +05:30
Sojan Jose and GitHub
acb39cbc8f
chore: Ability to create contact with identifiers ( #2802 )
2021-08-13 13:02:46 +05:30
Nithin David Thomas and GitHub
d492a65c24
fix: Checks JS window object for null before focusing ( #2798 )
2021-08-12 23:21:31 +05:30
3d807684bb
fix: Reduce size of Docker image ( #2779 )
...
* fix: Ordering in Dockerfile
Folders node_modules & tmp/cache are currently not removed and thus the Docker image
size is pretty big.
I don't think we can remove app/assets & vendor/assets though as the
app won't work without those.
* Expose port 3000 in Docker image
* Further Dockerfile optimization
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
2021-08-12 15:10:02 +05:30
21d2b4d918
chore: Consider inbox.timezone in open_at logic ( #2183 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-08-12 02:29:15 +05:30
Sojan Jose and GitHub
1f59205f20
chore: handle more exceptions ( #2793 )
2021-08-12 01:32:22 +05:30
a065165bcb
fix: undefined method contact in support mailbox ( #2678 )
...
if chatwoot receives an email of already existing contact with a different case say "Care@example.com ", before this fix, it will throw an error. Now it will retrieve existing contact
Fixes : #2553
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2021-08-12 01:28:07 +05:30
4907489ea8
chore: Bump path-parse from 1.0.6 to 1.0.7 ( #2786 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 00:28:14 +05:30
Muhsin Keloth and GitHub
4d668d8db3
feat: Dedicated tab for campaigns ( #2741 )
2021-08-11 20:29:33 +05:30
Sojan Jose and GitHub
8daf1fe033
chore: Add down gem for Local file downloads ( #2765 )
...
- Add down gem to handle downloading files to host machine
- Remove the LocalResource class
- Introduce max limit for contact avatars send via SDK
2021-08-11 16:40:28 +05:30
29f54c1f26
chore: Removed the multi-select agent dropdown from the conversation header. ( #2781 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-08-10 23:25:55 -07:00
1a4faab381
feat: Creates story for cc bcc input component in reply box ( #2763 )
...
* feat: Creates cc bcc input component for reply box
* Adds email inputs for cc and bcc
* Cleans storybook code
* Fixes eslint issues
* Update app/javascript/dashboard/components/widgets/conversation/stories/ReplyEmailHead.stories.js
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* Review fixes
* Update app/javascript/dashboard/components/widgets/conversation/stories/ReplyEmailHead.stories.js
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* Update app/javascript/dashboard/components/widgets/conversation/stories/ReplyEmailHead.stories.js
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* Update app/javascript/dashboard/components/widgets/conversation/stories/ReplyEmailHead.stories.js
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-11 11:34:47 +05:30
c3314dd186
feat: Creates a modal showing all the available keyboard shortcuts ( #2728 )
...
* feat: Adds modal showing all the available keyboard shortcuts
* Minor fixes
* Minor fixes
* Spacing fixes
* fix translations
* Adds i18n
* Review fixes
* Review fixes
* spacing fixes
* Review fixes
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-09 21:23:40 -07:00
Pranav Raj S and GitHub
bdc4ecffc1
fix: Save content_type, multipart information to email message model ( #2774 )
2021-08-09 18:04:34 +05:30
Nithin David Thomas and GitHub
462214aced
fix: Reduces space for custom drop-downs ( #2778 )
2021-08-09 15:12:11 +05:30
c523a953f7
feat: Adds keyboard shortcuts for conversation actions ( #2672 )
...
* feat: Adds keyboard shortcuts for conversation actions
* Minor fixes
* Minor fixes
* Minor fixes and add new shortcut
* MInor fixes
* Review fixes
* Minor fixes
* Code cleanup
* Minor fixes
* Uses Alt or Option key instead of shift-key
* Review fixes
* Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-09 00:38:52 -07:00
Sivin Varghese and GitHub
c7482696d4
fix: Remove text retained in confirm delete modal ( #2775 )
2021-08-09 12:07:42 +05:30
2035d24cb8
enhancement: Show close button for unread view ( #2758 )
...
* enhancement: Show close button for unread view
* Fixes issue with button spacing
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-07 11:56:40 +05:30
9c257578b0
fix: Fixes unread view blocking page scroll ( #2727 )
...
* fix: Fixes unread view blocking page scroll
* Update sdk.js
* Fixes the height issue for unread view
* Fix unread message position issue
* Code climate fixes
* Fixes height issue for large messages
* Fixes height issue on unread view
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-07 11:56:15 +05:30
Vishnu Narayanan and GitHub
b58ca21f0b
docs: Update README to add question/support sub-section ( #2764 )
...
- add questions sub-section and mention discord
- improve formatting
2021-08-07 00:44:07 +05:30
Sojan Jose and GitHub
edec74c389
chore: Fix Twilio send message error ( #2761 )
2021-08-06 13:34:20 +05:30
f934a5eb04
fix: Broken Docker Builds ( #2755 )
...
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
2021-08-06 01:21:44 +05:30
Raikas and GitHub
f477c5281f
chore: Fix Finnish translations ( #2753 )
2021-08-05 10:24:07 +05:30
Muhsin Keloth and GitHub
6265c1c907
fix: Add brand color in CSAT card component ( #2756 )
2021-08-05 01:20:01 +05:30
e834b545ef
chore: Bump tar from 6.1.0 to 6.1.3 ( #2750 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.0 to 6.1.3.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.3 )
---
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>
2021-08-04 10:23:13 +05:30
Pascal Jufer and GitHub
c37966744f
fix: Fix and rename pg_database_url.sh helper script ( #2747 )
...
- Fix and rename pg_database_url helper script
- Use single-quote and remove trailing whitespace
2021-08-03 22:56:55 +05:30
Sojan Jose and GitHub
ab54d9c629
chore: Upgrade rails and ruby versions ( #2400 )
...
ruby version: 3.0.2
rails version: 6.1.4
2021-08-03 20:11:52 +05:30
Sivin Varghese and GitHub
7e960b7c72
feat: Add support for rich content for message in ongoing campaigns ( #2577 )
2021-08-03 19:38:51 +05:30
Muhsin Keloth and GitHub
92c14fa87d
feat: CSAT response collection public page ( #2685 )
2021-08-03 18:22:50 +05:30
Vishnu Narayanan and GitHub
9b01b82cc7
docs: update chatwoot VDP guidelines ( #2740 )
2021-08-03 16:13:44 +05:30
Nithin David Thomas and GitHub
0475060245
enhancement: Updates icons to show last message type ( #2743 )
2021-08-03 12:13:24 +05:30
Pranav Raj S and GitHub
faf104c1fe
fix: Update tweet character count logic ( #2709 )
2021-08-02 16:07:30 +05:30
Pranav Raj S and GitHub
d88e3e3596
fix: Resolve conversation with id instead of current conversation ( #2731 )
2021-08-02 13:11:07 +05:30
Muhsin Keloth and GitHub
9f3f238cb5
chore: Show new account modal if user accounts are empty ( #2448 )
2021-08-02 08:54:53 +05:30
Pranav Raj S and GitHub
5b3339cd33
fix: Render line-breaks properly in messages ( #2699 )
2021-08-02 08:24:08 +05:30
Pranav Raj S and GitHub
bfa00cc12d
fix: Avoid flicker while updating the view with new messages ( #2730 )
2021-08-02 08:03:12 +05:30
Sojan Jose and GitHub
e46aa1aa64
chore: Mark Facebook accounts for reconnection ( #2405 )
...
fixes : #2037
2021-08-01 18:15:39 +05:30
Sojan Jose and GitHub
2890339734
chore: Limit objects returned by conversation API ( #2721 )
2021-07-31 21:19:42 +05:30
Pranav Raj S and GitHub
915366c472
fix: Rename identity_hash to identifier_hash ( #2726 )
2021-07-29 20:11:21 +05:30
f2b5e328bb
feat: Update agent and team multi-select with new multi-select dropdown ( #2516 )
...
* feat: Update agent/team multiselect styles
* Component name fixes
* Adds key control for our multiselect dropdown and component name spell fix
* Minor fixes
* Review fixes
* Minor fixes
* Minor fixes
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-07-29 17:44:37 +05:30
Nithin David Thomas and GitHub
672e5874fb
fix: Appending markdown as HTML into editor ( #2720 )
2021-07-29 11:53:28 +05:30
Nithin David Thomas and GitHub
8f30abb98b
feat: Show links for custom attributes ( #2723 )
2021-07-28 21:36:35 +05:30
223385d134
fix: Specify external db with non-standard port ( #2711 )
...
POSTGRES_PORT was not taking effect if provided separately
instead of using DATABASE_URL. This adds support for using
databases running on non-standard ports.
#1145
#1147
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-07-28 19:36:51 +05:30
Muhsin Keloth and GitHub
7662fdce47
feat: CSAT response public APIs ( #2670 )
2021-07-28 14:59:13 +05:30
a47ca9cf4b
feat: Show e-mail meta data for conversations ( #2708 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-07-28 14:43:44 +05:30
b44f9b792b
chore: Block & throttle abusive requests ( #2706 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-07-27 21:27:23 +05:30
Sanju and GitHub
359c3c8ccb
Fix: type error trim of undefined#2595 ( #2702 )
2021-07-27 07:38:27 +05:30
sbreiler-work and GitHub
d7da6fbfb5
fix: Make "Search Results" in PopOverSearch translateable ( #2705 )
2021-07-26 14:33:42 +05:30
Pranav Raj S and GitHub
7664006625
chore: Improve search, list performance of contact/conversation APIs ( #2696 )
2021-07-23 18:39:24 +05:30
Pranav Raj S and GitHub
6e1493501a
feat: Add APIs for custom attribute definitions ( #2689 )
2021-07-23 17:04:33 +05:30
Sanju and GitHub
7e0937f3ed
chore: Cypress test case for create label flow
2021-07-23 16:38:44 +05:30
d955d8e7dc
feat: Ability to snooze conversations ( #2682 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-07-23 15:24:07 +05:30
Vishnu Narayanan and GitHub
4d45ac3bfc
chore: Switch from addgroup to adduser ( #2688 )
2021-07-22 19:49:12 +05:30
ecdf977de7
Live chat widget preview #2441 ( #2523 )
...
* update widget preview on storybook
* removed default value for logo
* add online dot
* resolve PR comments
- split widget to head, body & footer
- updated reply time to a select box
* update spacing with variables
* update reply-time with i18
* update with spacing variables
* update padding with space variable
* resolved PR comments
* update background color
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2021-07-22 18:36:33 +05:30
Muhsin Keloth and GitHub
6b6df7a70d
fix: Disable "none" option from agent dropdown If agent is not selected ( #2687 )
2021-07-22 16:31:53 +05:30
Sojan Jose and GitHub
a7ca55c080
chore: Change the conversation bot status to pending ( #2677 )
...
fixes : #2649
2021-07-21 22:02:43 +05:30
Sojan Jose and GitHub
a0886d37bc
chore: Expose widget config via an API ( #2645 )
...
Expose widget config via an API so that the UI could be detached from the rails Application.
2021-07-21 01:26:32 +05:30