iachat/app
Sony Mathew 96efc44b82
Chore: Feature lock email settings in UI (#1065)
* Chore: Feature lock email settings in UI

The email settings under account settings needed to be
feature locked in a way different from teh current way for it
to be enabled for accounts in a self hosted scenario.

Some refactorings were also done along with this change.

1. There was a feature flag defined in code in account model called
domain_emails_enabled was used to check if the inbound emails was
enabled for the account. But there was already a feature flag called
"inbound_emails" defined in features.yml. So changed to use this to
check if inbound emails are enabled for an account.
2. Renamed and re-purposed existing `domain_emails_enabled` to
`custom_email_domain_enabled` to use for feature toggling the UI
for email settings.
3. To enable & disable multiple features using the featurable concern
we were passing an array of values. Changed this to accept a comma
separated set of values.

* Chore: Feature lock email settings in UI

Fixed the specs for accounts controller & removed
unneccessary code from Account seetings component in UI

* Chore: Convert newlines to <br>s

Removed the layout used while sending replies in
conversation continuity.

Converted the newlines in the messages to <br/> tags
for the correct HTML rendering.

* Chore: Bug fix in reply email domain

Renamed the function custom_email_domain_enabled  to
inbound_email_enabled.

Fixed bug on setting reply emails's domain.
2020-07-19 23:08:07 +05:30
..
actions Chore: Convert Message Sender to polymorphic (#740) 2020-06-27 21:34:53 +05:30
assets Chore: Minor bugfixes and housekeeping tasks (#896) 2020-06-02 23:50:39 +05:30
bot Bug: Fix autoload_paths for facebook bot (#877) 2020-05-18 15:32:26 +05:30
builders Chore: Convert Message Sender to polymorphic (#740) 2020-06-27 21:34:53 +05:30
channels Chore: Fix presence for current user (#1001) 2020-07-04 20:03:16 +05:30
controllers Chore: Feature lock email settings in UI (#1065) 2020-07-19 23:08:07 +05:30
dashboards Chore: Minor bugfixes and housekeeping tasks (#896) 2020-06-02 23:50:39 +05:30
dispatchers Feature: Slack integration (#783) 2020-06-12 23:12:47 +05:30
fields Feature: Rewamp super admin dashboard (#882) 2020-05-24 22:44:26 +05:30
finders Chore: Routine Bugfixes and enhancements (#979) 2020-06-25 23:35:16 +05:30
helpers Chore: Remove dead code related to billing (#935) 2020-06-07 20:31:48 +05:30
javascript Chore: Feature lock email settings in UI (#1065) 2020-07-19 23:08:07 +05:30
jobs Chore: Cleanup attachment handling for Facebook & Whatsapp (#1051) 2020-07-17 00:32:32 +05:30
listeners Chore: Send browser language in webwidget events (#952) 2020-06-13 00:19:43 +05:30
mailboxes Chore: Change the prefix in reply emails (#1060) 2020-07-19 13:34:34 +05:30
mailers Chore: Feature lock email settings in UI (#1065) 2020-07-19 23:08:07 +05:30
models Chore: Feature lock email settings in UI (#1065) 2020-07-19 23:08:07 +05:30
policies Feature: Improve label experience (#975) 2020-06-25 21:04:03 +05:30
presenters Chore: Fix issues with conversation data models (#1000) 2020-07-04 19:46:17 +05:30
services Chore: Cleanup attachment handling for Facebook & Whatsapp (#1051) 2020-07-17 00:32:32 +05:30
views Chore: Feature lock email settings in UI (#1065) 2020-07-19 23:08:07 +05:30
workers Enhancement: ability to send out an email without summary #1048 (#1049) 2020-07-15 16:33:52 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30