Software /
code /
prosody
Comparison
CHANGES @ 13211:4d4f9e42bcf8
moduleapi: Add :get_option_integer()
Many options in Prosody that are treated as numbers don't make sense as
floats, e.g. sizes and limits measured in bytes.
Simplified implementation based on an earlier attempt dating back to 2020
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 17 Jul 2023 00:09:41 +0200 |
parent | 13204:c9ef35fab0b1 |
child | 13259:9097149923ae |
comparison
equal
deleted
inserted
replaced
13210:8dbe693ded6b | 13211:4d4f9e42bcf8 |
---|---|
41 ### Module API | 41 ### Module API |
42 | 42 |
43 - Config interface API can require that string values be picked from a provided set | 43 - Config interface API can require that string values be picked from a provided set |
44 - Acceptable interval can be specified for number options | 44 - Acceptable interval can be specified for number options |
45 - Method for parsing time periods / intervals from config | 45 - Method for parsing time periods / intervals from config |
46 - Method for retrieving integer settings from config | |
46 | 47 |
47 ## Changes | 48 ## Changes |
48 | 49 |
49 - Support sub-second precision timestamps | 50 - Support sub-second precision timestamps |
50 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy | 51 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy |