Commit Graph

69 Commits

Author SHA1 Message Date
CrazyMax
a27d3f5019 telegram: align chatIDs and chatIDsFile format handling 2024-12-20 18:45:41 +01:00
CrazyMax
61dac9fbfc Merge pull request #1309 from crazy-max/notif-ret-http-error
notif: enhance error message for JSON decode response issues
2024-12-19 01:14:07 +01:00
CrazyMax
3723a6f12b notif: enhance error message for JSON decode response issues 2024-12-19 00:57:05 +01:00
CrazyMax
804411d398 telegram: merge topics to chatID 2024-12-18 18:53:28 +01:00
jon4hz
478b7114bc fix(telegram): use map for topics 2024-12-18 18:53:20 +01:00
jon4hz
d673b3c9dc fix(telegram): support only one topicID per chatID 2024-12-18 16:16:44 +01:00
jon4hz
0f5b616d07 feat(telegram): add support for chat topics 2024-12-18 16:16:44 +01:00
CrazyMax
2fde6548fc notif: support webhook url as secret 2024-12-16 02:28:25 +01:00
CrazyMax
12610c46bc switch to github.com/rabbitmq/amqp091-go module 2024-12-15 00:43:49 +01:00
CrazyMax
8fb9b975b8 fix lint issues 2024-12-15 00:10:58 +01:00
jon4hz
6c00cab0f4 feat: switch telegram bot library 2024-03-23 10:57:27 +01:00
Ian Fijolek
5983df6491 Fix linter
Updates golangci-lint and updates to the correct config format.

Also renames some unused parameters to `_` to appese `revive`.
2023-12-13 15:13:40 -08:00
Stécy Dubé
d999959f60 Fix NTFY markdown
Ensure the notification payload includes the "markdown" field set to true.
2023-12-04 17:46:55 -05:00
szerencl
6ab5a97ada Added sound option for pushover 2023-10-07 00:36:07 +02:00
CrazyMax
24bc0548e0 chore: use typed error and fix missing wraps 2023-09-16 11:47:53 +02:00
CrazyMax
c7993f23b8 Authentication support for ntfy 2023-06-11 22:26:27 +02:00
Ben Tea
1da9ec5308 Adds ntfy.sh notification option 2023-02-18 17:29:14 -08:00
CrazyMax
d7909f0156 Allow customizing Signal notification message 2022-12-29 07:47:38 +01:00
CrazyMax
d135167ceb Fix email notification message template 2022-12-28 00:58:32 +01:00
Jonas Weismueller
42e684d680 feat: support signal rest api notifications (#650) 2022-10-08 03:49:27 +02:00
CrazyMax
64cb538dbf Go 1.18 (#592)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-09 07:57:35 +02:00
CrazyMax
848a9a08ac Move syscall to golang.org/x/sys (#525)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-26 03:59:19 +01:00
CrazyMax
42d3535188 Fix matrix login scheme (#487)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-10 12:38:08 +02:00
CrazyMax
fc64b132ff Option to render fields (#480)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-09-04 18:41:42 +02:00
CrazyMax
21f5d0839a Allow multi recipients for email notifier (#463)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-19 21:51:52 +02:00
CrazyMax
5d583809a0 Allow to customize notification message (#415)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-25 23:24:02 +02:00
CrazyMax
1115234010 Add CLI to interact with Diun through gRPC (#382)
Add simple CLI to interact with Diun through gRPC
Create image and notif proto services
Compile and validate protos through a dedicated Dockerfile and bake target
Implement proto definitions
Move server as `serve` command
New commands `image` and `notif`
Refactor command line usage doc
Better CLI error handling
Tools build constraint to manage tools deps through go modules
Add upgrade notes

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-26 18:18:10 +02:00
CrazyMax
9785d3cc4c Allow telegram chat IDs as file (#301)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-14 15:32:58 +01:00
Francois Blackburn
b912aee5e4 Allow to configure scheme for MQTT broker (#292) 2021-03-07 17:05:11 +01:00
CrazyMax
3ea012cf8e Missing token as secret setting for some notifiers (#289)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-01 00:47:15 +01:00
CrazyMax
00655a9d1f Do not check recipient details for Pushover (#277)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-17 20:22:08 +00:00
CrazyMax
c971e06d9f Add message client for notifiers (#273)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-14 17:34:42 +00:00
CrazyMax
dc1216c221 Add Pushover notification (#254)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 21:29:48 +00:00
CrazyMax
3bbe883358 Refactor CI and dev workflow with buildx bake (#247)
* Upload artifacts
* Add image-local target
* Single job for artifacts and image
* Add armv5 artifact

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-26 10:30:46 +00:00
aschoelzhorn
3543bbf454 MQTT Reconnection Log Spam (#240) (#241) 2020-12-16 08:06:30 +00:00
CrazyMax
5839ac9127 Fix doc and coding style for MQTT notifier 2020-11-02 00:25:20 +01:00
aschoelzhorn
4e71b0c4d2 Add MQTT notification (#192) 2020-11-01 23:05:46 +00:00
CrazyMax
1c917d105f Use a list of users or roles to mention for Discord notifier (#188) 2020-10-09 16:58:12 +02:00
CrazyMax
ab683e619d Typo 2020-10-07 23:10:53 +02:00
CrazyMax
b57d49dae2 Add option to mention specific user for Discord notifier (#188) 2020-10-07 22:40:46 +02:00
CrazyMax
17f72c7bb9 Fix Telegram notification error (#162) 2020-08-28 23:43:24 +02:00
CrazyMax
a82cef7065 Set gomail.Dialer LocalName 2020-08-28 23:25:32 +02:00
CrazyMax
6dc9b58de9 Allow to customize message type for Matrix notifications (#143) 2020-08-08 12:17:45 +02:00
CrazyMax
bc90723409 Hostname not taken into account for Matrix notifications 2020-07-30 09:28:22 +02:00
CrazyMax
b9c35e369f Add Matrix notification (#136)
* Add Matrix notification (#124)
* Fix docs

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-07-29 19:29:13 +00:00
CrazyMax
6f845208d6 Small typo 2020-06-26 19:05:13 +02:00
CrazyMax
d06ec05c1c Discord notif (#111)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-26 16:06:47 +00:00
CrazyMax
5033adefd7 Display hostname in notifications (#102) 2020-06-22 03:02:29 +02:00
CrazyMax
896d4827b4 Add hub link to notifiers
Send message as markdown for Gotify and Telegram notifiers
2020-06-09 01:06:27 +00:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00