Kim Alvefur <zash@zash.se> [Fri, 30 Jun 2023 15:02:26 +0200] rev 13175
util.jsonpointer: Silence Teal warning
It seems to think 'table' never has array items, but we don't know that.
Matthew Wild <mwild1@gmail.com> [Thu, 29 Jun 2023 15:36:13 +0100] rev 13174
core, plugins: Split prosody:user role into prosody:{guest,registered,member}
This gives us more granular control over different types of user account.
Accounts registered by IBR get assigned prosody:registered by default, while
accounts provisioned by an admin (e.g. via prosodyctl shell) will receive
prosody:member by default.
Matthew Wild <mwild1@gmail.com> [Thu, 29 Jun 2023 15:31:46 +0100] rev 13173
usermanager: Add create_user_with_role() method to atomically set initial role
Kim Alvefur <zash@zash.se> [Wed, 28 Jun 2023 17:17:20 +0200] rev 13172
mod_http_file_share: Set slot token TTL so util.jwt validates expiry
Overrides the util.jwt default of 1h with the intended TTL of 10
minutes. Because util.jwt now has its own expiry checks, so the 'expiry'
field is no longer used and can thus be removed.
Kim Alvefur <zash@zash.se> [Sun, 25 Jun 2023 17:34:13 +0200] rev 13171
prosodyctl: Add experimental way to reload specific modules directly
Mostly thinking out loud about how various actions may use the shell
This enables the following sequence of commands:
prosodyctl install mod_example
prosodyctl reload mod_example
which is simpler than
prosodyctl shell module reload example
Kim Alvefur <zash@zash.se> [Sat, 20 May 2023 20:44:20 +0200] rev 13170
net.server: Handle loading from outside Prosody (e.g. Verse)
server_select only depending on LuaSocket generally makes it more
portable, so fall back to that if util.poll can't be found.
Kim Alvefur <zash@zash.se> [Sun, 18 Jun 2023 16:48:56 +0200] rev 13169
renamening: Fix newly added imports to use the new namespace
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 17:19:40 +0200] rev 13168
util.jsonschema: Remove wrapper function
This was to silence some Teal warning that seems to have gone away.
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 17:17:44 +0200] rev 13167
util.jsonschema: Silence Teal warnings about utf8 library
Teal worries that we redefine the global.
Also that the fallback was missing type information.
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 17:12:54 +0200] rev 13166
util.jsonschema: Silence Teal warnings about counting items in tables
Teal thinks that these are key-value maps which are always of length
zero, but that is not the case.