From d71473df3b145bf3e17c0c9adef3bd7570120b05 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Feb 2025 13:08:45 +0000 Subject: MUC: Use new XEP namespace for hats by default Revert with muc_hats_compat = true in the config if necessary. --- plugins/muc/hats.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/muc/hats.lib.lua b/plugins/muc/hats.lib.lua index 7eb71eb4..7ccf194e 100644 --- a/plugins/muc/hats.lib.lua +++ b/plugins/muc/hats.lib.lua @@ -1,7 +1,7 @@ local st = require "prosody.util.stanza"; local muc_util = module:require "muc/util"; -local hats_compat = module:get_option_boolean("muc_hats_compat", true); -- COMPAT for pre-XEP namespace, TODO reconsider default for next release +local hats_compat = module:get_option_boolean("muc_hats_compat", false); -- COMPAT for pre-XEP namespace local xmlns_hats_legacy = "xmpp:prosody.im/protocol/hats:1"; local xmlns_hats = "urn:xmpp:hats:0"; -- cgit v1.2.3 From e3bd013535259dd2af788ff1b2c30d59b75e25e2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Feb 2025 14:44:47 +0000 Subject: CHANGES: List mod_cloud_notify --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index 9fb9e818..a571a108 100644 --- a/CHANGES +++ b/CHANGES @@ -82,6 +82,7 @@ TRUNK - Support for the roster *group* access_model in mod_pep - Support for systemd socket activation in server_epoll - mod_invites_adhoc gained a command for creating password resets +- mod_cloud_notify imported from community modules for push notification support ## Removed -- cgit v1.2.3 From 09e5f799a0a7375a854c8a3b8f39b0418fbe1ed0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Feb 2025 14:47:11 +0000 Subject: prosody.cfg.lua.dist: Updates for 13.0+ --- prosody.cfg.lua.dist | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist index 267a650c..65eedc7d 100644 --- a/prosody.cfg.lua.dist +++ b/prosody.cfg.lua.dist @@ -9,6 +9,8 @@ -- If there are any errors, it will let you know what and where -- they are, otherwise it will keep quiet. -- +-- Upgrading from a previous release? Check https://prosody.im/doc/upgrading +-- -- The only thing left to do is rename this file to remove the .dist ending, and fill in the -- blanks. Good luck, and happy Jabbering! @@ -51,6 +53,8 @@ modules_enabled = { "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard -- Nice to have + "account_activity"; -- Record time when an account was last used + "cloud_notify"; -- Push notifications for mobile devices "csi_simple"; -- Simple but effective traffic optimizations for mobile devices "invites"; -- Create and manage invites "invites_adhoc"; -- Allow admins/users to create invitations via their client @@ -75,7 +79,6 @@ modules_enabled = { -- Other specific functionality --"announce"; -- Send announcement to all online users --"groups"; -- Shared roster support - --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. --"mimicking"; -- Prevent address spoofing --"motd"; -- Send a message to users when they log in --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use @@ -92,7 +95,6 @@ modules_disabled = { -- "offline"; -- Store offline messages -- "c2s"; -- Handle client connections -- "s2s"; -- Handle server-to-server connections - -- "posix"; -- POSIX functionality, sends server to background, etc. } -- cgit v1.2.3 From 1acb2295970f719318f922002c57bd9b4fbfd24f Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 14 Feb 2025 14:50:22 +0000 Subject: net.httpserver: Remove obsolete API --- net/httpserver.lua | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 net/httpserver.lua diff --git a/net/httpserver.lua b/net/httpserver.lua deleted file mode 100644 index 0dfd862e..00000000 --- a/net/httpserver.lua +++ /dev/null @@ -1,17 +0,0 @@ --- COMPAT w/pre-0.9 -local log = require "prosody.util.logger".init("net.httpserver"); -local traceback = debug.traceback; - -local _ENV = nil; --- luacheck: std none - -local function fail() - log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http"); - log("error", "Legacy HTTP API usage, %s", traceback("", 2)); -end - -return { - new = fail; - new_from_config = fail; - set_default_handler = fail; -}; -- cgit v1.2.3