Commit Graph

23 Commits (a1bdd268c18c9e175c852b47556bd51895a9a28d)

Author SHA1 Message Date
nils måsén aa02d8d31b
feat(notifications): add title field to template data (#1125) 3 years ago
nils måsén 1d59fb83dd
feat(notifications): support delayed sending (#1142) 3 years ago
nils måsén cd0ec88764
fix(notifications): default templates and logic (#1010)
* fix(notifications): default templates and logic
* fix multi-entry report notifs and add test
* add tests for log queueing
3 years ago
nils måsén fc31c6eb26
feat(shoutrrr): update to v0.5 (#1055)
* feat(shoutrrr): update to v0.5
* fix slack URL and tests
* add tests for slack icon override
* bump shoutrrr to v0.5.1
3 years ago
nils måsén e3dd8d688a
Session report collection and report templates (#981)
* wip: notification stats

* make report notifications optional

* linting/documentation fixes

* linting/documentation fixes

* merge types.Container and container.Interface

* smaller naming/format fixes

* use typed image/container IDs

* simplify notifier and update tests

* add missed doc comments

* lint fixes

* remove unused constructors

* rename old/new current/latest
3 years ago
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
3 years ago
nils måsén 4142f7966a
fix: move notify URL to trace log (#907) 4 years ago
nils måsén b644ec6829
fix(notifier): don't panic on unconfigured notifier (#869) 4 years ago
nils måsén 9fa2fd82a6
feat: include additional info in startup (#809) 4 years ago
nils måsén 738215a1f7
Update Shoutrrr to v0.4 (#810) 4 years ago
Zois Pagoulatos d04d71508f
fix: Disallow log level 'trace' (#765)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
Simon Aronsson 35490c853d
cherrypick notification changes from #450 (#745) 4 years ago
Simon Aronsson 8b81fbd48d
Revert "feat(config): swap viper and cobra for config (#684)"
This reverts commit ff8cb884a0.
4 years ago
nils måsén ff8cb884a0
feat(config): swap viper and cobra for config (#684) 4 years ago
Cédric Finance fdecd40189
Make sure all shoutrrr notifications are sent (#564) 4 years ago
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
5 years ago
nils måsén 70bd4e2c8b
fix(shoutrrr): display errors on init failure (#558) 5 years ago
Simon Aronsson 4672811983 fix linting and formatting 5 years ago
Simon Aronsson cb4c58f714
Merge pull request #470 from mbrandau/add-shoutrrr
WIP: add shoutrrr support
5 years ago
Simon Aronsson fac26dfc72 fix: improve logging 5 years ago
Maximilian Brandau be2376a4e1
add shoutrrr 5 years ago
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
5 years ago
Simon Aronsson a425bf1024 refactor: move actions into internal 5 years ago