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
Tejaswini Chile
e3193dcabc
feat: Link help center portal to an Inbox ( #6903 )
2023-04-24 12:49:52 +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
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
Tejaswini Chile
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Sojan Jose
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
Chamath K.B. Attanayaka
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
Tejaswini Chile
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
Shivam Mishra
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
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
Tejaswini Chile
ce807d3251
fix: Condition based backend validation ( #6554 )
2023-02-27 20:22:07 +05:30
Pranav Raj S
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
Tejaswini Chile
6013cc9bea
fix: validate instagram story only while saving the message ( #6340 )
2023-01-30 13:03:59 +05:30
Pranav Raj S
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
Tejaswini Chile
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
Sojan Jose
ad782e450e
fix: Stop processing broken liquid tags ( #6236 )
2023-01-11 17:41:02 +05:30
Muhsin Keloth
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
Tejaswini Chile
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
Nithin David Thomas
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
Tejaswini Chile
fc9fc5a661
fix: destroy bulk service ( #5921 )
2022-11-25 22:46:50 +05:30
Sojan Jose
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
Tejaswini Chile
826a735cdb
fix: Assign agent action changes ( #5827 )
2022-11-15 13:15:27 +05:30
Fayaz Ahmed
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
Tejaswini Chile
48373628a1
fix: Macros authorizations ( #5779 )
...
Macros policy update.
ref: #5730
2022-11-07 17:46:00 -08:00
smartdev58
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
Sojan Jose
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
Tejaswini Chile
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
Tejaswini Chile
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
Sojan Jose
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
Tejaswini Chile
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
Pranav Raj S
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
Tejaswini Chile
7b54990ae6
fix: Updated IMAP errors add method ( #5520 )
...
fixes : #5519
2022-09-30 11:33:00 -07:00
Tejaswini Chile
57fcb79d71
fix: Article slug auto saves ( #5524 )
...
- Auto save article slug
2022-09-30 07:25:23 -07:00
OMAR.A
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
Tejaswini Chile
c1c57fb2cd
fix: Add slug to articles ( #5500 )
2022-09-27 12:27:18 -07:00
Sojan Jose
913224ad84
chore: Normalize portal slug to nil ( #5487 )
2022-09-22 14:08:48 -07:00
Jordan Brough
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
Sojan Jose
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
Tejaswini Chile
2397326324
fix: Auto populate team after assigned via API ( #5250 )
2022-08-12 13:40:28 +05:30
Sojan Jose
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
Tejaswini Chile
596b611fc0
fix: search with status and author ( #5152 )
2022-08-02 15:28:27 +05:30
Tejaswini Chile
41df70fb96
chore: Add articles metadata ( #5125 )
2022-07-28 13:59:16 +05:30
Tejaswini Chile
f6891aebbb
fix: Set account default language in account API ( #5086 )
2022-07-26 22:42:20 +05:30
Tejaswini Chile
6a4c0a1578
feat: Execute macro actions, for the conversation ( #5066 )
2022-07-26 12:41:22 +05:30
Sojan Jose
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
Tejaswini Chile
0cee42a9f9
feat: Macros CRUD api ( #5047 )
2022-07-19 17:37:00 +05:30
Tejaswini Chile
00dc65ef73
fix: Twilio validation over blank messaging_service_sid ( #5055 )
2022-07-18 20:02:37 +05:30
Sojan Jose
4187428729
chore: Update dependencies to the latest versions ( #5033 )
2022-07-15 09:51:59 +07:00
Tejaswini Chile
23ac1c0334
feat: Added portal logo and the updated the JSON ( #4996 )
2022-07-11 12:43:24 +05:30
Jordan Brough
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