Matthew Wild <mwild1@gmail.com> [Wed, 22 Mar 2023 16:53:36 +0000] rev 12968
scansion: Add tests for pubsub#itemreply in PEP
Matthew Wild <mwild1@gmail.com> [Wed, 22 Mar 2023 16:48:51 +0000] rev 12967
scansion: PEP notifications no longer carry 'publisher' by default
Previous behaviour:
- publisher was always included in PEP notifications
- publisher was never included in get_items requests
New behaviour:
- publisher is included in both notifications and retrieval if
itemreply == publisher
- publisher is not ever included if itemreply ~= publisher
Matthew Wild <mwild1@gmail.com> [Wed, 22 Mar 2023 16:46:39 +0000] rev 12966
mod_pep: Pass node/service objects to broadcaster when resending last item
This gives the broadcaster access to the node configuration, which is now
important for itemreply. It probably also fixes a bug with the notify_*
node config options?
Matthew Wild <mwild1@gmail.com> [Wed, 22 Mar 2023 16:44:47 +0000] rev 12965
mod_pubsub/pubsub.lib: Fix accidental name/var swap (thanks scansion)
Matthew Wild <mwild1@gmail.com> [Wed, 22 Mar 2023 11:39:19 +0000] rev 12964
mod_pubsub, mod_pep: Support per-node configurable inclusion of publisher
This matches ejabberd's behaviour, using the 'pubsub#itemreply' config option.
Although the current definition of this option in the specification is not
as clear as it could be, I think matching what existing deployments do is the
best option to resolve the ambiguity and reduce fragmentation.
We should update the spec to be clearer about how to use and interpret this
option.
The 'expose_publisher' option for mod_pubsub is now an override (always expose
or never expose). If unset, it will use the per-node config (which defaults to
not exposing).
Thanks to Link Mauve, edhelas and goffi for sparking this feature.
Kim Alvefur <zash@zash.se> [Tue, 21 Mar 2023 20:43:42 +0100] rev 12963
mod_tokenauth: Fix traceback in get_token_session()
Errors in sha256 becasue `token_secret` is nil since it was not passed
to _get_validated_token_info().
Looks like a simple oversight in ebe3b2f96cad
Matthew Wild <mwild1@gmail.com> [Tue, 21 Mar 2023 18:59:19 +0000] rev 12962
CHANGES: Add keyval+
Matthew Wild <mwild1@gmail.com> [Tue, 21 Mar 2023 18:57:33 +0000] rev 12961
features: Add "keyval+"
Matthew Wild <mwild1@gmail.com> [Tue, 27 Sep 2022 17:46:27 +0100] rev 12960
storagemanager: Add keyval+ (combined keyval + map) store type
This combines the two most common store types, which modules often end up
opening with both interfaces separately anyway.
As well as combining them, I've taken the opportunity to improve some of the
method names to make them clearer.
Kim Alvefur <zash@zash.se> [Sat, 18 Mar 2023 18:20:03 +0100] rev 12959
core.features: Add feature for prosody.loader
Allows modules explicit dependencies upon its availability