Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
web: Save a needless 301 redirect from /integrations to /integrations/.
Alex Vandivera1570ff3dd60
diff --git a/api_docs/incoming-webhooks-overview.md b/api_docs/incoming-webhooks-overview.mdindex e9b027962d0..df925df2a8d 100644--- a/api_docs/incoming-webhooks-overview.md+++ b/api_docs/incoming-webhooks-overview.md@@ -16,7 +16,7 @@ Zulip:* Adding 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- integrations](/integrations) work, because they enable Zulip to+ integrations](/integrations/) work, because they enable Zulip tosupport third-party services that just have an "outgoing webhook"feature (without the third party needing to do any work specific toZulip).diff --git a/api_docs/index.md b/api_docs/index.mdindex c4a12f76a98..a9ef7167c4d 100644--- a/api_docs/index.md+++ b/api_docs/index.md@@ -4,7 +4,7 @@ Zulip's APIs allow you to integrate other services with Zulip. Thisguide should help you find the API you need:* First, check if the tool you'd like to integrate with Zulip- [already has a native integration](/integrations).+ [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) anddiff --git a/api_docs/integrations-overview.md b/api_docs/integrations-overview.mdindex cbe70038bc6..465a3cf9e80 100644--- a/api_docs/integrations-overview.md+++ b/api_docs/integrations-overview.md@@ -16,7 +16,7 @@ possible.Most existing integrations send content from a third-party product intoZulip.-* Search Zulip's [list of native integrations](/integrations) for the+* Search Zulip's [list of native integrations](/integrations/) for thethird-party product. Each integration has a page describing how to set itup.diff --git a/docs/documentation/overview.md b/docs/documentation/overview.mdindex 2d9911215df..d79af7d6258 100644--- a/docs/documentation/overview.md+++ b/docs/documentation/overview.md@@ -107,7 +107,7 @@ See our guide on [writing help center articles](helpcenter.md).### Integrations documentation-Zulip's [integrations documentation](https://zulip.com/integrations)+Zulip's [integrations documentation](https://zulip.com/integrations/)is user-facing documentation explaining to end users how to set up eachof Zulip's more than 100 integrations. There is a detailed [guide ondocumenting integrations](integrations.md), including style guidelinesdiff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.mdindex a48dae803c9..d409188ca07 100644--- a/docs/overview/architecture-overview.md+++ b/docs/overview/architecture-overview.md@@ -5,7 +5,7 @@The main Zulip codebase is at <https://github.com/zulip/zulip>. Itcontains the Zulip backend (written in Python 3.x and Django), theweb app (written in JavaScript and TypeScript) and our library of-incoming webhook [integrations](https://zulip.com/integrations)+incoming webhook [integrations](https://zulip.com/integrations/)with other services and applications (see [the directory structureguide](directory-structure.md)).diff --git a/help/bots-and-integrations.md b/help/bots-and-integrations.mdindex 93e10ac29a7..24659e16f38 100644--- a/help/bots-and-integrations.md+++ b/help/bots-and-integrations.md@@ -14,7 +14,7 @@ A bot that sends content to or from another product is often called anZulip natively supports integrations with over one hundred products, and withalmost a thousand more through Zapier and IFTTT. If you're looking to add anintegration with an existing product, see our-[list of integrations](/integrations), along with those of+[list of integrations](/integrations/), along with those of[Zapier](https://zapier.com/apps) and [IFTTT](https://ifttt.com/search).## Anatomy of a botdiff --git a/help/change-organization-url.md b/help/change-organization-url.mdindex 0568b323d41..ff5aa3d9753 100644--- a/help/change-organization-url.md+++ b/help/change-organization-url.md@@ -5,7 +5,7 @@ organization URL is a disruptive operation for users:* Users will be logged out of existing sessions on the web, mobile anddesktop apps and need to log in again.-* Any [API clients](/api) or [integrations](/integrations) will need+* Any [API clients](/api) or [integrations](/integrations/) will needto be updated to point to the new organization URL.We recommend using a [wildcarddiff --git a/help/import-from-gitter.md b/help/import-from-gitter.mdindex 087325c5c74..e22ef2f8716 100644--- a/help/import-from-gitter.md+++ b/help/import-from-gitter.md@@ -163,7 +163,7 @@ Once the import process is completed, you will need to:4. Share the URL for your new Zulip organization, and (recommended) the [Gettingstarted with Zulip guide](/help/getting-started-with-zulip).-5. Migrate any [integrations](/integrations).+5. Migrate any [integrations](/integrations/).{end_tabs}diff --git a/help/include/import-get-your-organization-started.md b/help/include/import-get-your-organization-started.mdindex 72b9d85b154..3d2f2059d69 100644--- a/help/include/import-get-your-organization-started.md+++ b/help/include/import-get-your-organization-started.md@@ -16,6 +16,6 @@ Once the import process is completed, you will need to:3. Share the URL for your new Zulip organization, and (recommended) the [Gettingstarted with Zulip guide](/help/getting-started-with-zulip).-4. Migrate any [integrations](/integrations).+4. Migrate any [integrations](/integrations/).{end_tabs}diff --git a/help/include/set-up-integrations.md b/help/include/set-up-integrations.mdindex 5cb511a8ba3..9586421b69b 100644--- a/help/include/set-up-integrations.md+++ b/help/include/set-up-integrations.md@@ -6,7 +6,7 @@ more through [Zapier](/integrations/doc/zapier) and[Sentry](/integrations/doc/sentry) and[Twitter](/integrations/doc/twitter).-* The [integrations page](/integrations) has instructions for+* The [integrations page](/integrations/) has instructions forintegrating with each product.* If you don't see an integration you need, you can [request it](/help/request-an-integration).* You can also [create custom integrations](/api/integrations-overview) using our API.diff --git a/help/resolve-a-topic.md b/help/resolve-a-topic.mdindex 5722a4b0de9..d3d1973a232 100644--- a/help/resolve-a-topic.md+++ b/help/resolve-a-topic.md@@ -94,7 +94,7 @@ topics](/help/restrict-moving-messages).* Resolving a topic works by moving the messages to a new topic.* Like with all topic editing, Zulip clients update instantly, sohuman users will likely only send messages to the resolved topic.-* [Integrations](/integrations) will usually send new messages to the+* [Integrations](/integrations/) will usually send new messages to theoriginal topic (`example topic`) after a topic is resolved. This isuseful for alerting integrations, where a repeating alert might have adifferent cause. You can mark the topic resolved (as normal) oncediff --git a/help/setting-up-zulip-for-a-class.md b/help/setting-up-zulip-for-a-class.mdindex a7e2dd92314..3099e558dae 100644--- a/help/setting-up-zulip-for-a-class.md+++ b/help/setting-up-zulip-for-a-class.md@@ -321,7 +321,7 @@ 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-page](/integrations) has instructions for integrating with each+page](/integrations/) has instructions for integrating with eachproduct.## Cleaning up at the end of a classdiff --git a/requirements/common.in b/requirements/common.inindex c1bbda1194c..90b3bf8d6b9 100644--- a/requirements/common.in+++ b/requirements/common.in@@ -110,7 +110,7 @@ python-magic# The Zulip API bindings, from its own repository. We integrate with# these tightly, including fetching content not included in the official# PyPI release tarballs, such as logos, assets and documentation files-# that we render on our /integrations page. Therefore, we need to pin+# that we render on our /integrations/ page. Therefore, we need to pin# the version from Git rather than a PyPI release. Keeping everything in# one repository simplifies the process of implementing and documenting# new bots for new contributors.diff --git a/templates/corporate/features.html b/templates/corporate/features.htmlindex 7a7db9fdfdb..57bb5744ec0 100644--- a/templates/corporate/features.html+++ b/templates/corporate/features.html@@ -109,7 +109,7 @@<section><h2>Apps, integrations, and API.</h2>- <a class="feature-block" href="/integrations" target="_blank" rel="noopener noreferrer">+ <a class="feature-block" href="/integrations/" target="_blank" rel="noopener noreferrer"><h3>INTEGRATIONS</h3><p>Get alerts and updates from your favorite services withdiff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.htmlindex 7f360827996..5a8742d678b 100644--- a/templates/corporate/for/business.html+++ b/templates/corporate/for/business.html@@ -243,7 +243,7 @@<div class="list-content">Native integrations for GitHub, Jira,PagerDuty, Sentry- and <a href="/integrations">hundreds of+ and <a href="/integrations/">hundreds ofother tools</a> can initiate new topics,creating lightweight discussion spaces foreach issue.diff --git a/templates/corporate/for/education.html b/templates/corporate/for/education.htmlindex 14d33044ec0..6b21bc7be8f 100644--- a/templates/corporate/for/education.html+++ b/templates/corporate/for/education.html@@ -260,7 +260,7 @@<li>10,000 messages of search history</li><li>File storage up to 5 GB total</li><li><a href="/features">Full-featured</a> team chat service</li>- <li><a href="/integrations">Hundreds of integrations</a></li>+ <li><a href="/integrations/">Hundreds of integrations</a></li><li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li></ul></div>diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.htmlindex de743a1a06f..07cc7f0cfa2 100644--- a/templates/corporate/for/open-source.html+++ b/templates/corporate/for/open-source.html@@ -474,7 +474,7 @@<li><div class="list-content">Native integrations for GitHub, Jira, Twitter, Sentry- and <a href="/integrations">hundreds of+ and <a href="/integrations/">hundreds ofother tools</a> can initiate new topics,creating lightweight discussion spaces foreach issue.diff --git a/templates/corporate/hello.html b/templates/corporate/hello.htmlindex bb7f0264f16..aded33e2eee 100644--- a/templates/corporate/hello.html+++ b/templates/corporate/hello.html@@ -396,7 +396,7 @@and<a href="/integrations/doc/ifttt">IFTTT</a>.</p>- <p><a href="/integrations">See all available integrations.</a></p>+ <p><a href="/integrations/">See all available integrations.</a></p></div><div class="integration-icons">diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.htmlindex 619bbe2b844..de4ad90d4fe 100644--- a/templates/corporate/pricing_model.html+++ b/templates/corporate/pricing_model.html@@ -19,7 +19,7 @@<li>10,000 messages of search history</li><li>File storage up to 5 GB total</li><li><a href="/features">Full-featured</a> team chat service</li>- <li><a href="/integrations">Hundreds of integrations</a></li>+ <li><a href="/integrations/">Hundreds of integrations</a></li><li>Advanced <a href="/help/roles-and-permissions">roles</a> and <a href="/help/stream-permissions">permissions</a></li><li><a href="/help/roles-and-permissions">Guest accounts</a></li></ul>diff --git a/templates/zerver/integrations/index.html b/templates/zerver/integrations/index.htmlindex c2e4ddd938a..ce73f64291e 100644--- a/templates/zerver/integrations/index.html+++ b/templates/zerver/integrations/index.html@@ -48,7 +48,7 @@<i class="fa fa-angle-down" aria-hidden="true"></i></div><div class="dropdown-list">- <a href="/integrations">+ <a href="/integrations/"><h4 class="integration-category selected" data-category="all">All</h4></a>{% for category in categories_dict.keys() %}@@ -74,7 +74,7 @@<div class="catalog"><div class="integration-categories-sidebar"><h3>{% trans %}Categories{% endtrans %}</h3>- <a href="/integrations">+ <a href="/integrations/"><h4 data-category="all" class="integration-category selected">{% trans %}All{% endtrans %}</h4></a>{% for category in categories_dict.keys() %}@@ -143,7 +143,7 @@<div id="integration-instructions-group"><div id="integration-instruction-block" class="integration-instruction-block"><div class="categories"></div>- <a href="/integrations" id="integration-list-link" class="no-underline"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i><span>Back to list</span></a>+ <a href="/integrations/" id="integration-list-link" class="no-underline"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i><span>Back to list</span></a></div>{% for integration in integrations_dict.values() %}diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.pyindex 3eaf50b0bb6..2f430ebd8d8 100644--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py@@ -69,7 +69,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):"http://localhost:9981/plans","http://localhost:9981/team","http://localhost:9981/apps",- "http://localhost:9981/integrations",+ "http://localhost:9981/integrations/","http://localhost:9981/terms","http://localhost:9981/privacy","http://localhost:9981/features",diff --git a/web/src/portico/integrations.js b/web/src/portico/integrations.jsindex d83cfbda401..d066231e56b 100644--- a/web/src/portico/integrations.js+++ b/web/src/portico/integrations.js@@ -361,7 +361,7 @@ function integration_events() {});$(window).on("popstate", () => {- if (window.location.pathname.startsWith("/integrations")) {+ if (window.location.pathname.startsWith("/integrations/")) {dispatch("LOAD_PATH");} else {window.location = window.location.href;diff --git a/web/templates/gear_menu.hbs b/web/templates/gear_menu.hbsindex 824257b2891..f8a31bafac8 100644--- a/web/templates/gear_menu.hbs+++ b/web/templates/gear_menu.hbs@@ -124,7 +124,7 @@</a></li><li role="presentation" class="hidden-for-spectators">- <a href="/integrations" target="_blank" rel="noopener noreferrer" role="menuitem">+ <a href="/integrations/" target="_blank" rel="noopener noreferrer" role="menuitem"><i class="fa fa-github" aria-hidden="true"></i> {{t 'Integrations' }}</a></li>diff --git a/web/templates/settings/bot_settings.hbs b/web/templates/settings/bot_settings.hbsindex 85ec703a8fb..3326236230c 100644--- a/web/templates/settings/bot_settings.hbs+++ b/web/templates/settings/bot_settings.hbs@@ -4,7 +4,7 @@<div class="tip">{{#tr}}Looking for our <z-integrations>integrations</z-integrations> or <z-api>API</z-api> documentation?- {{#*inline "z-integrations"}}<a href="/integrations" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}+ {{#*inline "z-integrations"}}<a href="/integrations/" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}{{#*inline "z-api"}}<a href="/api" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}{{/tr}}</div>diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.pyindex a105b40719b..3b88a9adc6d 100644--- a/zerver/lib/integrations.py+++ b/zerver/lib/integrations.py@@ -12,7 +12,7 @@ from zerver.lib.storage import static_path"""This module declares all of the (documented) integrations availablein the Zulip server. The Integration class is used as part of-generating the documentation on the /integrations page, while the+generating the documentation on the /integrations/ page, while theWebhookIntegration class is also used to generate the URLs in`zproject/urls.py` for webhook integrations.diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.pyindex 1a15f6b7f83..ddd0a5743b8 100644--- a/zerver/lib/markdown/help_relative_links.py+++ b/zerver/lib/markdown/help_relative_links.py@@ -21,7 +21,7 @@ gear_info = {"manage-streams": ["Manage streams", "/#streams/subscribed"],"settings": ["Personal Settings", "/#settings/profile"],"organization-settings": ["Organization settings", "/#organization/organization-profile"],- "integrations": ["Integrations", "/integrations"],+ "integrations": ["Integrations", "/integrations/"],"stats": ["Usage statistics", "/stats"],"plans": ["Plans and pricing", "/plans"],"billing": ["Billing", "/billing"],