Fri, 08 Dec 2023 12:45:22 +0000 mod_s2s_status: Add missing return (thanks Zash)
Matthew Wild <mwild1@gmail.com> [Fri, 08 Dec 2023 12:45:22 +0000] rev 5792
mod_s2s_status: Add missing return (thanks Zash)
Thu, 07 Dec 2023 15:46:50 +0000 mod_c2s_conn_throttle: Reduce log level from error->info
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:46:50 +0000] rev 5791
mod_c2s_conn_throttle: Reduce log level from error->info Our general policy is that "error" should never be triggerable by remote entities, and that it is always about something that requires admin intervention. This satisfies neither condition. The "warn" level can be used for unexpected events/behaviour triggered by remote entities, and this could qualify. However I don't think failed auth attempts are unexpected enough. I selected "info" because it is what is also used for other notable session lifecycle events.
Thu, 07 Dec 2023 15:43:47 +0000 mod_http_admin_api: Abort request if no valid username
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:43:47 +0000] rev 5790
mod_http_admin_api: Abort request if no valid username
Thu, 07 Dec 2023 15:43:16 +0000 mod_http_admin_api: Fix some luacheck warnings and code style issues
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:43:16 +0000] rev 5789
mod_http_admin_api: Fix some luacheck warnings and code style issues
Thu, 07 Dec 2023 15:41:55 +0000 mod_http_admin_api: Support PATCH for user enabled status
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:41:55 +0000] rev 5788
mod_http_admin_api: Support PATCH for user enabled status
Thu, 07 Dec 2023 15:41:18 +0000 mod_http_admin_api: Support for setting user account enabled status
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:41:18 +0000] rev 5787
mod_http_admin_api: Support for setting user account enabled status
Thu, 07 Dec 2023 15:30:41 +0000 mod_http_admin_api: Only include user deletion_request if account is disabled
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:30:41 +0000] rev 5786
mod_http_admin_api: Only include user deletion_request if account is disabled
Thu, 07 Dec 2023 15:30:01 +0000 mod_http_admin_api: Return avatar metadata from get_user_info()
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 15:30:01 +0000] rev 5785
mod_http_admin_api: Return avatar metadata from get_user_info()
Thu, 07 Dec 2023 13:02:36 +0000 mod_audit_auth: Improve user-agent building (fixes traceback)
Matthew Wild <mwild1@gmail.com> [Thu, 07 Dec 2023 13:02:36 +0000] rev 5784
mod_audit_auth: Improve user-agent building (fixes traceback)
Wed, 06 Dec 2023 19:13:26 +0000 mod_http_admin_api: Include information about pending deletion request, if any
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 19:13:26 +0000] rev 5783
mod_http_admin_api: Include information about pending deletion request, if any
Wed, 06 Dec 2023 15:50:46 +0000 mod_measure_active_users: Use the new mod_lastlog2 API
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 15:50:46 +0000] rev 5782
mod_measure_active_users: Use the new mod_lastlog2 API
Wed, 06 Dec 2023 15:45:44 +0000 mod_measure_active_users: Exclude disabled user accounts from counts
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 15:45:44 +0000] rev 5781
mod_measure_active_users: Exclude disabled user accounts from counts ...if usermanager exposes that API (it's in trunk, not 0.12).
Wed, 06 Dec 2023 15:07:09 +0000 mod_lastlog2: Fix to interpret stored data structure correctly
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 15:07:09 +0000] rev 5780
mod_lastlog2: Fix to interpret stored data structure correctly
Wed, 06 Dec 2023 12:14:12 +0000 mod_http_admin_api: Include user account status and activity in get_user_info
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 12:14:12 +0000] rev 5779
mod_http_admin_api: Include user account status and activity in get_user_info
Wed, 06 Dec 2023 12:12:37 +0000 mod_lastlog2: Expose API to query the last active time of a user
Matthew Wild <mwild1@gmail.com> [Wed, 06 Dec 2023 12:12:37 +0000] rev 5778
mod_lastlog2: Expose API to query the last active time of a user
Tue, 05 Dec 2023 12:39:00 +0000 mod_sasl_ssdp: New module implementing XEP-0474 SASL SCRAM Downgrade Protection
Matthew Wild <mwild1@gmail.com> [Tue, 05 Dec 2023 12:39:00 +0000] rev 5777
mod_sasl_ssdp: New module implementing XEP-0474 SASL SCRAM Downgrade Protection
Mon, 04 Dec 2023 21:38:27 +0100 mod_log_sasl_mech: Handle auth event from other than mod_saslauth
Kim Alvefur <zash@zash.se> [Mon, 04 Dec 2023 21:38:27 +0100] rev 5776
mod_log_sasl_mech: Handle auth event from other than mod_saslauth E.g. mod_http_oauth2
Mon, 04 Dec 2023 21:36:35 +0100 mod_http_oauth2: Add logger to "session" for auth event
Kim Alvefur <zash@zash.se> [Mon, 04 Dec 2023 21:36:35 +0100] rev 5775
mod_http_oauth2: Add logger to "session" for auth event So many assumptions in so many other modules about auth-success/fail
Mon, 04 Dec 2023 21:07:54 +0100 mod_http_oauth2: Move some code earlier
Kim Alvefur <zash@zash.se> [Mon, 04 Dec 2023 21:07:54 +0100] rev 5774
mod_http_oauth2: Move some code earlier
Mon, 04 Dec 2023 00:23:19 +0100 mod_restrict_xmpp: Allow all XEP-0199 pings to self
Kim Alvefur <zash@zash.se> [Mon, 04 Dec 2023 00:23:19 +0100] rev 5773
mod_restrict_xmpp: Allow all XEP-0199 pings to self No permission to send a ping without a 'to' attribute?
Mon, 04 Dec 2023 00:08:27 +0100 mod_restrict_xmpp/README: Fix definition list rendering
Kim Alvefur <zash@zash.se> [Mon, 04 Dec 2023 00:08:27 +0100] rev 5772
mod_restrict_xmpp/README: Fix definition list rendering Pandoc wants a blank line between items.
Sun, 03 Dec 2023 23:51:54 +0100 mod_http_oauth2: Reject unparsable URLs
Kim Alvefur <zash@zash.se> [Sun, 03 Dec 2023 23:51:54 +0100] rev 5771
mod_http_oauth2: Reject unparsable URLs This used to be caught by luaPattern=https:// in the schema but that's been removed for some reason
Sun, 03 Dec 2023 23:44:18 +0100 mod_http_oauth2: Return validation output added in trunk rev 72d7830505f0
Kim Alvefur <zash@zash.se> [Sun, 03 Dec 2023 23:44:18 +0100] rev 5770
mod_http_oauth2: Return validation output added in trunk rev 72d7830505f0 It's not fun at all to try to register a client and only get back "failed schema validation", this should help with that.
Sun, 03 Dec 2023 21:25:39 +0100 mod_s2s_smacks_timeout: Add note about being merged in trunk mod_s2s
Kim Alvefur <zash@zash.se> [Sun, 03 Dec 2023 21:25:39 +0100] rev 5769
mod_s2s_smacks_timeout: Add note about being merged in trunk mod_s2s
Sun, 03 Dec 2023 15:07:50 +0100 mod_http_oauth2: Handle login_hint without @hostpart
Kim Alvefur <zash@zash.se> [Sun, 03 Dec 2023 15:07:50 +0100] rev 5768
mod_http_oauth2: Handle login_hint without @hostpart Makes life easier for the client when it does not know the full JID, which might not have the same hostpart as the authorization server URL.
Sat, 02 Dec 2023 13:35:29 +0100 mod_audit: Fix querying for both user and global events
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 13:35:29 +0100] rev 5767
mod_audit: Fix querying for both user and global events Forgot to fix this before I pushed
Sat, 02 Dec 2023 13:26:31 +0100 mod_storage_s3: Fix mapping archive query limit to ?max-keys=
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 13:26:31 +0100] rev 5766
mod_storage_s3: Fix mapping archive query limit to ?max-keys=
Sat, 02 Dec 2023 12:30:28 +0100 mod_audit: Fix error due to sub-second precision timestamps
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 12:30:28 +0100] rev 5765
mod_audit: Fix error due to sub-second precision timestamps os.date() does not handle them
Sat, 02 Dec 2023 12:23:15 +0100 mod_storage_s3: Remove wrapper and original timestamp from payload (BC)
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 12:23:15 +0100] rev 5764
mod_storage_s3: Remove wrapper and original timestamp from payload (BC) Unpacking the wrapper was already removed in 66986f5271c3 so it was broken already. Just rely on the Last-Modified date instead, it's not going to be accurate if a different timestamp is passed, e.g. with migrations, but that will have to be a future problem. Perhaps the X-Amz-Meta-* can be used?
Sat, 02 Dec 2023 12:21:26 +0100 mod_storage_s3: Fix sorting items by correct field
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 12:21:26 +0100] rev 5763
mod_storage_s3: Fix sorting items by correct field
Sat, 02 Dec 2023 12:20:36 +0100 mod_storage_s3: Fix passing of prefixes, should not be urlencoded
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 12:20:36 +0100] rev 5762
mod_storage_s3: Fix passing of prefixes, should not be urlencoded
Sat, 02 Dec 2023 11:48:19 +0100 mod_audit: Update command to handle storing JIDs instead of only usernames
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 11:48:19 +0100] rev 5761
mod_audit: Update command to handle storing JIDs instead of only usernames
Sat, 02 Dec 2023 11:18:57 +0100 mod_client_management: Include session in the other new-client event too
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 11:18:57 +0100] rev 5760
mod_client_management: Include session in the other new-client event too
Sat, 02 Dec 2023 11:10:43 +0100 luacheckrc: Replace deprecated module:once with :on_ready
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 11:10:43 +0100] rev 5759
luacheckrc: Replace deprecated module:once with :on_ready So that :once is warned about properly. module:once was only added in trunk so it shouldn't have gotten very far yet.
Sat, 02 Dec 2023 11:07:23 +0100 mod_restrict_xmpp: Add vcard4 PEP node to profile permission
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 11:07:23 +0100] rev 5758
mod_restrict_xmpp: Add vcard4 PEP node to profile permission
Sat, 02 Dec 2023 11:06:47 +0100 mod_client_management: Include session in new-client event
Kim Alvefur <zash@zash.se> [Sat, 02 Dec 2023 11:06:47 +0100] rev 5757
mod_client_management: Include session in new-client event Needed by mod_audit_auth
Fri, 01 Dec 2023 22:40:41 +0100 mod_http_oauth2: Fire authentication events on login form
Kim Alvefur <zash@zash.se> [Fri, 01 Dec 2023 22:40:41 +0100] rev 5756
mod_http_oauth2: Fire authentication events on login form For e.g. mod_audit_auth to use. A bit hacky because upon review many modules don't seem to handle the lack of an XMPP session in the event payload.
Fri, 01 Dec 2023 21:35:25 +0100 mod_http_oauth2: Comment on authorization code storage
Kim Alvefur <zash@zash.se> [Fri, 01 Dec 2023 21:35:25 +0100] rev 5755
mod_http_oauth2: Comment on authorization code storage
Fri, 01 Dec 2023 21:32:33 +0100 mod_audit_tokens: Record events fired by mod_tokenauth in audit log
Kim Alvefur <zash@zash.se> [Fri, 01 Dec 2023 21:32:33 +0100] rev 5754
mod_audit_tokens: Record events fired by mod_tokenauth in audit log
Fri, 01 Dec 2023 11:59:02 +0000 mod_audit_auth: Add audit record when a client connects that has not been seen before
Matthew Wild <mwild1@gmail.com> [Fri, 01 Dec 2023 11:59:02 +0000] rev 5753
mod_audit_auth: Add audit record when a client connects that has not been seen before
Fri, 01 Dec 2023 11:34:52 +0000 mod_audit_auth: Ignore FAST authentication events by default
Matthew Wild <mwild1@gmail.com> [Fri, 01 Dec 2023 11:34:52 +0000] rev 5752
mod_audit_auth: Ignore FAST authentication events by default FAST is more like a cookie that allows linking new connections to a previous (e.g. password) authentication. Since we assume that FAST tokens are secure (not user generated) and not shareable, it reduces a lot of noise by filtering out uninteresting authentication events.
Thu, 30 Nov 2023 18:05:42 +0000 mod_restrict_xmpp: Fix remaining hard-coded role name
Matthew Wild <mwild1@gmail.com> [Thu, 30 Nov 2023 18:05:42 +0000] rev 5751
mod_restrict_xmpp: Fix remaining hard-coded role name
Thu, 30 Nov 2023 17:59:47 +0000 mod_audit: Update README with new name of mod_audit_register
Matthew Wild <mwild1@gmail.com> [Thu, 30 Nov 2023 17:59:47 +0000] rev 5750
mod_audit: Update README with new name of mod_audit_register
Thu, 30 Nov 2023 17:59:08 +0000 mod_audit_user_accounts: Renamed from mod_audit_register
Matthew Wild <mwild1@gmail.com> [Thu, 30 Nov 2023 17:59:08 +0000] rev 5749
mod_audit_user_accounts: Renamed from mod_audit_register
Thu, 30 Nov 2023 17:51:27 +0000 mod_audit_register: Support for deregister and enable/disable events
Matthew Wild <mwild1@gmail.com> [Thu, 30 Nov 2023 17:51:27 +0000] rev 5748
mod_audit_register: Support for deregister and enable/disable events
Wed, 29 Nov 2023 12:14:49 +0000 mod_audit_status: Support writing heartbeat with async storage drivers
Matthew Wild <mwild1@gmail.com> [Wed, 29 Nov 2023 12:14:49 +0000] rev 5747
mod_audit_status: Support writing heartbeat with async storage drivers
Wed, 29 Nov 2023 11:14:21 +0100 mod_storage_xmlarchive: Support using requested archive-id
Kim Alvefur <zash@zash.se> [Wed, 29 Nov 2023 11:14:21 +0100] rev 5746
mod_storage_xmlarchive: Support using requested archive-id However diverging from the date-prefixed format means it will need to look through the whole archive to find a particular ID.
Tue, 28 Nov 2023 19:55:43 +0100 mod_storage_xmlarchive: Pass hostname to converter for converting all users
Kim Alvefur <zash@zash.se> [Tue, 28 Nov 2023 19:55:43 +0100] rev 5745
mod_storage_xmlarchive: Pass hostname to converter for converting all users
Tue, 28 Nov 2023 19:48:34 +0100 mod_storage_xmlarchive: Migrate all users/rooms if no JID argument given
Kim Alvefur <zash@zash.se> [Tue, 28 Nov 2023 19:48:34 +0100] rev 5744
mod_storage_xmlarchive: Migrate all users/rooms if no JID argument given
Mon, 27 Nov 2023 17:16:15 +0100 misc: Add a basic grafterm dashboard
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 17:16:15 +0100] rev 5743
misc: Add a basic grafterm dashboard For those of us who would rather have less JavaScript
Mon, 27 Nov 2023 17:14:36 +0100 misc: Add a Grafana dashboard
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 17:14:36 +0100] rev 5742
misc: Add a Grafana dashboard
Mon, 27 Nov 2023 14:27:35 +0100 mod_storage_s3: Sort archive items by LastModified
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.
Mon, 27 Nov 2023 09:30:04 +0100 mod_storage_s3: Reorder path components (BC: invalidates any existing data)
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
Mon, 27 Nov 2023 09:28:28 +0100 mod_storage_s3: Fix querying for basic MAM parameters
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.
Mon, 27 Nov 2023 07:10:06 +0100 luacheck: Add new module API methods from trunk
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
Sun, 26 Nov 2023 22:44:01 +0100 mod_storage_s3: Implement search for set of IDs
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
Sun, 26 Nov 2023 22:29:21 +0100 mod_storage_s3: Advertise full id range archive query capability
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
Sun, 26 Nov 2023 21:51:12 +0100 mod_audit: Use new module API for period/time ranges
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
Sat, 25 Nov 2023 01:09:01 +0100 mod_auth_oauth_external: Fix typo
Kim Alvefur <zash@zash.se> [Sat, 25 Nov 2023 01:09:01 +0100] rev 5734
mod_auth_oauth_external: Fix typo
Thu, 23 Nov 2023 16:16:34 +0100 mod_storage_xmlarchive: Fix "user" iteration API
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
Wed, 22 Nov 2023 12:56:50 +0100 mod_storage_s3: Fix storing archives for host itself (e.g. mod_audit)
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.
Wed, 22 Nov 2023 11:54:22 +0000 mod_register_redirect: docs: Fix typo in example (thanks melvo)
Matthew Wild <mwild1@gmail.com> [Wed, 22 Nov 2023 11:54:22 +0000] rev 5731
mod_register_redirect: docs: Fix typo in example (thanks melvo)
Tue, 21 Nov 2023 17:34:54 +0000 mod_sasl2_sm: Remove duplicate advertisement of stream management (thanks singpolyma)
Matthew Wild <mwild1@gmail.com> [Tue, 21 Nov 2023 17:34:54 +0000] rev 5730
mod_sasl2_sm: Remove duplicate advertisement of stream management (thanks singpolyma)
Thu, 16 Nov 2023 19:18:22 +0100 mod_invites_page: Add support for Haiku and mobile Linux
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 19:18:22 +0100] rev 5729
mod_invites_page: Add support for Haiku and mobile Linux
Thu, 16 Nov 2023 19:18:05 +0100 mod_invites_page: Also remove jQuery usage in client page
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 19:18:05 +0100] rev 5728
mod_invites_page: Also remove jQuery usage in client page
Thu, 16 Nov 2023 19:17:44 +0100 mod_invites_page: Stop displaying the QRCode to mobile devices
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 19:17:44 +0100] rev 5727
mod_invites_page: Stop displaying the QRCode to mobile devices
Thu, 16 Nov 2023 18:06:40 +0100 mod_register_apps: Remove intrinsic size from SVGs, to always display them at their full size
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 18:06:40 +0100] rev 5726
mod_register_apps: Remove intrinsic size from SVGs, to always display them at their full size
Thu, 16 Nov 2023 16:31:02 +0100 mod_invites_page: Typo in preventing the default event when clicking on show all
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 16:31:02 +0100] rev 5725
mod_invites_page: Typo in preventing the default event when clicking on show all
Thu, 16 Nov 2023 16:25:52 +0100 mod_http_avatar: Fix displaying the fallback on Firefox
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 16:25:52 +0100] rev 5724
mod_http_avatar: Fix displaying the fallback on Firefox
Thu, 16 Nov 2023 16:16:55 +0100 mod_invites_page: Move the JS script to its own file
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 16:16:55 +0100] rev 5723
mod_invites_page: Move the JS script to its own file
Thu, 16 Nov 2023 16:15:26 +0100 mod_invites_page: Replace jQuery with vanilla.js in the HTML
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 16:15:26 +0100] rev 5722
mod_invites_page: Replace jQuery with vanilla.js in the HTML
Thu, 16 Nov 2023 16:14:24 +0100 mod_register_apps: Add Renga to the list of supported clients
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 16 Nov 2023 16:14:24 +0100] rev 5721
mod_register_apps: Add Renga to the list of supported clients
Tue, 14 Nov 2023 23:19:19 +0100 mod_http_oauth2: Make defaults more secure
Kim Alvefur <zash@zash.se> [Tue, 14 Nov 2023 23:19:19 +0100] rev 5720
mod_http_oauth2: Make defaults more secure This should be fine since we don't have a lot of clients to be backwards-compatible with.
Tue, 14 Nov 2023 23:03:37 +0100 mod_http_oauth2: Skip consent screen if requested by client and same scopes already granted
Kim Alvefur <zash@zash.se> [Tue, 14 Nov 2023 23:03:37 +0100] rev 5719
mod_http_oauth2: Skip consent screen if requested by client and same scopes already granted This follows the intent behind the OpenID Connect 'prompt' parameter when it does not include the 'consent' keyword, that is the client wishes to skip the consent screen. If the user has already granted the exact same scopes to the exact same client in the past, then one can assume that they may grant it again.
Tue, 14 Nov 2023 16:01:33 +0100 mod_audit: Replace argument parsing debug print() with debug logging
Kim Alvefur <zash@zash.se> [Tue, 14 Nov 2023 16:01:33 +0100] rev 5718
mod_audit: Replace argument parsing debug print() with debug logging prosodyctl -v to view
Mon, 13 Nov 2023 17:23:49 +0100 mod_audit_register: Include hostpart with audit events here too
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 17:23:49 +0100] rev 5717
mod_audit_register: Include hostpart with audit events here too mod_audit seems to expect this to be JIDs, not bare usernames.
Mon, 13 Nov 2023 17:14:09 +0100 mod_audit_auth: Include hostpart with audit events
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 17:14:09 +0100] rev 5716
mod_audit_auth: Include hostpart with audit events mod_audit seems to expect this to be JIDs, not bare usernames.
Mon, 13 Nov 2023 16:55:12 +0100 mod_audit: Fix storing IP prefixes
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 16:55:12 +0100] rev 5715
mod_audit: Fix storing IP prefixes Was essentially calling new_ip(new_ip())
Mon, 13 Nov 2023 12:37:21 +0100 mod_audit: Fix showing session details in module command
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 12:37:21 +0100] rev 5714
mod_audit: Fix showing session details in module command The namespaced session element was not accounted for.
Mon, 13 Nov 2023 12:22:17 +0100 mod_audit: Also record human-readable name of country
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 12:22:17 +0100] rev 5713
mod_audit: Also record human-readable name of country Nicer to show in graphs but less machine-usable Throw in continent in case that turns out to be useful one day
Mon, 13 Nov 2023 12:14:31 +0100 mod_audit: Fix recording location info
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 12:14:31 +0100] rev 5712
mod_audit: Fix recording location info The method :query_by_addr only works for IPv4, even if you open the IPv6 database, which is an odd API. It also returns a table, not a string.
Mon, 13 Nov 2023 12:05:17 +0100 mod_audit: Parse IP into util.ip object once and reuse
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 12:05:17 +0100] rev 5711
mod_audit: Parse IP into util.ip object once and reuse Mostly for my own sanity
Mon, 13 Nov 2023 12:02:54 +0100 mod_audit: Pass IP address in string form
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 12:02:54 +0100] rev 5710
mod_audit: Pass IP address in string form Passing an util.ip object to :text_tag() would be an error.
Mon, 13 Nov 2023 11:36:56 +0100 mod_audit: Fix use of util.ip
Kim Alvefur <zash@zash.se> [Mon, 13 Nov 2023 11:36:56 +0100] rev 5709
mod_audit: Fix use of util.ip Yes, weirdly named 'new' function
Sun, 12 Nov 2023 16:37:47 +0100 mod_firewall: Add FROM COUNTRY condition based on GeoIP DB
Kim Alvefur <zash@zash.se> [Sun, 12 Nov 2023 16:37:47 +0100] rev 5708
mod_firewall: Add FROM COUNTRY condition based on GeoIP DB
Sun, 12 Nov 2023 16:14:09 +0100 mod_firewall: Tweak page outline
Kim Alvefur <zash@zash.se> [Sun, 12 Nov 2023 16:14:09 +0100] rev 5707
mod_firewall: Tweak page outline Having 'Sender/recipient matching' under 'Stanza matching' makes more sense to me than the former being a top level item.
Sun, 12 Nov 2023 02:37:53 +0100 mod_aws_profile: Fix use of timer API
Kim Alvefur <zash@zash.se> [Sun, 12 Nov 2023 02:37:53 +0100] rev 5706
mod_aws_profile: Fix use of timer API
Sun, 12 Nov 2023 02:35:34 +0100 mod_auth_oauth_external: Enable experimental http connection pooling
Kim Alvefur <zash@zash.se> [Sun, 12 Nov 2023 02:35:34 +0100] rev 5705
mod_auth_oauth_external: Enable experimental http connection pooling Connection pooling may provide a performance boost since it does a few requests per authentication.
Sat, 11 Nov 2023 23:55:44 +0100 mod_storage_s3: Enable connection pooling added in latest trunk
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 23:55:44 +0100] rev 5704
mod_storage_s3: Enable connection pooling added in latest trunk Speed boost, something like a 30% improvement with http://localhost Small risk of failed requests due to limits on number of requests per connection or timeouts.
Sat, 11 Nov 2023 22:43:34 +0100 mod_storage_s3: Fix logging
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 22:43:34 +0100] rev 5703
mod_storage_s3: Fix logging Seems request and response loggers is only a thing on http requests and responses from net.http.server, not net.http requests.
Sat, 11 Nov 2023 22:32:18 +0100 mod_storage_s3: Sort imports
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 22:32:18 +0100] rev 5702
mod_storage_s3: Sort imports For pedantic reasons
Sat, 11 Nov 2023 22:47:14 +0100 mod_storage_s3: Implement archive store deletion
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 22:47:14 +0100] rev 5701
mod_storage_s3: Implement archive store deletion Not the most efficient way but should work.
Sat, 11 Nov 2023 22:26:39 +0100 mod_storage_s3: Skip archive items matching on date but not full datetime
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 22:26:39 +0100] rev 5700
mod_storage_s3: Skip archive items matching on date but not full datetime Since it only encodes dates in paths, it would have returned items from outside the specified start..end range if they were from earlier or later in the same (UTC) day.
Sat, 11 Nov 2023 17:01:29 +0100 mod_storage_s3: Move request signing into a net.http hook
Kim Alvefur <zash@zash.se> [Sat, 11 Nov 2023 17:01:29 +0100] rev 5699
mod_storage_s3: Move request signing into a net.http hook
Fri, 10 Nov 2023 00:26:17 +0100 mod_client_management: Report on longest lived token when grant does not expire
Kim Alvefur <zash@zash.se> [Fri, 10 Nov 2023 00:26:17 +0100] rev 5698
mod_client_management: Report on longest lived token when grant does not expire E.g. for mod_http_oauth2 where by default the grant itself is unlimited, while refresh tokens are issued with one week lifetime, but are renewed with each use.
Tue, 07 Nov 2023 11:28:46 +0000 mod_muc_members_json: Fix typo in example and set correct syntax highlighter
Matthew Wild <mwild1@gmail.com> [Tue, 07 Nov 2023 11:28:46 +0000] rev 5697
mod_muc_members_json: Fix typo in example and set correct syntax highlighter
Tue, 07 Nov 2023 11:26:36 +0000 mod_muc_members_json: Expand example config and docs for clarity
Matthew Wild <mwild1@gmail.com> [Tue, 07 Nov 2023 11:26:36 +0000] rev 5696
mod_muc_members_json: Expand example config and docs for clarity
Sun, 05 Nov 2023 21:06:23 +0100 mod_storage_appendmap: Include timestamps when appending data
Kim Alvefur <zash@zash.se> [Sun, 05 Nov 2023 21:06:23 +0100] rev 5695
mod_storage_appendmap: Include timestamps when appending data Meant to give some sense of when each piece of data was added, to aid in debugging changes or manual rollbacks.
Sun, 05 Nov 2023 21:03:30 +0100 mod_storage_appendmap: Implement item/user iteration methods
Kim Alvefur <zash@zash.se> [Sun, 05 Nov 2023 21:03:30 +0100] rev 5694
mod_storage_appendmap: Implement item/user iteration methods
Sun, 05 Nov 2023 19:22:46 +0100 mod_http_health: Copypaste IP access control code
Kim Alvefur <zash@zash.se> [Sun, 05 Nov 2023 19:22:46 +0100] rev 5693
mod_http_health: Copypaste IP access control code
Fri, 03 Nov 2023 23:26:57 +0100 mod_dnsupdate: Support advertising explicit non-existence of service
Kim Alvefur <zash@zash.se> [Fri, 03 Nov 2023 23:26:57 +0100] rev 5692
mod_dnsupdate: Support advertising explicit non-existence of service
Thu, 02 Nov 2023 17:00:53 +0000 mod_http_admin_api: Support for adding/removing group MUCs
Matthew Wild <mwild1@gmail.com> [Thu, 02 Nov 2023 17:00:53 +0000] rev 5691
mod_http_admin_api: Support for adding/removing group MUCs
Thu, 02 Nov 2023 17:00:14 +0000 mod_groups_muc_bookmarks: Update bookmarks when a group MUC is added/removed
Matthew Wild <mwild1@gmail.com> [Thu, 02 Nov 2023 17:00:14 +0000] rev 5690
mod_groups_muc_bookmarks: Update bookmarks when a group MUC is added/removed
Thu, 02 Nov 2023 16:59:44 +0000 mod_groups_internal: Update to support multiple MUCs per group
Matthew Wild <mwild1@gmail.com> [Thu, 02 Nov 2023 16:59:44 +0000] rev 5689
mod_groups_internal: Update to support multiple MUCs per group This was a feature request for Snikket.
Mon, 30 Oct 2023 12:28:12 +0000 mod_storage_ejabberdsql_readonly: Don't use MySQL-specific syntax
Matthew Wild <mwild1@gmail.com> [Mon, 30 Oct 2023 12:28:12 +0000] rev 5688
mod_storage_ejabberdsql_readonly: Don't use MySQL-specific syntax util.sql should take care of transformation when MySQL is in use.
Sun, 29 Oct 2023 12:41:56 +0100 mod_client_management: Bail out retrieving tokens for user
Kim Alvefur <zash@zash.se> [Sun, 29 Oct 2023 12:41:56 +0100] rev 5687
mod_client_management: Bail out retrieving tokens for user Fixes core/usermanager.lua:118: attempt to index a nil value (field '?')
Sun, 29 Oct 2023 11:30:49 +0100 mod_http_oauth2: Limit revocation to clients own tokens in strict mode
Kim Alvefur <zash@zash.se> [Sun, 29 Oct 2023 11:30:49 +0100] rev 5686
mod_http_oauth2: Limit revocation to clients own tokens in strict mode RFC 7009 section 2.1 states: > The authorization server first validates the client credentials (in > case of a confidential client) and then verifies whether the token was > issued to the client making the revocation request. If this > validation fails, the request is refused and the client is informed of > the error by the authorization server as described below. The first part was already covered (in strict mode). This adds the later part using the hash of client_id recorded in 0860497152af It still seems weird to me that revoking a leaked token should not be allowed whoever might have discovered it, as that seems the responsible thing to do.
Sun, 29 Oct 2023 11:20:15 +0100 mod_http_oauth2: Restrict introspection to clients own tokens
Kim Alvefur <zash@zash.se> [Sun, 29 Oct 2023 11:20:15 +0100] rev 5685
mod_http_oauth2: Restrict introspection to clients own tokens The introspection code was added before the client hash was added in 0860497152af which allows connecting tokens to clients.
Thu, 25 May 2023 09:31:21 +0200 mod_http_oauth2: Implement introspection endpoint
Kim Alvefur <zash@zash.se> [Thu, 25 May 2023 09:31:21 +0200] rev 5684
mod_http_oauth2: Implement introspection endpoint "Tell me about this token"
Wed, 25 Oct 2023 17:18:50 +0200 mod_http_status: Add IP allowlisting capabilities
Kim Alvefur <zash@zash.se> [Wed, 25 Oct 2023 17:18:50 +0200] rev 5683
mod_http_status: Add IP allowlisting capabilities Based on mod_http_openmetrics
Wed, 25 Oct 2023 15:36:20 +0200 mod_rest: Limit payload size (cf stanza size limits)
Kim Alvefur <zash@zash.se> [Wed, 25 Oct 2023 15:36:20 +0200] rev 5682
mod_rest: Limit payload size (cf stanza size limits) Otherwise the limit would be defined by the HTTP stack.
Sat, 14 Oct 2023 23:05:59 +0200 mod_storage_s3: Add brief README
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 23:05:59 +0200] rev 5681
mod_storage_s3: Add brief README
Sat, 14 Oct 2023 22:50:29 +0200 mod_storage_s3: Treat 404 to GET as a signal for empty data
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 22:50:29 +0200] rev 5680
mod_storage_s3: Treat 404 to GET as a signal for empty data
Sat, 14 Oct 2023 22:49:57 +0200 mod_storage_s3: Use '@' as placeholder for empty (host) store slots
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 22:49:57 +0200] rev 5679
mod_storage_s3: Use '@' as placeholder for empty (host) store slots Used when the server stores things for itself.
Sat, 14 Oct 2023 22:49:12 +0200 mod_storage_s3: Handle archive query without parameters
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 22:49:12 +0200] rev 5678
mod_storage_s3: Handle archive query without parameters
Sat, 14 Oct 2023 21:44:14 +0200 mod_storage_s3: Implement Archive storage
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 21:44:14 +0200] rev 5677
mod_storage_s3: Implement Archive storage
Sat, 14 Oct 2023 21:41:01 +0200 mod_storage_s3: Implement iteration of keyvalue keys (users usually)
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 21:41:01 +0200] rev 5676
mod_storage_s3: Implement iteration of keyvalue keys (users usually)
Sat, 14 Oct 2023 21:40:46 +0200 mod_storage_s3: Implement keyvalue deletion
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 21:40:46 +0200] rev 5675
mod_storage_s3: Implement keyvalue deletion
Sat, 14 Oct 2023 21:40:20 +0200 mod_storage_s3: Handle signing of request ?query part
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 21:40:20 +0200] rev 5674
mod_storage_s3: Handle signing of request ?query part
Sat, 14 Oct 2023 17:31:06 +0200 mod_storage_s3: Beginnings of an experimental S3 storage driver
Kim Alvefur <zash@zash.se> [Sat, 14 Oct 2023 17:31:06 +0200] rev 5673
mod_storage_s3: Beginnings of an experimental S3 storage driver Tested against MinIO
(0) -3000 -1000 -120 +120 tip