Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 11:52:35 +0100] rev 12201
core.certmanager: Use 'tls_profile' instead of 'tls_preset' to match documentation
Confusion!
Thanks Martin
Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 08:04:16 +0100] rev 12200
core.certmanager: Apply TLS preset before global settings (thanks Menel)
Allows overriding settings via the global 'ssl' settings as before.
This order was probably accidental. That said, 'ssl' is a giant footgun
we will want to discourage use of.
Matthew Wild <mwild1@gmail.com> [Mon, 17 Jan 2022 14:18:27 +0000] rev 12199
mod_storage_xep0227: Fix luacheck warning
Matthew Wild <mwild1@gmail.com> [Mon, 17 Jan 2022 14:12:45 +0000] rev 12198
mod_storage_xep0227: Fix traceback during iteration of driver stores
:include(other_set), :add(item)
Matthew Wild <mwild1@gmail.com> [Mon, 17 Jan 2022 14:11:45 +0000] rev 12197
mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
Kim Alvefur <zash@zash.se> [Sat, 15 Jan 2022 17:37:07 +0100] rev 12196
mod_http: Increase severity of loading unreachable http modules
This is either caused by an earlier failure to bind http/s ports, in
which case that should be corrected, or explicitly disbling the http/s
ports, in which case ... why enable http modules?
Suggested by jonas’
Kim Alvefur <zash@zash.se> [Sat, 27 Nov 2021 12:26:15 +0100] rev 12195
mod_http: Skip querying portmanager when http_external_url when is set
When http_external_url is set then the portmanager usage only really
serves as a check of whether any http service is enabled at all.
Should allow generating an URL from prosodyctl when http_external_url is
set.
Kim Alvefur <zash@zash.se> [Sat, 15 Jan 2022 16:25:25 +0100] rev 12194
util.jid: Explicitly check for nil rather than falsy
A boolean false should blow up.
Jonas Schäfer <jonas@wielicki.name> [Sat, 15 Jan 2022 15:40:29 +0100] rev 12193
mod_storage_xep0227: treat roster metadata pseudo-entry correctly
The roster version is stored in a pseudo-item which has the key `false`.
The if condition in the touched code attempts to guard against this, but
it does not take into account that the jid prepping returns nil instead
of false.
By moving the jid prepping into the if, we can check for the metadata
entry safely.
Jonas Schäfer <jonas@wielicki.name> [Sat, 15 Jan 2022 15:39:13 +0100] rev 12192
mod_storage_xep0227: be defensive against empty vCard
An empty vCard store may look like the empty table, which does not have
the `attr` key, which would then blow up in util.stanza.deserialize.