Kim Alvefur <zash@zash.se> [Sun, 14 May 2023 19:01:01 +0200] rev 13108
mod_admin_shell: Allow logging global events with debug:logevents("*")
Missing feature. It should behave like debug:events()
Kim Alvefur <zash@zash.se> [Sun, 14 May 2023 18:48:20 +0200] rev 13107
net.http.server: Remove "Firing event" logs, use event logging instead
Since these are noisy and we have the thing in util.helpers to log
events fired.
The new status line events are meant to replace these as they include
more useful info.
Kim Alvefur <zash@zash.se> [Sun, 14 May 2023 18:44:38 +0200] rev 13106
net.http.server: Log request and response status lines
Points out the beginning and end of a request.
Kim Alvefur <zash@zash.se> [Sun, 14 May 2023 18:44:11 +0200] rev 13105
net.http.server: Assign each request its own log source
Kim Alvefur <zash@zash.se> [Sun, 14 May 2023 18:38:22 +0200] rev 13104
net.http.server: Assign an ID to each request, shared with response
Goal is improve tracking of individual HTTP requests throughout its
life-cycle. Having a single ID to use in logging should help here.
Kim Alvefur <zash@zash.se> [Sun, 07 May 2023 20:34:07 +0200] rev 13103
mod_tokenauth: Support selection of _no_ role at all
If a grant does not have a role, we should not go and make one up.
While not very useful for XMPP if you can't even login, it may be useful
for OAuth2/OIDC.
Kim Alvefur <zash@zash.se> [Sun, 07 May 2023 20:33:03 +0200] rev 13102
mod_tokenauth: Return error instead of session for token without role
Such a session triggers errors in module:may or other places since it is
generally expected that a session must have a role.
Kim Alvefur <zash@zash.se> [Sun, 07 May 2023 13:13:42 +0200] rev 13101
mod_adhoc: Silence permission errors when listing commands
Since throwing a pile of 'access denied', even at debug level, seems
akin to calling wolf :)
Cutting down on debug noise is also good.
Passing a flag instead of using module:could seemed easier here.
Kim Alvefur <zash@zash.se> [Sun, 07 May 2023 12:52:31 +0200] rev 13100
mod_invites: Fix password reset invites
Caused by roles changing from table|nil to always table in c2616274bef7
Kim Alvefur <zash@zash.se> [Sun, 07 May 2023 12:27:55 +0200] rev 13099
core.sessionmanager: Delay closing a replaced connection after replacement
Closing the session invokes ondisconnect and session close logic,
including mod_smacks hibernation and the timer that destroys the session
after a timeout.
By closing the connection after it has been detached from the sessions
table it will no longer invoke the ondetach handler, which should
prevent the above problem.