From d1405f2fb4a66ed633e75ae704df5c63b5f1d9ab Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Wed, 16 Sep 2026 09:12:05 +0000 Subject: [PATCH] Clarify the managed TURN provider label --- docs/design_docs/renewable_turn_credentials.md | 2 +- docs/p2p.md | 2 +- docs/settings.md | 4 ++-- src/common/messages/LiveSyncProvisionalMessages.ts | 2 +- src/features/P2PSync/TurnConfiguration.svelte | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/design_docs/renewable_turn_credentials.md b/docs/design_docs/renewable_turn_credentials.md index d9f2c082..0f903ba6 100644 --- a/docs/design_docs/renewable_turn_credentials.md +++ b/docs/design_docs/renewable_turn_credentials.md @@ -135,7 +135,7 @@ imported room with the local provider token or overwriting the saved profile. ## Cloudflare integration -The UI presents `Manual` and `Cloudflare`, with `TURN Key ID` and a masked +The UI presents `Manual` and `Managed (Cloudflare)`, with `TURN Key ID` and a masked `TURN Key API Token` input for Cloudflare. It requires no account ID, custom endpoint, SDK, credential broker, or renewal interval setting. diff --git a/docs/p2p.md b/docs/p2p.md index 0a0c1d09..75160f48 100644 --- a/docs/p2p.md +++ b/docs/p2p.md @@ -47,7 +47,7 @@ WebRTC encrypts data between the devices, including when it passes through TURN. ## TURN credentials In **TURN configuration**, select **Manual** to enter your own TURN server URLs, -username, and credential, or select **Cloudflare** to enter a **TURN Key ID** and +username, and credential, or select **Managed (Cloudflare)** to enter a **TURN Key ID** and **TURN Key API Token**. Cloudflare is optional; the project does not require a particular TURN provider or operate a credential broker. See Cloudflare's [credential instructions](https://developers.cloudflare.com/realtime/turn/generate-credentials/) diff --git a/docs/settings.md b/docs/settings.md index 66736ac0..2ce7e275 100644 --- a/docs/settings.md +++ b/docs/settings.md @@ -489,7 +489,7 @@ When enabled, this device notifies connected peers after a local change. The not Setting key: P2P_managedType -Select **Manual** for the existing TURN server fields, or **Cloudflare** for a +Select **Manual** for the existing TURN server fields, or **Managed (Cloudflare)** for a TURN Key ID and TURN Key API Token. The API token is persisted with the profile and included in Setup URI and QR code sharing. Issued temporary credentials are kept in memory only. Reports redact the provider settings. See @@ -500,7 +500,7 @@ behaviour. Setting keys: P2P_managedId, P2P_managedToken -These fields appear when **Cloudflare** is selected. Enter the TURN key's ID and +These fields appear when **Managed (Cloudflare)** is selected. Enter the TURN key's ID and its dedicated API token. The token field is masked. No account ID, custom endpoint, or renewal interval is required. diff --git a/src/common/messages/LiveSyncProvisionalMessages.ts b/src/common/messages/LiveSyncProvisionalMessages.ts index 80f96040..59d7d6cc 100644 --- a/src/common/messages/LiveSyncProvisionalMessages.ts +++ b/src/common/messages/LiveSyncProvisionalMessages.ts @@ -11,7 +11,7 @@ export const liveSyncProvisionalEnglishMessages = { "Configure TURN when a direct connection cannot be established or when you select TURN relay only.", "TURN configuration": "TURN configuration", Manual: "Manual", - Cloudflare: "Cloudflare", + "Managed (Cloudflare)": "Managed (Cloudflare)", "TURN Key ID": "TURN Key ID", "TURN Key API Token": "TURN Key API Token", "Unsupported TURN configuration": "Unsupported TURN configuration", diff --git a/src/features/P2PSync/TurnConfiguration.svelte b/src/features/P2PSync/TurnConfiguration.svelte index 80c525eb..049cd752 100644 --- a/src/features/P2PSync/TurnConfiguration.svelte +++ b/src/features/P2PSync/TurnConfiguration.svelte @@ -21,7 +21,7 @@ {translate("TURN configuration")}