Compare commits

..

No commits in common. "9e698560fd135945e939903a08a45fb1920756a8" and "0ac13808c549137b962c642b3ccb283cf68c4dba" have entirely different histories.

5 changed files with 3 additions and 29 deletions

View file

@ -230,7 +230,7 @@ namespace _munin
"type": lib_plankton.args.enum_type.boolean,
"mode": lib_plankton.args.enum_mode.replace,
"default": false,
"info": "whether to skip the sending of reminders (logs will be written)",
"info": "whether to not skip the sending of reminders (logs will be written)",
"name": "dry-run",
}),
"help": lib_plankton.args.class_argument.volatile({

View file

@ -125,7 +125,6 @@ namespace _munin.sources.ical_feed
"title": vevent.summary,
"begin": begin,
"end": end,
"description": (vevent.description ?? null),
"location": (vevent.location ?? null),
"tags": vevent.categories,
};

View file

@ -73,7 +73,7 @@ namespace _munin.targets.email
}
),
lib_plankton.string.coin(
"{{title_label}} | {{macro_tags}}{{title_value}}\n{{time_label}} | {{time_value}}{{macro_location}}{{macro_description}}",
"{{title_label}} | {{macro_tags}}{{title_value}}\n{{time_label}} | {{time_value}}{{macro_location}}",
{
"title_label": labels.title.toUpperCase(),
"macro_tags": (
@ -105,18 +105,6 @@ namespace _munin.targets.email
}
)
),
"macro_description": (
(event.description === null)
?
""
:
lib_plankton.string.coin(
"\n\n{{description_value}}",
{
"description_value": event.description,
}
)
),
}
)
);

View file

@ -43,7 +43,7 @@ namespace _munin.targets.telegram_bot
parameters.bot_token,
parameters.chat_id,
lib_plankton.string.coin(
"*{{head}}*\n\n\{{title_label}} | {{macro_tags}}{{title_value}}\n{{time_label}} | {{time_value}}{{macro_location}}{{macro_description}}",
"*{{head}}*\n\n\{{title_label}} | {{macro_tags}}{{title_value}}\n{{time_label}} | {{time_value}}{{macro_location}}",
{
"head": labels.head,
"macro_tags": (
@ -76,18 +76,6 @@ namespace _munin.targets.telegram_bot
}
)
),
"macro_description": (
(event.description === null)
?
""
:
lib_plankton.string.coin(
"\n\n{{description_value}}",
{
"description_value": event.description,
}
)
),
}
),
{

View file

@ -37,7 +37,6 @@ namespace _munin
title : string;
begin : lib_plankton.pit.type_datetime,
end : (null | lib_plankton.pit.type_datetime),
description : (null | string);
location : (null | string);
tags : (null | Array<string>);
};