Sun, 16 Jul 2023 21:02:24 +0200 core.moduleapi: Log error for unexpected types (booleans?) set as periods
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 21:02:24 +0200] rev 13211
core.moduleapi: Log error for unexpected types (booleans?) set as periods
Sun, 16 Jul 2023 21:01:31 +0200 core.moduleapi: Turn negative periods or "never" into infinity
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 21:01:31 +0200] rev 13210
core.moduleapi: Turn negative periods or "never" into infinity As a way to signal that the periodic thing should be disabled, matching existing mod_mam usage
Sun, 16 Jul 2023 20:59:27 +0200 core.moduleapi: Improve handling of different types in :get_option_period
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 20:59:27 +0200] rev 13209
core.moduleapi: Improve handling of different types in :get_option_period Pass positive numbers trough unharmed, parse strings as periods, discard anything else.
Sun, 16 Jul 2023 19:49:12 +0200 core.moduleapi: Add :get_option_period for parsing time intervals
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 19:49:12 +0200] rev 13208
core.moduleapi: Add :get_option_period for parsing time intervals E.g. for use in mod_mam and others that take an amount of time before some (usually cleanup) action is taken.
Tue, 05 Oct 2021 15:36:38 +0200 core.moduleapi: Allow specifying an acceptable range for number options
Kim Alvefur <zash@zash.se> [Tue, 05 Oct 2021 15:36:38 +0200] rev 13207
core.moduleapi: Allow specifying an acceptable range for number options
Sat, 16 Jan 2021 21:04:58 +0100 plugins: Use get_option_enum where appropriate
Kim Alvefur <zash@zash.se> [Sat, 16 Jan 2021 21:04:58 +0100] rev 13206
plugins: Use get_option_enum where appropriate
Sat, 16 Jan 2021 20:40:14 +0100 moduleapi: Add enum config option method
Kim Alvefur <zash@zash.se> [Sat, 16 Jan 2021 20:40:14 +0100] rev 13205
moduleapi: Add enum config option method For when a setting has a few fixed values it can take
Sun, 16 Jul 2023 20:29:06 +0200 tools: Fix file ending of mod2spec.sh (thanks buildbot)
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 20:29:06 +0200] rev 13204
tools: Fix file ending of mod2spec.sh (thanks buildbot) Accidentally .lua ?
Sun, 16 Jul 2023 19:27:18 +0200 util.human.io: Fix pattern in parse_duration() to cover all used letters
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 19:27:18 +0200] rev 13203
util.human.io: Fix pattern in parse_duration() to cover all used letters Notably 'h' was missing. Awkwardly, 'hour' would result in 'ho' which was missing from table.
Sun, 16 Jul 2023 19:26:05 +0200 util.human.io: Add tests for parse_duration() (some failing)
Kim Alvefur <zash@zash.se> [Sun, 16 Jul 2023 19:26:05 +0200] rev 13202
util.human.io: Add tests for parse_duration() (some failing)
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 tip