From 4fee9049e0affd826873b9e216c28c900c9e1ead Mon Sep 17 00:00:00 2001 From: Ildar Iskhakov Date: Wed, 3 Aug 2022 12:56:15 +0300 Subject: [PATCH 1/5] Enable critical alerts for IOS devices --- engine/apps/alerts/tasks/notify_user.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/apps/alerts/tasks/notify_user.py b/engine/apps/alerts/tasks/notify_user.py index 47d232c9..57d902b2 100644 --- a/engine/apps/alerts/tasks/notify_user.py +++ b/engine/apps/alerts/tasks/notify_user.py @@ -386,9 +386,7 @@ def perform_notification(log_record_pk): "status": f"{alert_group.status}", "aps": { "alert": f"Critical page: {message}", - # This is disabled until we gain the Critical Alerts Api permission from apple - # "interruption-level": "critical", - "interruption-level": "time-sensitive", + "interruption-level": "critical", "sound": "ambulance.aiff", }, }, From 960a6857d876e1d1bdf87363413d0236a5d37a86 Mon Sep 17 00:00:00 2001 From: Ildar Iskhakov Date: Wed, 3 Aug 2022 13:55:00 +0300 Subject: [PATCH 2/5] Update Chart.yaml --- helm/oncall/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oncall/Chart.yaml b/helm/oncall/Chart.yaml index 2d138cf1..1b853761 100644 --- a/helm/oncall/Chart.yaml +++ b/helm/oncall/Chart.yaml @@ -8,13 +8,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.2 +version: 1.0.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v1.0.3" +appVersion: "v1.0.13" dependencies: - name: cert-manager version: v1.8.0 From 36716bd60ca0d43a5d21349719c43b3daf4423e1 Mon Sep 17 00:00:00 2001 From: Vadim Stepanov Date: Wed, 3 Aug 2022 11:57:44 +0100 Subject: [PATCH 3/5] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d3ada7d..ea06447b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## v1.0.14 (2022-08-03) +- Bug fixes + ## v1.0.13 (2022-07-27) - Optimize alert group list view - Fix a bug related to Twilio setup From d409b839b3a0c27fb4228c76f34c4603540381e5 Mon Sep 17 00:00:00 2001 From: Vadim Stepanov Date: Wed, 3 Aug 2022 12:43:28 +0100 Subject: [PATCH 4/5] Fix circular import for CloudConnector (#329) --- engine/apps/api/views/live_setting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/apps/api/views/live_setting.py b/engine/apps/api/views/live_setting.py index e74d1f7f..d2c77ab0 100644 --- a/engine/apps/api/views/live_setting.py +++ b/engine/apps/api/views/live_setting.py @@ -10,7 +10,6 @@ from apps.api.permissions import IsAdmin from apps.api.serializers.live_setting import LiveSettingSerializer from apps.auth_token.auth import PluginAuthentication from apps.base.models import LiveSetting -from apps.oss_installation.models import CloudConnector from apps.oss_installation.tasks import sync_users_with_cloud from apps.slack.tasks import unpopulate_slack_user_identities from apps.telegram.client import TelegramClient @@ -73,6 +72,8 @@ class LiveSettingViewSet(PublicPrimaryKeyMixin, viewsets.ModelViewSet): unpopulate_slack_user_identities.delay(organization_pk=organization.pk, force=True) if instance.name == "GRAFANA_CLOUD_ONCALL_TOKEN": + from apps.oss_installation.models import CloudConnector + CloudConnector.remove_sync() sync_users = self.request.query_params.get("sync_users", "true") == "true" From 352c0a8370cd3893ef7afbb87f4950eba00040f6 Mon Sep 17 00:00:00 2001 From: Vadim Stepanov Date: Wed, 3 Aug 2022 12:54:36 +0100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea06447b..fce73ea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## v1.0.14 (2022-08-03) +## v1.0.15 (2022-08-03) - Bug fixes ## v1.0.13 (2022-07-27)