Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integrations: Disable the Hubot integration.

Niloth Pbbc7d4b7378e
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 34ae37ba29a..92f401f68bb 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -216,7 +216,13 @@ class Integration:
self.doc = doc
def is_enabled_in_catalog(self) -> bool:
- return self.name not in ("intercom", "notion")
+ return self.name not in (
+ # Integrations being incrementally added
+ "intercom",
+ "notion",
+ # Broken integrations awaiting fixes
+ "hubot",
+ )
def get_logo_path(self, fallback_logo_path: str | None = None) -> str:
paths_to_check = [
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index b4cd614f78c..ff57cbe1b87 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -506,6 +506,8 @@ class DocPageTest(ZulipTestCase):
# Images used in docs of disabled integrations
"logos/intercom.svg",
"intercom/001.png",
+ "logos/hubot.png",
+ "hubot/001.png",
}
images_in_dir.update(exception_images)
images_in_docs.update(exception_images)