events: Remove realm_is_zephyr_mirror_realm from API.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-08 16:51:03 -07:00
committed by Tim Abbott
parent 40a022dcc3
commit 8a35871217
6 changed files with 6 additions and 10 deletions

View File

@@ -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 maintenance
releases.

View File

@@ -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. Bump

View File

@@ -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(),

View File

@@ -490,7 +490,6 @@ def fetch_initial_state_data(
)
state["server_generation"] = settings.SERVER_GENERATION
state["realm_is_zephyr_mirror_realm"] = False
state["development_environment"] = settings.DEVELOPMENT
state["realm_org_type"] = realm.org_type
state["realm_plan_type"] = realm.plan_type

View File

@@ -19951,12 +19951,6 @@ paths:
Relevant for administrative settings UI that can change the digest
email 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: boolean
description: |

View File

@@ -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",