Commit Graph

6 Commits

Author SHA1 Message Date
486424e8d9
Add option for resolved template
This introduces a "msg_template_resolved" option, allowing a custom
template for resolved messages to be defined. If the option is not
set, the existing "msg_template" will apply as before.
This allows users to define different templates for firing and
resolved events.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-01-24 00:12:04 +01:00
Luca Bigliardi
f7034fa2c2 Handle alert messages with newlines
Do not send to IRC messages with newlines, split in multiple messages
instead (see issue #15 ).

Signed-off-by: Luca Bigliardi <shammash@google.com>
2021-11-26 12:16:45 +01:00
Luca Bigliardi
60b1c5eb64 Add Path/Query Escape functions
Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-11-10 11:01:49 +01:00
Luca Bigliardi
c07a4e5288 deduplicate format test code
Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-11-10 10:41:20 +01:00
Luca Bigliardi
acb31ccd03 add strings functions test
Signed-off-by: Luca Bigliardi <shammash@google.com>
2020-11-05 09:48:02 +01:00
Filippo Giunchedi
767cb9fb8e Refactor message formatting functionality 2020-10-28 17:54:20 +01:00