1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00
Commit Graph

34 Commits

Author SHA1 Message Date
nils måsén
40ab6fd5ba
Fix notifications and old instance cleanup (#748)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2021-01-10 11:12:54 +01:00
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>
2021-01-06 22:28:32 +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
Simon Aronsson
a7a28ec984
fix fmt and vetting issues 2020-10-03 22:25:17 +02:00
Cédric Finance
fdecd40189
Make sure all shoutrrr notifications are sent (#564) 2020-08-08 22:55:51 +02:00
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>
2020-07-21 13:27: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
Sebastiaan Tammer
dccdf708a9
Adds the option to skip TLS verification for a Gotify instance (#544) 2020-05-22 16:02:20 +02:00
Arne Jørgensen
10fd81a2c1
feat: add template support for shoutrrr notifications (#515) 2020-05-11 06:38:41 +02:00
nils måsén
46f43764d2
fix(email): always use configured delay for notifications (#536) 2020-05-09 19:34:18 +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
480f4c8ccb
reuse router 2020-03-23 14:42:17 +01:00
Maximilian Brandau
5869bc52aa
Use CreateSender instead of calling Send multiple times 2020-03-23 14:27:09 +01:00
Maximilian Brandau
59ce378a35
Adjust flags 2020-03-23 13:53:30 +01:00
Maximilian Brandau
2b21bd46be
add shoutrrr.go 2020-03-23 13:52:04 +01:00
Maximilian Brandau
be2376a4e1
add shoutrrr 2020-03-23 11:40:55 +01:00
Paul Götzinger
ecc96d6ce0
return on error after http.Post to gotify instance
Should fix #454
2020-02-25 15:55:12 +01:00
Simon Aronsson
15a9281624 feat: add support for multiple email recipients 2020-01-10 22:30:52 +01:00
Simon Aronsson
ea596ea747 fix some var ref errors 2019-11-17 11:19:57 +01:00
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
2019-11-17 11:10:07 +01:00
Max H
fd2a006c6b
Update email.go 2019-10-15 16:41:40 +02:00
Gina Häußge
1954520447 Fix a small typo (#384) 2019-10-12 11:56:19 +02:00
Max H
505a5ec715
Update email.go 2019-10-09 09:25:24 +02:00
Max H
220dc5add4
Update email.go 2019-10-09 09:20:07 +02:00
Max H
5246d1a20e
Update email.go
Added SubjectTag as variable
2019-10-09 09:18:39 +02:00
Simon Aronsson
ce6ba0801f feature: add optional email delay
resolves #256
2019-08-25 13:14:02 +02:00
Simon Aronsson
874180a518 fix: resolve merge issues 2019-07-23 09:36:04 +02: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