Tejaswini Chile
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Shivam Mishra
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
Vishnu Narayanan
9ff5978d6e
feat: Add audit trail events for team ( #7285 )
2023-06-09 17:30:36 -07:00
Tejaswini Chile
879a244f93
fix: Automations condition based quoted text ( #7272 )
2023-06-09 17:00:05 +05:30
Shivam Mishra
2f2ae88cba
fix: unattended count mismatch in report and list ( #7263 )
2023-06-08 17:58:13 +05:30
Sojan Jose
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
Sojan Jose
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
Sojan Jose
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
Shivam Mishra
f1a77ba934
feat: allow superadmins to reset cache keys for IndexedDB ( #7180 )
...
Allows super admins to reset the cache for an account. This will force the front end to fetch the data again on the next load.
fixes: https://linear.app/chatwoot/issue/CW-1817
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-29 23:05:17 +05:30
Sojan Jose
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
Muhsin Keloth
2c85098698
fix: Mentions in assigned/participation notification( #7185 )
2023-05-25 18:18:56 +05:30
Vishnu Narayanan
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
Shivam Mishra
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
Tejaswini Chile
d481b9fbcf
feat: Limit the number of custom filters per user ( #7101 )
2023-05-22 18:03:15 +05:30
Sojan Jose
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +05:30
Shivam Mishra
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
Sojan Jose
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
Sojan Jose
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
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
Muhsin Keloth
2c3160cfee
feat: API to list all attachments for a conversation ( #7059 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1678/api-to-list-all-attachments-for-a-conversation
2023-05-12 15:48:06 +05:30
Muhsin Keloth
271263bcc2
feat: SLA CRUD APIs (EE) ( #7027 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1613/sla-api
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 22:42:56 +05:30
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
Shivam Mishra
d0a1ad746a
feat: add index migration ( #7050 )
2023-05-10 17:55:14 +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
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
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
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
Shivam Mishra
af971c9b18
fix: whatsapp template params validation ( #6986 )
2023-04-26 08:46:30 +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
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
Muhsin Keloth
92fa9c4fdc
feat: Ability to improve drafts in the editor using GPT integration ( #6957 )
...
ref: https://github.com/chatwoot/chatwoot/issues/6436
fixes: https://linear.app/chatwoot/issue/CW-1552/ability-to-rephrase-text-in-the-editor-using-gpt-integration
---------
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-24 23:52:23 +05:30
Muhsin Keloth
f1fc658a0d
feat: Add an action in Macro to change the priority ( #6940 )
2023-04-24 17:14:30 +05:30
Tejaswini Chile
e3193dcabc
feat: Link help center portal to an Inbox ( #6903 )
2023-04-24 12:49:52 +05:30
Pranav Raj S
474e65f4c8
feat: Save in_reply_to from WhatsApp messages ( #6964 )
2023-04-23 18:28:14 -07:00
Muhsin Keloth
ac6de50b4d
feat: Add a condition for filters based on the priority of automation ( #6939 )
2023-04-20 18:10:05 +05:30
Shivam Mishra
a34729c153
feat: add activity message for priority change ( #6933 )
...
* feat: add priority const
* feat: add toggle priority method
* feat: update controller route and specs
* refactor: status change method
* refactor: abstract label change and mute activity
* feat: add priority change_activity
* fix: interpolation for previous_changes
* refactor: reduce cognitive complexity of priority_change_activity
* refactor: move priority activity message handler to a separate module
* refactor: move typing logic to a service
* refactor: tests to reduce complexity
* fix: typo
* fix: constants
* fix: priority conditions
* fix: add a response
* fix: argument destructuring in I18n.t
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-20 16:41:53 +05:30
Muhsin Keloth
d1584eea72
feat: Add an action on automation to change the priority ( #6925 )
2023-04-20 11:31:33 +05:30
Shivam Mishra
9c0259da6b
feat: add priority field to conversation ( #6921 ) ( #6927 )
...
* feat: add priority
* feat: add indexes
2023-04-19 13:23:14 +05:30
Tejaswini Chile
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
Shivam Mishra
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 14:43:10 +05:30
Tejaswini Chile
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
Pranav Raj S
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
Pranav Raj S
91dc7733b0
feat: Use inbox image as avatar for the bot ( #6859 )
2023-04-07 13:25:18 -07:00
Pranav Raj S
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00