Chatwoot/spec
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
..
actions chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
assets chore: Handle attachments in Whatsapp Channel (#3299) 2021-11-11 13:03:48 +05:30
builders fix: check the content type for the file when uploading from cloud storage (#5378) 2022-10-21 18:05:36 -07:00
channels chore: Migrate PubSub Token to contact inbox (#3434) 2021-11-22 23:32:17 +05:30
configs chore: validation spec for schedules (#3480) 2021-11-30 21:44:30 +05:30
controllers chore: Update data format for platform API feature management (#5718) 2022-11-07 17:49:45 -08:00
cypress feat: fix logging levels (#4314) 2022-03-28 18:14:30 +05:30
dispatchers Non blocking event dispatch (#652) 2020-03-29 19:18:30 +05:30
enterprise chore: Add specs for stripe Webhooks endpoint (#5087) 2022-07-22 11:46:31 +02:00
factories chore: Generate webhook-verify-token automatically (#5593) 2022-10-11 17:32:31 -07:00
finders Fix: Find mailbox with cc email (#4372) 2022-04-08 11:20:19 +05:30
fixtures Find by downcased email in SupportMailbox (#5211) 2022-10-12 13:38:18 +05:30
helpers chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
integration Fix url in emails, add frontendURL helper (#19) 2019-08-25 19:59:28 +05:30
jobs fix: Stop raising errors for unsupported Whatsapp messages (#5541) 2022-10-13 13:31:49 -07:00
lib chore: Ability to Remove password info from sentinel config (#4550) 2022-10-19 17:25:16 -07:00
listeners feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
mailboxes chore: Disable email processing for suspended accounts (#5762) 2022-10-26 03:40:47 -07:00
mailers chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
models feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
policies Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30
presenters feat: Custom attributes in automations and refactor (#4548) 2022-11-10 10:53:29 +05:30
requests/api/v1 chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
services feat: Ability to receive location on whatsapp inbox (#5742) 2022-11-07 21:36:47 -08:00
support fix: check the content type for the file when uploading from cloud storage (#5378) 2022-10-21 18:05:36 -07:00
workers chore: Use "create!" and "save!" bang methods when not checking the result (#5358) 2022-09-13 17:40:06 +05:30
cypress.json chore: Cypress test case for create label flow 2021-07-23 16:38:44 +05:30
rails_helper.rb fix: check the content type for the file when uploading from cloud storage (#5378) 2022-10-21 18:05:36 -07:00
spec_helper.rb chore: Handle attachments in Whatsapp Channel (#3299) 2021-11-11 13:03:48 +05:30
test_helper.rb Chore: Setup test coverage in codeclimate [#332] (#333) 2019-12-02 08:57:11 +05:30