Thu, 25 Jun 2020 18:01:38 +0200 mod_mam: "Handle" messages that have been archived in the absense of mod_offline
Kim Alvefur <zash@zash.se> [Thu, 25 Jun 2020 18:01:38 +0200] rev 11761
mod_mam: "Handle" messages that have been archived in the absense of mod_offline
Mon, 30 Aug 2021 20:19:15 +0200 mod_external_services: Factor out public function for converting to XML
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 20:19:15 +0200] rev 11760
mod_external_services: Factor out public function for converting to XML Along with the previous commit, allows building the XML thing yourself, should you wish to send it yourself or use it in a different context than an iq reply. API change: The 'reply' is removed from the event.
Mon, 30 Aug 2021 00:11:58 +0200 mod_external_services: Factor out public function returning current services
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 00:11:58 +0200] rev 11759
mod_external_services: Factor out public function returning current services This way you get the _prepared_ services and don't have to do that mapping yourself.
Mon, 30 Aug 2021 20:19:09 +0200 mod_external_services: Filter services by requested credentials using a Set
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 20:19:09 +0200] rev 11758
mod_external_services: Filter services by requested credentials using a Set Please don't be accidentally quadratic.
Sun, 29 Aug 2021 23:26:19 +0200 mod_external_services: Validate required attributes on credentials requests
Kim Alvefur <zash@zash.se> [Sun, 29 Aug 2021 23:26:19 +0200] rev 11757
mod_external_services: Validate required attributes on credentials requests
Tue, 31 Aug 2021 13:03:44 +0200 Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Tue, 31 Aug 2021 13:03:44 +0200] rev 11756
Merge 0.11->trunk
Tue, 31 Aug 2021 12:58:38 +0200 net.server_epoll: Fix to preserve ids of readded timers 0.11
Kim Alvefur <zash@zash.se> [Tue, 31 Aug 2021 12:58:38 +0200] rev 11755
net.server_epoll: Fix to preserve ids of readded timers Likely affected rescheduling but have no reports of this. After readding a timer, it would have been issued a new id. Rescheduling would use the previous id, thus not working.
Mon, 30 Aug 2021 15:22:01 +0200 Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 15:22:01 +0200] rev 11754
Merge 0.11->trunk
Sun, 29 Aug 2021 15:04:47 +0200 net.http: fail open if surrounding code does not configure TLS
Jonas Schäfer <jonas@wielicki.name> [Sun, 29 Aug 2021 15:04:47 +0200] rev 11753
net.http: fail open if surrounding code does not configure TLS Previously, if surrounding code was not configuring the TLS context used default in net.http, it would not validate certificates at all. This is not a security issue with prosody, because prosody updates the context with `verify = "peer"` as well as paths to CA certificates in util.startup.init_http_client. Nevertheless... Let's not leave this pitfall out there in the open.
Sun, 15 Aug 2021 04:10:36 +0000 makefile: fix prosody.version target 0.11
Lucas <lucas@sexy.is> [Sun, 15 Aug 2021 04:10:36 +0000] rev 11752
makefile: fix prosody.version target POSIX is quite explicit regarding the precedence of AND-OR lists [0]: > The operators "&&" and "||" shall have equal precedence and shall be > evaluated with left associativity. For example, both of the following > commands write solely `bar` to standard output: > false && echo foo || echo bar > true || echo foo && echo bar Given that, `prosody.version` target behaves as ((((((test -f prosody.release && cp ...) || test -f ...) && sed ...) || test -f ...) && hexdump ...) || echo unknown > $@) In the case of release tarballs, `prosody.release` does exist, so the first AND pair is executed. Given that it's successful, then the first `test -f` in the OR pair is ignored, and instead the `sed` in the AND pair is executed. `sed` success, as `.hg_archival.txt` exists, making the second `test -f` in the OR pair ignored, and `hexdump` in the AND pair is executed. Now, given that `.hg` doesn't exist, it fails, so the last `echo` is run, overwriting `prosody.version` with `unknown`. This can be worked around placing `()` around the AND pairs. Decided to use conditionals instead, as I think they better communicate the intention of the block. [0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip