mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[PR #471] [CLOSED] Feature/integrations toggle #968
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/healthchecks/healthchecks/pull/471
Author: @msansen1
Created: 1/23/2021
Status: ❌ Closed
Base:
master← Head:feature/integrations_Toggle📝 Commits (10+)
93ff332Adding french and gitignore file5558299revert gitignore file6c7ab87fix remove a space3abc086fix french localedd37c70Add control over available integrations to be able to enable only some integrations to usersa9c09c8Fix, Enable by default, need to pass it to false to disable an intégratione0ee396Empty secretKey and remove French From this PR12f6109Fix, settings and views.pya45dc60Fix feature togging to use existing settings796c9f3Fix 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.