Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 15:19:14 +0200] rev 12992
util.jsonschema: Implement 'dependentRequired'
If this field exists, then these fields must also exist.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 13:13:31 +0200] rev 12991
util.roles: Implement a serialization preparation metamethod
Should be able to roundtrip trough serialization. Also nice for debug
and logging purposes where you might want more details than what the
__tostring method provides.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 13:07:20 +0200] rev 12990
util.set: Add a serialization preparation metamethod
Enables util.serialization to turn Sets into a representation that can be
deserialized with an environment trick, i.e. `set{"a","b"}`. Also useful
for debug purposes.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 00:49:25 +0100] rev 12989
util.format: Update tests for serialization changes
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 00:33:20 +0100] rev 12988
util.format: Restore "freeze" serialization behavior in logging
This was implied with the "debug" preset and does nice things like turn
util.set objects into "set{a,b,c}" instead of the quite verbose thing
you get otherwise.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 00:18:05 +0100] rev 12987
util.format: Tweak serialization of %q formatted entries
Improves serialization of function references especially, the built-in
default handling of that in util.serialization is not the most
informative. Now, along with the function metatable from util.startup,
the actual function can be found by filename and line number.
Kim Alvefur <zash@zash.se> [Sun, 26 Mar 2023 00:11:42 +0100] rev 12986
util.startup: Tweak function string representation
Mostly in order to avoid triggering the XML syntax highlighting in the
console logger.
Kim Alvefur <zash@zash.se> [Fri, 24 Mar 2023 16:29:48 +0100] rev 12985
mod_server_contact_info: Reorder dataform keys for more aligned view
Matthew Wild <mwild1@gmail.com> [Fri, 24 Mar 2023 12:59:47 +0000] rev 12984
mod_tokenauth: Track last access time (last time a token was used)
Kim Alvefur <zash@zash.se> [Thu, 23 Mar 2023 13:36:52 +0100] rev 12983
teal: Move into prosody namespace