Kim Alvefur <zash@zash.se> [Thu, 25 Mar 2021 13:18:23 +0100] rev 11502
MUC: Allow overriding occupant object from groupchat message event
Use case: Enable module that provides a virtual occupant object for bots
Before, if there is no occupant then either some other part of MUC would
reject the message or `occupant.nick` would have caused an error.
Kim Alvefur <zash@zash.se> [Thu, 01 Apr 2021 12:30:55 +0200] rev 11501
net.server_epoll: Remove unnecessary luacheck annotations
Not sure why these were here to begin with, since it does use the 'self'
argument and did so since they were added.
Kim Alvefur <zash@zash.se> [Wed, 31 Mar 2021 09:43:05 +0200] rev 11500
mod_http_file_share: Include storage in prune time measurement
Maybe the original idea was that you would measure storage separately?
Kim Alvefur <zash@zash.se> [Sun, 28 Mar 2021 15:57:15 +0200] rev 11499
mod_http_file_share: Add internal command to check files consistency
Background: Found a few files in my store that did not match the size
recorded in the slot, so I needed a way to check which which those were.
As it was a bit too much to type into the shell I added it here instead.
Kim Alvefur <zash@zash.se> [Sun, 28 Mar 2021 14:00:21 +0200] rev 11498
util.datamapper: Fix spelling in tests
Kim Alvefur <zash@zash.se> [Sun, 28 Mar 2021 13:51:06 +0200] rev 11497
mod_http_file_share: Fix reporting of missing files
This just gave an unhelpful 500 error.
It would be nice to have some wrapper code that could untangle the
embedded filename in the io libs errors.
Kim Alvefur <zash@zash.se> [Sun, 28 Mar 2021 13:22:35 +0200] rev 11496
MUC: Report number of live rooms to statsmanager
Should help inform on whether the cache size should be increased.
Kim Alvefur <zash@zash.se> [Sun, 28 Mar 2021 13:15:11 +0200] rev 11495
mod_http_file_share: Report number of items in caches to statsmanager
This is neat, O(1) reporting, why don't we do this everywhere?
Gives you an idea of how much stuff is in the caches, which may help
inform decisions on whether the size is appropriate.
Kim Alvefur <zash@zash.se> [Tue, 16 Mar 2021 02:44:22 +0100] rev 11494
util.prosodyctl: Install plugins for current Lua version
Fixes that luarocks defaults to installing the rock for its own runtime
version of Lua.
This only works with luarocks 3.x, it does nothing on 2.x as currently
available from Debian.
Kim Alvefur <zash@zash.se> [Fri, 26 Mar 2021 13:03:22 +0100] rev 11493
util.envload: Add basic test of envload()