Sat, 09 Apr 2022 00:43:18 +0200 mod_rest: Improve logging of results from callback startup probe
Kim Alvefur <zash@zash.se> [Sat, 09 Apr 2022 00:43:18 +0200] rev 4925
mod_rest: Improve logging of results from callback startup probe Especially interested in logging 500 status codes and their errors, to diagnose problems with the callback API.
Sat, 09 Apr 2022 00:41:18 +0200 mod_rest: Support parameters in callback URL
Kim Alvefur <zash@zash.se> [Sat, 09 Apr 2022 00:41:18 +0200] rev 4924
mod_rest: Support parameters in callback URL E.g. rest_callback_url = "http://myapi.example:5000/api/{kind}/{type}" which results in e.g. requests to /api/message/chat Allows using path routing in web frameworks for dispatch instead of having to pick apart the payload to further dispatch it.
Sat, 09 Apr 2022 00:37:55 +0200 mod_rest/README: Mention the OPTIONS probe fired at the callback
Kim Alvefur <zash@zash.se> [Sat, 09 Apr 2022 00:37:55 +0200] rev 4923
mod_rest/README: Mention the OPTIONS probe fired at the callback ... in passing. Should be documented better. But not this day! This day, I commit features!
Thu, 07 Apr 2022 17:49:08 +0200 mod_rest: Improve error handling during format mapping
Kim Alvefur <zash@zash.se> [Thu, 07 Apr 2022 17:49:08 +0200] rev 4922
mod_rest: Improve error handling during format mapping Prevents e.g. a nil, error return going directly into e.g. json encoding, resulting in "null" being returned. Further handling improvements down the line is needed.
Thu, 07 Apr 2022 17:48:08 +0200 mod_rest: Catch and coerce errors in echo endpoint
Kim Alvefur <zash@zash.se> [Thu, 07 Apr 2022 17:48:08 +0200] rev 4921
mod_rest: Catch and coerce errors in echo endpoint This should ensure problems in encode() are reported back
Thu, 07 Apr 2022 15:39:57 +0200 mod_rest: Move most of XEP-0432 handling into JSON mapping schema
Kim Alvefur <zash@zash.se> [Thu, 07 Apr 2022 15:39:57 +0200] rev 4920
mod_rest: Move most of XEP-0432 handling into JSON mapping schema The pre- and post-processing is still needed to encode/decode the JSON since util.datamapper can't (currently) do this.
Thu, 07 Apr 2022 15:39:11 +0200 mod_rest/jsonmap: Fix indentation
Kim Alvefur <zash@zash.se> [Thu, 07 Apr 2022 15:39:11 +0200] rev 4919
mod_rest/jsonmap: Fix indentation
Mon, 04 Apr 2022 17:50:24 +0200 mod_conversejs: Bump Copyright year
Kim Alvefur <zash@zash.se> [Mon, 04 Apr 2022 17:50:24 +0200] rev 4918
mod_conversejs: Bump Copyright year Mostly to trigger a rebuild of the .rock
Mon, 04 Apr 2022 17:48:34 +0200 mod_conversejs: Remove plugin installer dependency on mod_bookmarks
Kim Alvefur <zash@zash.se> [Mon, 04 Apr 2022 17:48:34 +0200] rev 4917
mod_conversejs: Remove plugin installer dependency on mod_bookmarks It's available with Prosody 0.12+ already, 0.11 has no installer.
Wed, 30 Mar 2022 17:52:41 +0200 mod_register_web: Include HTML templates in rock (thanks unbunt)
Kim Alvefur <zash@zash.se> [Wed, 30 Mar 2022 17:52:41 +0200] rev 4916
mod_register_web: Include HTML templates in rock (thanks unbunt) Makes the module usable with the new plugin installer in Prosody 0.12
Thu, 24 Mar 2022 14:56:30 +0100 mod_bookmarks2: Ignore failure to delete nothing (thanks Ge0rG)
Kim Alvefur <zash@zash.se> [Thu, 24 Mar 2022 14:56:30 +0100] rev 4915
mod_bookmarks2: Ignore failure to delete nothing (thanks Ge0rG) Attempting to delete all bookmarks when the bookmarks node does not even exist logged a fairly harmless error that we now ignore.
Sat, 19 Mar 2022 17:52:33 +0000 mod_vjud: Add permission parameter "any" for compatibility with 0.12 (fixes #1720)
Matthew Wild <mwild1@gmail.com> [Sat, 19 Mar 2022 17:52:33 +0000] rev 4914
mod_vjud: Add permission parameter "any" for compatibility with 0.12 (fixes #1720)
Sat, 19 Mar 2022 09:10:25 +0000 mod_adhoc_account_management: Add compatibility with 0.12 permission string (thanks mirux)
Matthew Wild <mwild1@gmail.com> [Sat, 19 Mar 2022 09:10:25 +0000] rev 4913
mod_adhoc_account_management: Add compatibility with 0.12 permission string (thanks mirux)
Thu, 17 Mar 2022 20:24:43 +0000 mod_onions: Add comment explaining s2s-check-certificate handler
Matthew Wild <mwild1@gmail.com> [Thu, 17 Mar 2022 20:24:43 +0000] rev 4912
mod_onions: Add comment explaining s2s-check-certificate handler
Tue, 15 Mar 2022 21:59:51 +0100 mod_invites_register: Push invitee contact entry to inviter (Thanks gerald)
Kim Alvefur <zash@zash.se> [Tue, 15 Mar 2022 21:59:51 +0100] rev 4911
mod_invites_register: Push invitee contact entry to inviter (Thanks gerald) Invitee would not show up in the roster of the invite creator unless they fetch their roster afterwards. Fixes #1715
Tue, 08 Mar 2022 11:57:25 +0000 mod_http_upload: Update compatibility information
Matthew Wild <mwild1@gmail.com> [Tue, 08 Mar 2022 11:57:25 +0000] rev 4910
mod_http_upload: Update compatibility information At least 0.9.x is broken due to use of util.jid.host, and I didn't check 0.10.x since that branch is also obsolete. Added info about mod_http_file_share.
Fri, 04 Mar 2022 19:57:13 +0000 mod_muc_restrict_media: Fix traceback when checking default (thanks Martin)
Matthew Wild <mwild1@gmail.com> [Fri, 04 Mar 2022 19:57:13 +0000] rev 4909
mod_muc_restrict_media: Fix traceback when checking default (thanks Martin)
Fri, 04 Mar 2022 19:56:52 +0000 mod_muc_restrict_media: Fix logic inversion on default value
Matthew Wild <mwild1@gmail.com> [Fri, 04 Mar 2022 19:56:52 +0000] rev 4908
mod_muc_restrict_media: Fix logic inversion on default value
Wed, 23 Feb 2022 12:40:50 +0100 mod_cloud_notify_encrypted: Linkify dependencies
Kim Alvefur <zash@zash.se> [Wed, 23 Feb 2022 12:40:50 +0100] rev 4907
mod_cloud_notify_encrypted: Linkify dependencies
Tue, 22 Feb 2022 20:27:09 +0100 mod_ping_muc: Fix typo in README
Kim Alvefur <zash@zash.se> [Tue, 22 Feb 2022 20:27:09 +0100] rev 4906
mod_ping_muc: Fix typo in README
Tue, 22 Feb 2022 14:00:01 +0100 mod_portcheck: Don't rewrite '*' to '0.0.0.0' since Prosody doesn't
Kim Alvefur <zash@zash.se> [Tue, 22 Feb 2022 14:00:01 +0100] rev 4905
mod_portcheck: Don't rewrite '*' to '0.0.0.0' since Prosody doesn't They mean the same, but it's LuaSocket that deals with that, not Prosody
Sun, 20 Feb 2022 11:49:06 +0100 mod_muc_moderation: Update Clients section (+ Gajim, clix)
Kim Alvefur <zash@zash.se> [Sun, 20 Feb 2022 11:49:06 +0100] rev 4904
mod_muc_moderation: Update Clients section (+ Gajim, clix)
Sat, 19 Feb 2022 01:42:12 +0100 mod_portcheck: Include '*' in allowed characters so '*:port' works
Kim Alvefur <zash@zash.se> [Sat, 19 Feb 2022 01:42:12 +0100] rev 4903
mod_portcheck: Include '*' in allowed characters so '*:port' works
Fri, 18 Feb 2022 23:40:41 +0100 mod_graceful_shutdown: Add a banner saying no longer needed with trunk
Kim Alvefur <zash@zash.se> [Fri, 18 Feb 2022 23:40:41 +0100] rev 4902
mod_graceful_shutdown: Add a banner saying no longer needed with trunk
Fri, 18 Feb 2022 18:35:45 +0100 mod_portcheck: Shell command to check if ports are open
Kim Alvefur <zash@zash.se> [Fri, 18 Feb 2022 18:35:45 +0100] rev 4901
mod_portcheck: Shell command to check if ports are open
Thu, 17 Feb 2022 01:59:24 +0100 mod_dnsupdate: Add a --remove option to delete all SRV records
Kim Alvefur <zash@zash.se> [Thu, 17 Feb 2022 01:59:24 +0100] rev 4900
mod_dnsupdate: Add a --remove option to delete all SRV records
Tue, 15 Feb 2022 21:51:52 +0100 mod_turn_external: Fix type of config option (thanks mirux)
Kim Alvefur <zash@zash.se> [Tue, 15 Feb 2022 21:51:52 +0100] rev 4899
mod_turn_external: Fix type of config option (thanks mirux) There was a separate boolean option to enable TLS before, but it was merged with the port number option and it seems the typed API interface got confused. Backport of trunk rev aa7a8aa64d3f
Mon, 14 Feb 2022 14:36:32 +0000 mod_turn_external: Import from prosody trunk @ ed23bbf3b946
Matthew Wild <mwild1@gmail.com> [Mon, 14 Feb 2022 14:36:32 +0000] rev 4898
mod_turn_external: Import from prosody trunk @ ed23bbf3b946
Fri, 11 Feb 2022 16:13:09 +0100 mod_graceful_shutdown: Close multiplex ports
Kim Alvefur <zash@zash.se> [Fri, 11 Feb 2022 16:13:09 +0100] rev 4897
mod_graceful_shutdown: Close multiplex ports Another way clients might reconnect before the restart has been completed
Fri, 11 Feb 2022 16:11:55 +0100 mod_graceful_shutdown: Deactivate direct TLS c2s along with plain c2s
Kim Alvefur <zash@zash.se> [Fri, 11 Feb 2022 16:11:55 +0100] rev 4896
mod_graceful_shutdown: Deactivate direct TLS c2s along with plain c2s Stops clients from reconnecting that way after their sessions are closed
Wed, 09 Feb 2022 18:16:33 +0100 mod_conversejs: Revert back to depending on mod_bookmarks
Kim Alvefur <zash@zash.se> [Wed, 09 Feb 2022 18:16:33 +0100] rev 4895
mod_conversejs: Revert back to depending on mod_bookmarks
Wed, 09 Feb 2022 18:10:27 +0100 mod_bookmarks2: Remove conflict check with mod_bookmarks
Kim Alvefur <zash@zash.se> [Wed, 09 Feb 2022 18:10:27 +0100] rev 4894
mod_bookmarks2: Remove conflict check with mod_bookmarks Should no longer be needed and causes trouble when mod_bookmarks (community) redirects to mod_bookmarks2
Wed, 09 Feb 2022 00:34:36 +0100 mod_rest: Add XEP-0363 HTTP Upload to schemas
Kim Alvefur <zash@zash.se> [Wed, 09 Feb 2022 00:34:36 +0100] rev 4893
mod_rest: Add XEP-0363 HTTP Upload to schemas
Tue, 08 Feb 2022 13:51:41 +0100 mod_rest: Ensure mod_http is loaded before API demo
Kim Alvefur <zash@zash.se> [Tue, 08 Feb 2022 13:51:41 +0100] rev 4892
mod_rest: Ensure mod_http is loaded before API demo Fixes an error as it tried to use module:http_url() which doesn't exist before mod_http is loaded
Mon, 07 Feb 2022 16:52:19 +0100 mod_ping_muc: Remove 'kick' status code
Kim Alvefur <zash@zash.se> [Mon, 07 Feb 2022 16:52:19 +0100] rev 4891
mod_ping_muc: Remove 'kick' status code The intent is "you fell off", not "you were kicked out", however older clients may not recognise the 333 code, but that will have to be an acceptable loss.
Sat, 05 Feb 2022 01:11:22 +0100 mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se> [Sat, 05 Feb 2022 01:11:22 +0100] rev 4890
mod_bookmarks: Add a stub that loads mod_bookmarks2 This has a magic meta marker that prevents loading on latest trunk as of rev 7adfd5d29576 or nightly build 1616
Sat, 05 Feb 2022 01:10:14 +0100 mod_bookmarks: Use autolink to mod_bookmarks2
Kim Alvefur <zash@zash.se> [Sat, 05 Feb 2022 01:10:14 +0100] rev 4889
mod_bookmarks: Use autolink to mod_bookmarks2
Sat, 05 Feb 2022 01:09:35 +0100 mod_bookmarks: Also link to mod_bookmarks included with Prosody (trunk)
Kim Alvefur <zash@zash.se> [Sat, 05 Feb 2022 01:09:35 +0100] rev 4888
mod_bookmarks: Also link to mod_bookmarks included with Prosody (trunk)
Fri, 04 Feb 2022 21:22:10 +0100 mod_pubsub_feeds: Allow but ignore XML comments and processing instructions
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 21:22:10 +0100] rev 4887
mod_pubsub_feeds: Allow but ignore XML comments and processing instructions This should allow but ignore them, which should be safe.
Fri, 04 Feb 2022 16:25:23 +0100 mod_dnsupdate: Fix typo
Kim Alvefur <zash@zash.se> [Fri, 04 Feb 2022 16:25:23 +0100] rev 4886
mod_dnsupdate: Fix typo
Wed, 02 Feb 2022 11:22:50 +0100 mod_invites_page: Fix templates including stray inviter name (thanks Menel)
Kim Alvefur <zash@zash.se> [Wed, 02 Feb 2022 11:22:50 +0100] rev 4885
mod_invites_page: Fix templates including stray inviter name (thanks Menel) The util.interpolation syntax `{var?placeholder}` appears to have been intended as an if-not, but this syntax will always return either the variable or the placeholder-template.
Mon, 31 Jan 2022 11:51:50 +0100 misc/lnav: Attempt at log format description for lnav
Kim Alvefur <zash@zash.se> [Mon, 31 Jan 2022 11:51:50 +0100] rev 4884
misc/lnav: Attempt at log format description for lnav The default lnav behavior often misidentifies messages with the word 'error' as errors, even in debug messages. This solves that.
Fri, 21 Jan 2022 17:53:31 +0100 mod_vcard_muc: Add a summary to improve SEO
Kim Alvefur <zash@zash.se> [Fri, 21 Jan 2022 17:53:31 +0100] rev 4883
mod_vcard_muc: Add a summary to improve SEO
Tue, 18 Jan 2022 19:09:01 +0100 mod_measure_process: Handle unlimited FD limits
Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 19:09:01 +0100] rev 4882
mod_measure_process: Handle unlimited FD limits While unlikely, better type-safe than sorry
Tue, 18 Jan 2022 18:55:20 +0100 mod_measure_process: Report the enforced limit
Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 18:55:20 +0100] rev 4881
mod_measure_process: Report the enforced limit The soft limit is what the kernel actually enforces, while the hard limit is is how far you can change the soft limit without privileges. Unless the process dynamically adjusts the soft limit, knowing the hard limit is not as useful as knowing the soft limit. Reporting the soft limit and the number of in-use FDs allows placing alerts on expressions like 'process_open_fds / process_max_fds >= 0.95'
Tue, 18 Jan 2022 17:01:18 +0000 mod_http_xep227: Add support for import via APIs rather than direct store manipulation
Matthew Wild <mwild1@gmail.com> [Tue, 18 Jan 2022 17:01:18 +0000] rev 4880
mod_http_xep227: Add support for import via APIs rather than direct store manipulation In particular this transitions PEP nodes and data to be imported via mod_pep's APIs, fixing issues with importing at runtime while PEP data may already be live in RAM. Next obvious candidate for this approach is rosters, so clients get immediate roster pushes and other special handling (such as emitting subscribes to reach the desired subscription state).
Tue, 18 Jan 2022 09:39:15 +0100 mod_pubsub_summary: Fix typo in example
Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 09:39:15 +0100] rev 4879
mod_pubsub_summary: Fix typo in example
Tue, 18 Jan 2022 09:34:10 +0100 mod_pubsub_summary: Add stub documentation
Kim Alvefur <zash@zash.se> [Tue, 18 Jan 2022 09:34:10 +0100] rev 4878
mod_pubsub_summary: Add stub documentation
Sun, 16 Jan 2022 15:02:14 +0000 mod_http_xep227: Fix typo in method name
Matthew Wild <mwild1@gmail.com> [Sun, 16 Jan 2022 15:02:14 +0000] rev 4877
mod_http_xep227: Fix typo in method name
Sun, 16 Jan 2022 15:01:53 +0000 mod_http_xep227: Correctly read selected stores from URL query part
Matthew Wild <mwild1@gmail.com> [Sun, 16 Jan 2022 15:01:53 +0000] rev 4876
mod_http_xep227: Correctly read selected stores from URL query part
Sun, 16 Jan 2022 15:01:20 +0000 mod_http_xep227: Handle nil/errors opening archive stores
Matthew Wild <mwild1@gmail.com> [Sun, 16 Jan 2022 15:01:20 +0000] rev 4875
mod_http_xep227: Handle nil/errors opening archive stores This matches how mod_mam opens archive stores. nil can be returned when there is no data in the store yet (it doesn't exist).
Sun, 16 Jan 2022 13:44:26 +0000 mod_http_xep227: Don't require admin privileges to use import/export
Matthew Wild <mwild1@gmail.com> [Sun, 16 Jan 2022 13:44:26 +0000] rev 4874
mod_http_xep227: Don't require admin privileges to use import/export These APIs always operate on the current user account only. In the future we may want to have a more specific permission check though.
Sat, 15 Jan 2022 14:25:27 +0000 mod_http_xep227: Initialize XEP-0227 XML
Matthew Wild <mwild1@gmail.com> [Sat, 15 Jan 2022 14:25:27 +0000] rev 4873
mod_http_xep227: Initialize XEP-0227 XML mod_storage_xep0227 only writes if there is XML already for a user (it uses the presence of an existing <user> element as an indicator that an account exists, although technically this is not something Prosody itself does, so it's a little weird).
Sat, 15 Jan 2022 14:06:19 +0000 mod_http_xep227: Fix validation of resulting export XML
Matthew Wild <mwild1@gmail.com> [Sat, 15 Jan 2022 14:06:19 +0000] rev 4872
mod_http_xep227: Fix validation of resulting export XML
Sat, 15 Jan 2022 13:46:34 +0000 mod_http_xep227: Fix luacheck warnings
Matthew Wild <mwild1@gmail.com> [Sat, 15 Jan 2022 13:46:34 +0000] rev 4871
mod_http_xep227: Fix luacheck warnings
Sat, 15 Jan 2022 00:38:32 +0100 mod_bookmarks2: Skip send_last_published_item (unavailable in 0.11) (thanks carlos)
Kim Alvefur <zash@zash.se> [Sat, 15 Jan 2022 00:38:32 +0100] rev 4870
mod_bookmarks2: Skip send_last_published_item (unavailable in 0.11) (thanks carlos) Not the most important setting, we can live without it for now.
Wed, 12 Jan 2022 16:42:08 +0000 mod_http_xep227: New module providing HTTP API for account data import/export
Matthew Wild <mwild1@gmail.com> [Wed, 12 Jan 2022 16:42:08 +0000] rev 4869
mod_http_xep227: New module providing HTTP API for account data import/export
Mon, 10 Jan 2022 22:19:31 +0100 mod_default_bookmarks: Silence warning when probing for mod_bookmarks version
Kim Alvefur <zash@zash.se> [Mon, 10 Jan 2022 22:19:31 +0100] rev 4868
mod_default_bookmarks: Silence warning when probing for mod_bookmarks version
Sun, 09 Jan 2022 18:20:28 +0100 mod_groups_muc_bookmarks: restore bookmark injection on empty store
Jonas Schäfer <jonas@wielicki.name> [Sun, 09 Jan 2022 18:20:28 +0100] rev 4867
mod_groups_muc_bookmarks: restore bookmark injection on empty store
Sun, 09 Jan 2022 18:20:02 +0100 mod_groups_muc_bookmarks: fix typo/leftover from refactor
Jonas Schäfer <jonas@wielicki.name> [Sun, 09 Jan 2022 18:20:02 +0100] rev 4866
mod_groups_muc_bookmarks: fix typo/leftover from refactor The update_bookmark function no longer takes a "current" argument; passing it causes havoc in service:publish (because it gets the room JID instaed of the item as item).
Sat, 08 Jan 2022 02:57:36 +0100 mod_groups_muc_bookmarks: Switch to XEP-0402
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 02:57:36 +0100] rev 4865
mod_groups_muc_bookmarks: Switch to XEP-0402 Rationale: Look at the diffstat
Sat, 08 Jan 2022 02:28:16 +0100 mod_default_bookmarks: Improve validation
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 02:28:16 +0100] rev 4864
mod_default_bookmarks: Improve validation
Sat, 08 Jan 2022 02:24:42 +0100 mod_default_bookmarks: Add support for XEP-0402 via mod_bookmarks(2)
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 02:24:42 +0100] rev 4863
mod_default_bookmarks: Add support for XEP-0402 via mod_bookmarks(2)
Sat, 08 Jan 2022 02:21:54 +0100 mod_default_bookmarks: Minor refactor to do some checks earlier
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 02:21:54 +0100] rev 4862
mod_default_bookmarks: Minor refactor to do some checks earlier
Sat, 08 Jan 2022 00:05:45 +0100 mod_default_bookmarks: Use whichever of mod_bookmarks and mod_bookmarks2 is enabled
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 00:05:45 +0100] rev 4861
mod_default_bookmarks: Use whichever of mod_bookmarks and mod_bookmarks2 is enabled
Sat, 08 Jan 2022 00:01:29 +0100 mod_default_bookmarks: Fix mod_bookmarks capability check
Kim Alvefur <zash@zash.se> [Sat, 08 Jan 2022 00:01:29 +0100] rev 4860
mod_default_bookmarks: Fix mod_bookmarks capability check Too many variables named too close to 'bookmarks' here...
Fri, 07 Jan 2022 23:33:12 +0100 mod_conversejs: Reduce mod_bookmarks dependency to a warning
Kim Alvefur <zash@zash.se> [Fri, 07 Jan 2022 23:33:12 +0100] rev 4859
mod_conversejs: Reduce mod_bookmarks dependency to a warning The luarocks dependency removed because the plugin installer is only available in trunk, which now has mod_bookmarks available
Fri, 07 Jan 2022 23:25:33 +0100 mod_default_bookmarks: Abort on incompatible mod_bookmarks
Kim Alvefur <zash@zash.se> [Fri, 07 Jan 2022 23:25:33 +0100] rev 4858
mod_default_bookmarks: Abort on incompatible mod_bookmarks The module formerly known as mod_bookmarks exposed this publish_to_pep function, while the new mod_bookmarks2 (called mod_bookmarks in trunk) does not.
Fri, 07 Jan 2022 19:55:03 +0100 mod_tcpproxy: Reject missing or non-number block-size, as per XEP-0047
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Fri, 07 Jan 2022 19:55:03 +0100] rev 4857
mod_tcpproxy: Reject missing or non-number block-size, as per XEP-0047
Thu, 06 Jan 2022 17:45:15 +0100 mod_bookmarks2: Update Compatibility table
Kim Alvefur <zash@zash.se> [Thu, 06 Jan 2022 17:45:15 +0100] rev 4856
mod_bookmarks2: Update Compatibility table
Thu, 06 Jan 2022 17:28:53 +0100 mod_bookmarks2: Add a notice of inclusion in prosody-trunk
Kim Alvefur <zash@zash.se> [Thu, 06 Jan 2022 17:28:53 +0100] rev 4855
mod_bookmarks2: Add a notice of inclusion in prosody-trunk
Thu, 06 Jan 2022 00:59:40 +0100 mod_bookmarks2: Override the node configuration if it was wrong
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 06 Jan 2022 00:59:40 +0100] rev 4854
mod_bookmarks2: Override the node configuration if it was wrong
Wed, 05 Jan 2022 21:22:13 +0100 mod_conversejs: Try to depend on mod_bookmarks in trunk else mod_bookmarks2
Kim Alvefur <zash@zash.se> [Wed, 05 Jan 2022 21:22:13 +0100] rev 4853
mod_conversejs: Try to depend on mod_bookmarks in trunk else mod_bookmarks2
Wed, 05 Jan 2022 00:06:24 +0100 Back out ad7767a9f3ea
Kim Alvefur <zash@zash.se> [Wed, 05 Jan 2022 00:06:24 +0100] rev 4852
Back out ad7767a9f3ea Turns out it does error on 0.11 because it tries to compare a number with the string "max" Thanks Marcel
Tue, 04 Jan 2022 23:22:31 +0100 mod_bookmarks: So long, and thanks for all the fish!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Tue, 04 Jan 2022 23:22:31 +0100] rev 4851
mod_bookmarks: So long, and thanks for all the fish!
Tue, 04 Jan 2022 23:00:04 +0100 mod_bookmarks2: Fix check for max_items=max support
Kim Alvefur <zash@zash.se> [Tue, 04 Jan 2022 23:00:04 +0100] rev 4850
mod_bookmarks2: Fix check for max_items=max support This function does not throw, it just returns a boolean.
Tue, 04 Jan 2022 22:59:24 +0100 mod_bookmarks2: Actually fix the right wrong codepath
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Tue, 04 Jan 2022 22:59:24 +0100] rev 4849
mod_bookmarks2: Actually fix the right wrong codepath
Tue, 04 Jan 2022 22:57:06 +0100 mod_bookmarks2: Remove wrong codepath (thanks luacheck!)
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Tue, 04 Jan 2022 22:57:06 +0100] rev 4848
mod_bookmarks2: Remove wrong codepath (thanks luacheck!)
Tue, 04 Jan 2022 20:21:10 +0100 mod_conversejs: Switch dependency to mod_bookmarks2
Kim Alvefur <zash@zash.se> [Tue, 04 Jan 2022 20:21:10 +0100] rev 4847
mod_conversejs: Switch dependency to mod_bookmarks2 Since mod_bookmarks2 now implements compatibility with the legacy PEP bookmarks storage method.
Wed, 29 Dec 2021 23:12:43 +0100 mod_pubsub_post: Document JSON to XML mapping capability
Kim Alvefur <zash@zash.se> [Wed, 29 Dec 2021 23:12:43 +0100] rev 4846
mod_pubsub_post: Document JSON to XML mapping capability
Wed, 29 Dec 2021 19:40:28 +0100 mod_rest: Fix nested message stanzas in XEP-0297 containers
Kim Alvefur <zash@zash.se> [Wed, 29 Dec 2021 19:40:28 +0100] rev 4845
mod_rest: Fix nested message stanzas in XEP-0297 containers It's all a bit awkward because it doesn't normally use the whole schema directly, but rather checks which stanza type is used and picks out that property as a schema. Which also prevents references from working.
Wed, 29 Dec 2021 18:31:40 +0100 mod_rest: Fixup internal schema references for correctness
Kim Alvefur <zash@zash.se> [Wed, 29 Dec 2021 18:31:40 +0100] rev 4844
mod_rest: Fixup internal schema references for correctness With JSON Pointer support in util.datamapper, it is now possible to use the schema file as-is without the fixups mod_rest does.
Mon, 27 Dec 2021 19:48:25 +0100 mod_bookmarks2: Remove obsolete comment
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Mon, 27 Dec 2021 19:48:25 +0100] rev 4843
mod_bookmarks2: Remove obsolete comment
Sun, 26 Dec 2021 14:51:35 +0100 mod_bookmarks2: Advertise XEP-0049 support
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Sun, 26 Dec 2021 14:51:35 +0100] rev 4842
mod_bookmarks2: Advertise XEP-0049 support In the case mod_private isn’t loaded, some clients (like poezio) won’t even attempt to use Private XML Storage unless this feature is advertised. This is on the domain JID and not on the account JID!
Sun, 26 Dec 2021 14:51:02 +0100 mod_bookmarks2: Use constants for namespaces
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Sun, 26 Dec 2021 14:51:02 +0100] rev 4841
mod_bookmarks2: Use constants for namespaces
Sat, 25 Dec 2021 15:35:17 +0100 mod_pep_atom_categories: Add a module to index categories in Atom entries
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Sat, 25 Dec 2021 15:35:17 +0100] rev 4840
mod_pep_atom_categories: Add a module to index categories in Atom entries A new node is created for each category, named category-<the category>, which contains a list of all node/item tuples having said category as a tag.
Fri, 24 Dec 2021 18:50:29 +0100 mod_bookmarks2: Finally add the #compat-pep feature!
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Fri, 24 Dec 2021 18:50:29 +0100] rev 4839
mod_bookmarks2: Finally add the #compat-pep feature!
Thu, 23 Dec 2021 17:44:35 +0100 mod_bookmarks2: Add simple support for legacy PEP queries
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Thu, 23 Dec 2021 17:44:35 +0100] rev 4838
mod_bookmarks2: Add simple support for legacy PEP queries This implements the publish and items PubSub queries of XEP-0048 version 1.1, ignoring item id, publish-options, and any other query.
Wed, 22 Dec 2021 15:05:31 +0000 mod_invites_register_web: Add mod_password_policy checks for web registration
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 15:05:31 +0000] rev 4837
mod_invites_register_web: Add mod_password_policy checks for web registration
Wed, 22 Dec 2021 14:48:46 +0000 mod_password_policy: Support for additional policies provided by other modules
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 14:48:46 +0000] rev 4836
mod_password_policy: Support for additional policies provided by other modules E.g. check a password contains an uppercase character: module:provides("password-policy", { name = "contains_uppercase"; check_password = function (password, policy) return (policy ~= true) or (not not password:match("%u")); end; }) Config: password_policy = { contains_uppercase = true; }
Wed, 22 Dec 2021 14:43:53 +0000 mod_password_policy: Silence luacheck warning for intentional global
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 14:43:53 +0000] rev 4835
mod_password_policy: Silence luacheck warning for intentional global
Wed, 22 Dec 2021 14:04:01 +0000 mod_password_policy: Hard failure on missing/empty passwords
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 14:04:01 +0000] rev 4834
mod_password_policy: Hard failure on missing/empty passwords
Wed, 22 Dec 2021 14:03:25 +0000 mod_password_policy: Add check that password doesn't contain username
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 14:03:25 +0000] rev 4833
mod_password_policy: Add check that password doesn't contain username
Wed, 22 Dec 2021 14:01:53 +0000 mod_password_policy: Allow check_password() to indicate the policy that failed
Matthew Wild <mwild1@gmail.com> [Wed, 22 Dec 2021 14:01:53 +0000] rev 4832
mod_password_policy: Allow check_password() to indicate the policy that failed
Sun, 19 Dec 2021 01:33:34 +0100 mod_cloud_notify: Include extra error details if available
Kim Alvefur <zash@zash.se> [Sun, 19 Dec 2021 01:33:34 +0100] rev 4831
mod_cloud_notify: Include extra error details if available
Wed, 15 Dec 2021 22:24:34 +0100 mod_jsxc: Try not to put username and password into the ?query ...
Kim Alvefur <zash@zash.se> [Wed, 15 Dec 2021 22:24:34 +0100] rev 4830
mod_jsxc: Try not to put username and password into the ?query ...
Wed, 15 Dec 2021 18:28:40 +0100 mod_jsxc: Demo module serving JSXC relatively easily from Prosody
Kim Alvefur <zash@zash.se> [Wed, 15 Dec 2021 18:28:40 +0100] rev 4829
mod_jsxc: Demo module serving JSXC relatively easily from Prosody Copy of mod_conversejs adjusted for JSXC. README TODO
Sun, 12 Dec 2021 18:33:06 +0100 mod_muc_bot: Use correct JID for virtual occupant
Kim Alvefur <zash@zash.se> [Sun, 12 Dec 2021 18:33:06 +0100] rev 4828
mod_muc_bot: Use correct JID for virtual occupant Mistake introduced in d25f0fea270f Thanks valdikss
Sat, 11 Dec 2021 21:20:20 +0100 mod_conversejs: Refresh client shortlist in fallback text
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 21:20:20 +0100] rev 4827
mod_conversejs: Refresh client shortlist in fallback text
Fri, 10 Dec 2021 16:36:56 +0100 mod_export_skeletons: Add a standalone filter script
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 16:36:56 +0100] rev 4826
mod_export_skeletons: Add a standalone filter script Full XML goes in. Skeletons come out.
Fri, 10 Dec 2021 14:51:55 +0100 mod_export_skeletons: Remove wildcard query
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 14:51:55 +0100] rev 4825
mod_export_skeletons: Remove wildcard query It is not supported by the storage API, only deletion supports wildcards.
Fri, 10 Dec 2021 14:19:10 +0100 mod_export_skeletons: Fix logic to do wildcard search
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 14:19:10 +0100] rev 4824
mod_export_skeletons: Fix logic to do wildcard search It passed false when it should have passed true for "*"
Fri, 10 Dec 2021 00:20:21 +0100 mod_export_skeletons: Update examples too
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 00:20:21 +0100] rev 4823
mod_export_skeletons: Update examples too
Fri, 10 Dec 2021 00:14:12 +0100 mod_export_skeletons: Generate ids based on log2 of the original length
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 00:14:12 +0100] rev 4822
mod_export_skeletons: Generate ids based on log2 of the original length
Fri, 10 Dec 2021 00:04:56 +0100 mod_export_skeletons: Fix override docs
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 00:04:56 +0100] rev 4821
mod_export_skeletons: Fix override docs Such sleepy
Fri, 10 Dec 2021 00:01:17 +0100 mod_export_skeletons: Document archive name override option
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 00:01:17 +0100] rev 4820
mod_export_skeletons: Document archive name override option This was why I went with argparse to begin with, so of course it was forgotten when I got to writing docs
Thu, 09 Dec 2021 23:48:25 +0100 mod_export_skeletons: Command to aid in analysis of archive contents
Kim Alvefur <zash@zash.se> [Thu, 09 Dec 2021 23:48:25 +0100] rev 4819
mod_export_skeletons: Command to aid in analysis of archive contents
Tue, 07 Dec 2021 20:36:13 +0100 mod_muc_moderation: Handle non-retraction moderation
Kim Alvefur <zash@zash.se> [Tue, 07 Dec 2021 20:36:13 +0100] rev 4818
mod_muc_moderation: Handle non-retraction moderation The XEP is light on details and does not show any example of non-retraction uses.
Mon, 06 Dec 2021 18:19:19 +0100 mod_muc_rtbl: Optimize case with zero hashes
Kim Alvefur <zash@zash.se> [Mon, 06 Dec 2021 18:19:19 +0100] rev 4817
mod_muc_rtbl: Optimize case with zero hashes On the assumption that during quiet times between torrents of spam, the hash set would be empty. There would be no point in doing the operations and hashes to check for a match in that case.
Mon, 06 Dec 2021 12:27:16 +0000 mod_muc_rtbl: Check joining user's host against RTBL
Matthew Wild <mwild1@gmail.com> [Mon, 06 Dec 2021 12:27:16 +0000] rev 4816
mod_muc_rtbl: Check joining user's host against RTBL
Mon, 06 Dec 2021 12:26:16 +0000 mod_muc_rtbl: Fix typo in variable name in previous commit (thanks luacheck)
Matthew Wild <mwild1@gmail.com> [Mon, 06 Dec 2021 12:26:16 +0000] rev 4815
mod_muc_rtbl: Fix typo in variable name in previous commit (thanks luacheck)
Mon, 06 Dec 2021 12:24:07 +0000 mod_muc_rtbl: Skip check if user has any explicit affiliation with the MUC
Matthew Wild <mwild1@gmail.com> [Mon, 06 Dec 2021 12:24:07 +0000] rev 4814
mod_muc_rtbl: Skip check if user has any explicit affiliation with the MUC
Mon, 06 Dec 2021 12:02:45 +0000 mod_muc_rtbl: Fix to hook server-started globally, to fetch entries at startup (thanks mirux)
Matthew Wild <mwild1@gmail.com> [Mon, 06 Dec 2021 12:02:45 +0000] rev 4813
mod_muc_rtbl: Fix to hook server-started globally, to fetch entries at startup (thanks mirux)
Mon, 06 Dec 2021 10:36:02 +0000 mod_muc_rtbl: Sync existing list entries when first loaded
Matthew Wild <mwild1@gmail.com> [Mon, 06 Dec 2021 10:36:02 +0000] rev 4812
mod_muc_rtbl: Sync existing list entries when first loaded
Sun, 05 Dec 2021 18:22:47 +0000 mod_muc_rtbl: Real-time blocklist checks for MUC services
Matthew Wild <mwild1@gmail.com> [Sun, 05 Dec 2021 18:22:47 +0000] rev 4811
mod_muc_rtbl: Real-time blocklist checks for MUC services
Sat, 04 Dec 2021 23:11:16 +0100 mod_muc_moderation: Fix actor JID when moderated from outside (thanks lovetox)
Kim Alvefur <zash@zash.se> [Sat, 04 Dec 2021 23:11:16 +0100] rev 4810
mod_muc_moderation: Fix actor JID when moderated from outside (thanks lovetox) jid.join(a, b) --> a.."@"..b thus you get 'room@muc.host@nick' which ... is not a proper JID
Sat, 04 Dec 2021 16:17:55 +0100 mod_admin_blocklist: Update admin check for new 0.12 role API
Kim Alvefur <zash@zash.se> [Sat, 04 Dec 2021 16:17:55 +0100] rev 4809
mod_admin_blocklist: Update admin check for new 0.12 role API
Thu, 02 Dec 2021 23:43:11 +0100 mod_ping_muc: Yet another attempt to improve MUC reliability
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 23:43:11 +0100] rev 4808
mod_ping_muc: Yet another attempt to improve MUC reliability This time by moving XEP-0410 to the server. Will this save the users from the s2s timeouts? What horrifying unintentional side-effects will this have? Tune in next week to find out!
Thu, 02 Dec 2021 16:08:40 +0100 mod_rest: Handle unknown 'kind' values
Kim Alvefur <zash@zash.se> [Thu, 02 Dec 2021 16:08:40 +0100] rev 4807
mod_rest: Handle unknown 'kind' values Fixes error thrown by util.datamapper if the schema argument is nil
Sun, 28 Nov 2021 21:30:53 +0100 mod_rest: Fix minor mistakes in openapi spec
Kim Alvefur <zash@zash.se> [Sun, 28 Nov 2021 21:30:53 +0100] rev 4806
mod_rest: Fix minor mistakes in openapi spec
(0) -3000 -1000 -120 +120 +1000 tip