nils måsén
9180e9558e
feat(docs): add template preview ( #1777 )
1 year ago
Tentoe
30280e38b4
fix(notifications): correctly set the delay from options ( #1726 )
...
Co-authored-by: Tentoe <tentoe86@pm.me>
1 year ago
nils måsén
264046d5f9
feat: update shoutrrr to v0.7 ( #1543 )
2 years ago
nils måsén
547d033460
feat(notifications): add json template ( #1542 )
2 years ago
nils måsén
cb555f539d
preparations for soft deprecation of legacy notification args ( #1377 )
...
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2 years ago
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
Brian Choromanski
489356aa42
fix(notifications): include icon in slack legacy url ( #1303 )
2 years ago
nils måsén
2f4d58776d
fix(notifications): title customization ( #1219 )
3 years ago
lazou
a5c60a9fe6
feat(notifications): add general notification delay ( #1246 )
3 years ago
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
782529ddbd
feat: improve session result logging ( #1123 )
...
- logs the session result as an info level message without notification instead of debug
- does not log that no notification was sent if there are no notifications enabled
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
d38e52b5c6
fix: merge artifacts and broken shoutrrr tests ( #929 )
...
* test: add missing container test suite
* fix broken tests
* fix: remove duplicate merge artifact
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
nils måsén
6f281b727a
feat: update shoutrrr to v0.4.4 ( #914 )
4 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
nils måsén
40ab6fd5ba
Fix notifications and old instance cleanup ( #748 )
...
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
Simon Aronsson
d7d5b25882
Prometheus support ( #450 )
...
Co-authored-by: nils måsén <nils@piksel.se>
Co-authored-by: MihailITPlace <ya.halo-halo@yandex.ru>
Co-authored-by: Sebastiaan Tammer <sebastiaantammer@gmail.com>
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
Simon Aronsson
a7a28ec984
fix fmt and vetting issues
4 years ago
Cédric Finance
fdecd40189
Make sure all shoutrrr notifications are sent ( #564 )
4 years ago
Possible Triangle
f76c48a95e
Add string functions for lowercase, uppercase and capitalize to shoutrrr templates ( #593 )
...
* Added string functions for lowercase, uppercase and capitalize to shoutrrr templates
* Update pkg/notifications/shoutrrr.go
Co-authored-by: nils måsén <nils@piksel.se>
* Update pkg/notifications/shoutrrr.go
Co-authored-by: nils måsén <nils@piksel.se>
* Update pkg/notifications/shoutrrr.go
Co-authored-by: nils måsén <nils@piksel.se>
* Update pkg/notifications/shoutrrr_test.go
Co-authored-by: nils måsén <nils@piksel.se>
* escape quotation marks in test
Co-authored-by: nils måsén <nils@piksel.se>
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
Sebastiaan Tammer
dccdf708a9
Adds the option to skip TLS verification for a Gotify instance ( #544 )
5 years ago
Arne Jørgensen
10fd81a2c1
feat: add template support for shoutrrr notifications ( #515 )
5 years ago
nils måsén
46f43764d2
fix(email): always use configured delay for notifications ( #536 )
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
480f4c8ccb
reuse router
5 years ago
Maximilian Brandau
5869bc52aa
Use CreateSender instead of calling Send multiple times
5 years ago
Maximilian Brandau
59ce378a35
Adjust flags
5 years ago
Maximilian Brandau
2b21bd46be
add shoutrrr.go
5 years ago
Maximilian Brandau
be2376a4e1
add shoutrrr
5 years ago
Paul Götzinger
ecc96d6ce0
return on error after http.Post to gotify instance
...
Should fix #454
5 years ago
Simon Aronsson
15a9281624
feat: add support for multiple email recipients
5 years ago
Simon Aronsson
ea596ea747
fix some var ref errors
5 years ago
Simon Aronsson
2a6e296838
Added Mail Subject Tag to email.go ( #389 )
...
* Update email.go
Added SubjectTag as variable
* Update email.go
* Update email.go
* Update email.go
* Update flags.go
* Update flags.go
5 years ago
Max H
fd2a006c6b
Update email.go
5 years ago
Gina Häußge
1954520447
Fix a small typo ( #384 )
5 years ago