Commit graph

18 commits

Author SHA1 Message Date
Amir Zarrinkafsh
dc12a1ac7f
feat: allow hostname override for notifiers (#994)
* feat: allow hostname override for email notifier

As it currently stands all notifiers utilise `os.Hostname` to populate their titles/subjects.

When utilising Docker with a bridged network if you set the hostname for a container to an external DNS hostname Docker's internal DNS resolver will override said hostname for all containers within the bridged network.

This change allows a user to specify what hostname should be represented in the email notifications without having to change the `os.Hostname`.

* feat: allow custom hostname for all notifiers

* docs: adjust notification hostname flag
2021-06-24 00:29:20 +02:00
nils måsén
4142f7966a
fix: move notify URL to trace log (#907) 2021-04-18 18:35:15 +02:00
nils måsén
b644ec6829
fix(notifier): don't panic on unconfigured notifier (#869) 2021-04-18 18:11:46 +02:00
nils måsén
9fa2fd82a6
feat: include additional info in startup (#809) 2021-03-28 21:04:11 +02:00
nils måsén
738215a1f7
Update Shoutrrr to v0.4 (#810) 2021-03-13 08:58:11 +01:00
Zois Pagoulatos
d04d71508f
fix: Disallow log level 'trace' (#765)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2021-01-12 20:19:14 +01:00
Simon Aronsson
35490c853d
cherrypick notification changes from #450 (#745) 2021-01-06 20:06:56 +01:00
Simon Aronsson
8b81fbd48d
Revert "feat(config): swap viper and cobra for config (#684)"
This reverts commit ff8cb884a0.
2020-12-21 23:08:23 +01:00
nils måsén
ff8cb884a0
feat(config): swap viper and cobra for config (#684) 2020-12-21 15:17:45 +01:00
Cédric Finance
fdecd40189
Make sure all shoutrrr notifications are sent (#564) 2020-08-08 22:55:51 +02:00
nils måsén
1081f3c24c
fix(shoutrrr): make shoutrrr init failure a fatal error (#561)
also writes out any (unlikely) errors from template.Execute instead of ignoring
2020-05-30 19:36:20 +02:00
nils måsén
70bd4e2c8b
fix(shoutrrr): display errors on init failure (#558) 2020-05-29 11:02:13 +02:00
Simon Aronsson
4672811983 fix linting and formatting 2020-04-24 13:45:24 +02:00
Simon Aronsson
cb4c58f714
Merge pull request #470 from mbrandau/add-shoutrrr
WIP: add shoutrrr support
2020-04-05 16:46:26 +02:00
Simon Aronsson
fac26dfc72 fix: improve logging 2020-03-28 19:33:52 +01:00
Maximilian Brandau
be2376a4e1
add shoutrrr 2020-03-23 11:40:55 +01:00
Luka Peschke
dff16dc639 Add support for Gotify notifications (#346)
This adds support for Gotify (https://gotify.net) notifications.

Work items:

* Two flags have been added to internal/flags/flags.go:
  "notification-gotify-url" and "notification-gotify-token".

* A Gotify notification driver has been added in
  notifications/gotify.go.

* "gotify" has been added to notification driver choices in
  notifications/notifier.go.

* Docs have been updated
2019-07-22 21:17:54 +02:00
Simon Aronsson
a425bf1024 refactor: move actions into internal 2019-07-21 22:22:30 +02:00
Renamed from notifications/notifier.go (Browse further)