Matthew Wild <mwild1@gmail.com> [Thu, 11 Aug 2022 17:49:33 +0100] rev 4987
mod_compat_roles: New module providing compat shim for trunk's new role API
The new role API is translated to is_admin() calls on older versions. On newer
versions (which have the role API) this module does nothing.
It allows modules to drop their use of is_admin() (which is not available in
trunk) and switch to the new role API, while remaining compatible with
previous Prosody versions.
Citronalco <geierb@geierb.de> [Tue, 02 Aug 2022 23:45:00 +0200] rev 4986
mod_muc_badge: If room has no title use localpart of room's jid (fixes #1767)
Without this patch Prosody shows an HTTP 500 error (Lua 5.1) or a "nil" label in the SVG badge (Lua 5.2) if room has no title set.
Kim Alvefur <zash@zash.se> [Wed, 03 Aug 2022 03:14:17 +0200] rev 4985
mod_s2s_smacks_timeout: Use mod_smacks to close stale s2s connections
arcseconds [Sat, 30 Jul 2022 21:07:47 +1200] rev 4984
replaced 'session' with 'origin' in push_disable
session is not defined in this function, trying to access it
leads to an error.
The correct reference seems to be 'origin'.
(This may have come about by copying from the similar
code in process_stanza_queue.)
Kim Alvefur <zash@zash.se> [Fri, 29 Jul 2022 17:53:56 +0200] rev 4983
mod_default_bookmarks: Fix support for array of string config in bookmarks 2 part (thanks Menel)
Kim Alvefur <zash@zash.se> [Mon, 25 Jul 2022 19:28:38 +0200] rev 4982
mod_default_bookmarks: Bail on empty 'default_bookmarks' to fix traceback
Ipairs fails on nil if the option is unset
Thanks more666p0wer for reporting
Kim Alvefur <zash@zash.se> [Thu, 21 Jul 2022 18:06:31 +0200] rev 4981
mod_log_http: Undo mistake in 456b9f608fcf
Where'd this "Add" come from?
Kim Alvefur <zash@zash.se> [Mon, 18 Jul 2022 22:47:54 +0200] rev 4980
various: Improve error reporting if missing file server module on 0.12
If there is some error loading net.http.files then it would be swallowed
by the pcall and then it would proceed to trying mod_http_files, which
might cause unexpected behavior on 0.12
Ref #1765
Kim Alvefur <zash@zash.se> [Mon, 18 Jul 2022 13:58:27 +0200] rev 4979
various: Use 0.12+ API for serving files from the file system over HTTP
Using mod_http_files this way is deprecated. Having the base behavior in
a separate module makes it easier to have a specialized module with
coherent behavior that does not do things when not explicitly enabled.
Kim Alvefur <zash@zash.se> [Mon, 11 Jul 2022 20:08:41 +0200] rev 4978
mod_log_json: Prefer native Lua table.pack over Prosody util.table one
Prosody is removing support for Lua 5.1, which was the reason for
util.table.pack to exist in the first place, since Lua 5.2+ provides
table.pack. In prosody rev 5eaf77114fdb everything was switched over to
use table.pack, opening the door for removing util.table.pack at some
point. This change here is to prepare for that future eventuality.