Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 22:34:04 +0100] rev 11906
util.prosodyctl.shell: Bring back banner set from config!
I miss my custom ANSI-colored greeting!
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 16:52:55 +0100] rev 11905
net.connect: Propagate last error message from resolvers
Previously it would only say "unable to resolve server" for all DNS
problems. While "NoError in A lookup" might not make much sense to
users, it should help in debugging more than the previous generic error.
Friendlier errors will be future work.
Matthew Wild <mwild1@gmail.com> [Fri, 12 Nov 2021 13:30:39 +0000] rev 11904
s2smanager: Fire s2s-destroyed event to mirror s2s-created
The existing events do not fire for unauthed sessions, for example (because
the type does not match). I deemed changing their behaviour too risky, and
the current behaviour may even be more desirable for some uses.
This means we now have roughly paired events:
- s2s-created -> s2s-destroyed (global only)
- s2sin-established -> s2sin-destroyed (global + host)
- s2sout-established -> s2sout-destroyed (global + host)
Matthew Wild <mwild1@gmail.com> [Fri, 12 Nov 2021 13:26:05 +0000] rev 11903
mod_c2s: Disconnect user sessions on a role change event
The overlapping logic for deletion and password changed has been merged into
a single function.
Matthew Wild <mwild1@gmail.com> [Fri, 12 Nov 2021 13:25:09 +0000] rev 11902
usermanager: Fire user-roles-changed event when updating roles of a local user
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 14:22:21 +0100] rev 11901
util.human.io: Use UTF-8-aware length check in padding functions
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 14:21:15 +0100] rev 11900
util.human.io: Fix cutting of UTF-8 into pieces
Down the rabbit hole we go...
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 12:19:01 +0100] rev 11899
util.human.io: Trim any broken UTF-8 from ellipsis
This should fix basic problems with multi-byte UTF-8 sequences getting
cut in the middle.
Down the rabbit hole we go...
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 12:14:27 +0100] rev 11898
util.human.io: Factor out ellipsis function
Could be useful elsewhere
Kim Alvefur <zash@zash.se> [Fri, 12 Nov 2021 11:44:31 +0100] rev 11897
util.human.io: Support specifying column defaults in tables