zulip/frontend_tests
Mateusz Mandera d70e1bcdb7 settings: Add FAKE_EMAIL_DOMAIN setting.
Fixes #9401.

This adds a FAKE_EMAIL_DOMAIN setting, which should be used if
EXTERNAL_HOST is not a valid domain, and something else is needed to
form bot and dummy user emails (if email visibility is turned off).
It defaults to EXTERNAL_HOST.

get_fake_email_domain() should be used to get this value. It validates
that it's correctly set - that it can be used to form valid emails.

If it's not set correctly, an exception is raised. This is the right
approach, because it's undesirable to have the server seemingly
peacefully operating with that setting misconfigured, as that could
mask some hidden sneaky bugs due to UserProfiles with invalid emails,
which would blow up the moment some code that does validate the emails
is called.
2019-08-30 14:59:00 -07:00
..
casper_lib eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
casper_tests settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
node_tests data export: Fix success banner not clearing. 2019-08-28 15:23:39 -07:00
zjsunit zjsunit: Add support for using i18n without escaping. 2019-08-01 12:58:11 -07:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper node_cache: Run yarn with --ignore-scripts. 2019-08-26 14:36:03 -07:00