web: Save a needless 301 redirect from /team to /team/.

This commit is contained in:
Alex Vandiver 2023-03-23 02:55:27 +00:00 committed by Tim Abbott
parent c686c5ed0f
commit 61adc9cfcc
6 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ over 100 native integrations. The entire Zulip codebase is 100% open source.
Zulip has been gaining in popularity since it was [released as open source
software][oss-release] in late 2015, with code contributions from [over 1000
people](https://zulip.com/team) from all around the world. Thousands of people
people](https://zulip.com/team/) from all around the world. Thousands of people
use Zulip every day, and your work on Zulip will have meaningful impact
on their experience.

View File

@ -49,7 +49,7 @@ in 2015, Recurse Center alumni [flew out to San
Francisco](https://www.recurse.com/blog/90-zulip-supporting-oss-at-the-recurse-center)
for a week to help make it happen. Since then, Zulip has built the most active
open-source development community of any team chat software, with [75
people](https://zulip.com/team) whove contributed 100+ commits.
people](https://zulip.com/team/) whove contributed 100+ commits.
> “Its not an exaggeration to say Zulip has made RC a stronger community.”
>

View File

@ -67,7 +67,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
"http://localhost:9981/hello/",
"http://localhost:9981/history/",
"http://localhost:9981/plans/",
"http://localhost:9981/team",
"http://localhost:9981/team/",
"http://localhost:9981/apps",
"http://localhost:9981/integrations/",
"http://localhost:9981/terms",

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
Fetch contributors data from GitHub using their API, convert it to structured
JSON data for the /team page contributors section.
JSON data for the /team/ page contributors section.
"""
import argparse
import json

View File

@ -60,7 +60,7 @@ function exclude_bot_contributors(contributor) {
return contributor.github_username !== "dependabot[bot]";
}
// TODO (for v2 of /team contributors):
// TODO (for v2 of /team/ contributors):
// - Make tab header responsive.
// - Display full name instead of GitHub username.
export default function render_tabs() {

View File

@ -1729,13 +1729,13 @@ class StreamAdminTest(ZulipTestCase):
with self.settings(INLINE_URL_EMBED_PREVIEW=True):
result = self.client_patch(
f"/json/streams/{stream_id}",
{"description": "See https://zulip.com/team"},
{"description": "See https://zulip.com/team/"},
)
self.assert_json_success(result)
stream = get_stream("stream_name1", realm)
self.assertEqual(
stream.rendered_description,
'<p>See <a href="https://zulip.com/team">https://zulip.com/team</a></p>',
'<p>See <a href="https://zulip.com/team/">https://zulip.com/team/</a></p>',
)
def test_change_stream_description_requires_admin(self) -> None: