Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 20:41:35 +0200] rev 10802
mod_admin_telnet: Use tostring as fallback in pretty printing
This has some nice effects such as functions, VirtualHosts and other
things being printed using their `__tostring` metamethod.
Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 20:39:33 +0200] rev 10801
mod_admin_telnet: Don't pretty-print the normal console stuff
Typing e.g. `c2s` would dump out a bunch of stuff that would probably
just confuse users.
Now you only get pretty-printing when poking around in the internals
with `>`.
Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 20:37:49 +0200] rev 10800
mod_admin_telnet: Reuse existing pretty printing setup
Didn't do the configurable defaults thing here because I was going to do
this, so that there's only one spot where it's done.
Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 20:32:43 +0200] rev 10799
mod_admin_telnet: Allow configuring pretty printing defaults
Mostly just to have the defaults merged so you can e.g.
output:configure({maxdepth=1})
Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 20:12:41 +0200] rev 10798
MUC: Enforce strict resourceprep when registering room nicknames
If nickname enforcement is enabled this would otherwise let you bypass
the join check in muc.lib by registering an invalid nickname and then
joining with any nickname, letting register.lib change it to the invalid
registered nick.
Kim Alvefur <zash@zash.se> [Sat, 02 May 2020 14:13:02 +0200] rev 10797
mod_storage_sql: Log database connection parameters when creating engine
This is meant to help trace down an issue where Prosody apparently
creates multiple conflicting SQL engines, causing problems especially
with SQLite3, e.g. #616 #784.
Kim Alvefur <zash@zash.se> [Wed, 29 Apr 2020 23:28:21 +0200] rev 10796
mod_admin_telnet: Silence luacheck
Kim Alvefur <zash@zash.se> [Wed, 29 Apr 2020 23:15:01 +0200] rev 10795
mod_admin_telnet: Add a command to configure pretty-printing settings
Sometimes you wanna adjust the maxdepth or something.
Kim Alvefur <zash@zash.se> [Wed, 29 Apr 2020 22:59:01 +0200] rev 10794
mod_admin_telnet: Add a TODO for someone to find in the future
Kim Alvefur <zash@zash.se> [Wed, 29 Apr 2020 22:56:35 +0200] rev 10793
mod_admin_telnet: Document HTTP command in internal help