Kim Alvefur <zash@zash.se> [Thu, 19 Jan 2023 21:38:14 +0100] rev 12881
core.sessionmanager: Skip log when (not) destroying destroyed sessions
On regular disconnects, </stream> is sent, then
sessionmanager.destroy_session() is called, then
sessionmanager.destroy_session() is called again when the TCP connection
is closed, from ondisconnect in mod_c2s.
It is a bit annoying and doesn't really tell you much.
Kim Alvefur <zash@zash.se> [Tue, 31 Jan 2023 16:27:55 +0100] rev 12880
util.crypto: Preemptively silence 'strict-prototypes' warning
With `gcc-12 -Wstrict-prototypes` the following warning is shown:
crypto.c:43:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
43 | static BIO* new_memory_BIO() {
| ^~~~~~~~~~~~~~
Kim Alvefur <zash@zash.se> [Tue, 31 Jan 2023 07:52:33 +0100] rev 12879
mod_storage_sql: Remove module status on unknown 'debug' level
Expected this to be translated to 'core', but it logs an error instead.
See previous commit.
Kim Alvefur <zash@zash.se> [Tue, 31 Jan 2023 07:48:21 +0100] rev 12878
core.moduleapi: Fix passing variable to logging
Kim Alvefur <zash@zash.se> [Mon, 30 Jan 2023 00:40:47 +0100] rev 12877
mod_storage_sql: Silence luacheck warning
Kim Alvefur <zash@zash.se> [Mon, 30 Jan 2023 00:38:26 +0100] rev 12876
mod_storage_sql: Record connection to database as module status
Allows retrieving this in e.g. a health reporting module
Thanks pfak
Kim Alvefur <zash@zash.se> [Mon, 30 Jan 2023 00:14:50 +0100] rev 12875
mod_admin_shell: Match substring in muc:affiliations() like muc:occupants()
Maybe one day we'll get consistent filtering semantics everywhere.
Kim Alvefur <zash@zash.se> [Sun, 29 Jan 2023 21:37:13 +0100] rev 12874
mod_admin_shell: Sort MUC users by relation and JID
Suggested by MattJ, our resident UI expert :)
Kim Alvefur <zash@zash.se> [Sun, 29 Jan 2023 18:57:28 +0100] rev 12873
mod_admin_shell: Make Role and Affiliation columns the same width for aesthetics
The length of the title "Affiliation" made them both close enough that
it looked off.
Kim Alvefur <zash@zash.se> [Sun, 29 Jan 2023 18:31:25 +0100] rev 12872
mod_admin_shell: Use tables to present MUC users
Tables are awesome!