Aram Akhavan
6a1a985306
Switch to maintained fork of shoutrrr ( #934 )
...
Closes #817
2026-02-21 16:13:37 -08:00
mcarbonne
6362512406
Update go to 1.25 ( #875 )
...
Closes #872
* update go to 1.25
* update deprecated gomock
* remove deprecated ioutil
* update (and fix) ci
* add golang lint (as warning)
* enable formatters + freeze golang version
2026-02-08 20:46:36 -08:00
Aram Akhavan
f24abf254b
Add tests for not repeating notifications
2024-02-04 11:38:52 -08:00
Aram Akhavan
cc889f2a2d
fix notify tests
2024-02-04 11:38:52 -08:00
Aram Akhavan
01c5a7fdfe
Address review comments
2024-02-04 11:38:51 -08:00
Aram Akhavan
98d958888c
refactor common code
2024-02-04 11:38:51 -08:00
Aram Akhavan
4e5c76b259
Add support for disabling repeat notifications
...
* Add a new database function for getting the tail
* Update ShouldNotify() to handle ignoring repeat notifications if set
2024-02-04 11:38:51 -08:00
Michael Manganiello
3a6c407fe7
Add support for ntfy notifications
...
Updates [`shoutrrr`](containrrr.dev/shoutrrr/) to `v0.7.1` to enable
support for [ntfy](https://ntfy.sh/ ) notifications.
Fixes #433 .
2023-04-06 17:04:48 -03:00
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