Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 21:27:49 +0100] rev 11942
mod_smacks: Optimize scheduling of ack requests
Taking advantage of the new callbacks added in dcf38ac6a38c and
9c450185bac1 avoids extra timers, extra syscalls and sending the `<r>`
in its own TCP segment, improving efficiency.
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 21:27:49 +0100] rev 11941
mod_smacks: Refactor ack requesting to avoid some timer roundtrips
The function was too large to comprehend! Breaking it up helps
readability and reuse.
The timer round rip is only to avoid ordering weirdness when sending
from inside a stanza filter. No need when handling <r> and <a>
CSI interactions both boiled down to sending an <r> immediately.
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 21:27:45 +0100] rev 11940
mod_smacks: Fix timer lifetimes to follow session instead of module
module:add_timer() creates a timer that stops working after the module
is reloaded or unloaded, in order to prevent leaks. However, when the
timers control vital session behavior, breakage occurs after reload.
E.g. sessions would stop requesting acks and stop responding to acks.
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 21:27:49 +0100] rev 11939
mod_smacks: Clean up compat code etc
Unstoppable stoppable timer compat not needed since 26f54b462601 ca 0.11.0
module:hook_stanza was renamed in 2012
No idea what was going on with the indentation and such
Kim Alvefur <zash@zash.se> [Tue, 16 Nov 2021 21:15:22 +0100] rev 11938
mod_smacks: Import from prosody-modules @ eb63890ae8fc
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 13:43:13 +0100] rev 11937
mod_external_services: Warn about missing recommended fields
These are RECOMMENDED in XEP-0215 so most likely a mistake if they are
left out.
Of the two REQUIRED fields, 'host' falls back to module.host and 'type'
rejects the whole item.
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 20:12:22 +0100] rev 11936
mod_admin_shell: Factor out simple function in module:info for reuse
Marginal improvement in readability
Kim Alvefur <zash@zash.se> [Wed, 24 Nov 2021 20:03:38 +0100] rev 11935
mod_admin_shell: List collected metrics in module:info
Lets you know what to look for with stats:show()
Kim Alvefur <zash@zash.se> [Tue, 23 Nov 2021 17:59:40 +0100] rev 11934
mod_admin_shell: List net providers in module:info
Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2021 16:03:05 +0000] rev 11933
mod_http_openmetrics: Imported from prosody-modules mod_prometheus @df2246b15075
This version has several changes from the earlier mod_prometheus:
- Conversion of metrics into the text-based OpenMetrics format is moved to
util.openmetrics
- Support for IP-based access control
- Compatibility with earlier Prosody versions removed