Compare commits
No commits in common. "9e698560fd135945e939903a08a45fb1920756a8" and "0ac13808c549137b962c642b3ccb283cf68c4dba" have entirely different histories.
9e698560fd
...
0ac13808c5
|
@ -230,7 +230,7 @@ namespace _munin
|
||||||
"type": lib_plankton.args.enum_type.boolean,
|
"type": lib_plankton.args.enum_type.boolean,
|
||||||
"mode": lib_plankton.args.enum_mode.replace,
|
"mode": lib_plankton.args.enum_mode.replace,
|
||||||
"default": false,
|
"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",
|
"name": "dry-run",
|
||||||
}),
|
}),
|
||||||
"help": lib_plankton.args.class_argument.volatile({
|
"help": lib_plankton.args.class_argument.volatile({
|
||||||
|
|
|
@ -125,7 +125,6 @@ namespace _munin.sources.ical_feed
|
||||||
"title": vevent.summary,
|
"title": vevent.summary,
|
||||||
"begin": begin,
|
"begin": begin,
|
||||||
"end": end,
|
"end": end,
|
||||||
"description": (vevent.description ?? null),
|
|
||||||
"location": (vevent.location ?? null),
|
"location": (vevent.location ?? null),
|
||||||
"tags": vevent.categories,
|
"tags": vevent.categories,
|
||||||
};
|
};
|
||||||
|
|
|
@ -73,7 +73,7 @@ namespace _munin.targets.email
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
lib_plankton.string.coin(
|
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(),
|
"title_label": labels.title.toUpperCase(),
|
||||||
"macro_tags": (
|
"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,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace _munin.targets.telegram_bot
|
||||||
parameters.bot_token,
|
parameters.bot_token,
|
||||||
parameters.chat_id,
|
parameters.chat_id,
|
||||||
lib_plankton.string.coin(
|
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,
|
"head": labels.head,
|
||||||
"macro_tags": (
|
"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,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,6 @@ namespace _munin
|
||||||
title : string;
|
title : string;
|
||||||
begin : lib_plankton.pit.type_datetime,
|
begin : lib_plankton.pit.type_datetime,
|
||||||
end : (null | lib_plankton.pit.type_datetime),
|
end : (null | lib_plankton.pit.type_datetime),
|
||||||
description : (null | string);
|
|
||||||
location : (null | string);
|
location : (null | string);
|
||||||
tags : (null | Array<string>);
|
tags : (null | Array<string>);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue