mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	webhooks: Remove space from UptimeRobot.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							68c99511a2
						
					
				
				
					commit
					1d3520db12
				
			@@ -391,7 +391,7 @@ log][commit-log] for an up-to-date list of raw changes.
 | 
			
		||||
- Added support for subscribing all members of a user group to a stream.
 | 
			
		||||
- Added support for sms: and tel: links.
 | 
			
		||||
- Community topic editing time limit increased to 3 days for members.
 | 
			
		||||
- New integrations: Freshping, Jotform, Uptime Robot, and a JSON
 | 
			
		||||
- New integrations: Freshping, Jotform, UptimeRobot, and a JSON
 | 
			
		||||
  formatter (which is particularly useful when developing a new
 | 
			
		||||
  integration).
 | 
			
		||||
- Updated integrations: Clubhouse, NewRelic, Bitbucket, Zabbix.
 | 
			
		||||
 
 | 
			
		||||
@@ -454,7 +454,7 @@ WEBHOOK_INTEGRATIONS: List[WebhookIntegration] = [
 | 
			
		||||
    WebhookIntegration("travis", ["continuous-integration"], display_name="Travis CI"),
 | 
			
		||||
    WebhookIntegration("trello", ["project-management"]),
 | 
			
		||||
    WebhookIntegration("updown", ["monitoring"]),
 | 
			
		||||
    WebhookIntegration("uptimerobot", ["monitoring"], display_name="Uptime Robot"),
 | 
			
		||||
    WebhookIntegration("uptimerobot", ["monitoring"], display_name="UptimeRobot"),
 | 
			
		||||
    WebhookIntegration(
 | 
			
		||||
        "yo",
 | 
			
		||||
        ["communication"],
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Receive Zulip notifications from Uptime Robot!
 | 
			
		||||
Receive Zulip notifications from UptimeRobot!
 | 
			
		||||
 | 
			
		||||
1. {!create-stream.md!}
 | 
			
		||||
 | 
			
		||||
@@ -14,7 +14,7 @@ Receive Zulip notifications from Uptime Robot!
 | 
			
		||||
    notifications sent to. If you do not specify a `stream`, the bot will
 | 
			
		||||
    send notifications via PMs to the creator of the bot.
 | 
			
		||||
 | 
			
		||||
1. On Uptime Robot, go to **My Settings** and select **Add Alert Contact**.
 | 
			
		||||
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
 | 
			
		||||
   Set **Alert Contact Type** to **webhook**.
 | 
			
		||||
 | 
			
		||||
1. Set **Friendly Name** to a name of your choice, such as `Zulip`. Set **URL to notify** to the
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@ It was down for 44 minutes and 37 seconds.
 | 
			
		||||
 | 
			
		||||
    def test_uptimerobot_invalid_payload_with_missing_data(self) -> None:
 | 
			
		||||
        """
 | 
			
		||||
        Tests if invalid uptime robot payloads are handled correctly
 | 
			
		||||
        Tests if invalid UptimeRobot payloads are handled correctly
 | 
			
		||||
        """
 | 
			
		||||
        self.url = self.build_webhook_url()
 | 
			
		||||
        payload = self.get_body("uptimerobot_invalid_payload_with_missing_data")
 | 
			
		||||
 
 | 
			
		||||
@@ -13,10 +13,10 @@ from zerver.lib.webhooks.common import check_send_webhook_message
 | 
			
		||||
from zerver.models import UserProfile
 | 
			
		||||
 | 
			
		||||
MISCONFIGURED_PAYLOAD_ERROR_MESSAGE = """
 | 
			
		||||
Hi there! Your bot {bot_name} just received a Uptime Robot payload that is missing
 | 
			
		||||
Hi there! Your bot {bot_name} just received a UptimeRobot payload that is missing
 | 
			
		||||
some data that Zulip requires. This usually indicates a configuration issue
 | 
			
		||||
in your Uptime Robot webhook settings. Please make sure that you set the required parameters
 | 
			
		||||
when configuring the Uptime Robot webhook. Contact {support_email} if you
 | 
			
		||||
in your UptimeRobot webhook settings. Please make sure that you set the required parameters
 | 
			
		||||
when configuring the UptimeRobot webhook. Contact {support_email} if you
 | 
			
		||||
need further help!
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user