Kim Alvefur <zash@zash.se> [Sun, 05 Sep 2021 16:43:41 +0200] rev 11772
mod_pubsub: Add support for limiting result size #1608
Kim Alvefur <zash@zash.se> [Sun, 05 Sep 2021 16:21:10 +0200] rev 11771
util.pubsub: Add support for limiting number of items to retrieve
Hopefully this will eventually be upgraded to RSM, which is why the
argument is called 'resultspec' and is a table.
Kim Alvefur <zash@zash.se> [Wed, 01 Sep 2021 19:05:24 +0200] rev 11770
mod_tls: Attempt STARTTLS on outgoing unencrypted legacy s2s connections
As suggested by RFC 7590
Kim Alvefur <zash@zash.se> [Sat, 04 Sep 2021 14:39:31 +0200] rev 11769
mod_storage_internal: Stop storing XEP-0091 timestamp
Should no longer be used by anything since the conversion of mod_offline
to the archive API in 0.10.0, which was 4 years ago. The line clearing
the property is left for a bit longer in case someone has very old
offline messages or archived data.
Kim Alvefur <zash@zash.se> [Fri, 03 Sep 2021 17:46:55 +0200] rev 11768
net.server_select: Deprecate and warn about it
To be removed in the future, but not right now. Give the log warning a
chance to prod anyone who might have network_backend="select" in their
config first.
There's also things built on Verse which uses server_select.lua, which
will need to be updated somehow.
Kim Alvefur <zash@zash.se> [Fri, 03 Sep 2021 17:39:00 +0200] rev 11767
net.server: Pikc server_epoll as unconditional default
Previously it would have gone for server_select if util.poll was for
some reason not available, which should be never these days. And even if
it was, best to flush it out by throwing loud errors so users notice.
Then they can work around it by using select until we delete that one.
Kim Alvefur <zash@zash.se> [Fri, 03 Sep 2021 17:35:34 +0200] rev 11766
net.server: Fall back to default backend from libevent instead of always select
Fixes that selecting libevent when unavaibalbe would fall back to select
instead of epoll, even if that's available.
This way, we only have to update it in once place when choosing a new
default.
Kim Alvefur <zash@zash.se> [Tue, 31 Aug 2021 13:34:08 +0200] rev 11765
net.server_epoll: Prevent removed timers from being readded
In a case like this the timer would not be readded:
addtimer(1, function(t, id)
stop(id)
return 1
end);
Kim Alvefur <zash@zash.se> [Tue, 31 Aug 2021 11:38:09 +0200] rev 11764
mod_mam: Suppress offline message broadcast for MAM clients
MattJ on 09:34:24
> Zash: I think as a first step, offline messages should not be sent to
> clients that request MAM
https://chat.modernxmpp.org/log/modernxmpp/2021-08-31#2021-08-31-8518a542bd283686
Kim Alvefur <zash@zash.se> [Tue, 31 Aug 2021 11:26:42 +0200] rev 11763
mod_mam: Only check for locally generated stanza-ids
Otherwise a message archived by a remote server would be incorrectly
silently discarded. This should be safe from spoofing thanks to
strip_stanza_id earlier in the event chain.