Sat, 08 Apr 2023 10:16:18 +0200 mod_admin_shell: Allow wildcard matches like s2s:show("*.example.com")
Kim Alvefur <zash@zash.se> [Sat, 08 Apr 2023 10:16:18 +0200] rev 13065
mod_admin_shell: Allow wildcard matches like s2s:show("*.example.com") E.g. if you want to show connections to/from a domain, including its subdomains, this is handy.
Fri, 07 Apr 2023 17:18:23 +0200 util.sasl: Fix a singulars
Kim Alvefur <zash@zash.se> [Fri, 07 Apr 2023 17:18:23 +0200] rev 13064
util.sasl: Fix a singulars Thanks timeless, your mere existence inspires us to improve our spelling, tho this was more syntax.
Fri, 07 Apr 2023 16:00:23 +0100 Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Fri, 07 Apr 2023 16:00:23 +0100] rev 13063
Merge 0.12->trunk
Fri, 07 Apr 2023 13:24:29 +0100 util.argparse: Translate '-' to '_' in long option names for convenience
Matthew Wild <mwild1@gmail.com> [Fri, 07 Apr 2023 13:24:29 +0100] rev 13062
util.argparse: Translate '-' to '_' in long option names for convenience A review of existing code suggests nothing will break. So, here we go...
Fri, 07 Apr 2023 15:54:59 +0100 prosodyctl: Fix using variable content in a format string 0.12
Matthew Wild <mwild1@gmail.com> [Fri, 07 Apr 2023 15:54:59 +0100] rev 13061
prosodyctl: Fix using variable content in a format string This broke if the error message contained a format specified such as '%s'.
Thu, 28 Apr 2022 20:40:59 +0200 mod_http_file_share: use util.human.io.parse_duration
Jonas Schäfer <jonas@wielicki.name> [Thu, 28 Apr 2022 20:40:59 +0200] rev 13060
mod_http_file_share: use util.human.io.parse_duration Updated by Zash, the original patch by Jonas had put the duration parsing function in util.datetime but MattJ later did the same thing but differently in f4d7fe919969
Thu, 28 Apr 2022 20:38:40 +0200 mod_mam: port to use util.human.io.parse_duration
Jonas Schäfer <jonas@wielicki.name> [Thu, 28 Apr 2022 20:38:40 +0200] rev 13059
mod_mam: port to use util.human.io.parse_duration Updated by Zash, the original patch by Jonas had put the duration parsing function in util.datetime but MattJ later did the same thing but differently in f4d7fe919969
Fri, 07 Apr 2023 14:14:53 +0100 util.human.io: Add parse_duration() method to parse a duration string
Matthew Wild <mwild1@gmail.com> [Fri, 07 Apr 2023 14:14:53 +0100] rev 13058
util.human.io: Add parse_duration() method to parse a duration string Similar logic occurs throughout various modules in the codebase. We might even want a module:get_option_duration()??
Fri, 07 Apr 2023 14:03:24 +0200 mod_admin_shell: Allow "*" as substitute for 'nil' for easier CLI usage
Kim Alvefur <zash@zash.se> [Fri, 07 Apr 2023 14:03:24 +0200] rev 13057
mod_admin_shell: Allow "*" as substitute for 'nil' for easier CLI usage Since prosodyctl shell with additional arguments assumes the first two are a section:command() and any following arguments are strings, passing a bare 'nil' is not possible. In order to avoid delving into this rabbit hole, instead produce a token that alone is not really a legal JID for use as wildcard.
Fri, 07 Apr 2023 13:58:39 +0200 util.prosodyctl.shell: Fix sending terminal width with single argument
Kim Alvefur <zash@zash.se> [Fri, 07 Apr 2023 13:58:39 +0200] rev 13056
util.prosodyctl.shell: Fix sending terminal width with single argument E.g. when you do 'prosodyctl shell "s2s:show()"', this is the case that triggers, and it was missing the @width argument, causing confusion.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 tip