Sojan Jose
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
Sivin Varghese
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
Muhsin Keloth
2c3160cfee
feat: API to list all attachments for a conversation ( #7059 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1678/api-to-list-all-attachments-for-a-conversation
2023-05-12 15:48:06 +05:30
Muhsin Keloth
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Pranav Raj S
020dcc4dc7
fix: Avoid audio URLs getting cached at the frontend ( #7062 )
2023-05-11 12:14:56 -07:00
Muhsin Keloth
271263bcc2
feat: SLA CRUD APIs (EE) ( #7027 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1613/sla-api
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 22:42:56 +05:30
Muhsin Keloth
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
Jamie Wood
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
9c5d062efc
fix: Fix greeting message label in settings ( #7056 )
2023-05-11 17:30:07 +05:30
Muhsin Keloth
87f758ee1f
feat: Order conversations by priority ( #7053 )
2023-05-11 12:56:43 +05:30
Shivam Mishra
d0a1ad746a
feat: add index migration ( #7050 )
2023-05-10 17:55:14 +05:30
Muhsin Keloth
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
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
Nithin David Thomas
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
520bdabefe
fix: Record audio in wav format for web/facebook ( #7046 )
2023-05-10 12:29:56 +05:30
Shivam Mishra
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
Tejaswini Chile
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
ce3e38df0f
chore: Update the design of the help center portal ( #6775 )
2023-05-08 15:31:38 -07:00
Shivam Mishra
2b88ecdfc4
feat: Add a feature flag for Audit Log UI ( #7035 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-08 12:44:15 -07:00
Pranav Raj S
683f259771
fix: Fix rendering issues in Help Center ( #7042 )
2023-05-08 12:23:26 -07:00
Chatwoot Bot
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-06 15:10:50 +05:30
Sojan Jose
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
Muhsin Keloth
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
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
b081fe08b8
feat: whatsapp duplicate message ( #7004 )
2023-05-03 15:18:20 +05:30
Muhsin Keloth
0d014d5d4b
chore: Bump utils from 0.0.15 to 0.0.16 ( #7022 )
2023-05-03 14:36:55 +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
12f121f0d8
fix: Provide a default to name if name is not present
2023-05-02 15:52:33 -07:00
Tejaswini Chile
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
Chatwoot Bot
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-28 20:28:03 +05:30
Muhsin Keloth
13fe439d9f
Move the reconnect logic from the update presence ( #6992 )
2023-04-28 14:02:30 +05:30
Shivam Mishra
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
09c9300c21
chore: Use canned response variable helpers from utils ( #7007 )
2023-04-27 17:01:34 +05:30
Nithin David Thomas
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
04da8aa8dc
fix: Remove duplicates message in WhatsApp Channel ( #7003 )
2023-04-26 19:57:06 -07:00
Shivam Mishra
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
Tejaswini Chile
99dfe1d5af
feat: Enable template variables in channel greeting messages ( #6971 )
2023-04-26 20:23:46 +05:30
Sojan Jose
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
Tejaswini Chile
3c2d6faf68
feat: Instagram story replies will display the original story link ( #6846 )
2023-04-26 15:27:07 +05:30
Muhsin Keloth
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
Hricha Shandily
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
Shivam Mishra
af971c9b18
fix: whatsapp template params validation ( #6986 )
2023-04-26 08:46:30 +05:30
Nithin David Thomas
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
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
Nithin David Thomas
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
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
Shivam Mishra
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
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
Sivin Varghese
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