Kim Alvefur <zash@zash.se> [Mon, 05 Apr 2021 17:16:18 +0200] rev 11506
mod_http_file_share: Include time of issuance in auth token
In case an external upload service wants to have the original creation
time, or calculate the token expiry itself.
Kim Alvefur <zash@zash.se> [Mon, 05 Apr 2021 17:15:12 +0200] rev 11505
mod_http_file_share: Group related properties for readability
Kim Alvefur <zash@zash.se> [Mon, 05 Apr 2021 16:24:39 +0200] rev 11504
mod_http_file_share: Log error opening file for writing
util.error.coerce() doesn't work well with iolib
Kim Alvefur <zash@zash.se> [Mon, 05 Apr 2021 16:23:59 +0200] rev 11503
mod_http_file_share: Fix logging of error opening file
It's annoying that Lua interpolates the filename into the error message.
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.