Kim Alvefur <zash@zash.se> [Thu, 02 Sep 2021 23:06:58 +0200] rev 4674
mod_http_oauth2: Gracefully handle cache write failure
Would previously have thrown an error and probably returned a traceback.
This would only happen if a *lot* of authorization codes were requested
in a short interval.
Kim Alvefur <zash@zash.se> [Thu, 02 Sep 2021 23:03:41 +0200] rev 4673
mod_http_oauth2: Optimize cleanup timer
Pause exactly until after the next entry has expired.
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 20:19:15 +0200] rev 4672
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.
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 00:11:58 +0200] rev 4671
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.
Kim Alvefur <zash@zash.se> [Mon, 30 Aug 2021 20:19:09 +0200] rev 4670
mod_external_services: Filter services by requested credentials using a Set
Please don't be accidentally quadratic.
Kim Alvefur <zash@zash.se> [Sun, 29 Aug 2021 23:26:19 +0200] rev 4669
mod_external_services: Validate required attributes on credentials requests
Matthew Wild <mwild1@gmail.com> [Wed, 01 Sep 2021 22:41:27 +0100] rev 4668
mod_muc_cloud_notify: Fix comparison between string and number in reference extraction. Fixes #1681.
Matthew Wild <mwild1@gmail.com> [Thu, 26 Aug 2021 16:52:13 +0100] rev 4667
mod_watch_spam_reports: Support for fetching admins from authz provider
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 19:42:28 +0200] rev 4666
mod_spam_reporting: Fallback string for missing 'reason'
Already done in that other module but forgot to do it here.
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 19:33:59 +0200] rev 4665
mod_spam_reporting: Missed a spot
> Received report of function<[C]:-1>(...) from JID 'spammer@spam.test', (nil)
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 19:04:40 +0200] rev 4664
mod_spam_reporting: Refactor to deduplicate code
Same event firing code regardless of protocol now.
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 18:56:45 +0200] rev 4663
mod_spam_reporting: Rename variable avoid name clash with global function
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 16:32:11 +0200] rev 4662
mod_spam_reporting: Make 'reason' text an optional value
Enables downstream modules that watch these events to distinguish between
no reason given and reason being a literal "no reason given".
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 16:31:10 +0200] rev 4661
mod_watch_spam_reports: Prepare for changing 'reason' to an optional value
Kim Alvefur <zash@zash.se> [Wed, 25 Aug 2021 15:05:56 +0200] rev 4660
mod_spam_reporting: Handle unknown or future report types
An unrecognised value in the 'reason' attribute would have caused an error.
This change makes it mirror the behavior for the previous XEP version.
Jonas Schäfer <jonas@wielicki.name> [Wed, 25 Aug 2021 16:05:09 +0200] rev 4659
mod_tos: Initial draft
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Wed, 25 Aug 2021 12:52:33 +0200] rev 4658
mod_http_upload: Prevent the module from starting without TLS
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Wed, 25 Aug 2021 10:22:37 +0200] rev 4657
mod_http_upload: Don’t send http: URIs to clients, this is forbidden by the XEP
Seve Ferrer <seve@delape.net> [Mon, 23 Aug 2021 14:28:40 +0200] rev 4656
mod_http_muc_kick: Missing local keyword
Kim Alvefur <zash@zash.se> [Sun, 22 Aug 2021 13:22:59 +0200] rev 4655
mod_cloud_notify_encrypted: Ensure body substring remains valid UTF-8
The `body:sub()` call risks splitting the string in the middle of a
multi-byte UTF-8 sequence. This should have been caught by util.stanza
validation, but that would have caused some havoc, at the very least causing
the notification to not be sent.
There have been no reports of this happening. Likely because this module
isn't widely deployed among users with languages that use many longer UTF-8
sequences.
The util.encodings.utf8.valid() function is O(n) where only the last
sequence really needs to be checked, but it's in C and expected to be fast.
Matthew Wild <mwild1@gmail.com> [Sun, 22 Aug 2021 10:46:31 +0100] rev 4654
mod_cloud_notify_encrypted: For encrypted messages, push a friendly message instead of fallback body
A fix for https://github.com/snikket-im/snikket-server/issues/18
Kim Alvefur <zash@zash.se> [Sun, 15 Aug 2021 12:57:00 +0200] rev 4653
mod_storage_xmlarchive: Support query by list of IDs
Needed for extended MAM
Kim Alvefur <zash@zash.se> [Fri, 13 Aug 2021 01:23:34 +0200] rev 4652
mod_storage_xmlarchive: Support full id range queries
Kim Alvefur <zash@zash.se> [Fri, 13 Aug 2021 01:37:15 +0200] rev 4651
mod_storage_xmlarchive: Fix return of numeric 'when' from key-value API
At some point, 'when' was stored as a timestamp string then as a numeric
UNIX timestamp, so both cases needs to be handled, as they are
elsewhere.
Thanks spec/core_storagemanager_spec.lua
Kim Alvefur <zash@zash.se> [Fri, 13 Aug 2021 01:18:32 +0200] rev 4650
mod_storage_xmlarchive: Advertise capabilities (none atm)
Both 'total' and 'quota' would be prohibitively expensive for the kind
of archives this module targets as it would require counting items
across the entire archive.
Kim Alvefur <zash@zash.se> [Fri, 13 Aug 2021 01:06:15 +0200] rev 4649
mod_pubsub_text_interface: Move quick response out of unknown command text
Same as previous commit.
Kim Alvefur <zash@zash.se> [Fri, 13 Aug 2021 00:57:33 +0200] rev 4648
mod_pubsub_text_interface: Fix move quick response tags out of <body>
Seems there's an API change between 0.11.x and trunk changing the
behavior of :body(), so previously it worked in trunk but broke in 0.11
Seve Ferrer <seve@delape.net> [Thu, 12 Aug 2021 11:05:43 +0200] rev 4647
mod_http_muc_kick: Fix typo
Seve Ferrer <seve@delape.net> [Tue, 10 Aug 2021 13:27:16 +0200] rev 4646
mod_http_muc_kick: Publish module
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Fri, 30 Jul 2021 22:00:51 +0200] rev 4645
mod_bookmarks2: Add missing @publisher in tests