Mon, 22 Nov 2021 14:49:05 +0100 mod_muc_mam: Switch to mod_cron for message expiry
Kim Alvefur <zash@zash.se> [Mon, 22 Nov 2021 14:49:05 +0100] rev 11993
mod_muc_mam: Switch to mod_cron for message expiry
Sun, 21 Nov 2021 18:16:03 +0100 mod_mam: Switch to new cron API
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 18:16:03 +0100] rev 11992
mod_mam: Switch to new cron API
Sun, 21 Nov 2021 18:13:21 +0100 core.moduleapi: Add API for adding daily or hourly tasks via mod_cron
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 18:13:21 +0100] rev 11991
core.moduleapi: Add API for adding daily or hourly tasks via mod_cron
Sun, 21 Nov 2021 15:50:36 +0100 mod_cron: Initial commit of periodic task runner
Kim Alvefur <zash@zash.se> [Sun, 21 Nov 2021 15:50:36 +0100] rev 11990
mod_cron: Initial commit of periodic task runner A number of modules now have periodic tasks that need to run, e.g. for cleaning out old messages or files. This has highlighted a need for coordinating and optimizing scheduling of such tasks.
Thu, 02 Dec 2021 14:28:52 +0100 mod_smacks: Remove obsolete comment
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 14:28:52 +0100] rev 11989
mod_smacks: Remove obsolete comment It dates back to the initial commit in prosody-modules 9a7671720dec
Thu, 02 Dec 2021 13:56:50 +0100 mod_smacks: Avoid duplicated queueing using flag on session instead of stanza
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 13:56:50 +0100] rev 11988
mod_smacks: Avoid duplicated queueing using flag on session instead of stanza Mutating the stanza like this is Really Bad Practice.
Thu, 02 Dec 2021 13:49:42 +0100 mod_smacks: Remove dead conditional
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 13:49:42 +0100] rev 11987
mod_smacks: Remove dead conditional `cached_stanza` can't be falsy because util.stanza.clone() would have thrown rather than return nil, or `._cached=true` would have.
Thu, 02 Dec 2021 03:03:44 +0100 mod_smacks: Ensure hibernating session is not connected
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 03:03:44 +0100] rev 11986
mod_smacks: Ensure hibernating session is not connected Turns out that if you destroy a session from inside prosody, it goes into hibernation but stays connected and continues processing stanzas.
Wed, 01 Dec 2021 23:18:18 +0100 mod_smacks: Reorder imports etc
Kim Alvefur <zash@zash.se> [Wed, 01 Dec 2021 23:18:18 +0100] rev 11985
mod_smacks: Reorder imports etc Mostly sorted by name of import (sort -k4) and grouped by kind
Wed, 01 Dec 2021 23:03:11 +0100 mod_smacks: Fix empty cache check
Kim Alvefur <zash@zash.se> [Wed, 01 Dec 2021 23:03:11 +0100] rev 11984
mod_smacks: Fix empty cache check In Lua, every value except `nil` and `false` are considered true in boolean expressions, even `0` as here, which means this was dead code.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip