Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations: Change URL scheme for categories and /doc/ page.
Shubham Padia40dedace08d1
diff --git a/api_docs/incoming-webhooks-overview.md b/api_docs/incoming-webhooks-overview.mdindex e4ef7bb845d..223d1bc7acc 100644--- a/api_docs/incoming-webhooks-overview.md+++ b/api_docs/incoming-webhooks-overview.md@@ -9,10 +9,10 @@ Zulip:or cases where the third-party tool wants to control the formattingof the messages in Zulip.* Use one of our supported [integration- frameworks](/integrations/meta-integration), such as the- [Slack-compatible incoming webhook](/integrations/doc/slack_incoming),- [Zapier integration](/integrations/doc/zapier), or- [IFTTT integration](/integrations/doc/ifttt).+ frameworks](/integrations/category/meta-integration), such as the+ [Slack-compatible incoming webhook](/integrations/slack_incoming),+ [Zapier integration](/integrations/zapier), or+ [IFTTT integration](/integrations/ifttt).* Implementing an incoming webhook integration (detailed on this page),where all the logic for formatting the Zulip messages lives in theZulip server. This is how most of [Zulip's official@@ -36,7 +36,7 @@ process.* Set up the[Zulip development environment](https://zulip.readthedocs.io/en/latest/development/overview.html).-* Use [Zulip's JSON integration](/integrations/doc/json),+* Use [Zulip's JSON integration](/integrations/json),<https://webhook.site/>, or a similar site to capture an examplewebhook payload from the third-party service. Create a`zerver/webhooks/<mywebhook>/fixtures/` directory, and add thediff --git a/api_docs/incoming-webhooks-walkthrough.md b/api_docs/incoming-webhooks-walkthrough.mdindex 1427696c519..ff15dac6551 100644--- a/api_docs/incoming-webhooks-walkthrough.md+++ b/api_docs/incoming-webhooks-walkthrough.md@@ -13,7 +13,7 @@ integration.The first step in creating an incoming webhook is to examine the data that theservice you want to integrate will be sending to Zulip.-* Use [Zulip's JSON integration](/integrations/doc/json),+* Use [Zulip's JSON integration](/integrations/json),<https://webhook.site/>, or a similar tool to capture webhookpayload(s) from the service you are integrating. Examining this dataallows you to do two things:@@ -289,7 +289,7 @@ from zerver.lib.webhooks.common import PresetUrlOption, WebhookUrlOptionCurrently configured preset URL options:- **`BRANCHES`**: This preset is intended to be used for [version control- integrations](/integrations/version-control), and adds UI for the user to+ integrations](/integrations/category/version-control), and adds UI for the user toconfigure which branches of a project's repository will trigger Zulipnotification messages. When the user specifies which branches to receivenotifications from, the `branches` parameter will be added to the [generated@@ -298,14 +298,14 @@ Currently configured preset URL options:`&branches=main%2Cdev` would be appended to the generated integration URL.- **`IGNORE_PRIVATE_REPOSITORIES`**: This preset is intended to be used for- [version control integrations](/integrations/version-control), and adds UI+ [version control integrations](/integrations/category/version-control), and adds UIfor the user exclude private repositories from triggering Zulipnotification messages. When the user selects this option, the`ignore_private_repositories` boolean parameter will be added to the[generated integration URL](/help/generate-integration-url).- **`MAPPING`**: This preset is intended to be used for [chat-app- integrations](/integrations/communication) (like Slack), and adds a+ integrations](/integrations/category/communication) (like Slack), and adds aspecial option, **Matching Zulip channel**, to the UI for where to sendZulip notification messages. This special option maps the notificationmessages to Zulip channels that match the messages' original channeldiff --git a/api_docs/index.md b/api_docs/index.mdindex a9ef7167c4d..a07bafd49e2 100644--- a/api_docs/index.md+++ b/api_docs/index.md@@ -7,8 +7,8 @@ guide should help you find the API you need:[already has a native integration](/integrations/).* Next, check if [Zapier](https://zapier.com/apps) or[IFTTT](https://ifttt.com/search) has an integration.- [Zulip's Zapier integration](/integrations/doc/zapier) and- [Zulip's IFTTT integration](/integrations/doc/ifttt) often allow+ [Zulip's Zapier integration](/integrations/zapier) and+ [Zulip's IFTTT integration](/integrations/ifttt) often allowintegrating a new service with Zulip without writing any code.* If you'd like to send content into Zulip, you can[write a native incoming webhook integration](/api/incoming-webhooks-overview)diff --git a/api_docs/integrations-overview.md b/api_docs/integrations-overview.mdindex 7fbc5a19873..cb8d6b12d34 100644--- a/api_docs/integrations-overview.md+++ b/api_docs/integrations-overview.md@@ -9,7 +9,7 @@ advantage of Zulip's [topics](/help/introduction-to-topics) to organizenotification messages. Additionally, thousands of integrations are availablethrough [Zapier](https://zapier.com/apps) and [IFTTT](https://ifttt.com/search).You can also [connect any webhook designed to work with-Slack](/integrations/doc/slack_incoming) to Zulip.+Slack](/integrations/slack_incoming) to Zulip.If you don't find an integration you need, you can:@@ -46,8 +46,8 @@ additional integrations through [Zapier](https://zapier.com/apps) and1. Search [Zapier](https://zapier.com/apps) or [IFTTT](https://ifttt.com/search)for the product you'd like to connect to Zulip.-1. Follow the integration instructions for [Zapier](/integrations/doc/zapier) or- [IFTTT](/integrations/doc/ifttt).+1. Follow the integration instructions for [Zapier](/integrations/zapier) or+ [IFTTT](/integrations/ifttt).{end_tabs}diff --git a/docs/documentation/integrations.md b/docs/documentation/integrations.mdindex 0a282061b53..78075afa070 100644--- a/docs/documentation/integrations.md+++ b/docs/documentation/integrations.md@@ -154,15 +154,15 @@ Here are a few common macros used to document Zulip's integrations:```For an example rendering, see- [Zulip's Beanstalk integration](https://zulip.com/integrations/doc/beanstalk).--[github-integration]: https://zulip.com/integrations/doc/github-[zendesk]: https://zulip.com/integrations/doc/zendesk-[matrix]: https://zulip.com/integrations/doc/matrix#configure-the-bridge-[codebase]: https://zulip.com/integrations/doc/codebase-[beanstalk]: https://zulip.com/integrations/doc/beanstalk-[front]: https://zulip.com/integrations/doc/front-[gitlab]: https://zulip.com/integrations/doc/gitlab+ [Zulip's Beanstalk integration](https://zulip.com/integrations/beanstalk).++[github-integration]: https://zulip.com/integrations/github+[zendesk]: https://zulip.com/integrations/zendesk+[matrix]: https://zulip.com/integrations/matrix#configure-the-bridge+[codebase]: https://zulip.com/integrations/codebase+[beanstalk]: https://zulip.com/integrations/beanstalk+[front]: https://zulip.com/integrations/front+[gitlab]: https://zulip.com/integrations/gitlab[integrations-file]: https://github.com/zulip/zulip/blob/main/zerver/lib/integrations.py## Writing guidelines@@ -170,7 +170,7 @@ Here are a few common macros used to document Zulip's integrations:For the vast majority of integrations, you should just copy the docs for asimilar integration and edit it. [Basecamp][basecamp] is a good one to copy.-[basecamp]: https://zulip.com/integrations/doc/basecamp+[basecamp]: https://zulip.com/integrations/basecamp### General writing guidelinesdiff --git a/docs/overview/changelog.md b/docs/overview/changelog.mdindex 676c85b97db..54522f4bd20 100644--- a/docs/overview/changelog.md+++ b/docs/overview/changelog.md@@ -881,7 +881,7 @@ _Released 2024-11-22_- Fixed emoji appearing huge when viewing email notifications inMicrosoft Outlook.- Fixed the [slack-compatible incoming- webhook](https://zulip.com/integrations/doc/slack_incoming) to+ webhook](https://zulip.com/integrations/slack_incoming) toreturn success/failure HTTP responses in the correct format.- Fixed several bugs with the data import tools, primarily aroundthumbnailing of images and input validation.@@ -1269,7 +1269,7 @@ _Released 2024-05-09_- The ‘default' topic visibility icon is no longer displayed in the inbox view,for a cleaner look.- Fixed confusing wording in the [Alertmanager- integration](https://zulip.com/integrations/doc/alertmanager).+ integration](https://zulip.com/integrations/alertmanager).- Started allowing DMs to bots and to oneself, regardless if [DMs are in generalrestricted](https://zulip.com/help/restrict-direct-messages).- Notices indicating that “push notifications are not working” are now@@ -1659,7 +1659,7 @@ _Released 2023-08-25_reverse order.- Upgraded Python requirements.- Updated puppet dependencies.-- Improved the [Sentry integration](https://zulip.com/integrations/doc/sentry),+- Improved the [Sentry integration](https://zulip.com/integrations/sentry),including making the “Test plugin” button in Sentry work properly.- Reduced memory usage by replacing a custom error reporting handler with thedefault Django implementation. This will result in a slight change in the@@ -1684,7 +1684,7 @@ _Released 2023-08-25_[host multiple Zulip](../production/multiple-organizations.md)organizations on one server.- Fixed missing images in documentation for the- [“XKCD” bot](https://zulip.com/integrations/doc/xkcd).+ [“XKCD” bot](https://zulip.com/integrations/xkcd).- Fixed “Back to login page” button alignment in the desktop app.- Added a reference to[PostgreSQL upgrades](../production/upgrade.md#upgrading-postgresql)diff --git a/docs/production/email-gateway.md b/docs/production/email-gateway.mdindex deef738838f..57f2b4fbf79 100644--- a/docs/production/email-gateway.md+++ b/docs/production/email-gateway.md@@ -9,7 +9,7 @@ because it enables:into Zulip.- Integrating third-party services that can send email notificationsinto Zulip. See the [integration- documentation](https://zulip.com/integrations/doc/email) for+ documentation](https://zulip.com/integrations/email) fordetails.Once this integration is configured, each channel will have a specialdiff --git a/docs/production/video-calls.md b/docs/production/video-calls.mdindex d9e4752a7b1..575eeffb910 100644--- a/docs/production/video-calls.md+++ b/docs/production/video-calls.md@@ -5,10 +5,10 @@ call](https://zulip.com/help/start-a-call) with the click of a button, using thecall provider of your choice. The call providerssupported by Zulip are:-- [Jitsi Meet](https://zulip.com/integrations/doc/jitsi), a fully-encrypted,+- [Jitsi Meet](https://zulip.com/integrations/jitsi), a fully-encrypted,100% open source video conferencing solution.-- [Zoom](https://zulip.com/integrations/doc/zoom)-- [BigBlueButton](https://zulip.com/integrations/doc/big-blue-button)+- [Zoom](https://zulip.com/integrations/zoom)+- [BigBlueButton](https://zulip.com/integrations/big-blue-button)By default, Zulip uses the [cloud version of Jitsi Meet](https://meet.jit.si/)as its call provider. This page documents the configurations required to supportdiff --git a/docs/subsystems/email.md b/docs/subsystems/email.mdindex 2f461d26140..b806fa985c0 100644--- a/docs/subsystems/email.md+++ b/docs/subsystems/email.md@@ -6,7 +6,7 @@ guide to [sending outgoing email](../production/email.md). If you're trying toconfigure an email integration to receive incoming email (e.g., so that userscan reply to message notification emails via email), you might be interested inour instructions for-[setting up an email integration](https://zulip.com/integrations/doc/email).+[setting up an email integration](https://zulip.com/integrations/email).On to the documentation. Zulip's email system is fairly straightforward,with only a few things you need to know to get started.diff --git a/starlight_help/src/content/docs/configure-call-provider.mdx b/starlight_help/src/content/docs/configure-call-provider.mdxindex 0b866f9d4b1..479a5db0b22 100644--- a/starlight_help/src/content/docs/configure-call-provider.mdx+++ b/starlight_help/src/content/docs/configure-call-provider.mdx@@ -16,9 +16,9 @@ source video conferencing solution. Organization administrators can alsochange the organization's call provider. The call providerssupported by Zulip are:-* [Jitsi Meet](/integrations/doc/jitsi)-* [Zoom integration](/integrations/doc/zoom)-* [BigBlueButton integration](/integrations/doc/big-blue-button)+* [Jitsi Meet](/integrations/jitsi)+* [Zoom integration](/integrations/zoom)+* [BigBlueButton integration](/integrations/big-blue-button)<ZulipTip>You can disable the video and voice call buttons for your organization@@ -55,6 +55,6 @@ instance of Jitsi Meet.## Related articles* [Start a call](/help/start-a-call)-* [Jitsi Meet integration](/integrations/doc/jitsi)-* [Zoom integration](/integrations/doc/zoom)-* [BigBlueButton integration](/integrations/doc/big-blue-button)+* [Jitsi Meet integration](/integrations/jitsi)+* [Zoom integration](/integrations/zoom)+* [BigBlueButton integration](/integrations/big-blue-button)diff --git a/starlight_help/src/content/docs/generate-integration-url.mdx b/starlight_help/src/content/docs/generate-integration-url.mdxindex c140cc18676..8894e5aa11c 100644--- a/starlight_help/src/content/docs/generate-integration-url.mdx+++ b/starlight_help/src/content/docs/generate-integration-url.mdx@@ -14,8 +14,8 @@ import UserCogIcon from "~icons/zulip-icon/user-cog";Many [Zulip integrations](/integrations/) are webhooks. An incoming webhookintegration allows a third-party service, such as an [issue-tracker](/integrations/doc/github) or an [alerting-tool](/integrations/doc/pagerduty), to post updates to Zulip. To configure+tracker](/integrations/github) or an [alerting+tool](/integrations/pagerduty), to post updates to Zulip. To configurewhere these updates will be posted, you need to generate a special Zulipintegration URL.diff --git a/starlight_help/src/content/docs/import-from-slack.mdx b/starlight_help/src/content/docs/import-from-slack.mdxindex edbab055985..922f1f2a459 100644--- a/starlight_help/src/content/docs/import-from-slack.mdx+++ b/starlight_help/src/content/docs/import-from-slack.mdx@@ -197,5 +197,5 @@ moving from Slack](/help/moving-from-slack).* [Choosing between Zulip Cloud and self-hosting](/help/zulip-cloud-or-self-hosting)* [Moving from Slack](/help/moving-from-slack)-* [Slack-compatible incoming webhook](/integrations/doc/slack_incoming)+* [Slack-compatible incoming webhook](/integrations/slack_incoming)* [Getting started with Zulip](/help/getting-started-with-zulip)diff --git a/starlight_help/src/content/docs/integrations-overview.mdx b/starlight_help/src/content/docs/integrations-overview.mdxindex 46e3bb5c60e..476c0010a0b 100644--- a/starlight_help/src/content/docs/integrations-overview.mdx+++ b/starlight_help/src/content/docs/integrations-overview.mdx@@ -15,7 +15,7 @@ advantage of Zulip's [topics](/help/introduction-to-topics) to organizenotification messages. Additionally, thousands of integrations are availablethrough [Zapier](https://zapier.com/apps) and [IFTTT](https://ifttt.com/search).You can also [connect any webhook designed to work with-Slack](/integrations/doc/slack_incoming) to Zulip.+Slack](/integrations/slack_incoming) to Zulip.If you don't find an integration you need, you can:@@ -47,8 +47,8 @@ additional integrations through [Zapier](https://zapier.com/apps) and<Steps>1. Search [Zapier](https://zapier.com/apps) or [IFTTT](https://ifttt.com/search)for the product you'd like to connect to Zulip.- 1. Follow the integration instructions for [Zapier](/integrations/doc/zapier) or- [IFTTT](/integrations/doc/ifttt).+ 1. Follow the integration instructions for [Zapier](/integrations/zapier) or+ [IFTTT](/integrations/ifttt).</Steps>### Integrate via Slack-compatible webhook APIdiff --git a/starlight_help/src/content/docs/migrating-from-other-chat-tools.mdx b/starlight_help/src/content/docs/migrating-from-other-chat-tools.mdxindex a297263bba0..e125083c9e5 100644--- a/starlight_help/src/content/docs/migrating-from-other-chat-tools.mdx+++ b/starlight_help/src/content/docs/migrating-from-other-chat-tools.mdx@@ -9,7 +9,7 @@ dedicated guide to get started.* [Moving from **Slack**](/help/moving-from-slack). You can [import your Slackworkspace](/help/import-from-slack). Zulip's [Slack-compatible incoming- webhook](https://zulip.com/integrations/doc/slack_incoming) also makes it easy+ webhook](https://zulip.com/integrations/slack_incoming) also makes it easyto migrate any integrations.* [Moving from **Discord**](/help/moving-from-discord).* [Moving from **Microsoft Teams**](/help/moving-from-teams).diff --git a/starlight_help/src/content/docs/moving-from-slack.mdx b/starlight_help/src/content/docs/moving-from-slack.mdxindex a8b2addeb17..2cf5f9c2b8a 100644--- a/starlight_help/src/content/docs/moving-from-slack.mdx+++ b/starlight_help/src/content/docs/moving-from-slack.mdx@@ -89,7 +89,7 @@ made the decision to move to Zulip.conversation its own space, so one channel per team should be enough to getyou started.1. Move your integrations using Zulip's [Slack-compatible incoming- webhook](/integrations/doc/slack_incoming). You can transition to+ webhook](/integrations/slack_incoming). You can transition toZulip-native [integrations](/integrations) over time.</FlattenedSteps>@@ -137,7 +137,7 @@ team.## Related articles* [Import from Slack](/help/import-from-slack)-* [Slack-compatible incoming webhook](/integrations/doc/slack_incoming)+* [Slack-compatible incoming webhook](/integrations/slack_incoming)* [Trying out Zulip](/help/trying-out-zulip)* [Zulip Cloud or self-hosting?](/help/zulip-cloud-or-self-hosting)* [Moving to Zulip](/help/moving-to-zulip)diff --git a/starlight_help/src/content/docs/request-an-integration.mdx b/starlight_help/src/content/docs/request-an-integration.mdxindex 165fdc67763..84333f44b20 100644--- a/starlight_help/src/content/docs/request-an-integration.mdx+++ b/starlight_help/src/content/docs/request-an-integration.mdx@@ -5,7 +5,7 @@ title: Request an integrationZulip comes with over 100 native integrations. Hundreds more areavailable through[Zapier](https://zapier.com/home), [IFTTT](https://ifttt.com/), and-the [Slack compatible webhook](/integrations/doc/slack_incoming).+the [Slack compatible webhook](/integrations/slack_incoming).However, sometimes there is no integration for a tool you use, or anexisting integration doesn't do what you need. If that's the case fordiff --git a/starlight_help/src/content/docs/setting-up-zulip-for-a-class.mdx b/starlight_help/src/content/docs/setting-up-zulip-for-a-class.mdxindex bf8ed795705..186ca5a13e2 100644--- a/starlight_help/src/content/docs/setting-up-zulip-for-a-class.mdx+++ b/starlight_help/src/content/docs/setting-up-zulip-for-a-class.mdx@@ -290,10 +290,10 @@ user groups:## Set up integrationsZulip integrates directly with dozens of products, and with hundreds-more through [Zapier](/integrations/doc/zapier) and-[IFTTT](/integrations/doc/ifttt). Popular Zulip integrations include-[GitHub](/integrations/doc/github) and-[Twitter](/integrations/doc/twitter). The [integrations+more through [Zapier](/integrations/zapier) and+[IFTTT](/integrations/ifttt). Popular Zulip integrations include+[GitHub](/integrations/github) and+[Twitter](/integrations/twitter). The [integrationspage](/integrations/) has instructions for integrating with eachproduct.diff --git a/starlight_help/src/content/docs/start-a-call.mdx b/starlight_help/src/content/docs/start-a-call.mdxindex 16a7ebef0c5..edfee4f6fc9 100644--- a/starlight_help/src/content/docs/start-a-call.mdx+++ b/starlight_help/src/content/docs/start-a-call.mdx@@ -92,7 +92,7 @@ you can unlink it.## Related articles* [Configure call provider](/help/configure-call-provider)-* [Jitsi Meet integration](/integrations/doc/jitsi)-* [Zoom integration](/integrations/doc/zoom)-* [BigBlueButton integration](/integrations/doc/big-blue-button)+* [Jitsi Meet integration](/integrations/jitsi)+* [Zoom integration](/integrations/zoom)+* [BigBlueButton integration](/integrations/big-blue-button)* [Insert a link](/help/insert-a-link)diff --git a/templates/corporate/case-studies/end-point-case-study.md b/templates/corporate/case-studies/end-point-case-study.mdindex 3987001f9d0..f9370bf1b82 100644--- a/templates/corporate/case-studies/end-point-case-study.md+++ b/templates/corporate/case-studies/end-point-case-study.md@@ -85,7 +85,7 @@ every message is important.the Immersive & Geospatial division, joined End Point the day before the move toZulip. Zulip has always been a core tool for his work at End Point, and he hasbuilt his workflows on Zulip’s [integrations](/integrations/). “With the-[Jenkins CI integration](/integrations/doc/jenkins), I can see when a job has+[Jenkins CI integration](/integrations/jenkins), I can see when a job hasfinished building and is ready to deploy,” Alejandro says. “I use this 100s oftimes per week.”diff --git a/templates/corporate/case-studies/idrift-case-study.md b/templates/corporate/case-studies/idrift-case-study.mdindex 7cc06310cdd..6163c6d9b68 100644--- a/templates/corporate/case-studies/idrift-case-study.md+++ b/templates/corporate/case-studies/idrift-case-study.md@@ -50,7 +50,7 @@ prior conversations.”Chat integrations for operational systems and alerts are a crucial part of theworkflow at iDrift AS. Zulip offers a [Slack-compatible-interface](/integrations/doc/slack_incoming), so many integrations could be+interface](/integrations/slack_incoming), so many integrations could besimply moved over. “For a handful of integrations where Zulip didn’t meet ourneeds, it was easy to [create our ownintegration](/api/integrations-overview#write-your-own-integration) or improvediff --git a/templates/corporate/comparison_table_integrated.html b/templates/corporate/comparison_table_integrated.htmlindex d72ad957ea8..469c934fe51 100644--- a/templates/corporate/comparison_table_integrated.html+++ b/templates/corporate/comparison_table_integrated.html@@ -566,8 +566,8 @@</tr><tr><td class="comparison-table-feature">- 1000s of integrations though <a href="/integrations/doc/zapier">Zapier</a> and- <a href="/integrations/doc/ifttt">IFTTT</a>+ 1000s of integrations though <a href="/integrations/zapier">Zapier</a> and+ <a href="/integrations/ifttt">IFTTT</a></td><td class="comparison-value-positive cloud-cell"><i class="icon icon-check"></i></td><td class="comparison-value-positive cloud-cell"><i class="icon icon-check"></i></td>diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.htmlindex 3ac14af3476..0811296d675 100644--- a/templates/corporate/for/business.html+++ b/templates/corporate/for/business.html@@ -266,7 +266,7 @@using <a href="https://zapier.com/apps/zulip/integrations">Zapier</a>.Integrations written for Slack can postinto Zulip via- the <a href="https://zulip.com/integrations/doc/slack_incoming">Slack+ the <a href="https://zulip.com/integrations/slack_incoming">Slackcompatible webhook</a>.</div></li>diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.htmlindex 704e0d27d21..0cac035845c 100644--- a/templates/corporate/for/open-source.html+++ b/templates/corporate/for/open-source.html@@ -304,9 +304,9 @@<li><div class="list-content">Zulip supports mirroring channels with- <a href="/integrations/doc/irc">IRC</a>,- <a href="/integrations/doc/slack">Slack</a>, and- <a href="/integrations/doc/matrix">Matrix</a>, and+ <a href="/integrations/irc">IRC</a>,+ <a href="/integrations/slack">Slack</a>, and+ <a href="/integrations/matrix">Matrix</a>, andyou can connect to other modern chat protocols using<a href="https://github.com/42wim/matterbridge">Matterbridge</a>.</div>@@ -505,7 +505,7 @@using <a href="https://zapier.com/apps/zulip/integrations">Zapier</a>.Integrations written for Slack can postinto Zulip via- the <a href="/integrations/doc/slack_incoming">Slack+ the <a href="/integrations/slack_incoming">Slackcompatible webhook</a>.</div></li>diff --git a/templates/corporate/self-hosting.html b/templates/corporate/self-hosting.htmlindex 1c47e517534..7990d6a8fb0 100644--- a/templates/corporate/self-hosting.html+++ b/templates/corporate/self-hosting.html@@ -148,7 +148,7 @@<a href="https://zulip.readthedocs.io/en/stable/production/upgrade.html">upgrade</a>your self-hosted Zulip installation. Migrate your<a href="/help/migrating-from-other-chat-tools">data</a>- and <a href="/integrations/doc/slack_incoming">integrations</a>+ and <a href="/integrations/slack_incoming">integrations</a>from other chat tools for a smooth transition.</p><p>diff --git a/templates/zerver/integrations/big-blue-button.md b/templates/zerver/integrations/big-blue-button.mdindex 7225b235524..750711f6410 100644--- a/templates/zerver/integrations/big-blue-button.md+++ b/templates/zerver/integrations/big-blue-button.md@@ -44,6 +44,6 @@ as your call provider instead.### Related documentation- [How to start a call](/help/start-a-call)-- [Jitsi Meet integration](/integrations/doc/jitsi)-- [Zoom integration](/integrations/doc/zoom)+- [Jitsi Meet integration](/integrations/jitsi)+- [Zoom integration](/integrations/zoom)* [BigBlueButton server configuration](https://docs.bigbluebutton.org/administration/customize/#other-configuration-changes)diff --git a/templates/zerver/integrations/catalog.html b/templates/zerver/integrations/catalog.htmlindex fd5222103e9..4ab682098b6 100644--- a/templates/zerver/integrations/catalog.html+++ b/templates/zerver/integrations/catalog.html@@ -26,9 +26,9 @@<h2 class="portico-page-subheading">{% trans %}And hundreds more through- <a href="/integrations/doc/zapier">Zapier</a>+ <a href="/integrations/zapier">Zapier</a>and- <a href="/integrations/doc/ifttt">IFTTT</a>.+ <a href="/integrations/ifttt">IFTTT</a>.{% endtrans %}</h2></div>@@ -56,7 +56,7 @@<h4 class="integration-category {% if selected_category_slug == 'all' %}selected{% endif %}" data-category="all">All</h4></a>{% for category in categories_dict.keys() %}- <a href="/integrations/{{ category }}">+ <a href="/integrations/category/{{ category }}"><h4 class="integration-category {% if selected_category_slug == category %}selected{% endif %}" data-category="{{ category }}">{{ categories_dict[category] }}</h4>@@ -82,7 +82,7 @@<h4 data-category="all" class="integration-category {% if selected_category_slug == 'all' %}selected{% endif %}">{% trans %}All{% endtrans %}</h4></a>{% for category in categories_dict.keys() %}- <a href="/integrations/{{ category }}">+ <a href="/integrations/category/{{ category }}"><h4 data-category="{{ category }}" class="integration-category {% if selected_category_slug == category %}selected{% endif %}">{{ categories_dict[category] }}</h4>@@ -103,7 +103,7 @@<div class="integration-lozenges">{% for integration in visible_integrations %}- <a href="/integrations/doc/{{ integration.name }}{% if selected_category_slug != 'all' %}?category={{ selected_category_slug }}{% endif %}">+ <a href="/integrations/{{ integration.name }}{% if selected_category_slug != 'all' %}?category={{ selected_category_slug }}{% endif %}">{{ integration_macros.render_integration_lozenge(integration) }}</a>{% endfor %}diff --git a/templates/zerver/integrations/doc.html b/templates/zerver/integrations/doc.htmlindex dda4ec01f50..e646f93e053 100644--- a/templates/zerver/integrations/doc.html+++ b/templates/zerver/integrations/doc.html@@ -22,7 +22,7 @@{% if integration_categories %}<div class="categories">{% for slug, display_name in integration_categories %}- <a href="/integrations/{{ slug }}">+ <a href="/integrations/category/{{ slug }}"><h3 class="integration-category" data-category="{{ slug }}">{{ display_name }}</h3>@@ -31,7 +31,7 @@</div>{% endif %}{{ integration_macros.render_integration_lozenge(selected_integration, is_doc_view=true) }}- <a href="/integrations/{% if return_category_slug != 'all' %}{{ return_category_slug }}{% endif %}" id="integration-list-link" class="no-underline">+ <a href="/integrations/{% if return_category_slug != 'all' %}category/{{ return_category_slug }}{% endif %}" id="integration-list-link" class="no-underline"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i><span class="integrations-back-to-list-label">Back to list</span></a></div>diff --git a/templates/zerver/integrations/github-actions.md b/templates/zerver/integrations/github-actions.mdindex 5ae3ee216a9..dce3eacdd7c 100644--- a/templates/zerver/integrations/github-actions.md+++ b/templates/zerver/integrations/github-actions.md@@ -5,7 +5,7 @@ It's easy to send Zulip messages from GitHub Actions! This is useful:Instructions are available [here](https://github.com/zulip/github-actions-zulip#readme).-See also the [GitHub integration](/integrations/doc/github).+See also the [GitHub integration](/integrations/github).{!congrats.md!}diff --git a/templates/zerver/integrations/hubot.md b/templates/zerver/integrations/hubot.mdindex 7183f47d120..15966f20c15 100644--- a/templates/zerver/integrations/hubot.md+++ b/templates/zerver/integrations/hubot.md@@ -51,14 +51,14 @@ result like this:* [GitHub repository for Zulip Hubot adapter][hubot-zulip]-* Zulip Integrations using Hubot: [Assembla](/integrations/doc/assembla) |- [Bonusly](/integrations/doc/bonusly) |- [Chartbeat](/integrations/doc/chartbeat) |- [Dark Sky](/integrations/doc/darksky) |- [Instagram](/integrations/doc/instagram) |- [Google Translate](/integrations/doc/google-translate) |- [MailChimp](/integrations/doc/mailchimp) |- [YouTube](/integrations/doc/youtube)+* Zulip Integrations using Hubot: [Assembla](/integrations/assembla) |+ [Bonusly](/integrations/bonusly) |+ [Chartbeat](/integrations/chartbeat) |+ [Dark Sky](/integrations/darksky) |+ [Instagram](/integrations/instagram) |+ [Google Translate](/integrations/google-translate) |+ [MailChimp](/integrations/mailchimp) |+ [YouTube](/integrations/youtube)* [Other Hubot adapters][other-adapters]diff --git a/templates/zerver/integrations/jitsi.md b/templates/zerver/integrations/jitsi.mdindex 8cda9707c9b..f6753933d3a 100644--- a/templates/zerver/integrations/jitsi.md+++ b/templates/zerver/integrations/jitsi.md@@ -30,5 +30,5 @@ instance of Jitsi Meet.## Related documentation- [How to start a call](/help/start-a-call)-- [Zoom integration](/integrations/doc/zoom)-- [BigBlueButton integration](/integrations/doc/big-blue-button)+- [Zoom integration](/integrations/zoom)+- [BigBlueButton integration](/integrations/big-blue-button)diff --git a/templates/zerver/integrations/zoom.md b/templates/zerver/integrations/zoom.mdindex 4e8cc82ef89..b055a6b83af 100644--- a/templates/zerver/integrations/zoom.md+++ b/templates/zerver/integrations/zoom.md@@ -37,5 +37,5 @@ in order to use this integration.## Related documentation- [How to start a call](/help/start-a-call)-- [Jitsi Meet integration](/integrations/doc/jitsi)-- [BigBlueButton integration](/integrations/doc/big-blue-button)+- [Jitsi Meet integration](/integrations/jitsi)+- [BigBlueButton integration](/integrations/big-blue-button)diff --git a/web/src/portico/integrations.ts b/web/src/portico/integrations.tsindex 69f7421585e..59efa2fc479 100644--- a/web/src/portico/integrations.ts+++ b/web/src/portico/integrations.ts@@ -107,7 +107,11 @@ function integration_events(): void {// init$(() => {- const is_doc_view = window.location.pathname.startsWith("/integrations/doc/");+ const path = window.location.pathname;+ const is_doc_view =+ path !== "/integrations/" &&+ !path.startsWith("/integrations/category/") &&+ path.startsWith("/integrations/");if (!is_doc_view) {integration_events();diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.pyindex 08b96a7bebe..79f3f0030e1 100644--- a/zerver/lib/url_redirects.py+++ b/zerver/lib/url_redirects.py@@ -28,3 +28,34 @@ LANDING_PAGE_REDIRECTS = []DOCUMENTATION_REDIRECTS = API_DOCUMENTATION_REDIRECTS + POLICY_DOCUMENTATION_REDIRECTS++# List of category slugs at the time of changing the URL scheme to have+# `/category` be appended before the category slug. This list does not+# need to change with changing categories.+INTEGRATION_CATEGORY_SLUGS = [+ "bots",+ "communication",+ "continuous-integration",+ "customer-support",+ "deployment",+ "entertainment",+ "financial",+ "hr",+ "marketing",+ "meta-integration",+ "misc",+ "monitoring",+ "productivity",+ "project-management",+ "version-control",+]+++def get_integration_category_redirects() -> list[URLRedirect]:+ return [+ URLRedirect(+ f"/integrations/{slug}",+ f"/integrations/category/{slug}",+ )+ for slug in INTEGRATION_CATEGORY_SLUGS+ ]diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex f706a96fee8..ed2b5485f0e 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -25546,7 +25546,7 @@ paths:summary: Create BigBlueButton video calldescription: |Create a video call URL for a BigBlueButton video call.- Requires [BigBlueButton 2.4+](/integrations/doc/big-blue-button)+ Requires [BigBlueButton 2.4+](/integrations/big-blue-button)to be configured on the Zulip server.The acting user will be given the moderator role on the call.diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.pyindex b2e5b0854c5..ba3ab40d9ee 100644--- a/zerver/tests/test_docs.py+++ b/zerver/tests/test_docs.py@@ -16,6 +16,7 @@ from zerver.context_processors import get_apps_page_urlfrom zerver.lib.integrations import CATEGORIES, INTEGRATIONS, META_CATEGORYfrom zerver.lib.test_classes import ZulipTestCasefrom zerver.lib.test_helpers import HostRequestMock+from zerver.lib.url_redirects import INTEGRATION_CATEGORY_SLUGSfrom zerver.models import Realmfrom zerver.models.realms import get_realmfrom zerver.views.documentation import add_api_url_context@@ -136,8 +137,8 @@ class DocPageTest(ZulipTestCase):"/errors/404/","/errors/5xx/","/integrations/",- "/integrations/bots",- "/integrations/doc/github",+ "/integrations/category/bots",+ "/integrations/github","/team/",]@@ -391,47 +392,66 @@ class DocPageTest(ZulipTestCase):images_in_docs.add(image)result = self.client_get(- "/integrations/nonexistent_category",+ "/integrations/category/nonexistent_category",follow=True,)self.assertEqual(result.status_code, 404)+ for category_name in INTEGRATION_CATEGORY_SLUGS:+ legacy_category_response = self.client_get(+ f"/integrations/{category_name}",+ follow=False,+ )+ self.assertEqual(legacy_category_response.status_code, 301)+ self.assertEqual(+ legacy_category_response["Location"], f"/integrations/category/{category_name}"+ )++ legacy_doc_response = self.client_get(+ "/integrations/doc/asana?category=project-management",+ follow=False,+ )+ self.assertEqual(legacy_doc_response.status_code, 301)+ self.assertEqual(+ legacy_doc_response["Location"], "/integrations/asana?category=project-management"+ )+result = self.client_get(- "/integrations/doc/nonexistent_integration",+ "/integrations/nonexistent_integration",follow=True,)self.assertEqual(result.status_code, 404)result = self._test(- "/integrations/doc/asana?category=project-management",+ "/integrations/asana?category=project-management",expected_strings=[- '<a href="/integrations/project-management" id="integration-list-link" class="no-underline">'+ '<a href="/integrations/category/project-management" id="integration-list-link" class="no-underline">'],)result = self.client_get(- "/integrations/doc/asana?category=nonexistent_category",+ "/integrations/asana?category=nonexistent_category",)self.assert_not_in_success_response([- '<a href="/integrations/project-management" id="integration-list-link" class="no-underline">'+ '<a href="/integrations/category/project-management" id="integration-list-link" class="no-underline">'],response,)# Mis-matched category should also return back to all.result = self.client_get(- "/integrations/doc/asana?category=communication",+ "/integrations/asana?category=communication",)self.assert_not_in_success_response([- '<a href="/integrations/project-management" id="integration-list-link" class="no-underline">'+ '<a href="/integrations/category/project-management" id="integration-list-link" class="no-underline">'],response,)for integration in INTEGRATIONS:- url = f"/integrations/doc/{integration}"+ url = f"/integrations/{integration}"response = self._test(url, expected_strings=[])doc = response.content.decode("utf-8")for image in re.findall(r"/static/images/integrations/(.*)\"", doc):@@ -475,14 +495,14 @@ class DocPageTest(ZulipTestCase):og_description = '<meta property="og:description" content="Zulip comes with over'# Test a particular integration page- url = "/integrations/doc/github"+ url = "/integrations/github"title = '<meta property="og:title" content="GitHub | Zulip integrations" />'description = '<meta property="og:description" content="Zulip comes with over'self._test(url, [title, description, get_canonical_url(url)])# Test category pagesfor category in CATEGORIES:- url = f"/integrations/{category}"+ url = f"/integrations/category/{category}"if category in META_CATEGORY:title = f"<title>{CATEGORIES[category]} | Zulip integrations</title>"og_title = f'<meta property="og:title" content="{CATEGORIES[category]} | Zulip integrations" />'@@ -500,19 +520,19 @@ class DocPageTest(ZulipTestCase):# We don't need to test all the pages for 404for integration in list(INTEGRATIONS.keys())[5]:with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):- url = f"/en/integrations/doc/{integration}"+ url = f"/en/integrations/{integration}"result = self.client_get(url, subdomain="", follow=True)self.assertEqual(result.status_code, 404)result = self.client_get(url, subdomain="zephyr", follow=True)self.assertEqual(result.status_code, 404)- url = f"/en/integrations/doc/{integration}"+ url = f"/en/integrations/{integration}"result = self.client_get(url, subdomain="", follow=True)self.assertEqual(result.status_code, 404)result = self.client_get(url, subdomain="zephyr", follow=True)self.assertEqual(result.status_code, 404)- result = self.client_get("/integrations/doc/nonexistent_integration", follow=True)+ result = self.client_get("/integrations/nonexistent_integration", follow=True)self.assertEqual(result.status_code, 404)def test_electron_detection(self) -> None:diff --git a/zerver/webhooks/canarytoken/doc.md b/zerver/webhooks/canarytoken/doc.mdindex 9c32eb9a59d..17267c549ae 100644--- a/zerver/webhooks/canarytoken/doc.md+++ b/zerver/webhooks/canarytoken/doc.md@@ -4,7 +4,7 @@ See your Thinkst Canarytoken alerts in Zulip!This integration works with Canarytokens from[canarytokens.org][canarytokens], not Thinkst's paid product. See the-[Zulip Thinkst integration](/integrations/doc/thinkst) for those!+[Zulip Thinkst integration](/integrations/thinkst) for those!{start_tabs}diff --git a/zerver/webhooks/github/doc.md b/zerver/webhooks/github/doc.mdindex 3ad82bf3070..2c3948de14f 100644--- a/zerver/webhooks/github/doc.md+++ b/zerver/webhooks/github/doc.md@@ -30,7 +30,7 @@ Get GitHub notifications in Zulip!- [GitHub's webhook events documentation][github-webhook-events]-- [Zulip GitHub Actions integration](/integrations/doc/github-actions)+- [Zulip GitHub Actions integration](/integrations/github-actions){!webhooks-url-specification.md!}diff --git a/zerver/webhooks/github/githubsponsors.md b/zerver/webhooks/github/githubsponsors.mdindex 63d027da816..7d00c28301a 100644--- a/zerver/webhooks/github/githubsponsors.md+++ b/zerver/webhooks/github/githubsponsors.md@@ -27,7 +27,7 @@ Get GitHub Sponsors notifications in Zulip!- [GitHub's webhook events documentation][github-webhook-events]-- [Zulip GitHub integration](/integrations/doc/github).+- [Zulip GitHub integration](/integrations/github).{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/newrelic/tests.py b/zerver/webhooks/newrelic/tests.pyindex a1f63cef758..840f66b49dd 100644--- a/zerver/webhooks/newrelic/tests.py+++ b/zerver/webhooks/newrelic/tests.py@@ -345,7 +345,7 @@ class NewRelicHookTests(WebhookTestCase):expected_message = """:danger: A New Relic [incident](https://one.newrelic.com/alerts-ai) updated-**Warning**: Unable to use the default notification format because at least one expected field was missing from the incident payload. See [New Relic integration documentation](/integrations/doc/newrelic).+**Warning**: Unable to use the default notification format because at least one expected field was missing from the incident payload. See [New Relic integration documentation](/integrations/newrelic).**Missing fields**: `issueUrl`, `title`, `priority`, `totalIncidents`, `state`, `createdAt`, `updatedAt`, `alertPolicyNames`, `alertConditionNames`""".strip()diff --git a/zerver/webhooks/newrelic/view.py b/zerver/webhooks/newrelic/view.pyindex 188fb93dcf7..7c0b9722e93 100644--- a/zerver/webhooks/newrelic/view.py+++ b/zerver/webhooks/newrelic/view.py@@ -22,7 +22,7 @@ from zerver.models import UserProfileMISSING_FIELDS_NOTIFICATION = """:danger: A New Relic [incident]({url}) updated-**Warning**: Unable to use the default notification format because at least one expected field was missing from the incident payload. See [New Relic integration documentation](/integrations/doc/newrelic).+**Warning**: Unable to use the default notification format because at least one expected field was missing from the incident payload. See [New Relic integration documentation](/integrations/newrelic).**Missing fields**: {formatted_missing_fields}"""diff --git a/zerver/webhooks/slack/doc.md b/zerver/webhooks/slack/doc.mdindex 4c9fab7fdcf..ee64b91f4db 100644--- a/zerver/webhooks/slack/doc.md+++ b/zerver/webhooks/slack/doc.md@@ -112,7 +112,7 @@ If you are looking to quickly move your Slack integrations to Zulip, check out{!webhooks-url-specification.md!}-[1]: /integrations/doc/slack_incoming+[1]: /integrations/slack_incoming[2]: /help/create-a-channel[3]: https://api.slack.com/apis/events-api[4]: https://api.slack.com/appsdiff --git a/zerver/webhooks/slack_incoming/doc.md b/zerver/webhooks/slack_incoming/doc.mdindex 5915bf0a68f..5ee145245f9 100644--- a/zerver/webhooks/slack_incoming/doc.md+++ b/zerver/webhooks/slack_incoming/doc.md@@ -27,7 +27,7 @@ integrations when migrating your organization from Slack to Zulip.- [Moving from Slack to Zulip](/help/moving-from-slack)-- [Forward Slack messages into Zulip](/integrations/doc/slack)+- [Forward Slack messages into Zulip](/integrations/slack)- [Forward messages Slack <-> Zulip][2] (both directions)diff --git a/zerver/webhooks/thinkst/doc.md b/zerver/webhooks/thinkst/doc.mdindex 381b08da030..04773ccabac 100644--- a/zerver/webhooks/thinkst/doc.md+++ b/zerver/webhooks/thinkst/doc.md@@ -4,7 +4,7 @@ Get your Thinkst Canary and Canarytoken alerts in Zulip!This integration works with Canarytokens from Thinkst's paid product.For [canarytokens.org][canarytokens], see the-[Canarytokens](/integrations/doc/canarytoken) integration!+[Canarytokens](/integrations/canarytoken) integration!{start_tabs}diff --git a/zproject/urls.py b/zproject/urls.pyindex 1a51a20dc08..51f2869974e 100644--- a/zproject/urls.py+++ b/zproject/urls.py@@ -17,7 +17,7 @@ from django.views.generic import RedirectViewfrom zerver.forms import LoggingSetPasswordFormfrom zerver.lib.integrations import WEBHOOK_INTEGRATIONSfrom zerver.lib.rest import rest_path-from zerver.lib.url_redirects import DOCUMENTATION_REDIRECTS+from zerver.lib.url_redirects import DOCUMENTATION_REDIRECTS, get_integration_category_redirectsfrom zerver.tornado.views import (cleanup_event_queue,get_events,@@ -279,6 +279,14 @@ if settings.TWO_FACTOR_AUTHENTICATION_ENABLED: # nocoveragefrom two_factor.gateways.twilio.urls import urlpatterns as tf_twilio_urlsfrom two_factor.urls import urlpatterns as tf_urls+INTEGRATION_CATEGORY_REDIRECT_PATHS = [+ path(+ redirect.old_url.lstrip("/"),+ RedirectView.as_view(url=redirect.new_url, permanent=True, query_string=True),+ )+ for redirect in get_integration_category_redirects()+]+# NB: There are several other pieces of code which route requests by URL:## - runtornado.py has its own URL list for Tornado views. See the@@ -717,9 +725,27 @@ i18n_urls = [# Used to join a BigBlueButton video callpath("calls/bigbluebutton/join", join_bigbluebutton),# Integrations documentation- path("integrations/doc/<str:integration_name>", integrations_doc),- path("integrations/", integrations_catalog, {"category_slug": "all"}),- path("integrations/<str:category_slug>", integrations_catalog),+ path(+ "integrations/",+ integrations_catalog,+ {"category_slug": "all"},+ name="integrations_home",+ ),+ path(+ "integrations/category/<str:category_slug>",+ integrations_catalog,+ name="integrations_category",+ ),+ *INTEGRATION_CATEGORY_REDIRECT_PATHS,+ path(+ "integrations/doc/<str:integration_name>",+ RedirectView.as_view(pattern_name="integration_doc", permanent=True, query_string=True),+ ),+ path(+ "integrations/<str:integration_name>",+ integrations_doc,+ name="integration_doc",+ ),]# Make a copy of i18n_urls so that they appear without prefix for english