Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
corporate: Remove Twitter third-party JavaScript and branding.
Anders Kaseorgacd0c5568a96
diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.htmlindex 43949ae1baa..59e24598170 100644--- a/templates/corporate/for/business.html+++ b/templates/corporate/for/business.html@@ -219,7 +219,14 @@</div></li></ul>- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">We’ve been working remotely since 2016 and have learned a lot since we started. You can read about why <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> is the most important communication and knowledge management tool in our company: <a href="https://t.co/by7QPpVlU7">https://t.co/by7QPpVlU7</a><a href="https://twitter.com/hashtag/remote?src=hash&ref_src=twsrc%5Etfw">#remote</a> <a href="https://twitter.com/hashtag/Monadical?src=hash&ref_src=twsrc%5Etfw">#Monadical</a> <a href="https://twitter.com/hashtag/remotework?src=hash&ref_src=twsrc%5Etfw">#remotework</a> <a href="https://twitter.com/hashtag/communication?src=hash&ref_src=twsrc%5Etfw">#communication</a> <a href="https://twitter.com/hashtag/knowledgebase?src=hash&ref_src=twsrc%5Etfw">#knowledgebase</a></p>— Monadical (@MonadicalSAS) <a href="https://twitter.com/MonadicalSAS/status/1298355525093134338?ref_src=twsrc%5Etfw">August 25, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ We’ve been working remotely since 2016 and have learned a lot since we started. You can read about why <a href="https://twitter.com/zulip">@zulip</a> is the most important communication and knowledge management tool in our company: <a href="https://monadical.com/posts/how-to-make-remote-work-part-two-zulip.html">https://monadical.com/posts/how-to-make-remote-work-part-two-zulip.html</a><br /><br /><a href="https://twitter.com/hashtag/remote?src=hash">#remote</a> <a href="https://twitter.com/hashtag/Monadical?src=hash">#Monadical</a> <a href="https://twitter.com/hashtag/remotework?src=hash">#remotework</a> <a href="https://twitter.com/hashtag/communication?src=hash">#communication</a> <a href="https://twitter.com/hashtag/knowledgebase?src=hash">#knowledgebase</a>+ </blockquote>+ <div class="author">+ — Monadical (@MonadicalSAS), <a href="https://twitter.com/MonadicalSAS/status/1298355525093134338">August 25, 2020</a>+ </div>+ </div></div></div><div class="feature-half">@@ -340,7 +347,14 @@</div></li></ul>- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">It’s so refreshing to see and use <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> Another level of product design. Which really delights. A singular experience, unfortunately, in years. <br /><br />Congrats and keep up the good work!</p>— metamn (@metamn) <a href="https://twitter.com/metamn/status/1385684113097691141?ref_src=twsrc%5Etfw">April 23, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ It’s so refreshing to see and use <a href="https://twitter.com/zulip">@zulip</a> Another level of product design. Which really delights. A singular experience, unfortunately, in years. <br /><br />Congrats and keep up the good work!+ </blockquote>+ <div class="author">+ — metamn (@metamn), <a href="https://twitter.com/metamn/status/1385684113097691141">April 23, 2021</a>+ </div>+ </div></div></div><div class="feature-half">@@ -384,7 +398,14 @@<li><div class="list-content">Share files or images with <a href="/help/share-and-upload-files">drag-and-drop uploads</a>.</div></li><li><div class="list-content">Enjoy animated GIFs with Zulip's native <a href="/help/animated-gifs-from-giphy">GIPHY integration</a>.</div></li></ul>- <blockquote class="twitter-tweet"><p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/Zulip?src=hash&ref_src=twsrc%5Etfw">#Zulip</a> <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> is truly a bastion of hope and joy in the chat-software space. <a href="https://twitter.com/hashtag/FOSS?src=hash&ref_src=twsrc%5Etfw">#FOSS</a>, better than <a href="https://twitter.com/hashtag/Slack?src=hash&ref_src=twsrc%5Etfw">#Slack</a> in multiple ways, and just all around a joy to use. Their threading model is awesome. 4.0 was just released: <a href="https://t.co/hm23FBh3jL">https://t.co/hm23FBh3jL</a></p>— Stephen Gutekanst (@slimsag) <a href="https://twitter.com/slimsag/status/1393024983023034371?ref_src=twsrc%5Etfw">May 14, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ <a href="https://twitter.com/hashtag/Zulip?src=hash">#Zulip</a> <a href="https://twitter.com/zulip">@zulip</a> is truly a bastion of hope and joy in the chat-software space. <a href="https://twitter.com/hashtag/FOSS?src=hash">#FOSS</a>, better than <a href="https://twitter.com/hashtag/Slack?src=hash">#Slack</a> in multiple ways, and just all around a joy to use. Their threading model is awesome. 4.0 was just released: <a href="https://news.ycombinator.com/item?id=27149123">https://news.ycombinator.com/item?id=27149123</a>+ </blockquote>+ <div class="author">+ — Stephen Gutekanst (@slimsag), <a href="https://twitter.com/slimsag/status/1393024983023034371">May 14, 2021</a>+ </div>+ </div></div></div><div class="feature-half md-display">@@ -510,7 +531,14 @@</li><li><div class="list-content">Use Zulip in your language of choice, with translations into <a href="https://explore.transifex.com/zulip/zulip/">23 languages</a>.</div></li></ul>- <blockquote class="twitter-tweet" data-conversation="none" data-dnt="true" data-cards="hidden"><p lang="en" dir="ltr">New version of Zulip ! <a href="https://t.co/6AjXkUSzLd">https://t.co/6AjXkUSzLd</a> <br /><br />Zulip is the only nice project chat I ever used. Discord, slack, etc wasted my productivity for years, zulip actually increases it.</p>— Bite Cꙮde (@bitecode_dev) <a href="https://twitter.com/bitecode_dev/status/1393111310750076930?ref_src=twsrc%5Etfw">May 14, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ New version of Zulip ! <a href="https://blog.zulip.com/2021/05/13/zulip-4-0-released/">https://blog.zulip.com/2021/05/13/zulip-4-0-released/</a> <br /><br />Zulip is the only nice project chat I ever used. Discord, slack, etc wasted my productivity for years, zulip actually increases it.+ </blockquote>+ <div class="author">+ — Bite Cꙮde (@bitecode_dev), <a href="https://twitter.com/bitecode_dev/status/1393111310750076930">May 14, 2021</a>+ </div>+ </div></div></div><div class="feature-half">diff --git a/templates/corporate/for/communities.md b/templates/corporate/for/communities.mdindex d3bf7007bd8..9fb1d898944 100644--- a/templates/corporate/for/communities.md+++ b/templates/corporate/for/communities.md@@ -23,7 +23,9 @@ inclusion, and making efficient use of everyone’s time. -<blockquote class="twitter-tweet"><p lang="en" dir="ltr">When we made the switch to <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> a few months ago for chat, never in my wildest dreams did I imagine it was going to become the beating heart of the community, and so quickly. It's a game changer. 🧑💻🗨️👩💻</p>— Dan Allen (@mojavelinux) <a href="https://twitter.com/mojavelinux/status/1409702273400201217?ref_src=twsrc%5Etfw">June 29, 2021</a></blockquote>+> “When we made the switch to [@zulip](https://twitter.com/zulip) a few months ago for chat, never in my wildest dreams did I imagine it was going to become the beating heart of the community, and so quickly. It's a game changer. 🧑💻🗨️👩💻”++> — Dan Allen (@mojavelinux), [June 29, 2021](https://twitter.com/mojavelinux/status/1409702273400201217) ## Challenges with other communication tools@@ -73,7 +75,7 @@ many busy individuals can happily participate in. -> "We just moved the Lichess team (~100 persons) to <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a>, and I'm loving it. The topics in particular make it vastly superior to slack & discord, when it comes to dealing with many conversations. Zulip is also open-source!"+> "We just moved the Lichess team (~100 persons) to <a href="https://twitter.com/zulip">@zulip</a>, and I'm loving it. The topics in particular make it vastly superior to slack & discord, when it comes to dealing with many conversations. Zulip is also open-source!"> — <a href="https://twitter.com/ornicar">Thibault D (@ornicar)</a>@@ -145,5 +147,3 @@ community. We hope Zulip can help your community succeed too!> track of everything that is going on.”> — RJ Ryan, Mixxx Developer--<script async src="https://platform.twitter.com/widgets.js"></script>diff --git a/templates/corporate/for/education.html b/templates/corporate/for/education.htmlindex f192344bf2a..d3a92c6acc4 100644--- a/templates/corporate/for/education.html+++ b/templates/corporate/for/education.html@@ -99,7 +99,14 @@<li><div class="list-content">Structure your points with bulleted and numbered <a href="/help/format-your-message-using-markdown#lists">lists</a>.</div></li><li><div class="list-content"><a href="/help/code-blocks">Zulip code blocks</a> come with syntax highlighting for over 250 languages, and integrated <a href="/help/code-blocks#code-playgrounds">code playgrounds.</a></div></li></ul>- <blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><p lang="en" dir="ltr">I used Piazza & Zulip. Piazza lets students ask questions anonymously. Zulip better all-around for chatting, announcements, group work (has built-in LaTeX, as well as threading). Zulip basically replaced email for my class. Easy to pick up if you've used Slack & email before.</p>— Joshua Grochow (@joshuagrochow) <a href="https://twitter.com/joshuagrochow/status/1336008355911970822?ref_src=twsrc%5Etfw">December 7, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ I used Piazza & Zulip. Piazza lets students ask questions anonymously. Zulip better all-around for chatting, announcements, group work (has built-in LaTeX, as well as threading). Zulip basically replaced email for my class. Easy to pick up if you've used Slack & email before.+ </blockquote>+ <div class="author">+ — Joshua Grochow (@joshuagrochow), <a href="https://twitter.com/joshuagrochow/status/1336008355911970822">December 7, 2020</a>+ </div>+ </div></div></div><div class="feature-half md-display">diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.htmlindex 7f74391757f..466b7a13091 100644--- a/templates/corporate/for/open-source.html+++ b/templates/corporate/for/open-source.html@@ -100,7 +100,7 @@</ul><div class="quote"><blockquote>- We just moved the Lichess team (~100 persons) to <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a>, and I'm loving it. The topics in particular make it vastly superior to slack & discord, when it comes to dealing with many conversations.<br />Zulip is also open-source!+ We just moved the Lichess team (~100 persons) to <a href="https://twitter.com/zulip">@zulip</a>, and I'm loving it. The topics in particular make it vastly superior to slack & discord, when it comes to dealing with many conversations.<br />Zulip is also open-source!</blockquote><div class="author">— <a href="https://twitter.com/ornicar">Thibault D (@ornicar)</a>@@ -239,7 +239,14 @@</div></li></ul>- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">When we made the switch to <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> a few months ago for chat, never in my wildest dreams did I imagine it was going to become the beating heart of the community, and so quickly. It's a game changer. 🧑💻🗨️👩💻</p>— Dan Allen (@mojavelinux) <a href="https://twitter.com/mojavelinux/status/1409702273400201217?ref_src=twsrc%5Etfw">June 29, 2021</a></blockquote><script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ When we made the switch to <a href="https://twitter.com/zulip">@zulip</a> a few months ago for chat, never in my wildest dreams did I imagine it was going to become the beating heart of the community, and so quickly. It's a game changer. 🧑💻🗨️👩💻+ </blockquote>+ <div class="author">+ — Dan Allen (@mojavelinux), <a href="https://twitter.com/mojavelinux/status/1409702273400201217">June 29, 2021</a>+ </div>+ </div></div></div><div class="feature-half">diff --git a/templates/corporate/for/research.html b/templates/corporate/for/research.htmlindex 80786c90693..b1d246b40af 100644--- a/templates/corporate/for/research.html+++ b/templates/corporate/for/research.html@@ -163,7 +163,14 @@</div></li></ul>- <blockquote class="twitter-tweet" data-conversation="none" data-dnt="true"><p lang="en" dir="ltr">+10 or maybe even 💯 for <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a>. Was originally put onto it by <a href="https://twitter.com/five9a2?ref_src=twsrc%5Etfw">@five9a2</a> (thanks!). Have since used it at all levels - my research group (~10 ppl), my dept group (CS Theory, ~30 ppl), my research community (algebraic complexity), and small collaborations. All great!</p>— Joshua Grochow (@joshuagrochow) <a href="https://twitter.com/joshuagrochow/status/1383141209934163969?ref_src=twsrc%5Etfw">April 16, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ +10 or maybe even 💯 for <a href="https://twitter.com/zulip">@zulip</a>. Was originally put onto it by <a href="https://twitter.com/five9a2">@five9a2</a> (thanks!). Have since used it at all levels - my research group (~10 ppl), my dept group (CS Theory, ~30 ppl), my research community (algebraic complexity), and small collaborations. All great!+ </blockquote>+ <div class="author">+ — Joshua Grochow (@joshuagrochow), <a href="https://twitter.com/joshuagrochow/status/1383141209934163969">April 16, 2021</a>+ </div>+ </div></div></div><div class="feature-half md-display">@@ -204,7 +211,14 @@</div></li></ul>- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">I've been using <a href="https://twitter.com/zulip?ref_src=twsrc%5Etfw">@zulip</a> recently for my research collaborations, and I was pleasantly surprised how effective it is! The excellent LaTeX rendering and clever threading make it far superior to email and Slack. I found myself shifting most of my research correspondences to Zulip.</p>— Tom Gur (@TomGur) <a href="https://twitter.com/TomGur/status/1294322062274842624?ref_src=twsrc%5Etfw">August 14, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js"></script>+ <div class="quote">+ <blockquote>+ I've been using <a href="https://twitter.com/zulip">@zulip</a> recently for my research collaborations, and I was pleasantly surprised how effective it is! The excellent LaTeX rendering and clever threading make it far superior to email and Slack. I found myself shifting most of my research correspondences to Zulip.+ </blockquote>+ <div class="author">+ — Tom Gur (@TomGur), <a href="https://twitter.com/TomGur/status/1294322062274842624">August 14, 2020</a>+ </div>+ </div></div></div><div class="feature-half">diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex e607cd44d28..c0d5e5e9d0a 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -593,16 +593,11 @@ html_rules: List["Rule"] = ["bad_lines": ['<button aria-label="foo"></button>'],},{- "pattern": 'script src="http',+ "pattern": r'<script[^<>]*\ssrc=[\'"]?(?:https?:|//)',"description": "Don't directly load dependencies from CDNs. See docs/subsystems/html-css.md",- "exclude": {- "templates/corporate/billing.html",- "templates/corporate/hello.html",- "templates/corporate/upgrade.html",- "templates/corporate/event_status.html",- },"bad_lines": [- '<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>'+ '<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>',+ '<script async src="https://platform.twitter.com/widgets.js"></script>',],},{