Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
push_notifs: In dev, use EXTERNAL_HOST directly as bouncer
Greg Price4374ee403d57
diff --git a/zproject/dev_settings.py b/zproject/dev_settings.pyindex 452b5cd80d1..680867a7c27 100644--- a/zproject/dev_settings.py+++ b/zproject/dev_settings.py@@ -207,7 +207,7 @@ SCIM_CONFIG: dict[str, SCIMConfigDict] = {SELF_HOSTING_MANAGEMENT_SUBDOMAIN = "selfhosting"DEVELOPMENT_DISABLE_PUSH_BOUNCER_DOMAIN_CHECK = True-ZULIP_SERVICES_URL = f"http://push.{EXTERNAL_HOST}"+ZULIP_SERVICES_URL = f"http://{EXTERNAL_HOST}"ZULIP_SERVICE_PUSH_NOTIFICATIONS = TrueZULIP_SERVICE_SUBMIT_USAGE_STATISTICS = Truediff --git a/zproject/test_extra_settings.py b/zproject/test_extra_settings.pyindex 1d9451e7936..044b69395d5 100644--- a/zproject/test_extra_settings.py+++ b/zproject/test_extra_settings.py@@ -204,7 +204,9 @@ BIG_BLUE_BUTTON_URL = "https://bbb.example.com/bigbluebutton/"# By default two factor authentication is disabled in tests.# Explicitly set this to True within tests that must have this on.TWO_FACTOR_AUTHENTICATION_ENABLED = False+DEVELOPMENT_DISABLE_PUSH_BOUNCER_DOMAIN_CHECK = False+ZULIP_SERVICES_URL = f"http://push.{EXTERNAL_HOST}"# Disable all Zulip services by default. Tests can activate them by# overriding settings explicitly when they want to enable something,