Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 21:20:48 +0100] rev 12275
tools: Allow processing instructions in some XML parsing tools
IANA registry files have XSLT references, which are harmless to ignore.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 20:47:39 +0100] rev 12274
util.xml: Add an option to allow <?processing instructions?>
These should generally be safe to just ignore, which should be the
default behavior of Expat and LuaExpat
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 20:11:18 +0100] rev 12273
mod_http: Use interface name as default default global hostname
http://[::]:5280/ is as sensible as http://*:5280/ so why not
This might be a bit weird when listening no multiple interfaces but not
sure we can really do anything sensible then anyway.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 19:58:43 +0100] rev 12272
mod_http: Use http_default_host for URLs generated in global context
This might make the global routes less confusing sometimes, or at least
valid URLs instead of http://*:5280/ which doesn't make much sense.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 19:04:32 +0100] rev 12271
prosodyctl: Allow passing server on command line with --server
Because why not I guess. This mirrors the corresponding luarocks command
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 19:03:02 +0100] rev 12270
prosodyctl: Allow install plugin via explicit path or URL
This way you don't need to set the server URL in the config to use this,
you could just ^C^V an install line from a web page that says
prosodyctl install https://modules.example.com/mod_example.src.rock
Drop the help message in this case since it'll be all messed up by being
given an URL or rock filename.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 19:01:34 +0100] rev 12269
prosodyctl: Return success status code from --help
Only when the help is shown because of invalid arguments should a
non-zero status code be returned to indicate a problem.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 18:56:01 +0100] rev 12268
prosodyctl: Use argument parsing library to parse --help, -h, -?
Reads nicer, but adds more code. Can always be reverted later I suppose.
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 17:59:42 +0100] rev 12267
mod_websocket: Only enable host-agnostic HTTP routing when enabled globally
This way the host-agnostic http://*:5280/ handler is not enabled, but
BOSH can still be used with any local VirtualHost
Ref #1712
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 17:52:13 +0100] rev 12266
mod_bosh: Only enable host-agnostic HTTP routing when enabled globally
This way the host-agnostic http://*:5280/ handler is not enabled, but
BOSH can still be used with any local VirtualHost
Ref #1712