Property was changed back to modules as it was decided that exposing a
list of modules enabled would be more useful than the opposite.
This reverts commit 3e43b4dde9.
* Do not delete user vmbox, and use common functions to get main user vmbox
* Adjust flow at usersRenderVMBox + add TO-DOs
* Create or update user vmbox when enabling feature
* Refactor to reduce nesting & repeated code/checks
* Refactor + check user's vmbox in main callflow modules
* Fix variable name
* Create function to extract data from callflow flow
* Receive main user callflow, and other user callflows, at usersFormatUserData
* Get vmbox from main callflow if possible
* Undo unnecessary changes & remove unused function
* Get user vmbox from main callflow
* Get vmbox only when needed + add TO-DO's
* Undo refactored code not related to bug
* Changes to support usersMigrateFromExtensions case
* Get main vmbox for feature popup render, and restore add vmbox logic
* Add missing self variables
* Update VMBox status in user main callflow
* Clean code
* Fix some names
* Use usersGetMainCallflowAndVMBox to get bot callflow and vmbox
* Remove unnecessary change
* Remove unnecessary call to API
* Multiple small fixes
* Fix callflow module name on check
* Change property name to skip callflow module
* Fix defaultValue when extracting data.skip_module
* Fix vmbox active value
* Fix to get vmbox active status, when callflow module is not present
* Do not delete user vmbox, and use common functions to get main user vmbox
* Adjust flow at usersRenderVMBox + add TO-DOs
* Create or update user vmbox when enabling feature
* Refactor to reduce nesting & repeated code/checks
* Refactor + check user's vmbox in main callflow modules
* Fix variable name
* Create function to extract data from callflow flow
* Receive main user callflow, and other user callflows, at usersFormatUserData
* Get vmbox from main callflow if possible
* Undo unnecessary changes & remove unused function
* Get user vmbox from main callflow
* Get vmbox only when needed + add TO-DO's
* Undo refactored code not related to bug
* Changes to support usersMigrateFromExtensions case
* Get main vmbox for feature popup render, and restore add vmbox logic
* Add missing self variables
* Update VMBox status in user main callflow
* Clean code
* Fix some names
* Use usersGetMainCallflowAndVMBox to get bot callflow and vmbox
* Remove unnecessary change
* Remove unnecessary call to API
* Multiple small fixes
* Fix callflow module name on check
* Change property name to skip callflow module
* Fix defaultValue when extracting data.skip_module
* Fix vmbox active value
* Fix to get vmbox active status, when callflow module is not present
* Allow to choose number to use for E911
* Remove unnecessary strategyGetFeaturedNumbers function
* Code comments and i18n updates + flow fixes for E911
* Update pending i18n files
* Check class instead of data attr before unassign e911 main number
* Fix on check logic
* Do not display choose dialog when only one e911 number is left after removing E911 from the account emergency number
* Change styles file extension from .css to .scss, to use SASS
* Set style for e911 information banner
* Show main company numbers section and E911 popup on banner click
* Refactor strategyRefreshTemplate to receive arguments via object wrapper
* Pass action from myOffice layout to strategy.strategyRefreshTemplate
* Check e911 number availability and show edit dialog or toast
* Fix typo in property name
* Extract main numbers refresh template process into separate function
* Refactor to use Lodash instead of jQuery utility functions
* Pass action to banner via topMessage object
* Refactor checkMissingE911 function
* Convert action to object, to include more parameters
* Add action callback for e911 at numbers strategy
* Fixes on flow to check if update Emergency Caller ID
* Request current account from API, when checking to update E911 caller ID
* Fix e911 phone number filter
* Use current authenticated account instead of requesting it from API
* Modify strategyNumbersBindEvents to use Lodash and reduce duplicated code
* Refactor updateCallflow to use waterfall flow, and helper functions
* Modifications to E911 functions
To prevent invoking strategyChangeEmergencyCallerId from multiple places
* Generalize popup to choose numbers + function to check if external caller ID needs to be set
* Fixes on update e911 waterfall tasks
* Set active choice on caller ID popup
* Remove log entry
* Change styles file extension from .css to .scss, to use SASS
* Set style for e911 information banner
* Show main company numbers section and E911 popup on banner click
* Refactor strategyRefreshTemplate to receive arguments via object wrapper
* Pass action from myOffice layout to strategy.strategyRefreshTemplate
* Check e911 number availability and show edit dialog or toast
* Fix typo in property name
* Extract main numbers refresh template process into separate function
* Refactor to use Lodash instead of jQuery utility functions
* Pass action to banner via topMessage object
* Refactor checkMissingE911 function
* Convert action to object, to include more parameters
* Add action callback for e911 at numbers strategy
* Fixes on flow to check if update Emergency Caller ID
* Request current account from API, when checking to update E911 caller ID
* Fix e911 phone number filter
* Use current authenticated account instead of requesting it from API
* Allow to choose number to use for E911
* Remove unnecessary strategyGetFeaturedNumbers function
* Code comments and i18n updates + flow fixes for E911
* Update pending i18n files
* Check class instead of data attr before unassign e911 main number
* Fix on check logic
* Do not display choose dialog when only one e911 number is left after removing E911 from the account emergency number
* Change styles file extension from .css to .scss, to use SASS
* Set style for e911 information banner
* Show main company numbers section and E911 popup on banner click
* Refactor strategyRefreshTemplate to receive arguments via object wrapper
* Pass action from myOffice layout to strategy.strategyRefreshTemplate
* Check e911 number availability and show edit dialog or toast
* Fix typo in property name
* Extract main numbers refresh template process into separate function
* Refactor to use Lodash instead of jQuery utility functions
* Pass action to banner via topMessage object
* Refactor checkMissingE911 function
* Convert action to object, to include more parameters
* Add action callback for e911 at numbers strategy
* Fixes on flow to check if update Emergency Caller ID
* Request current account from API, when checking to update E911 caller ID
* Fix e911 phone number filter
* Use current authenticated account instead of requesting it from API
* Modify strategyNumbersBindEvents to use Lodash and reduce duplicated code
* Refactor updateCallflow to use waterfall flow, and helper functions
* Modifications to E911 functions
To prevent invoking strategyChangeEmergencyCallerId from multiple places
* Generalize popup to choose numbers + function to check if external caller ID needs to be set
* Fixes on update e911 waterfall tasks
* Set active choice on caller ID popup
* Remove log entry
* Change styles file extension from .css to .scss, to use SASS
* Set style for e911 information banner
* Show main company numbers section and E911 popup on banner click
* Refactor strategyRefreshTemplate to receive arguments via object wrapper
* Pass action from myOffice layout to strategy.strategyRefreshTemplate
* Check e911 number availability and show edit dialog or toast
* Fix typo in property name
* Extract main numbers refresh template process into separate function
* Refactor to use Lodash instead of jQuery utility functions
* Pass action to banner via topMessage object
* Refactor checkMissingE911 function
* Convert action to object, to include more parameters
* Add action callback for e911 at numbers strategy
* Fixes on flow to check if update Emergency Caller ID
* Request current account from API, when checking to update E911 caller ID
* Fix e911 phone number filter
* Use current authenticated account instead of requesting it from API
* Hide device form on user creation if there aren't provisioners
* Prevent request if there no provisioner API
* use appFlags to looks for valid provisioner
* Hide device form on user creation if there aren't provisioners
* Prevent request if there no provisioner API
* use appFlags to looks for valid provisioner
* Flatten and use declarative style to refactor feature code creation
* Fix incorrect path to get/set feature code
* Remove unnecessary feature code defaults and callback
* feature codes configured as patterns instead of single numbers
* Update feature codes patterns
* Code style
* Verify if needed pattern is given by feature codes
* Fix wrong pattern
* Remove this
* Don't store device data inside user data, on user creation
* user creationg, prevent device error
* Revert "Remove this"
This reverts commit 7102cf9b4a.
* Remove this
* Update add user modal to show labels instead of icons
* Fill brand field on add device section
* add device form
* Save user device
* Binding form events from single function
* Add extra button Create User and Add Device
* Code style
* Create user and device form based on mockup
* Handling form validation
* Create User and Add another button
* Revert "Remove this"
This reverts commit 7102cf9b4a.
* Styled notification email
* Use single chosen field to select device model
* improvements
* Improve form validation message
* Delete unused template
* Code style improvements
* Fix typo on lodash flatMap statement
Device family as argument
* code style improvements
* Create function to render add user modal
* Handle error on user creation to prevent form buttons state
* Render users list without auto scroll when save and new btn is clicked
* Fix device data validation
* Remove this
* Don't store device data inside user data, on user creation
* user creationg, prevent device error
* Revert "Remove this"
This reverts commit 7102cf9b4a.
* Update sub callflows and menus on incoming strategies reset
* Add more details to reset dialog message
* Fix parameter for callback on main sub callflow creation
* Update sub callflows and menus on incoming strategies reset
* Add more details to reset dialog message
* Fix parameter for callback on main sub callflow creation
* Flatten and use declarative style to refactor feature code creation
* Fix incorrect path to get/set feature code
* Remove unnecessary feature code defaults and callback
* feature codes configured as patterns instead of single numbers
* Update feature codes patterns
* Code style
* Verify if needed pattern is given by feature codes
* Fix wrong pattern
* Remove this
* Update add user modal to show labels instead of icons
* Fill brand field on add device section
* add device form
* Save user device
* Binding form events from single function
* Add extra button Create User and Add Device
* Code style
* Create user and device form based on mockup
* Handling form validation
* Create User and Add another button
* Revert "Remove this"
This reverts commit 7102cf9b4a.
* Styled notification email
* Use single chosen field to select device model
* improvements
* Improve form validation message
* Delete unused template
* Code style improvements
* Fix typo on lodash flatMap statement
Device family as argument
* code style improvements
* Create function to render add user modal
* Handle error on user creation to prevent form buttons state
* Render users list without auto scroll when save and new btn is clicked
* Fix device data validation