Fri, 31 Mar 2023 22:01:27 +0200 mod_admin_shell: Allow matching on host or bare JID in c2s:show 0.12
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
Sat, 27 Apr 2024 15:55:23 +0200 mod_blocklist: Drop blocked messages without error, option to restore compliant behavior 0.12
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.
Sun, 03 Dec 2023 23:19:27 +0100 mod_pep: Implement 'roster' (group) access_model
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.
Fri, 26 Apr 2024 10:37:20 +0100 mod_announce: Suppress luacheck warnings
Matthew Wild <mwild1@gmail.com> [Fri, 26 Apr 2024 10:37:20 +0100] rev 13489
mod_announce: Suppress luacheck warnings
Wed, 24 Apr 2024 11:50:13 +0100 mod_announce: Add shell commands and APIs for sending to all/online/roles
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
Wed, 24 Apr 2024 11:45:37 +0100 prosodyctl shell: Fix invocation with 3+ command arguments
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.
Tue, 23 Apr 2024 20:01:41 +0200 mod_blocklist: Fix fix signal for letting stanzas pass
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
Mon, 22 Apr 2024 11:26:20 +0100 mod_blocklist: Check JID of mediated MUC invite sender against blocklist
Matthew Wild <mwild1@gmail.com> [Mon, 22 Apr 2024 11:26:20 +0100] rev 13485
mod_blocklist: Check JID of mediated MUC invite sender against blocklist This ensures that someone on your blocklist is unable to invite you to MUC rooms.
Wed, 17 Apr 2024 16:47:38 +0100 mod_saslauth: Log when tls-exporter is NOT supported, as well as when it is
Matthew Wild <mwild1@gmail.com> [Wed, 17 Apr 2024 16:47:38 +0100] rev 13484
mod_saslauth: Log when tls-exporter is NOT supported, as well as when it is
Sun, 14 Apr 2024 14:06:57 +0200 net.unbound: Show canonical name in textual format (e.g. in shell)
Kim Alvefur <zash@zash.se> [Sun, 14 Apr 2024 14:06:57 +0200] rev 13483
net.unbound: Show canonical name in textual format (e.g. in shell) libunbound does not tell us the whole chain of CNAMEs, only the final canonical name. This is to aid in debugging since it will only be shown in the shell.
Mon, 08 Apr 2024 16:44:11 +0200 mod_http_file_share: Fix expiry disabled check for new config API
Kim Alvefur <zash@zash.se> [Mon, 08 Apr 2024 16:44:11 +0200] rev 13482
mod_http_file_share: Fix expiry disabled check for new config API Similar to 26c30844cac6
Mon, 08 Apr 2024 09:29:58 +0200 util.startup: Fix notifying config-reload to systemd
Kim Alvefur <zash@zash.se> [Mon, 08 Apr 2024 09:29:58 +0200] rev 13481
util.startup: Fix notifying config-reload to systemd Does this event name seem backwards to anyone else?
Sun, 07 Apr 2024 18:36:00 +0200 mod_version: Fix uname result style (thanks riau)
Kim Alvefur <zash@zash.se> [Sun, 07 Apr 2024 18:36:00 +0200] rev 13480
mod_version: Fix uname result style (thanks riau) `result[, err]`, not `ok, err|result`, must have confused it with pcall
Sat, 06 Apr 2024 16:51:27 +0200 mod_server_contact_info: Sort form fields to please scansion
Kim Alvefur <zash@zash.se> [Sat, 06 Apr 2024 16:51:27 +0200] rev 13479
mod_server_contact_info: Sort form fields to please scansion The unstable hash table order caused the tests to fail and I don't know how to tell scansion to ignore the order.
Sat, 06 Apr 2024 14:31:28 +0200 mod_version: Handle access denied from uname()
Kim Alvefur <zash@zash.se> [Sat, 06 Apr 2024 14:31:28 +0200] rev 13478
mod_version: Handle access denied from uname() Discovered while experimenting with a stricter SystemCallFilter setting See man:systemd.exec(5)
Wed, 03 Apr 2024 21:56:03 -0700 mod_admin_shell: Add connection created time
aidan@jmad.org [Wed, 03 Apr 2024 21:56:03 -0700] rev 13477
mod_admin_shell: Add connection created time This adds an output format option to show the time that the connection was created. Ref #1852
Thu, 04 Apr 2024 19:44:17 +0200 Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Thu, 04 Apr 2024 19:44:17 +0200] rev 13476
Merge 0.12->trunk
Thu, 04 Apr 2024 19:00:27 +0200 util.startup: Support systemd Type=notify service type
Kim Alvefur <zash@zash.se> [Thu, 04 Apr 2024 19:00:27 +0200] rev 13475
util.startup: Support systemd Type=notify service type This lets Prosody report its lifecycle status to systemd, so it knows when Prosody has completed its startup, when it's reloading and shutting down. Both Type=notify and Type=notify-reload is supported Example systemd .service configuration snippet: [Service] Type=notify
Thu, 04 Apr 2024 19:39:33 +0200 mod_invites_adhoc: Fix result form type (thanks betarays) 0.12
Kim Alvefur <zash@zash.se> [Thu, 04 Apr 2024 19:39:33 +0200] rev 13474
mod_invites_adhoc: Fix result form type (thanks betarays)
Thu, 28 Mar 2024 15:39:59 +0100 MUC: Fix legacy hats (thanks nicoco)
Kim Alvefur <zash@zash.se> [Thu, 28 Mar 2024 15:39:59 +0100] rev 13473
MUC: Fix legacy hats (thanks nicoco) Why do we not have tests for this?
Thu, 28 Mar 2024 15:26:57 +0100 MUC: Switch to official XEP-0317 namespace for Hats (including compat) (thanks nicoco)
Kim Alvefur <zash@zash.se> [Thu, 28 Mar 2024 15:26:57 +0100] rev 13472
MUC: Switch to official XEP-0317 namespace for Hats (including compat) (thanks nicoco)
Wed, 27 Mar 2024 19:33:11 +0100 util.startup: Fix exiting on pidfile trouble
Kim Alvefur <zash@zash.se> [Wed, 27 Mar 2024 19:33:11 +0100] rev 13471
util.startup: Fix exiting on pidfile trouble prosody.shutdown() relies on prosody.main_thread, which has not been set yet at this point. Doing a clean shutdown might actually be harmful in case it tears down things set up by the conflicting Prosody, such as the very pidfile we were looking at. Thanks again SigmaTel71 for noticing
Wed, 27 Mar 2024 15:39:03 +0000 Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Wed, 27 Mar 2024 15:39:03 +0000] rev 13470
Merge 0.12->trunk
Wed, 27 Mar 2024 15:35:15 +0000 prosodyctl check: Warn about invalid domain names in the config file 0.12
Matthew Wild <mwild1@gmail.com> [Wed, 27 Mar 2024 15:35:15 +0000] rev 13469
prosodyctl check: Warn about invalid domain names in the config file This ensures that domain names of virtual hosts and components are valid in XMPP, and that they are encoded correctly.
Sun, 24 Mar 2024 21:32:00 +0100 util.startup: Abort before initialization of logging when started as root
Kim Alvefur <zash@zash.se> [Sun, 24 Mar 2024 21:32:00 +0100] rev 13468
util.startup: Abort before initialization of logging when started as root Prevents creation of log files owned by the root user which could be inaccessible once started correctly.
Sun, 24 Mar 2024 21:31:47 +0100 util.startup: Don't use not yet existent shutdown procedure when started as root (thanks SigmaTel71)
Kim Alvefur <zash@zash.se> [Sun, 24 Mar 2024 21:31:47 +0100] rev 13467
util.startup: Don't use not yet existent shutdown procedure when started as root (thanks SigmaTel71)
Sun, 24 Mar 2024 20:39:42 +0100 util.startup: Check root after detecting platform and reading config (thanks SigmaTel71)
Kim Alvefur <zash@zash.se> [Sun, 24 Mar 2024 20:39:42 +0100] rev 13466
util.startup: Check root after detecting platform and reading config (thanks SigmaTel71) Ensures that startup.detect_platform() runs so know whether to use the POSIX method of checking the current user or something else. Also after reading the config so we know whether the root override setting is set.
Sat, 23 Mar 2024 20:48:19 +0100 mod_posix: Move everything to util.startup
Kim Alvefur <zash@zash.se> [Sat, 23 Mar 2024 20:48:19 +0100] rev 13465
mod_posix: Move everything to util.startup This allows greater control over the order of events. Notably, the internal ordering between daemonization, initialization of libunbound and setup of signal handling is sensitive. libunbound starts a separate thread for processing DNS requests. If this thread is started before signal handling has been set up, it will not inherit the signal handlers and instead behave as it would have before signal handlers were set up, i.e. cause the whole process to immediately exit. libunbound is usually initialized on the first DNS request, usually triggered by an outgoing s2s connection attempt. If daemonization happens before signals have been set up, signals may not be processed at all.
Sun, 17 Mar 2024 10:10:24 +0000 mod_bosh: Set base_type on session
Matthew Wild <mwild1@gmail.com> [Sun, 17 Mar 2024 10:10:24 +0000] rev 13464
mod_bosh: Set base_type on session This fixes a traceback with mod_saslauth. Ideally we move this to util.session at some point, though.
Sun, 10 Mar 2024 15:56:01 +0100 util.startup: Back out 598df17b8ebb
Kim Alvefur <zash@zash.se> [Sun, 10 Mar 2024 15:56:01 +0100] rev 13463
util.startup: Back out 598df17b8ebb Broke signal handling again, such that an early s2s connection results in libunbound catching signals and getting Prosody killed on e.g. SIGHUP This returns to the situation where prosody --daemonize does not respond to signals.
(0) -10000 -3000 -1000 -300 -100 -50 -30 tip