Wed, 13 Jul 2022 11:23:55 +0100 mod_invites_adhoc: Update for Prosody's new role API (backwards-compatible)
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:23:55 +0100] rev 5004
mod_invites_adhoc: Update for Prosody's new role API (backwards-compatible)
Wed, 13 Jul 2022 11:21:19 +0100 mod_http_xep227: Updates for new mod_tokenauth (trunk/0.13 only)
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:21:19 +0100] rev 5003
mod_http_xep227: Updates for new mod_tokenauth (trunk/0.13 only)
Wed, 13 Jul 2022 11:20:09 +0100 mod_http_oauth2: Updates for Prosody's new role API (backwards-compatible)
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:20:09 +0100] rev 5002
mod_http_oauth2: Updates for Prosody's new role API (backwards-compatible)
Wed, 13 Jul 2022 11:18:46 +0100 mod_http_admin_api: Updates for new role auth API in Prosody (trunk/0.13 only)
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:18:46 +0100] rev 5001
mod_http_admin_api: Updates for new role auth API in Prosody (trunk/0.13 only)
Wed, 13 Jul 2022 11:15:43 +0100 mod_cloud_notify: Rename field in event for clarity ('node' is ambiguous here)
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:15:43 +0100] rev 5000
mod_cloud_notify: Rename field in event for clarity ('node' is ambiguous here) ...because the push protocol is based on XEP-0060, and the 'node' can mean the identifier communicated to the push service.
Wed, 13 Jul 2022 11:14:04 +0100 mod_sentry: Log warning when server returns unexpected response
Matthew Wild <mwild1@gmail.com> [Wed, 13 Jul 2022 11:14:04 +0100] rev 4999
mod_sentry: Log warning when server returns unexpected response
Tue, 16 Aug 2022 13:10:39 +0200 mod_privilege: process entity IQs (credit to adx) and messages with a constructed entity session
Nicoco <nicoco@nicoco.fr> [Tue, 16 Aug 2022 13:10:39 +0200] rev 4998
mod_privilege: process entity IQs (credit to adx) and messages with a constructed entity session
Tue, 16 Aug 2022 01:45:28 +0200 mod_http_muc_log: Use stanza:find to save a few bytes
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:45:28 +0200] rev 4997
mod_http_muc_log: Use stanza:find to save a few bytes Why don't we have a stanza:get_child_attr(name, namespace, attrname) ?
Tue, 16 Aug 2022 01:41:45 +0200 mod_http_muc_log: Use XEP-0421 ID over nickname for XEP-0308
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:41:45 +0200] rev 4996
mod_http_muc_log: Use XEP-0421 ID over nickname for XEP-0308 This prevents someone else from joining with the same nickname as someone who left, and "correcting" their messages.
Tue, 16 Aug 2022 01:39:25 +0200 mod_http_muc_log: Use XEP-0359 ID if available
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:39:25 +0200] rev 4995
mod_http_muc_log: Use XEP-0359 ID if available Clients apparently prefer this over message@id for reasons. Only used internally to find items for message edits
Tue, 16 Aug 2022 01:34:27 +0200 mod_http_muc_log: Rename variable for improved clarity
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:34:27 +0200] rev 4994
mod_http_muc_log: Rename variable for improved clarity
Tue, 16 Aug 2022 01:27:59 +0200 mod_http_muc_log: Remove dead code
Kim Alvefur <zash@zash.se> [Tue, 16 Aug 2022 01:27:59 +0200] rev 4993
mod_http_muc_log: Remove dead code This might be something left over since a different variant where the loop went like `for n = i-1, i-100, -1 do ... end` i.e. it went trough a fixed number of items instead of all the page until the current message. Then it would have needed something to stop going over the end, but since the checks are simple it shouldn't be much of a problem looping over even a very busy day.
Mon, 15 Aug 2022 15:26:14 +0200 mod_rest: Fill in 'type' field in error registry
Kim Alvefur <zash@zash.se> [Mon, 15 Aug 2022 15:26:14 +0200] rev 4992
mod_rest: Fill in 'type' field in error registry The 'type' defaults to "modify" in util.error, which doesn't quite fit many of these error conditions. LuaFormatter changed ',' to ';'
Fri, 12 Aug 2022 17:15:11 +0200 mod_http_muc_log: Link to replied-to message using XEP-0461: Message Replies
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:15:11 +0200] rev 4991
mod_http_muc_log: Link to replied-to message using XEP-0461: Message Replies
Fri, 12 Aug 2022 17:14:43 +0200 mod_http_muc_log: Mention relevant XEPs in comments
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:14:43 +0200] rev 4990
mod_http_muc_log: Mention relevant XEPs in comments
Fri, 12 Aug 2022 17:13:58 +0200 mod_rest: Add JSON mapping for XEP-0461: Message Replies
Kim Alvefur <zash@zash.se> [Fri, 12 Aug 2022 17:13:58 +0200] rev 4989
mod_rest: Add JSON mapping for XEP-0461: Message Replies
Thu, 11 Aug 2022 20:04:13 +0200 mod_compat_roles/README: Fix yaml syntax in metadata block
Kim Alvefur <zash@zash.se> [Thu, 11 Aug 2022 20:04:13 +0200] rev 4988
mod_compat_roles/README: Fix yaml syntax in metadata block
Thu, 11 Aug 2022 17:49:33 +0100 mod_compat_roles: New module providing compat shim for trunk's new role API
Matthew Wild <mwild1@gmail.com> [Thu, 11 Aug 2022 17:49:33 +0100] rev 4987
mod_compat_roles: New module providing compat shim for trunk's new role API The new role API is translated to is_admin() calls on older versions. On newer versions (which have the role API) this module does nothing. It allows modules to drop their use of is_admin() (which is not available in trunk) and switch to the new role API, while remaining compatible with previous Prosody versions.
Tue, 02 Aug 2022 23:45:00 +0200 mod_muc_badge: If room has no title use localpart of room's jid (fixes #1767)
Citronalco <geierb@geierb.de> [Tue, 02 Aug 2022 23:45:00 +0200] rev 4986
mod_muc_badge: If room has no title use localpart of room's jid (fixes #1767) Without this patch Prosody shows an HTTP 500 error (Lua 5.1) or a "nil" label in the SVG badge (Lua 5.2) if room has no title set.
Wed, 03 Aug 2022 03:14:17 +0200 mod_s2s_smacks_timeout: Use mod_smacks to close stale s2s connections
Kim Alvefur <zash@zash.se> [Wed, 03 Aug 2022 03:14:17 +0200] rev 4985
mod_s2s_smacks_timeout: Use mod_smacks to close stale s2s connections
Sat, 30 Jul 2022 21:07:47 +1200 replaced 'session' with 'origin' in push_disable
arcseconds [Sat, 30 Jul 2022 21:07:47 +1200] rev 4984
replaced 'session' with 'origin' in push_disable session is not defined in this function, trying to access it leads to an error. The correct reference seems to be 'origin'. (This may have come about by copying from the similar code in process_stanza_queue.)
Fri, 29 Jul 2022 17:53:56 +0200 mod_default_bookmarks: Fix support for array of string config in bookmarks 2 part (thanks Menel)
Kim Alvefur <zash@zash.se> [Fri, 29 Jul 2022 17:53:56 +0200] rev 4983
mod_default_bookmarks: Fix support for array of string config in bookmarks 2 part (thanks Menel)
Mon, 25 Jul 2022 19:28:38 +0200 mod_default_bookmarks: Bail on empty 'default_bookmarks' to fix traceback
Kim Alvefur <zash@zash.se> [Mon, 25 Jul 2022 19:28:38 +0200] rev 4982
mod_default_bookmarks: Bail on empty 'default_bookmarks' to fix traceback Ipairs fails on nil if the option is unset Thanks more666p0wer for reporting
Thu, 21 Jul 2022 18:06:31 +0200 mod_log_http: Undo mistake in 456b9f608fcf
Kim Alvefur <zash@zash.se> [Thu, 21 Jul 2022 18:06:31 +0200] rev 4981
mod_log_http: Undo mistake in 456b9f608fcf Where'd this "Add" come from?
Mon, 18 Jul 2022 22:47:54 +0200 various: Improve error reporting if missing file server module on 0.12
Kim Alvefur <zash@zash.se> [Mon, 18 Jul 2022 22:47:54 +0200] rev 4980
various: Improve error reporting if missing file server module on 0.12 If there is some error loading net.http.files then it would be swallowed by the pcall and then it would proceed to trying mod_http_files, which might cause unexpected behavior on 0.12 Ref #1765
Mon, 18 Jul 2022 13:58:27 +0200 various: Use 0.12+ API for serving files from the file system over HTTP
Kim Alvefur <zash@zash.se> [Mon, 18 Jul 2022 13:58:27 +0200] rev 4979
various: Use 0.12+ API for serving files from the file system over HTTP Using mod_http_files this way is deprecated. Having the base behavior in a separate module makes it easier to have a specialized module with coherent behavior that does not do things when not explicitly enabled.
Mon, 11 Jul 2022 20:08:41 +0200 mod_log_json: Prefer native Lua table.pack over Prosody util.table one
Kim Alvefur <zash@zash.se> [Mon, 11 Jul 2022 20:08:41 +0200] rev 4978
mod_log_json: Prefer native Lua table.pack over Prosody util.table one Prosody is removing support for Lua 5.1, which was the reason for util.table.pack to exist in the first place, since Lua 5.2+ provides table.pack. In prosody rev 5eaf77114fdb everything was switched over to use table.pack, opening the door for removing util.table.pack at some point. This change here is to prepare for that future eventuality.
Wed, 06 Jul 2022 18:28:43 +0200 mod_http_muc_log: Improve accessibility with descriptive @title attrs
Kim Alvefur <zash@zash.se> [Wed, 06 Jul 2022 18:28:43 +0200] rev 4977
mod_http_muc_log: Improve accessibility with descriptive @title attrs Especially relevant here where the link text is just an icon
Wed, 06 Jul 2022 18:24:43 +0200 mod_http_muc_log: Move OOB style from attribute to <style> in header
Kim Alvefur <zash@zash.se> [Wed, 06 Jul 2022 18:24:43 +0200] rev 4976
mod_http_muc_log: Move OOB style from attribute to <style> in header Allows stricter restrictions, i.e. Content-Security-Policy
Tue, 05 Jul 2022 16:02:22 +0200 luacheck: Update with changes from Prosody 0.12
Kim Alvefur <zash@zash.se> [Tue, 05 Jul 2022 16:02:22 +0200] rev 4975
luacheck: Update with changes from Prosody 0.12
(0) -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 tip