TwiN
d20a41c7a7
fix(alerting): Make sure to close response body
2022-10-20 20:23:10 -04:00
TwiN
c86492dbfd
fix(alerting): Encode ntfy request body using json.Marshal
...
Relevant: #336
2022-10-09 22:58:18 -04:00
TwiN
47dd18a0b5
test(alerting): Add coverage for ntfy's request body
2022-10-09 16:45:01 -04:00
TwiN
1a708ebca2
test(alerting): Fix tests following change to defaults
2022-10-09 16:45:01 -04:00
TwiN
5f8e62dad0
fix(alerting): Make priority and url optional for ntfy
2022-10-09 16:45:01 -04:00
TwiN
899c19b2d7
fix: Swap tag for resolved and triggered
2022-10-09 16:45:01 -04:00
TwiN
35038a63c4
feat(alerting): Implement ntfy provider
...
Closes #308
Work remaining:
- Add the documentation on the README.md
- Test it with an actual Ntfy instance (I've only used https://ntfy.sh/docs/examples/#gatus as a reference; I haven't actually tested it yet)
2022-10-09 16:45:01 -04:00