* fix list indents in notifications
* fix missing lang tag
* fix list indent and extra newlines
* further indentation experimentation
* fix remark lint-recommend warnings
* 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
* Allows options containing sensitive stuff (passwords, tokens) to be passed as a file instead
* Fixed linter error, added tests, removed notification-url (due to being an array)
The notification shows an example of how to get it working for gmail smtp servers, but it's missing the port parameter required to get the SMTP connection working.
Without this setting, you get a "connection refused" connecting to port 25.
Given the popularity of gmail, it would be nice to have this example more accurate.
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