Commit Graph

26 Commits (7900471f88fe418d7c54c15a9252fd16303faccc)

Author SHA1 Message Date
nils måsén 7900471f88
feat: add porcelain output (#1337)
* feat: add porcaline output

* feat(du-cli): add create-stale action

add create-stale action

Signed-off-by: nils måsén

* test(flags): add alias tests

* fix stray format string ref

* fix shell liniting problems

* feat(du-cli): remove created images

* add test for common template

* fix interval/schedule logic

* use porcelain arg as template version

* fix editor save artifacts

* use simpler v1 template

Signed-off-by: nils måsén
2 years ago
nils måsén 2f4d58776d
fix(notifications): title customization (#1219) 2 years ago
lazou a5c60a9fe6
feat(notifications): add general notification delay (#1246) 2 years ago
nils måsén aa02d8d31b
feat(notifications): add title field to template data (#1125) 2 years ago
nils måsén 1d59fb83dd
feat(notifications): support delayed sending (#1142) 2 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) 3 years ago
nils måsén b644ec6829
fix(notifier): don't panic on unconfigured notifier (#869) 3 years ago
nils måsén 9fa2fd82a6
feat: include additional info in startup (#809) 3 years ago
nils måsén 738215a1f7
Update Shoutrrr to v0.4 (#810) 3 years ago
Zois Pagoulatos d04d71508f
fix: Disallow log level 'trace' (#765)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
3 years ago
Simon Aronsson 35490c853d
cherrypick notification changes from #450 (#745) 3 years ago
Simon Aronsson 8b81fbd48d
Revert "feat(config): swap viper and cobra for config (#684)"
This reverts commit ff8cb884a0.
3 years ago
nils måsén ff8cb884a0
feat(config): swap viper and cobra for config (#684) 3 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
4 years ago
nils måsén 70bd4e2c8b
fix(shoutrrr): display errors on init failure (#558) 4 years ago
Simon Aronsson 4672811983 fix linting and formatting 4 years ago
Simon Aronsson cb4c58f714
Merge pull request #470 from mbrandau/add-shoutrrr
WIP: add shoutrrr support
4 years ago
Simon Aronsson fac26dfc72 fix: improve logging 4 years ago
Maximilian Brandau be2376a4e1
add shoutrrr 4 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