Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations: Add screenshot configs for communication integrations.
Niloth P433f43a9b4ee
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.pyindex 79a4333478e..f2a9691f458 100644--- a/zerver/lib/integrations.py+++ b/zerver/lib/integrations.py@@ -68,13 +68,16 @@ FIXTURELESS_INTEGRATIONS_WITH_SCREENSHOTS: list[str] = ["asana","capistrano","codebase",+ "discourse","github-actions","jenkins",+ "mastodon","mercurial","openshift","perforce","puppet","redmine",+ "rss","svn","trac",]diff --git a/zerver/webhooks/fixtureless_integrations.py b/zerver/webhooks/fixtureless_integrations.pyindex 9edea09be53..46c5a7efadf 100644--- a/zerver/webhooks/fixtureless_integrations.py+++ b/zerver/webhooks/fixtureless_integrations.py@@ -76,6 +76,12 @@ CODEBASE = ScreenshotContent(""",)+DISCOURSE = ScreenshotContent(+ topic="chat",+ content=f"""**@{BO_NAME}** posted in [Example channel]()+> {COMMIT_BODY_A}""",+)+GITHUB_ACTIONS = ScreenshotContent(topic="scheduled backups",content=f"""Backup [failed]() at {DATETIME_STAMP}.@@ -87,6 +93,13 @@ JENKINS = ScreenshotContent(content=f"**Build:** [#{REVISION_NUMBER}](): FAILURE :cross_mark:",)+MASTODON = ScreenshotContent(+ topic="MIT Technology Review",+ content=f"""**[Don’t let hype about AI agents get ahead of reality](https://www.technologyreview.com/2025/07/03/1119545/dont-let-hype-about-ai-agents-get-ahead-of-reality/)**+Google’s recent unveiling of what it calls a “new class of agentic experiences” feels like a turning point. At its I/O event last month, for example, the company showed off a digital assistant that didn’t just answer questions; it helped work on a bicycle repair by finding a matching user manual, locating a YouTube…+https://www.technologyreview.com/{DATE_ISO_8601.replace("-", "/")}/1119545/dont-let-hype-about-ai-agents-get-ahead-of-reality/""",+)+MERCURIAL = ScreenshotContent(topic=BRANCH_MERCURIAL,content=f"""**{BO_NAME}** pushed [2 commits]() to **{BRANCH_MERCURIAL}** (`{REVISION_NUMBER}:{DEPLOYMENT_HASH[:12]}`):@@ -132,6 +145,8 @@ REDMINE = ScreenshotContent(* **Estimated hours**: 40""",)+RSS = MASTODON+SVN = ScreenshotContent(topic=PROJECT_NAME,content=f"""**{BO_GIT_NAME}** committed revision r{REVISION_NUMBER} to `{BRANCH_SVN}`.