Commit Graph

95 Commits

Author SHA1 Message Date
CrazyMax
17f72c7bb9 Fix Telegram notification error (#162) 2020-08-28 23:43:24 +02:00
CrazyMax
a82cef7065 Set gomail.Dialer LocalName 2020-08-28 23:25:32 +02:00
CrazyMax
b0f4f42213 Allow to set the hostname sent to the SMTP server with the HELO command for mail notification (#165) 2020-08-28 22:01:46 +02:00
CrazyMax
0b0018743f Fix tests 2020-08-20 01:11:15 +02:00
CrazyMax
0d8ad64ce7 Allow to use --test-notif without providers and DB connection (#157 #150) 2020-08-20 00:52:54 +02:00
CrazyMax
267e92aa79 Fix test 2020-08-08 12:40:51 +02:00
CrazyMax
6dc9b58de9 Allow to customize message type for Matrix notifications (#143) 2020-08-08 12:17:45 +02:00
CrazyMax
bc90723409 Hostname not taken into account for Matrix notifications 2020-07-30 09:28:22 +02:00
CrazyMax
b9c35e369f Add Matrix notification (#136)
* Add Matrix notification (#124)
* Fix docs

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-07-29 19:29:13 +00:00
CrazyMax
1c114fe60e Enhanced config validation 2020-07-16 22:34:44 +02:00
CrazyMax
e5862e4efb Seek configuration file from default places 2020-07-16 22:27:12 +02:00
CrazyMax
484e7dbc7f Switch to gonfig 2020-07-16 22:16:55 +02:00
CrazyMax
44fb866c75 Enhanced Dockerfile 2020-07-10 20:46:44 +02:00
CrazyMax
6f845208d6 Small typo 2020-06-26 19:05:13 +02:00
CrazyMax
d06ec05c1c Discord notif (#111)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-26 16:06:47 +00:00
CrazyMax
473275ed49 Logging when configuration file or DIUN_ env vars not found (#107) 2020-06-23 01:42:03 +02:00
CrazyMax
5033adefd7 Display hostname in notifications (#102) 2020-06-22 03:02:29 +02:00
CrazyMax
c0e3f7e85f Automatically determine registry options based on image name (#103)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-22 00:19:59 +00:00
CrazyMax
f521384ee1 Skip dangling images (#98) 2020-06-20 03:48:38 +02:00
CrazyMax
9146b78111 More explicit massage if manifest not found (#94) 2020-06-20 02:50:18 +02:00
CrazyMax
db2bce3bb3 Docs website with mkdocs (#100)
* Fix build workflow

* Docs website with mkdocs (#99)

* Fix docs workflow

* Move mkdocs Docker file

* Ignore docs in build workflow

* Update workflows

* Update links

* Move upgrade notes to documentation

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-19 22:47:17 +00:00
CrazyMax
dc5949819b Allow to define namespaces for Kubernetes
Use annotations instead of labels for Kubernetes
Add Kubernetes provider doc
2020-06-17 01:03:09 +00:00
CrazyMax
570775464b Remove unused 2020-06-17 01:03:09 +00:00
CrazyMax
603f5a535a Kubernetes provider 2020-06-17 01:03:09 +00:00
CrazyMax
896d4827b4 Add hub link to notifiers
Send message as markdown for Gotify and Telegram notifiers
2020-06-09 01:06:27 +00:00
CrazyMax
6e8b0450ff Add link to respective hub (#40) 2020-06-09 01:06:27 +00:00
CrazyMax
8c03c235cc Use go module instead of local folder 2020-06-08 00:45:53 +02:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
349917e7e4 Configuration transposed into environment variables (#82)
Configuration file not required anymore
DIUN_DB env var renamed DIUN_DB_PATH
Only accept duration as timeout value (10 becomes 10s)
Add getting started doc
Enhanced documentation
Add note about test notifications (#79)
Improve configuration management
Fix telegram init
All fields in configuration now camelCased
Improve configuration validation
Update doc
Update FAQ

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-07 19:58:49 +00:00
CrazyMax
614ffd16e1 Revert "Add TEST_NOTIF variable (#79)"
This reverts commit 78212e1cd1.
2020-05-29 20:18:45 +02:00
Uli Fahrer
78212e1cd1 Add TEST_NOTIF variable (#79)
Co-authored-by: Uli <github@uli-fahrer.de>
2020-05-29 14:42:40 +00:00
CrazyMax
143a06b3eb Set ants logger 2020-05-27 23:08:39 +02:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
4a4a4c1644 Add script notification (#75)
* Add script notification (#53)

* Fix SysProcAttr

* Fix build constraint

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-26 22:37:20 +02:00
Marcelo Castagna
a726851a29 Teams Notification (#72)
Co-authored-by: Okan Celik <okan.celik@mailbox.org>
2020-05-26 16:40:29 +02:00
CrazyMax
42784e6ffe Add test notification flag (#23) (#73)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-26 04:55:23 +02:00
CrazyMax
3577624682 Fix test 2020-05-26 01:14:30 +02:00
CrazyMax
af23c5898c Remove "enable" setting for notifiers 2020-05-26 01:13:06 +02:00
CrazyMax
5930a2a1fb Logging when no image is found 2020-05-25 23:27:30 +02:00
CrazyMax
a6a231ac06 Remove support of multi Docker and Swarm providers 2020-05-25 23:20:30 +02:00
Marcelo Castagna
a10464ebd4 Add Amqp notification client (#63) 2020-05-25 17:27:12 +02:00
CrazyMax
6c18c75b07 Default log level info 2020-05-25 16:02:44 +02:00
CrazyMax
5ca0230562 Move static to file provider (#71) 2020-05-25 14:08:12 +02:00
CrazyMax
ab56764464 Switch to kong command-line parser (#66)
* Update workflows

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-08 19:30:56 +02:00
CrazyMax
9c797f1616 Review of platform detection (#56)
* Leave default image platform empty for static provider (see FAQ doc)
* Handle platform variant
* Add database migration process
* Switch to Open Container Specification labels as label-schema.org ones are deprecated
* Remove unneeded `diun.os` and `diun.arch` docker labels

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-03-31 23:27:10 +02:00
CrazyMax
dc7ca7e59b Fix service image inspection (#52) 2020-03-26 02:11:05 +01:00
CrazyMax
08cd3d90b8 Add Rocket.Chat notifier (#44) 2020-03-01 17:09:22 +01:00
CrazyMax
0710c4cef9 Review user-agent string for some notifications 2020-02-17 22:53:15 +01:00
CrazyMax
f8d88e3893 Add Gotify notification client (#36)
Co-authored-by: Paul Götzinger <paul70079@gmail.com>
2020-02-17 22:39:43 +01:00
Dan Nixon
af36d86d82 Add Telegram as a notification destination (#30)
Allows notifications to be sent via a Telegram bot to a set of pre
defined chat IDs.

Messages are simple plain text with the bare minimum information.
2020-01-28 20:28:57 +01:00