[PR #471] [CLOSED] Feature/integrations toggle #968

Closed
opened 2026-02-26 00:30:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/healthchecks/healthchecks/pull/471
Author: @msansen1
Created: 1/23/2021
Status: Closed

Base: masterHead: feature/integrations_Toggle


📝 Commits (10+)

  • 93ff332 Adding french and gitignore file
  • 5558299 revert gitignore file
  • 6c7ab87 fix remove a space
  • 3abc086 fix french locale
  • dd37c70 Add control over available integrations to be able to enable only some integrations to users
  • a9c09c8 Fix, Enable by default, need to pass it to false to disable an intégration
  • e0ee396 Empty secretKey and remove French From this PR
  • 12f6109 Fix, settings and views.py
  • a45dc60 Fix feature togging to use existing settings
  • 796c9f3 Fix for review

📊 Changes

4 files changed (+90 additions, -0 deletions)

View changed files

📝 hc/api/transports.py (+38 -0)
📝 hc/front/views.py (+11 -0)
📝 hc/settings.py (+15 -0)
📝 templates/front/channels.html (+26 -0)

📄 Description

Hi,

In my use case, i need to be able to disable some integrations to my users so i propose you some changes enabling to toggle integrations to disabled it inside settings.py

with this, Healthcheck admin is able to switch some integration Off with env like:
DISCORD_ENABLED=False;SLACK_ENABLED=False

If nothing is pass to env, nothing change

it hide Discord and Slack from available integrations.

Hope you will agree with it.

Regards

Mat


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/healthchecks/healthchecks/pull/471 **Author:** [@msansen1](https://github.com/msansen1) **Created:** 1/23/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/integrations_Toggle` --- ### 📝 Commits (10+) - [`93ff332`](https://github.com/healthchecks/healthchecks/commit/93ff3328102667a3e8c997735194895088c357ba) Adding french and gitignore file - [`5558299`](https://github.com/healthchecks/healthchecks/commit/555829998c7d3f5292a08159d597fd463b89972d) revert gitignore file - [`6c7ab87`](https://github.com/healthchecks/healthchecks/commit/6c7ab87631c512855148897d00aabd3486d11ab6) fix remove a space - [`3abc086`](https://github.com/healthchecks/healthchecks/commit/3abc086e8122448809747c5d33951825c0ddadd1) fix french locale - [`dd37c70`](https://github.com/healthchecks/healthchecks/commit/dd37c703fc759ec00bde6f3010fda7edf0cb1f7c) Add control over available integrations to be able to enable only some integrations to users - [`a9c09c8`](https://github.com/healthchecks/healthchecks/commit/a9c09c8e9d98a77c6a6859741bed535019e1546e) Fix, Enable by default, need to pass it to false to disable an intégration - [`e0ee396`](https://github.com/healthchecks/healthchecks/commit/e0ee396b42c07250b57fa5288b1af6ccd75a7e3e) Empty secretKey and remove French From this PR - [`12f6109`](https://github.com/healthchecks/healthchecks/commit/12f61099cd1cece6ec60c765795c96b345a449bc) Fix, settings and views.py - [`a45dc60`](https://github.com/healthchecks/healthchecks/commit/a45dc6071e7fe99f7972ee5a0476bbc66b1565b2) Fix feature togging to use existing settings - [`796c9f3`](https://github.com/healthchecks/healthchecks/commit/796c9f324e56f9fbaec89a82a5f617583ade7956) Fix for review ### 📊 Changes **4 files changed** (+90 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `hc/api/transports.py` (+38 -0) 📝 `hc/front/views.py` (+11 -0) 📝 `hc/settings.py` (+15 -0) 📝 `templates/front/channels.html` (+26 -0) </details> ### 📄 Description Hi, In my use case, i need to be able to disable some integrations to my users so i propose you some changes enabling to toggle integrations to disabled it inside settings.py with this, Healthcheck admin is able to switch some integration Off with env like: DISCORD_ENABLED=False;SLACK_ENABLED=False If nothing is pass to env, nothing change it hide Discord and Slack from available integrations. Hope you will agree with it. Regards Mat --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 00:30:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#968
No description provided.