From a9c09c8e9d98a77c6a6859741bed535019e1546e Mon Sep 17 00:00:00 2001 From: msansen1 Date: Sat, 23 Jan 2021 23:33:53 +0100 Subject: [PATCH] =?UTF-8?q?Fix,=20Enable=20by=20default,=20need=20to=20pas?= =?UTF-8?q?s=20it=20to=20false=20to=20disable=20an=20int=C3=A9gration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hc/settings.py | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/hc/settings.py b/hc/settings.py index 0f6e7c4f..0e0a903f 100644 --- a/hc/settings.py +++ b/hc/settings.py @@ -173,12 +173,12 @@ COMPRESS_CSS_HASHING_METHOD = "content" RP_ID = os.getenv("RP_ID") # Discord integration -DISCORD_ENABLED = envbool("DISCORD_ENABLED", "False") +DISCORD_ENABLED = envbool("DISCORD_ENABLED", "True") DISCORD_CLIENT_ID = os.getenv("DISCORD_CLIENT_ID") DISCORD_CLIENT_SECRET = os.getenv("DISCORD_CLIENT_SECRET") # Email integration -EMAIL_ENABLED = envbool("EMAIL_ENABLED", "False") +EMAIL_ENABLED = envbool("EMAIL_ENABLED", "True") EMAIL_HOST = os.getenv("EMAIL_HOST", "") EMAIL_PORT = envint("EMAIL_PORT", "587") EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER", "") @@ -187,24 +187,24 @@ EMAIL_USE_TLS = envbool("EMAIL_USE_TLS", "True") EMAIL_USE_VERIFICATION = envbool("EMAIL_USE_VERIFICATION", "True") # Slack integration -SLACK_ENABLED = envbool("SLACK_ENABLED", "False") +SLACK_ENABLED = envbool("SLACK_ENABLED", "True") SLACK_CLIENT_ID = os.getenv("SLACK_CLIENT_ID") SLACK_CLIENT_SECRET = os.getenv("SLACK_CLIENT_SECRET") # Pushover integration -PUSHOVER_ENABLED = envbool("PUSHOVER_ENABLED", "False") +PUSHOVER_ENABLED = envbool("PUSHOVER_ENABLED", "True") PUSHOVER_API_TOKEN = os.getenv("PUSHOVER_API_TOKEN") PUSHOVER_SUBSCRIPTION_URL = os.getenv("PUSHOVER_SUBSCRIPTION_URL") PUSHOVER_EMERGENCY_RETRY_DELAY = int(os.getenv("PUSHOVER_EMERGENCY_RETRY_DELAY", "300")) PUSHOVER_EMERGENCY_EXPIRATION = int(os.getenv("PUSHOVER_EMERGENCY_EXPIRATION", "86400")) # Pushbullet integration -PUSHBULLET_ENABLED = envbool("PUSHBULLET_ENABLED", "False") +PUSHBULLET_ENABLED = envbool("PUSHBULLET_ENABLED", "True") PUSHBULLET_CLIENT_ID = os.getenv("PUSHBULLET_CLIENT_ID") PUSHBULLET_CLIENT_SECRET = os.getenv("PUSHBULLET_CLIENT_SECRET") # Telegram integration -- override in local_settings.py -TELEGRAM_ENABLED = envbool("TELEGRAM_ENABLED", "False") +TELEGRAM_ENABLED = envbool("TELEGRAM_ENABLED", "True") TELEGRAM_BOT_NAME = os.getenv("TELEGRAM_BOT_NAME", "ExampleBot") TELEGRAM_TOKEN = os.getenv("TELEGRAM_TOKEN") @@ -215,15 +215,15 @@ TWILIO_FROM = os.getenv("TWILIO_FROM") TWILIO_USE_WHATSAPP = envbool("TWILIO_USE_WHATSAPP", "False") # PagerDuty -PAGERDUTY_ENABLED = envbool("PAGERDUTY_ENABLED", "False") +PAGERDUTY_ENABLED = envbool("PAGERDUTY_ENABLED", "True") PD_VENDOR_KEY = os.getenv("PD_VENDOR_KEY") # Trello -TRELLO_ENABLED = envbool("TRELLO_ENABLED", "False") +TRELLO_ENABLED = envbool("TRELLO_ENABLED", "True") TRELLO_APP_KEY = os.getenv("TRELLO_APP_KEY") # Matrix -MATRIX_ENABLED = envbool("MATRIX_ENABLED", "False") +MATRIX_ENABLED = envbool("MATRIX_ENABLED", "True") MATRIX_HOMESERVER = os.getenv("MATRIX_HOMESERVER") MATRIX_USER_ID = os.getenv("MATRIX_USER_ID") MATRIX_ACCESS_TOKEN = os.getenv("MATRIX_ACCESS_TOKEN") @@ -235,21 +235,21 @@ APPRISE_ENABLED = envbool("APPRISE_ENABLED", "False") SHELL_ENABLED = envbool("SHELL_ENABLED", "False") #Intégration Feature Toggle -MATTERMOST_ENABLED = envbool("MATTERMOST_ENABLED", "False") -OPSGENIE_ENABLED = envbool("OPSGENIE_ENABLED", "False") -PAGERTREE_ENABLED = envbool("PAGERTREE_ENABLED", "False") -PROMETHEUS_ENABLED = envbool("PROMETHEUS_ENABLED", "False") -VICTOROPS_ENABLED = envbool("VICTOROPS_ENABLED", "False") -SMS_ENABLED = envbool("SMS_ENABLED", "False") -CALL_ENABLED = envbool("CALL_ENABLED", "False") +MATTERMOST_ENABLED = envbool("MATTERMOST_ENABLED", "True") +OPSGENIE_ENABLED = envbool("OPSGENIE_ENABLED", "True") +PAGERTREE_ENABLED = envbool("PAGERTREE_ENABLED", "True") +PROMETHEUS_ENABLED = envbool("PROMETHEUS_ENABLED", "True") +VICTOROPS_ENABLED = envbool("VICTOROPS_ENABLED", "True") +SMS_ENABLED = envbool("SMS_ENABLED", "True") +CALL_ENABLED = envbool("CALL_ENABLED", "True") WEBHOOK_ENABLED = envbool("WEBHOOK_ENABLED", "True") -WHATSAPP_ENABLED = envbool("WHATSAPP_ENABLED", "False") -MSTEAMS_ENABLED = envbool("MSTEAMS_ENABLED", "False") -ZULIP_ENABLED = envbool("ZULIP_ENABLED", "False") -SPIKE_ENABLED = envbool("SPIKE_ENABLED", "False") +WHATSAPP_ENABLED = envbool("WHATSAPP_ENABLED", "True") +MSTEAMS_ENABLED = envbool("MSTEAMS_ENABLED", "True") +ZULIP_ENABLED = envbool("ZULIP_ENABLED", "True") +SPIKE_ENABLED = envbool("SPIKE_ENABLED", "True") # LINE Notify -LINENOTIFY_ENABLED = envbool("LINENOTIFY_ENABLED", "False") +LINENOTIFY_ENABLED = envbool("LINENOTIFY_ENABLED", "True") LINENOTIFY_CLIENT_ID = os.getenv("LINENOTIFY_CLIENT_ID") LINENOTIFY_CLIENT_SECRET = os.getenv("LINENOTIFY_CLIENT_SECRET")