Kim Alvefur <zash@zash.se> [Tue, 16 Nov 2021 16:06:41 +0100] rev 11921
mod_admin_shell: Return counts of shown vs total from new table views
Not exactly the way it was before, but close enough and useful.
Kim Alvefur <zash@zash.se> [Tue, 16 Nov 2021 16:03:23 +0100] rev 11920
mod_csi_simple: Detach cleanly from sessions if unloaded while flushing
Since it changes the state to "flushing" while doing just that.
Attempting to remove the filters from a session that does not have them
should be a safe noop.
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 15:00:02 +0000] rev 11919
MUC: Actually set the new affiliation data if it was previously empty
Kim Alvefur <zash@zash.se> [Tue, 16 Nov 2021 13:53:30 +0100] rev 11918
mod_csi_simple: Only act in inactive mode to prevent infinite recursion
Definitely should not be firing an event that triggers like csi-flushing
from which it may make sense to send things, which leads right back here
Kim Alvefur <zash@zash.se> [Tue, 16 Nov 2021 13:37:18 +0100] rev 11917
mod_csi_simple: Unlock writes after event, to allow things to be queued
E.g. mod_smacks could queue an <r>, which would be more likely to be
included in the same write and TCP segment as the previously buffered
data, reducing syscalls and network packets needing to be sent.
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 12:57:23 +0000] rev 11916
MUC: Include old affiliation data in affiliation change event
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 12:57:04 +0000] rev 11915
MUC: Add room:set_affiliation_data()
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 12:02:54 +0000] rev 11914
MUC: Set .previous_affiliation = "none" if nil, for consistency with .affiliation
It appears nothing currently uses this field in prosody or prosody-modules
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 11:54:32 +0000] rev 11913
MUC: Fix incorrect variable name (thanks luacheck)
Matthew Wild <mwild1@gmail.com> [Tue, 16 Nov 2021 11:52:36 +0000] rev 11912
MUC: Switch to event.allowed signaling to block event, matching muc-pre-set-role
...and fixing the logic bug that broke everything in the previous commit.