Nicoco <nicoco@nicoco.fr> [Tue, 16 Aug 2022 13:10:39 +0200] rev 4998
mod_privilege: process entity IQs (credit to adx) and messages with a constructed entity session
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:45:28 +0200] rev 4997
mod_http_muc_log: Use stanza:find to save a few bytes
Why don't we have a stanza:get_child_attr(name, namespace, attrname) ?
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:41:45 +0200] rev 4996
mod_http_muc_log: Use XEP-0421 ID over nickname for XEP-0308
This prevents someone else from joining with the same nickname as
someone who left, and "correcting" their messages.
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:39:25 +0200] rev 4995
mod_http_muc_log: Use XEP-0359 ID if available
Clients apparently prefer this over message@id for reasons.
Only used internally to find items for message edits
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:34:27 +0200] rev 4994
mod_http_muc_log: Rename variable for improved clarity
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:27:59 +0200] rev 4993
mod_http_muc_log: Remove dead code
This might be something left over since a different variant where the
loop went like `for n = i-1, i-100, -1 do ... end` i.e. it went trough a
fixed number of items instead of all the page until the current message.
Then it would have needed something to stop going over the end, but
since the checks are simple it shouldn't be much of a problem looping
over even a very busy day.
Kim Alvefur <zash@zash.se> [Mon, 15 Aug 2022 15:26:14 +0200] rev 4992
mod_rest: Fill in 'type' field in error registry
The 'type' defaults to "modify" in util.error, which doesn't quite fit
many of these error conditions.
LuaFormatter changed ',' to ';'
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:15:11 +0200] rev 4991
mod_http_muc_log: Link to replied-to message using XEP-0461: Message Replies
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:14:43 +0200] rev 4990
mod_http_muc_log: Mention relevant XEPs in comments
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:13:58 +0200] rev 4989
mod_rest: Add JSON mapping for XEP-0461: Message Replies