Thu, 29 Jun 2023 15:31:46 +0100 usermanager: Add create_user_with_role() method to atomically set initial role
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
Wed, 28 Jun 2023 17:17:20 +0200 mod_http_file_share: Set slot token TTL so util.jwt validates expiry
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.
Sun, 25 Jun 2023 17:34:13 +0200 prosodyctl: Add experimental way to reload specific modules directly
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
Sat, 20 May 2023 20:44:20 +0200 net.server: Handle loading from outside Prosody (e.g. Verse)
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.
Sun, 18 Jun 2023 16:48:56 +0200 renamening: Fix newly added imports to use the new namespace
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
Sat, 17 Jun 2023 17:19:40 +0200 util.jsonschema: Remove wrapper function
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.
Sat, 17 Jun 2023 17:17:44 +0200 util.jsonschema: Silence Teal warnings about utf8 library
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.
Sat, 17 Jun 2023 17:12:54 +0200 util.jsonschema: Silence Teal warnings about counting items in tables
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.
Wed, 12 Jan 2022 10:23:13 +0100 mod_invites: Refactor argument handling using util.argparse
Kim Alvefur <zash@zash.se> [Wed, 12 Jan 2022 10:23:13 +0100] rev 13165
mod_invites: Refactor argument handling using util.argparse This makes it so that --admin and --role are no longer mutually exclusive, they the former is simply treated as another --role. This was likely a leftover from when only a single role was possible. It does however become unclear which should be the primary, since the order is not preserved by argparse. Bonus: Loading of modules is avoided with only the --help is shown.
Wed, 05 Jan 2022 04:46:27 +0100 util.argparse: Add support for repeatable parameters
Kim Alvefur <zash@zash.se> [Wed, 05 Jan 2022 04:46:27 +0100] rev 13164
util.argparse: Add support for repeatable parameters These are gathered into arrays
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 tip