Jason Kulatunga
d41d535ab7
make sure that the device host id is provided in notifications (if available).
...
fixes #337
2022-08-03 20:55:34 -07:00
Jason Kulatunga
29bc79996b
working settings update.
...
Settings are loaded from the DB and added to the AppConfig during startup.
When updating settings, they are stored in AppConfig, and written do the database.
2022-07-19 23:12:23 -07:00
Jason Kulatunga
7babc280a0
ensure that users can filter their notifications by:
...
- failing attribute type (Critical vs All)
- failure reason (Smart, Scrutiny, Both)
fixes #300
2022-06-20 08:15:06 -07:00
Jason Kulatunga
060ac7b83a
fixes https://github.com/AnalogJ/scrutiny/issues/179
2021-10-25 21:03:06 -07:00
Jason Kulatunga
2fc24d0e76
fix error log.
2021-04-25 20:14:58 -07:00
Jason Kulatunga
4331f86ed4
fixing #164 telegram notification issue while I'm here.
...
TODO: do a full check of all notification params in shoutrrr and ensure they match what we use.
2021-04-25 11:38:17 -07:00
Jason Kulatunga
79de0fed2b
upgrade shoutrrr version. Fix duplicate notifications when more than one notification handler configured (closure iteration issue).
...
fixes #160
fixes #146
fixes #135
2021-04-25 09:47:12 -07:00
Jason Kulatunga
ac7c1f28cf
ignore empty ("") errors.
2020-10-05 08:56:43 -06:00
Jason Kulatunga
80a382d098
slight tweaks to notifications error handling.
2020-10-04 13:55:59 -06:00
Jason Kulatunga
a3438297e6
removeedd waitgroup, using sync/errgroup instead (to pass error messages back). returning errors in test notifications endpoint payload. Adding failure tests for webhooks, scripts & shoutrr.
2020-10-03 10:40:27 -06:00
Jason Kulatunga
6ca4ce39de
Adding documenation for notifications.
2020-10-03 09:53:06 -06:00
Jason Kulatunga
d339e967a6
fixing notifications.
2020-10-02 21:05:04 -06:00
Jason Kulatunga
6377a258f6
sending notifications on failure.
2020-10-01 18:59:08 -06:00
Jason Kulatunga
98415e625d
fix import. added simle test for notify test endpoint.
2020-09-18 10:14:19 -06:00
Jason Kulatunga
78a619b09d
moved middleware into more relevant location. Adding send test notifications handler. making sure that config is available from web handler functions.
2020-09-18 10:13:06 -06:00
Jason Kulatunga
c913cf39b9
adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".
2020-09-18 10:13:06 -06:00