Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 14:27:35 +0100] rev 5741
mod_storage_s3: Sort archive items by LastModified
Otherwise they would get sorted by who knows what, probably the path.
Also not sure if the timestamp comparisons were correct before.
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 09:30:04 +0100] rev 5740
mod_storage_s3: Reorder path components (BC: invalidates any existing data)
keyvalue: /bucket/hostname/username/store
archive: /bucket/hostname/username/store/yyyy-mm-dd/with/key
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 09:28:28 +0100] rev 5739
mod_storage_s3: Fix querying for basic MAM parameters
I guess I was planning to hash the 'with' part but changed my mind half
way through implementing and also never tested this.
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 07:10:06 +0100] rev 5738
luacheck: Add new module API methods from trunk
See
* trunk rev 4d4f9e42bcf8
* trunk rev 65fb0d7a2312
* trunk rev c9ef35fab0b1
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 22:44:01 +0100] rev 5737
mod_storage_s3: Implement search for set of IDs
This together with the full id range query enables support for
urn:xmpp:mam:2#extended in mod_mam
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 22:29:21 +0100] rev 5736
mod_storage_s3: Advertise full id range archive query capability
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 21:51:12 +0100] rev 5735
mod_audit: Use new module API for period/time ranges
It was added around the same time as the parse_duration function
Kim Alvefur <zash@zash.se> [Sat, 25 Nov 2023 01:09:01 +0100] rev 5734
mod_auth_oauth_external: Fix typo
Kim Alvefur <zash@zash.se> [Thu, 23 Nov 2023 16:16:34 +0100] rev 5733
mod_storage_xmlarchive: Fix "user" iteration API
Fixes use in prosody-migrator.
Otherwise this particular API is not used much, or this would have been
noticed before. Usually it is a different store like 'accounts' that is
responsible for providing the authoritative list of users.
Thanks Ge0rG for testing
Kim Alvefur <zash@zash.se> [Wed, 22 Nov 2023 12:56:50 +0100] rev 5732
mod_storage_s3: Fix storing archives for host itself (e.g. mod_audit)
Fixes error due to path constructor trying to do string.gsub(nil) with
missing username or with fields.