forked from chatwoot/chatwoot
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: version to 3.9.0 #37
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tributes list is empty (chatwoot#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 <[email protected]> * Update app/javascript/dashboard/i18n/locale/en/contact.json Co-authored-by: Muhsin Keloth <[email protected]> --------- Co-authored-by: Muhsin Keloth <[email protected]>
- Add a validation to limit messages created per minute to avoid message flooding cases.
…#9288) * feat: Add loom support for helpcenter articles * fix: responsiveness * fix: style issues * fix: review comments * Update custom_markdown_renderer.rb
Co-authored-by: Muhsin Keloth <[email protected]>
feat: add cancel anytime notice
* 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 <[email protected]> --------- Co-authored-by: Sivin Varghese <[email protected]>
…able event payload (chatwoot#9295) fix: simplify notification deleted payload event
* fix: Audio attachment issues * chore: Style fix * chore: Minor fix * chore: Minor fix * chore: Review fixes
* 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 <[email protected]>
- The feature is unused, removing it for now, will bring it back with better models later.
* 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 <[email protected]> Co-authored-by: Sivin Varghese <[email protected]>
* 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 <[email protected]> * chore: revire comments --------- Co-authored-by: Sivin Varghese <[email protected]>
* 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
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 <[email protected]>
* 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 <[email protected]>
Co-authored-by: Sivin Varghese <[email protected]> Co-authored-by: Shivam Mishra <[email protected]>
* feat: setup vuelitdate for vue 2.7 * feat: add all composables * feat: return track method --------- Co-authored-by: Muhsin Keloth <[email protected]>
…t#9317) * feat: Adds helper text for custom fields in contact sidebars * Update app/javascript/dashboard/components/ui/HelperTextPopup.vue Co-authored-by: Shivam Mishra <[email protected]> * chore: Review fix --------- Co-authored-by: Shivam Mishra <[email protected]>
…t#9311) Co-authored-by: Sivin Varghese <[email protected]> Co-authored-by: Shivam Mishra <[email protected]>
…twoot#9322) * fix: Start calender is not moving properly is last 30 days range * chore: Minor fix
…oot#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 <[email protected]> Co-authored-by: Sivin Varghese <[email protected]>
This PR will revert the premium config in self hosted instances to its original state if any unauthorised modifications are made.
) 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: chatwoot#6138 chatwoot#6761
- Add subscribed_features method in models/enterprise/account and include it in the JSON response
* 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 <[email protected]>
chore: upgrade utils Co-authored-by: Muhsin Keloth <[email protected]>
* feat: add onClickaway to widget * feat: add clickaway to portal * feat: add directive to PublicArticleSearch
chatwoot#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 )
- Switch model to gpt-4o from gpt-4-turbo
…1 to 1.0.2 (chatwoot#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 <[email protected]>
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](sparklemotion/nokogiri@v1.16.4...v1.16.5) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Add a debug statement to check the failed specs
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
…hatwoot#9457) * fix: Widget phone number input country undefined in onSelectCountry * chore: Minor fix
…on [CW-3249] (chatwoot#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
…hatwoot#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 <[email protected]>
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.
…oot#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
…hatwoot#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 <[email protected]>
…ntry` (chatwoot#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
- 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.
…hatwoot#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
- update translations from crowdin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.