Matthew Wild <mwild1@gmail.com> [Fri, 02 Dec 2022 20:27:32 +0000] rev 12798
util.hashring: tests: don't randomize order - they are written in a sequential style
Matthew Wild <mwild1@gmail.com> [Fri, 04 Nov 2022 12:26:43 +0000] rev 12797
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Fri, 04 Nov 2022 12:26:10 +0000] rev 12796
util.json: Accept empty arrays with whitespace (fixes #1782)
Matthew Wild <mwild1@gmail.com> [Mon, 31 Oct 2022 14:32:26 +0000] rev 12795
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Mon, 31 Oct 2022 14:32:02 +0000] rev 12794
mod_http: Allow disabling CORS in the http_cors_override option and by default
Fixes #1779.
Due to an oversight in the logic, if the user set 'enabled' to false in an
override, it would disable the item's requested CORS settings, but still apply
Prosody's default CORS policy.
This change ensures that 'enabled = false' will now disable CORS entirely for
the requested item.
Due to the new structure of the code, it was necessary to have a flag to say
whether CORS is to be applied at all. Rather than hard-coding 'true' here, I
chose to add a new option: 'http_default_cors_enabled'. This is a boolean that
allows the operator to disable Prosody's default CORS policy entirely (the one
that is used when a module or config does not override it). This makes it
easier to disable CORS and then selectively enable it only on services you
want it on.
Kim Alvefur <zash@zash.se> [Mon, 24 Oct 2022 15:25:12 +0200] rev 12793
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Sun, 23 Oct 2022 16:22:12 +0200] rev 12792
mod_admin_shell: Ensure available connection for column 'secure'
Similar to #1777
Kim Alvefur <zash@zash.se> [Sun, 23 Oct 2022 16:19:39 +0200] rev 12791
mod_admin_shell: Ensure connection exists to get port from (fixes #1777)
Kim Alvefur <zash@zash.se> [Thu, 20 Oct 2022 17:37:33 +0200] rev 12790
util.prosodyctl.cert: Remove Lua 5.1 os.execute() return value compat
Kim Alvefur <zash@zash.se> [Thu, 20 Oct 2022 17:37:07 +0200] rev 12789
util.prosodyctl: Remove Lua 5.1 os.execute() return value compat