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
Fri, 06 Oct 2023 18:34:39 +0200 mod_measure_modules: Report module statuses via OpenMetrics
Kim Alvefur <zash@zash.se> [Fri, 06 Oct 2023 18:34:39 +0200] rev 5672
mod_measure_modules: Report module statuses via OpenMetrics Someone in the chat asked about a health check endpoint, which reminded me of mod_http_status, which provides access to module statuses with full details. After that, this idea came about, which seems natural. As noted in the README, it could be used to monitor that critical modules are in fact loaded correctly. As more modules use the status API, the more useful this module and mod_http_status becomes.
Fri, 06 Oct 2023 16:49:57 +0200 mod_http_health: Provide a health check HTTP endpoint
Kim Alvefur <zash@zash.se> [Fri, 06 Oct 2023 16:49:57 +0200] rev 5671
mod_http_health: Provide a health check HTTP endpoint Someone in the chat asked about a health check endpoint, which reminded me of mod_http_status, which was simplified to produce this module.
Sun, 01 Oct 2023 16:39:48 +0200 mod_rest/rest.sh: Restore default read-only behavior and the -rw flag
Kim Alvefur <zash@zash.se> [Sun, 01 Oct 2023 16:39:48 +0200] rev 5670
mod_rest/rest.sh: Restore default read-only behavior and the -rw flag
Thu, 28 Sep 2023 16:38:29 +0200 mod_http_oauth2: Include 'amr' claim in ID Token
Kim Alvefur <zash@zash.se> [Thu, 28 Sep 2023 16:38:29 +0200] rev 5669
mod_http_oauth2: Include 'amr' claim in ID Token This essentially just says "password authentication was used". This field could later be used to indicate whether e.g. MFA was used.
Thu, 21 Sep 2023 18:47:27 -0500 mod_push2: restore offline message hook
Stephen Paul Weber <singpolyma@singpolyma.net> [Thu, 21 Sep 2023 18:47:27 -0500] rev 5668
mod_push2: restore offline message hook Filtering is mostly handled in handle_notify_request now
Wed, 20 Sep 2023 23:05:29 -0500 mod_push2: Need to include the public key with the JWT
Stephen Paul Weber <singpolyma@singpolyma.net> [Wed, 20 Sep 2023 23:05:29 -0500] rev 5667
mod_push2: Need to include the public key with the JWT
Tue, 19 Sep 2023 21:39:14 -0500 mod_push2: Add note about luaossl patch
Stephen Paul Weber <singpolyma@singpolyma.net> [Tue, 19 Sep 2023 21:39:14 -0500] rev 5666
mod_push2: Add note about luaossl patch
Tue, 19 Sep 2023 21:36:13 -0500 mod_push2: Fix unbalanced quote in readme
Stephen Paul Weber <singpolyma@singpolyma.net> [Tue, 19 Sep 2023 21:36:13 -0500] rev 5665
mod_push2: Fix unbalanced quote in readme
Tue, 19 Sep 2023 21:33:40 -0500 mod_push2: Add back body truncation logic
Stephen Paul Weber <singpolyma@singpolyma.net> [Tue, 19 Sep 2023 21:33:40 -0500] rev 5664
mod_push2: Add back body truncation logic
Tue, 19 Sep 2023 21:21:17 -0500 Initial work on Push 2.0
Stephen Paul Weber <singpolyma@singpolyma.net> [Tue, 19 Sep 2023 21:21:17 -0500] rev 5663
Initial work on Push 2.0
Tue, 19 Sep 2023 15:03:01 +0200 mod_muc_adhoc_bots: Fix unbalanced quote in metadata section
Kim Alvefur <zash@zash.se> [Tue, 19 Sep 2023 15:03:01 +0200] rev 5662
mod_muc_adhoc_bots: Fix unbalanced quote in metadata section
Tue, 19 Sep 2023 14:55:56 +0200 mod_muc_members_json: Fix potential error when removing old affiliations
Kim Alvefur <zash@zash.se> [Tue, 19 Sep 2023 14:55:56 +0200] rev 5661
mod_muc_members_json: Fix potential error when removing old affiliations Found this uncommitted change on a production server... The affiliation data may been `nil` at some point, triggering an error?
Tue, 19 Sep 2023 13:22:00 +0200 mod_http_muc_log: Correctly handle changed or retracted reactions
Kim Alvefur <zash@zash.se> [Tue, 19 Sep 2023 13:22:00 +0200] rev 5660
mod_http_muc_log: Correctly handle changed or retracted reactions Since per XEP-0444 each reaction should overwrite all previous reactions on a particular message from a particular occupant. Previously repeated reactions would be counted again and retractions were not handled.
Mon, 18 Sep 2023 18:34:55 +0200 mod_muc_members_json: Demonstrate support for more than one JID per list
Kim Alvefur <zash@zash.se> [Mon, 18 Sep 2023 18:34:55 +0200] rev 5659
mod_muc_members_json: Demonstrate support for more than one JID per list
(0) -3000 -1000 -300 -100 -60 +60 +100 tip