Tue, 14 Sep 2021 01:41:59 +0200 util.prosodyctl.check: Fix to not treat some options as misplaced
Kim Alvefur <zash@zash.se> [Tue, 14 Sep 2021 01:41:59 +0200] rev 11803
util.prosodyctl.check: Fix to not treat some options as misplaced All 'net' providers generate a _port option which must be in the global section, but this mistakenly also warns about these options as well.
Tue, 14 Sep 2021 01:34:30 +0200 util.prosodyctl.check: Suggest replacements for deprecated options #1684
Kim Alvefur <zash@zash.se> [Tue, 14 Sep 2021 01:34:30 +0200] rev 11802
util.prosodyctl.check: Suggest replacements for deprecated options #1684
Sun, 12 Sep 2021 21:31:04 +0200 mod_message: Clarify purpose of username field in offline message event
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 21:31:04 +0200] rev 11801
mod_message: Clarify purpose of username field in offline message event Added in 03714861f8fc but it did not appear to be used anywhere until offline message "handling" was added to mod_mam in 8141645e3865
Sun, 12 Sep 2021 20:18:04 +0200 mod_carbons: Reduce line count using new util.stanza attr method
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 20:18:04 +0200] rev 11800
mod_carbons: Reduce line count using new util.stanza attr method
Sun, 12 Sep 2021 20:17:26 +0200 mod_mam: Reduce line count using new util.stanza attr method
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 20:17:26 +0200] rev 11799
mod_mam: Reduce line count using new util.stanza attr method Since this stanza-id was generated elsewhere in mod_mam, there should be no need for normalization.
Sun, 12 Sep 2021 17:03:02 +0200 mod_http_file_share: Measure current total usage
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 17:03:02 +0200] rev 11798
mod_http_file_share: Measure current total usage In order to allow monitoring. Especially as there's not much in the way of hard numbers on how much space gets used.
Sun, 12 Sep 2021 15:47:06 +0200 net.server_epoll: Try to make port number related methods sane
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 15:47:06 +0200] rev 11797
net.server_epoll: Try to make port number related methods sane Previously it was unclear whether "client port" was the port that the client connected to, or from. I hereby declare that the client port is the source port and the server port is the destination port. Incoming and outgoing connections can be distinguished by looking at the_server reference, which only incoming connections have.
Sun, 12 Sep 2021 13:45:13 +0200 doap: Remove entry that confused XEP-0277 with XEP-0227
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 13:45:13 +0200] rev 11796
doap: Remove entry that confused XEP-0277 with XEP-0227
Sun, 12 Sep 2021 13:38:14 +0200 doap: Mention mod_storage_xep0227
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 13:38:14 +0200] rev 11795
doap: Mention mod_storage_xep0227
Sun, 12 Sep 2021 13:37:27 +0200 doap: Specify version of XEP-0227 used
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 13:37:27 +0200] rev 11794
doap: Specify version of XEP-0227 used
Sun, 12 Sep 2021 11:38:47 +0100 mod_storage_xep0227: Update for XEP-0227 r1.1: Support for SCRAM, MAM, PEP
Matthew Wild <mwild1@gmail.com> [Sun, 12 Sep 2021 11:38:47 +0100] rev 11793
mod_storage_xep0227: Update for XEP-0227 r1.1: Support for SCRAM, MAM, PEP
Sun, 12 Sep 2021 10:51:27 +0100 util.set: Add :contains_set() method
Matthew Wild <mwild1@gmail.com> [Sun, 12 Sep 2021 10:51:27 +0100] rev 11792
util.set: Add :contains_set() method
Sun, 12 Sep 2021 10:50:20 +0100 util.array: Add :slice() method + tests
Matthew Wild <mwild1@gmail.com> [Sun, 12 Sep 2021 10:50:20 +0100] rev 11791
util.array: Add :slice() method + tests Behaviour follows the same logic as string.sub (so yes, 1-indexed).
Sun, 12 Sep 2021 10:31:02 +0100 util.stanza: Add :get_child_with_attr() + tests
Matthew Wild <mwild1@gmail.com> [Sun, 12 Sep 2021 10:31:02 +0100] rev 11790
util.stanza: Add :get_child_with_attr() + tests
Sat, 11 Sep 2021 13:59:35 +0100 mod_pubsub/pubsub.lib: Export config forms for use by other modules
Matthew Wild <mwild1@gmail.com> [Sat, 11 Sep 2021 13:59:35 +0100] rev 11789
mod_pubsub/pubsub.lib: Export config forms for use by other modules In this case I need them for 227 import/export.
Sun, 12 Sep 2021 11:47:22 +0200 mod_http_file_share: Fix traceback in global quota debug logging (thanks Martin)
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 11:47:22 +0200] rev 11788
mod_http_file_share: Fix traceback in global quota debug logging (thanks Martin) Error in util.human.units.format because of B(nil) when the global quota is unset.
Sun, 12 Sep 2021 11:46:32 +0200 util.prosodyctl.check: Remove stray debug print()
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 11:46:32 +0200] rev 11787
util.prosodyctl.check: Remove stray debug print()
Sun, 12 Sep 2021 01:48:51 +0200 util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 01:48:51 +0200] rev 11786
util.prosodyctl.check: Ignore unused "ok" variable [luacheck]
Sun, 12 Sep 2021 01:38:33 +0200 mod_http_file_share: Add optional global quota on total storage usage
Kim Alvefur <zash@zash.se> [Sun, 12 Sep 2021 01:38:33 +0200] rev 11785
mod_http_file_share: Add optional global quota on total storage usage Before, maximum storage usage (assuming all users upload as much as they could) would depend on the quota, retention period and number of users. Since number of users can vary, this makes it hard to know how much storage will be needed. Adding a limit to the total overall storage use solves this, making it simple to set it to some number based on what storage is actually available. Summary job run less often than the prune job since it touches the entire archive; and started before the prune job since it's needed before the first upload.
Sat, 11 Sep 2021 22:24:34 +0200 util.prosodyctl.check: Refuse to do ojn test unless prosody is running
Kim Alvefur <zash@zash.se> [Sat, 11 Sep 2021 22:24:34 +0200] rev 11784
util.prosodyctl.check: Refuse to do ojn test unless prosody is running Other tests don't require a running prosody and I forgot to start it when testing.
Wed, 06 May 2020 18:20:33 +0200 prosodyctl: Add external connectivity check based on observe.jabber.network
Jonas Schäfer <jonas@wielicki.name> [Wed, 06 May 2020 18:20:33 +0200] rev 11783
prosodyctl: Add external connectivity check based on observe.jabber.network This uses the (experimental) observe.jabber.network API to perform external connectivity checks. The idea is to complement the checks prosodyctl can already do with a (nearly) complete s2s/c2s handshake from a remote party to test the entire stack.
Thu, 09 Sep 2021 22:14:43 +0200 mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity
Kim Alvefur <zash@zash.se> [Thu, 09 Sep 2021 22:14:43 +0200] rev 11782
mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity And to follow existing naming practices better than 'legacy_ssl' did.
Thu, 09 Sep 2021 22:10:12 +0200 util.prosodyctl.check: Add TODO about replacements for deprecated settings
Kim Alvefur <zash@zash.se> [Thu, 09 Sep 2021 22:10:12 +0200] rev 11781
util.prosodyctl.check: Add TODO about replacements for deprecated settings
Thu, 09 Sep 2021 22:09:41 +0200 util.prosodyctl.check: Check for server-to-server Direct TLS records
Kim Alvefur <zash@zash.se> [Thu, 09 Sep 2021 22:09:41 +0200] rev 11780
util.prosodyctl.check: Check for server-to-server Direct TLS records
Thu, 09 Sep 2021 21:59:02 +0200 mod_s2s: Rename Direct TLS listener 's2s_direct_tls'
Kim Alvefur <zash@zash.se> [Thu, 09 Sep 2021 21:59:02 +0200] rev 11779
mod_s2s: Rename Direct TLS listener 's2s_direct_tls' Following the style of other options like (c2s|s2s)_require_encryption, s2s_secure_auth etc.
Tue, 10 Aug 2021 20:55:43 +0200 mod_s2s: Add a Direct TLS listener
Kim Alvefur <zash@zash.se> [Tue, 10 Aug 2021 20:55:43 +0200] rev 11778
mod_s2s: Add a Direct TLS listener Mirroring the c2s 'direct_tls'. Naming things is hard. direct_tls_s2s_ports = { 5269+1 }
Tue, 10 Aug 2021 20:54:38 +0200 mod_s2s: Handle connections having TLS from the start
Kim Alvefur <zash@zash.se> [Tue, 10 Aug 2021 20:54:38 +0200] rev 11777
mod_s2s: Handle connections having TLS from the start This could be done with multiplexing, or a future additional port definition.
Tue, 10 Aug 2021 20:51:31 +0200 mod_s2s: Factor out procedure for newly encrypted sessions
Kim Alvefur <zash@zash.se> [Tue, 10 Aug 2021 20:51:31 +0200] rev 11776
mod_s2s: Factor out procedure for newly encrypted sessions Goal is to call this if the connection is using Direct TLS, either via multiplexing or a future Direct TLS S2S port.
Mon, 21 Jun 2021 22:50:23 +0200 mod_bosh,mod_websocket: Make into global-shared modules (...again)
Kim Alvefur <zash@zash.se> [Mon, 21 Jun 2021 22:50:23 +0200] rev 11775
mod_bosh,mod_websocket: Make into global-shared modules (...again) Global modules aren't quite considered loaded onto hosts, which causes confusion in some cases. They are also reported in the log as being served on http://*:5280/foo which is also a bit confusing, and can't be clicked. Global modules also have to have their paths configured in the global section, which could be confusing and unexpected. This global+shared method should be the best of both worlds.
Mon, 06 Sep 2021 23:21:25 +0200 mod_c2s,mod_s2s: Indicate stanza size violation with condition from XEP-0205 (thanks mjk)
Kim Alvefur <zash@zash.se> [Mon, 06 Sep 2021 23:21:25 +0200] rev 11774
mod_c2s,mod_s2s: Indicate stanza size violation with condition from XEP-0205 (thanks mjk)
(0) -10000 -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 tip