diff --git a/CHANGELOG.md b/CHANGELOG.md index c63dd1d0..1598f7c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. - Removing unused /api/v1/notifications/{uuid}/bounce endpoint - Less verbose output in the `senddeletionnotices` command - Host a read-only dashboard (from github.com/healthchecks/dashboard/) +- LINE Notify integration (#412) ## Bug Fixes - Handle excessively long email addresses in the signup form diff --git a/hc/api/models.py b/hc/api/models.py index 7b781936..55adfad5 100644 --- a/hc/api/models.py +++ b/hc/api/models.py @@ -51,7 +51,7 @@ CHANNEL_KINDS = ( ("zulip", "Zulip"), ("spike", "Spike"), ("call", "Phone Call"), - ("linenotify", "LineNotify"), + ("linenotify", "LINE Notify"), ) PO_PRIORITIES = {-2: "lowest", -1: "low", 0: "normal", 1: "high", 2: "emergency"} @@ -759,6 +759,7 @@ class Channel(models.Model): doc = json.loads(self.value) return doc["token"] + class Notification(models.Model): class Meta: get_latest_by = "created" diff --git a/static/img/integrations/linenotify.png b/static/img/integrations/linenotify.png index 9f0aa226..b6c23d35 100644 Binary files a/static/img/integrations/linenotify.png and b/static/img/integrations/linenotify.png differ diff --git a/templates/front/channels.html b/templates/front/channels.html index 7277bf2f..62a3bff1 100644 --- a/templates/front/channels.html +++ b/templates/front/channels.html @@ -227,6 +227,15 @@ {% endif %} +
  • + LINE Notify icon + +

    LINE Notify

    +

    Receive a notification on LINE when a check goes up or down.

    + Add Integration +
  • + {% if enable_matrix %}
  • Add Integration
  • -
  • - LineNotify icon - -

    LineNotify

    -

    Get a LineNotify message when a check goes up or down.

    - Add Integration -
  • -