Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
webhooks: Rename recommended_stream_name->recommended_channel_name.
Mateusz Manderaa119160da38d
diff --git a/templates/zerver/integrations/include/git-webhook-url-with-branches.md b/templates/zerver/integrations/include/git-webhook-url-with-branches.mdindex a5d5bc41de0..e01bcf9f449 100644--- a/templates/zerver/integrations/include/git-webhook-url-with-branches.md+++ b/templates/zerver/integrations/include/git-webhook-url-with-branches.md@@ -2,4 +2,4 @@ You can also limit the branches you receive notifications for byspecifying them in a comma-separated list at the end of the URL,like so:-`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream={{ recommended_stream_name }}&branches=main,development`+`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream={{ recommended_channel_name }}&branches=main,development`diff --git a/templates/zerver/integrations/jira-plugin.md b/templates/zerver/integrations/jira-plugin.mdindex d4d5d4467a0..1fea8e2235a 100644--- a/templates/zerver/integrations/jira-plugin.md+++ b/templates/zerver/integrations/jira-plugin.md@@ -48,7 +48,7 @@ tell Jira about the certificate.``` PythonString zulipEmail = "[email protected]"String zulipAPIKey = "0123456789abcdef0123456789abcdef"-String zulipStream = "{{ recommended_stream_name }}"+String zulipStream = "{{ recommended_channel_name }}"String issueBaseUrl = "https://jira.COMPANY.com/browse/"```diff --git a/zerver/views/documentation.py b/zerver/views/documentation.pyindex cb699c06a91..4134780b6ea 100644--- a/zerver/views/documentation.py+++ b/zerver/views/documentation.py@@ -379,7 +379,7 @@ def integration_doc(request: HttpRequest, integration_name: str = REQ()) -> Httpcontext["integration_name"] = integration.namecontext["integration_display_name"] = integration.display_name- context["recommended_stream_name"] = integration.stream_name+ context["recommended_channel_name"] = integration.stream_nameif isinstance(integration, WebhookIntegration):context["integration_url"] = integration.url[3:]all_event_types = get_all_event_types_for_integration(integration)diff --git a/zerver/webhooks/buildbot/doc.md b/zerver/webhooks/buildbot/doc.mdindex d69e37ffdb5..5ff0bbaff12 100644--- a/zerver/webhooks/buildbot/doc.md+++ b/zerver/webhooks/buildbot/doc.md@@ -15,7 +15,7 @@ Get Zulip notifications for your Buildbot builds!zs = reporters.ZulipStatusPush('{{ zulip_url }}',token='api_key',- stream='{{ recommended_stream_name }}')+ stream='{{ recommended_channel_name }}')c['services'].append(zs)When adding the new reporter, modify the code above such that `api_key`