Kim Alvefur <zash@zash.se> [Tue, 28 Mar 2023 20:45:11 +0200] rev 5287
mod_http_admin_api: Tweak token session to please module:may()
module:may() checks for type == "c2s", but mod_tokenauth does not
currently include that or most common session properties.
Fixes a traceback resulting from a different code path where
module:may() tries to index event.stanza, which does not exist for http
events.
Matthew Wild <mwild1@gmail.com> [Tue, 28 Mar 2023 12:43:05 +0100] rev 5286
mod_sasl2_fast: Invalidate tokens issued prior to last password change
Kim Alvefur <zash@zash.se> [Mon, 27 Mar 2023 23:19:09 +0200] rev 5285
mod_rest: Add an example bash script for using mod_rest
Also supports --login with mod_http_oauth2
Matthew Wild <mwild1@gmail.com> [Mon, 27 Mar 2023 18:51:12 +0100] rev 5284
mod_http_oauth2: Update to use new API of Prosody mod_tokenauth @ 601d9a375b86
Matthew Wild <mwild1@gmail.com> [Fri, 24 Mar 2023 14:29:07 +0000] rev 5283
mod_http_oauth2: Add support for refresh tokens
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 14:44:30 +0200] rev 5282
mod_http_oauth2: Declare additional client registration fields as strings
Previously any property not listed in the schema was allowed in any
form, which is probably a bit too liberal. Instead, limit extra fields
to simple strings, which should still allow localized versions of the
various URIs and descriptive properties per RFC 7591 ยง2.2
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 14:39:34 +0200] rev 5281
mod_http_oauth2: Stricten check of urlencoded form data
Because type(formdecode("string without equals sign")) == "string", so
best avoid continuing in that case, even if strings mostly behave as
tables as long as you don't hit one of the __index methods.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 14:37:42 +0200] rev 5280
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
Kim Alvefur <zash@zash.se> [Sat, 25 Mar 2023 20:18:05 +0100] rev 5279
mod_pubsub_feeds: Fix packaging of support library for installer
Kim Alvefur <zash@zash.se> [Fri, 17 Mar 2023 22:29:55 +0100] rev 5278
mod_muc_rtbl: Handle node purge
Prevents the module from going out of sync with the node in case this
event ever happens.