mirror of https://github.com/zulip/zulip.git
d70e1bcdb7
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. |
||
---|---|---|
.. | ||
00-realm-creation.js | ||
01-login.js | ||
02-site.js | ||
03-narrow.js | ||
04-compose.js | ||
05-subscriptions.js | ||
06-settings.js | ||
07-stars.js | ||
08-edit.js | ||
09-navigation.js | ||
10-admin.js | ||
11-mention.js | ||
12-toggle-message-editing.js | ||
13-user-deactivation.js | ||
14-drafts.js | ||
15-delete-message.js | ||
16-copy-and-paste.js |