Kim Alvefur <zash@zash.se> [Tue, 09 Mar 2021 14:36:46 +0100] rev 11436
util: Add Teal interface definition files
Enables writing code in Teal that is aware of the interfaces and
function prototypes in these other utils.
Could also be used to do type checks on Lua sources, but this tends to
have a lot of noise.
Kim Alvefur <zash@zash.se> [Tue, 16 Mar 2021 00:04:26 +0100] rev 11435
util.gc: Fix check for Lua 5.4
Kim Alvefur <zash@zash.se> [Mon, 15 Mar 2021 23:09:42 +0100] rev 11434
net.resolvers.basic: Fix completion condition when IPv6 is disabled
Fixes mistake introduced in 5a71f14ab77c that made it so this ready()
newer got called and thus it would be stuck waiting for it.
Looks like the kind of thing that could have been introduced by a merge
or rebase.
Thanks MattJ
Kim Alvefur <zash@zash.se> [Mon, 15 Mar 2021 19:04:08 +0100] rev 11433
mod_pubsub: Include <pubsub> with unsubscribe reply
XEP-0060 6.2.2
This is a MAY but it makes it nice and symmetric with the subscription
response. Reduces the need to remember which node you unsubscribed from.
Explicit > implicit etc.
Kim Alvefur <zash@zash.se> [Sat, 06 Mar 2021 18:26:50 +0100] rev 11432
util.rsm: Correctly coerce integer value for <index> (fix #1642)
Kim Alvefur <zash@zash.se> [Sat, 06 Mar 2021 18:22:52 +0100] rev 11431
util.rsm: Increase test coverage
Test all fields in both directions in order to catch #1642
Kim Alvefur <zash@zash.se> [Sat, 06 Mar 2021 15:24:45 +0100] rev 11430
util.rsm: Improve readability using compacter stanza building API
At least I think :text_tag improves readability.
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 15:05:21 +0100] rev 11429
mod_csi_simple: s/algoritm/algorithm/ [codespell]
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 15:04:45 +0100] rev 11428
core.storagemanager: s/Multilpe/Multiple/ [codespell]
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 13:02:37 +0100] rev 11427
util.prosodyctl.shell: Allow passing a single command as argument
Test procedure:
$ prosodyctl shell 'server:version()'
Expect:
> OK: hg:926d53af9a7a
$ prosodyctl shell 'server:version()' 'hello'
Expect:
> Only one command is supported as argument
$ prosodyctl shell 'lorem ipsum'; echo $?
Expect:
> Sorry, I couldn't understand that... console:1: syntax error near 'show'
> 1 (error code)
Thanks Menel for mentioning the feature