Chatwoot/app/services
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
..
agent_bots feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
agents fix: un-assign agent from conversation after removal (#5417) 2022-09-19 18:14:55 -07:00
auto_assignment feat: Enable Capacity Config UI (#5164) 2022-08-16 16:58:23 +05:30
automation_rules feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
base feat: Enable Slack Integration in all channels (#1175) 2020-08-29 01:39:41 +05:30
contacts Fix: backend changes for custom attribute (#4830) 2022-06-13 11:58:54 +05:30
conversations Fix: backend changes for custom attribute (#4830) 2022-06-13 11:58:54 +05:30
email_templates chore: Fix emails being sent with the wrong translations (#2236) 2021-06-08 22:45:01 +05:30
facebook chore: Upgrade Exception tracking (#4638) 2022-05-09 14:23:19 +05:30
instagram fix: ensure contact_inbox if contact exists(#5667) 2022-10-19 12:56:39 -07:00
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
line chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
macros Feat/5733 Add private note action in macros (#5805) 2022-11-07 22:12:10 +05:30
message_templates chore: Upgrade Exception tracking (#4638) 2022-05-09 14:23:19 +05:30
notification chore: Add notification ID to tag to make it unique (#5227) 2022-08-09 00:09:11 +05:30
sms chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
telegram chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
twilio chore: Refactor Contact Inbox Builders (#5617) 2022-10-13 15:12:04 -07:00
twitter chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
whatsapp feat: Ability to receive location on whatsapp inbox (#5742) 2022-11-07 21:36:47 -08:00
widget [Feature] Email collect message hooks (#331) 2020-01-09 13:06:40 +05:30
action_service.rb feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
filter_service.rb feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30