Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 14:54:17 +0200] rev 13243
util.sqlite3: Clean up unused variables
Many leftovers from the earlier version of util.sql this was based on
and cleanup applied there since then.
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 14:02:01 +0200] rev 13242
util.datamanager: Always reset index after list shift
Shifting the index does not work reliably yet, better to rebuild it from
scratch. Since there is minimal parsing involved in that, it should be
more efficient anyway.
Kim Alvefur <zash@zash.se> [Sat, 22 Jul 2023 12:08:01 +0200] rev 13241
core.moduleapi: Parse period min/max arguments
Allows specifying them the same way as the default and in the config,
for consistency
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 18:30:06 +0200] rev 13240
util.datamanager: Add way to close indexed list store
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 18:28:54 +0200] rev 13239
util.datamanager: Close file handle when done using it
It gets closed eventually but at high load they could potentially
lead to reaching FD limits faster.
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 18:28:16 +0200] rev 13238
util.datamanager: Disable blockwise removal
In desperate need of tests
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 22:49:01 +0200] rev 13237
mod_muc: Use enum config API for 'restrict_room_creation'
This communicates the accepted values in case the config diverges from
them. Note that older documentation used an "admin" value behaving like
an alias to true, but this is no longer handled. Should it?
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 22:48:54 +0200] rev 13236
plugins: Use get_option_array for some list shaped options
Passing something from module:get_option() to ipairs() suggests that the
option is a list of some sort.
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 18:03:22 +0200] rev 13235
util.datamanager: Disable block alignment
Until we have more test coverage. Somehow the index becomes incorrect
after inserting padding, unclear why.
Kim Alvefur <zash@zash.se> [Fri, 21 Jul 2023 17:23:00 +0200] rev 13234
plugins: Handle how get_option_period returns "never"