Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
events: Remove realm_is_zephyr_mirror_realm from API.
Anders Kaseorg8a35871217f4
diff --git a/api_docs/changelog.md b/api_docs/changelog.mdindex e00fcad9eb3..c489eff4327 100644--- a/api_docs/changelog.md+++ b/api_docs/changelog.md@@ -20,6 +20,11 @@ format used by the Zulip server that they are interacting with.## Changes in Zulip 12.0+**Feature level 426**++* [`POST /register`](/api/register-queue): Removed the+ `realm_is_zephyr_mirror_realm` property from the response.+Feature levels 421-424 reserved for future use in 11.x maintenancereleases.diff --git a/version.py b/version.pyindex b86f2c3f18c..9d64b5257d4 100644--- a/version.py+++ b/version.py@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"# new level means in api_docs/changelog.md, as well as "**Changes**"# entries in the endpoint's documentation in `zulip.yaml`.-API_FEATURE_LEVEL = 425+API_FEATURE_LEVEL = 426# Bump the minor PROVISION_VERSION to indicate that folks should provision# only when going from an old version of the code to a newer version. Bumpdiff --git a/web/src/state_data.ts b/web/src/state_data.tsindex cf3518b1e9a..0de68c59ec6 100644--- a/web/src/state_data.ts+++ b/web/src/state_data.ts@@ -412,7 +412,6 @@ export const realm_schema = z.object({realm_inline_image_preview: z.boolean(),realm_inline_url_embed_preview: z.boolean(),realm_invite_required: z.boolean(),- realm_is_zephyr_mirror_realm: z.boolean(),realm_jitsi_server_url: z.nullable(z.string()),realm_linkifiers: z.array(realm_linkifier_schema),realm_logo_source: z.string(),diff --git a/zerver/lib/events.py b/zerver/lib/events.pyindex 502b3fff8bb..0ea4e442d0f 100644--- a/zerver/lib/events.py+++ b/zerver/lib/events.py@@ -490,7 +490,6 @@ def fetch_initial_state_data()state["server_generation"] = settings.SERVER_GENERATION- state["realm_is_zephyr_mirror_realm"] = Falsestate["development_environment"] = settings.DEVELOPMENTstate["realm_org_type"] = realm.org_typestate["realm_plan_type"] = realm.plan_typediff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 779e195aa64..9931472b031 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -19951,12 +19951,6 @@ paths:Relevant for administrative settings UI that can change the digestemail settings.- realm_is_zephyr_mirror_realm:- type: boolean- description: |- Present if `realm` is present in `fetch_event_types`.-- Whether the organization is a Zephyr mirror realm.realm_email_auth_enabled:type: booleandescription: |diff --git a/zerver/tests/test_home.py b/zerver/tests/test_home.pyindex af5406bbf6b..455f9007f4f 100644--- a/zerver/tests/test_home.py+++ b/zerver/tests/test_home.py@@ -184,7 +184,6 @@ class HomeTest(ZulipTestCase):"realm_inline_image_preview","realm_inline_url_embed_preview","realm_invite_required",- "realm_is_zephyr_mirror_realm","realm_jitsi_server_url","realm_linkifiers","realm_logo_source",