uptime-kuma/server/notification-providers
Frank Elsinga a9a1cf1353
Chore: General notification reformatting ()
- I unified where in file the name of `NotificationProvider.name` is placed
- I made sure that all the providers adhere to the signature of `NotificationProvider.send()`
- I made sure that all the providers use `okMsg` if returning success messages directly from the function.
  Here a discussion should be had:
  Should this be refactored into a constant of `NotificationProvider`? I could imagine that `NotificationProvider.SENDING_SUCCESSFULL`  could be a suitable alternative.
- I made sure all providers have the URL they `POST`/`GET` to be extraced into a variable.
  => refactored this way due to Nelsons suggestion
2024-03-14 14:21:15 +01:00
..
alerta.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
alertnow.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
aliyun-sms.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
apprise.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
bark.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
clicksendsms.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
dingding.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
discord.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
feishu.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
flashduty.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
freemobile.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
goalert.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
google-chat.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
gorush.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
gotify.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
grafana-oncall.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
heii-oncall.js Formatting fixes 2024-02-14 23:45:23 +01:00
home-assistant.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
kook.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
line.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
linenotify.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
lunasea.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
matrix.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
mattermost.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
nostr.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
notification-provider.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
ntfy.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
octopush.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
onebot.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
opsgenie.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
pagerduty.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
pagertree.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
promosms.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
pushbullet.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
pushdeer.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
pushover.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
pushy.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
rocket-chat.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
serverchan.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
serwersms.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
signal.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
slack.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
smsc.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
smseagle.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
smsmanager.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
smtp.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
splunk.js Added JSDoc to ESLint () 2023-08-11 15:46:41 +08:00
squadcast.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
stackfield.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
teams.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
techulus-push.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
telegram.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
twilio.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
webhook.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
wecom.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00
zoho-cliq.js Chore: General notification reformatting () 2024-03-14 14:21:15 +01:00