Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Rename self-managed to free.
Aman Agrawal7b33d660eb79
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.pyindex 2a7284c5ab5..51f84e87bc3 100644--- a/corporate/lib/stripe.py+++ b/corporate/lib/stripe.py@@ -2882,7 +2882,7 @@ class BillingSession(ABC):plan_name = "Zulip Cloud Free"if is_remotely_hosted:- plan_name = "Self-managed"+ plan_name = "Free"context: Dict[str, Any] = {"billing_base_url": self.billing_base_url,diff --git a/corporate/models.py b/corporate/models.pyindex e6a1d40e42c..a4405e2910f 100644--- a/corporate/models.py+++ b/corporate/models.py@@ -416,7 +416,7 @@ class CustomerPlan(AbstractCustomerPlan):CustomerPlan.TIER_CLOUD_STANDARD: "Zulip Cloud Standard",CustomerPlan.TIER_CLOUD_PLUS: "Zulip Cloud Plus",CustomerPlan.TIER_CLOUD_ENTERPRISE: "Zulip Enterprise",- CustomerPlan.TIER_SELF_HOSTED_LEGACY: "Self-managed (legacy plan)",+ CustomerPlan.TIER_SELF_HOSTED_LEGACY: "Free (legacy plan)",CustomerPlan.TIER_SELF_HOSTED_BASIC: "Zulip Basic",CustomerPlan.TIER_SELF_HOSTED_BUSINESS: "Zulip Business",CustomerPlan.TIER_SELF_HOSTED_COMMUNITY: "Community",diff --git a/corporate/tests/test_support_views.py b/corporate/tests/test_support_views.pyindex e5df0abff0b..fc8bf8a4f00 100644--- a/corporate/tests/test_support_views.py+++ b/corporate/tests/test_support_views.py@@ -170,7 +170,7 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):"<b>Date created</b>:","<b>UUID</b>:","<b>Zulip version</b>:",- "<b>Plan type</b>: Self-managed<br />",+ "<b>Plan type</b>: Free<br />","<b>Non-guest user count</b>: 0<br />","<b>Guest user count</b>: 0<br />",],@@ -242,7 +242,7 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):self.assert_in_success_response(["<h4>📅 Current plan information:</h4>",- "<b>Plan name</b>: Self-managed (legacy plan)<br />",+ "<b>Plan name</b>: Free (legacy plan)<br />","<b>Status</b>: New plan scheduled<br />","<b>End date</b>: 01 February 2050<br />","<h4>⏱️ Next plan information:</h4>",@@ -261,7 +261,7 @@ class TestRemoteServerSupportEndpoint(ZulipTestCase):self.assert_in_success_response(["<h4>📅 Current plan information:</h4>",- "<b>Plan name</b>: Self-managed (legacy plan)<br />",+ "<b>Plan name</b>: Free (legacy plan)<br />","<b>Status</b>: Active<br />","<b>End date</b>: 01 February 2050<br />",],diff --git a/corporate/views/support.py b/corporate/views/support.pyindex 968969efa93..c1f2d3a33bc 100644--- a/corporate/views/support.py+++ b/corporate/views/support.py@@ -137,7 +137,7 @@ def get_plan_type_string(plan_type: int) -> str:Realm.PLAN_TYPE_STANDARD: "Standard",Realm.PLAN_TYPE_STANDARD_FREE: "Standard free",Realm.PLAN_TYPE_PLUS: "Plus",- RemoteZulipServer.PLAN_TYPE_SELF_MANAGED: "Self-managed",+ RemoteZulipServer.PLAN_TYPE_SELF_MANAGED: "Free",RemoteZulipServer.PLAN_TYPE_SELF_MANAGED_LEGACY: CustomerPlan.name_from_tier(CustomerPlan.TIER_SELF_HOSTED_LEGACY),