Kim Alvefur <zash@zash.se> [Wed, 26 Jan 2022 13:24:23 +0100] rev 12220
util.prosodyctl.cert: Look for certificates in a consistent order
Shortest first, then alphabetically, so that it prefers the base domain
over subdomains.
Fixes that it might otherwise pick a random sub-domain for filename on
each run, cluttering the certs directory and potentially tricking
Prosody into using an older certificate that might be about to expire.
Kim Alvefur <zash@zash.se> [Mon, 24 Jan 2022 23:06:45 +0100] rev 12219
mod_pubsub: Allow configuring summary templates
Enables generation of summaries for more than Atom without additional
modules.
Kim Alvefur <zash@zash.se> [Mon, 24 Jan 2022 23:04:38 +0100] rev 12218
mod_pubsub: Use the util.xtemplate to render Atom summary
Kim Alvefur <zash@zash.se> [Mon, 24 Jan 2022 23:54:32 +0100] rev 12217
util.xtemplate: Yet another string template library
This one takes a stanza as input
Roughly based on util.interpolation
Kim Alvefur <zash@zash.se> [Mon, 24 Jan 2022 23:05:26 +0100] rev 12216
mod_pubsub: Use the 'pubsub#type' setting to pick summary generator
Allows using different ones even if multiple semantically different
formats share the same root element xmlns, e.g. generic Atom and
XEP-0277 entries.
Kim Alvefur <zash@zash.se> [Tue, 25 Jan 2022 13:20:26 +0100] rev 12215
mod_tls: Set ALPN on outgoing connections
Relevant and sometimes needed for Direct TLS which mod_s2s uses this
context for. Primarily when e.g. mod_net_multiplex or equivalent ALPN
based dispatch is used.
All these contexts should likely move away from mod_tls and into either
mod_s2s or portmanager. The later already duplicates some of this work.
Matthew Wild <mwild1@gmail.com> [Mon, 24 Jan 2022 13:58:04 +0000] rev 12214
Added tag 0.11.13 for changeset ebeb4d959fb3
Kim Alvefur <zash@zash.se> [Sun, 23 Jan 2022 20:06:50 +0100] rev 12213
mod_admin_shell: Add command to show current user roles
Kim Alvefur <zash@zash.se> [Sun, 23 Jan 2022 19:55:32 +0100] rev 12212
mod_admin_shell: Add help section about roles
As in the argument to user:create() and user:roles()
Tricky to come up with something sensible to write when Prosody core
only knows of the 'prosody:admin' role so far.
Kim Alvefur <zash@zash.se> [Fri, 21 Jan 2022 18:42:38 +0100] rev 12211
mod_s2s: Retrieve TLS context for outgoing Direct TLS connections from mod_tls
So that the same TLS context is used for both Direct TLS and starttls,
since they are supposed to be functionally identical apart from the few
extra round trips.
A new event is added because the 's2s-created' event fires much later,
after a connection has already been established, where we need the TLS
context before that.