Matthew Wild <mwild1@gmail.com> [Tue, 18 Jun 2024 15:08:30 +0100] rev 13500
MUC: Don't default component admins to being room owners
This change has various technical and social benefits. If ownership of a MUC
is really needed, it can be gained using the 'Set affiliation' ad-hoc command
or prosodyctl shell.
Example client incompatibility with the old behaviour:
- https://github.com/monal-im/Monal/issues/1085
Matthew Wild <mwild1@gmail.com> [Thu, 23 May 2024 17:39:20 +0100] rev 13499
MUC: Add per-room PM restriction functionality (thanks Wirlaburla)
Based on mod_muc_restrict_pm in prosody-modules d82c0383106a
Kim Alvefur <zash@zash.se> [Wed, 12 Jun 2024 23:20:48 +0200] rev 13498
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Wed, 12 Jun 2024 23:14:55 +0200] rev 13497
scansion: Add roster groups setting to pubsub form in tests
Kim Alvefur <zash@zash.se> [Wed, 12 Jun 2024 23:00:24 +0200] rev 13496
scansion: Enable blocklist compat during tests to fix CI
Kim Alvefur <zash@zash.se> [Sun, 19 May 2024 13:06:55 +0200] rev 13495
util.prosodyctl: Use notify socket to wait for Prosody to be ready
Previously, prosodyctl only waits for the pidfile to appear, which does
not necessarily mean that Prosody is fully ready to receive traffic.
By waiting until Prosody says it's ready via the systemd notify socket
we know for sure that Prosody is really ready.
Notably this should ensure that when running `make integration-test`
Prosody is really ready when Scansion starts running tests.
Not sure if this timeout handling is optimal.
Kim Alvefur <zash@zash.se> [Tue, 14 May 2024 17:07:47 +0200] rev 13494
net.server_epoll: Add support for systemd socket activation
Allows creating listening sockets and accepting client connections
before Prosody starts.
This is unlike normal Prosody dynamic resource management, where ports
may added and removed at any time, and the ports defined by the config.
Weird things happen if these are closed (e.g. due to reload) so here we
prevent closing and ensure sockets are reused when opened again.
Kim Alvefur <zash@zash.se> [Sat, 27 Apr 2024 15:59:46 +0200] rev 13493
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Fri, 31 Mar 2023 22:01:27 +0200] rev 13492
mod_admin_shell: Allow matching on host or bare JID in c2s:show
Only supporting exact match on full JID isn't helpful if you want to
list sessions per host or user.
Backport of 430333198e4c
Fixes #1857
Kim Alvefur <zash@zash.se> [Sat, 27 Apr 2024 15:55:23 +0200] rev 13491
mod_blocklist: Drop blocked messages without error, option to restore compliant behavior
From XEP-0191:
> For message stanzas, the server SHOULD return an error, which SHOULD
> be <service-unavailable/>.
Following this may leak to a blocked JID that they have been blocked,
which seems contrary to the goal of pretending to be perpetually
offline.
Kim Alvefur <zash@zash.se> [Sun, 03 Dec 2023 23:19:27 +0100] rev 13490
mod_pep: Implement 'roster' (group) access_model
Allows e.g. restricting your vcard4 to only family or similar.
Notes: This does not include roster groups in the configuration form,
so the client will have to get them from the actual roster.
Matthew Wild <mwild1@gmail.com> [Fri, 26 Apr 2024 10:37:20 +0100] rev 13489
mod_announce: Suppress luacheck warnings
Matthew Wild <mwild1@gmail.com> [Wed, 24 Apr 2024 11:50:13 +0100] rev 13488
mod_announce: Add shell commands and APIs for sending to all/online/roles
Matthew Wild <mwild1@gmail.com> [Wed, 24 Apr 2024 11:45:37 +0100] rev 13487
prosodyctl shell: Fix invocation with 3+ command arguments
The code correctly inserted the ',' when there was already a "%q" in the
format string, but then the next argument would fail to match because it
inserted ", %q" instead of "%q". The code now matches both, ensuring the
generated code will not produce a syntax error with multiple arguments.
Kim Alvefur <zash@zash.se> [Tue, 23 Apr 2024 20:01:41 +0200] rev 13486
mod_blocklist: Fix fix signal for letting stanzas pass
Returning nothing/nil lets stanzas pass, returning anything else blocks