Kim Alvefur <zash@zash.se> [Wed, 12 Apr 2023 11:43:32 +0200] rev 13078
mod_tokenauth: Fix parsing binary part of tokens
Fixes parsing of tokens that happen to have a `;` in their secret part,
otherwise it splits there and the later bit goes into the username and
hitting the "Invalid token in storage" condition.
Kim Alvefur <zash@zash.se> [Wed, 12 Apr 2023 10:21:32 +0200] rev 13077
mod_tokenauth: Only check if expiry of expiring tokens
Some tokens, e.g. OAuth2 refresh tokens, might not have their lifetime
explicitly bounded here, but rather be bounded by the lifetime of
something else, like the OAuth2 client.
Open question: Would it be better to enforce a lifetime on all tokens?
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 14:24:39 +0200] rev 13076
mod_admin_shell: Use same wildcard matching in other s2s command
Consistency is nice.
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 14:12:48 +0200] rev 13075
mod_admin_shell: Factor apart wildcard matching into function for reuse
Applying this for s2s:close[all]() would also be nice.
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 13:50:09 +0200] rev 13074
mod_csi: Remove module status, doesn't work because of mod_smacks
This was meant to warn in case you had only mod_csi without a logic
handling module like mod_csi_simple by checking if anything hooked this
event, however mod_smacks also hooks this event and so this isn't really
a useful way of detecting this condition.
Kim Alvefur <zash@zash.se> [Mon, 10 Apr 2023 11:50:27 +0200] rev 13073
mod_http: Fix reliance on previous tostring() format of util.set
a863e4237b91 unintentionally changed the format of HTTP CORS headers,
which were apparently relying on the output of tostring(), which it
shouldn't have.
Explicitly serializing it this time.
Kim Alvefur <zash@zash.se> [Sun, 09 Apr 2023 22:31:12 +0200] rev 13072
util.human.io: Fix column width miscalculation
Fixes that the more fixed width columns there are, the narrower the
resulting table becomes. A right-aligned variable-width column at the
last position should always be flush to the right side of the terminal.
Kim Alvefur <zash@zash.se> [Sun, 09 Apr 2023 01:34:08 +0200] rev 13071
util.human.io: Fix error with ellipsis to negative length
Can happen if you resize the terminal too narrow that the space left for
variable width columns end up negative.
Kim Alvefur <zash@zash.se> [Sat, 08 Apr 2023 12:56:13 +0200] rev 13070
tools/tb2err: Trim trailing whitespace
Kim Alvefur <zash@zash.se> [Sat, 08 Apr 2023 12:55:08 +0200] rev 13069
tools/tb2err: Rewrite prosody-modules paths to ../modules
This assumes you have community modules in ../modules as I do