mirror of https://github.com/zulip/zulip.git
web: Save a needless 301 redirect from /team to /team/.
This commit is contained in:
parent
c686c5ed0f
commit
61adc9cfcc
|
@ -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
|
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
|
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
|
use Zulip every day, and your work on Zulip will have meaningful impact
|
||||||
on their experience.
|
on their experience.
|
||||||
|
|
||||||
|
|
|
@ -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)
|
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
|
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
|
open-source development community of any team chat software, with [75
|
||||||
people](https://zulip.com/team) who’ve contributed 100+ commits.
|
people](https://zulip.com/team/) who’ve contributed 100+ commits.
|
||||||
|
|
||||||
> “It’s not an exaggeration to say Zulip has made RC a stronger community.”
|
> “It’s not an exaggeration to say Zulip has made RC a stronger community.”
|
||||||
>
|
>
|
||||||
|
|
|
@ -67,7 +67,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
|
||||||
"http://localhost:9981/hello/",
|
"http://localhost:9981/hello/",
|
||||||
"http://localhost:9981/history/",
|
"http://localhost:9981/history/",
|
||||||
"http://localhost:9981/plans/",
|
"http://localhost:9981/plans/",
|
||||||
"http://localhost:9981/team",
|
"http://localhost:9981/team/",
|
||||||
"http://localhost:9981/apps",
|
"http://localhost:9981/apps",
|
||||||
"http://localhost:9981/integrations/",
|
"http://localhost:9981/integrations/",
|
||||||
"http://localhost:9981/terms",
|
"http://localhost:9981/terms",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Fetch contributors data from GitHub using their API, convert it to structured
|
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 argparse
|
||||||
import json
|
import json
|
||||||
|
|
|
@ -60,7 +60,7 @@ function exclude_bot_contributors(contributor) {
|
||||||
return contributor.github_username !== "dependabot[bot]";
|
return contributor.github_username !== "dependabot[bot]";
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO (for v2 of /team contributors):
|
// TODO (for v2 of /team/ contributors):
|
||||||
// - Make tab header responsive.
|
// - Make tab header responsive.
|
||||||
// - Display full name instead of GitHub username.
|
// - Display full name instead of GitHub username.
|
||||||
export default function render_tabs() {
|
export default function render_tabs() {
|
||||||
|
|
|
@ -1729,13 +1729,13 @@ class StreamAdminTest(ZulipTestCase):
|
||||||
with self.settings(INLINE_URL_EMBED_PREVIEW=True):
|
with self.settings(INLINE_URL_EMBED_PREVIEW=True):
|
||||||
result = self.client_patch(
|
result = self.client_patch(
|
||||||
f"/json/streams/{stream_id}",
|
f"/json/streams/{stream_id}",
|
||||||
{"description": "See https://zulip.com/team"},
|
{"description": "See https://zulip.com/team/"},
|
||||||
)
|
)
|
||||||
self.assert_json_success(result)
|
self.assert_json_success(result)
|
||||||
stream = get_stream("stream_name1", realm)
|
stream = get_stream("stream_name1", realm)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
stream.rendered_description,
|
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:
|
def test_change_stream_description_requires_admin(self) -> None:
|
||||||
|
|
Loading…
Reference in New Issue