MUC: Fixed: affiliation='none' was omitted from some presence broadcasts.

xmppserver_listener: Minor logging fix: Prefer the session logger when available to log invalid XML warnings.

MUC: Fixed an issue with multi-session nicks where the 'from' attribute in a presence broadcast was not being properly set.

server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you?

rostermanager: Fixed a global access.

rostermanager: Refactored roster loading to remove duplicate code.

rostermanager: Log a warning when a self-contact is detected.

rostermanager: Ensure meta-data entry is present on roster load.

rostermanager: Remove self-contacts from loaded rosters.

PEP: Better reload support.

PEP: Send publish IQ result before broadcast.

PEP: Stricter checks on payload validity.

PEP: Clone payloads to allow plugins to reuse stanzas.

PEP: Fixed namespace for the <item> element in PEP broadcasts.

util.require: Yes hg, I really did want to remove it, thanks.

prosody, util.require: Remove util.require, the shortest-lived module so far. Woke up this morning with a much simpler idea, which is also effective against C modules (I believe). Yay for metatables :)

mod_presence: Send unavailable presence when sending unsubscribed presence stanzas (some legacy clients continue to display unsubscribed contacts as available).

xmlhandlers: Reset state on error or stream close, fixes possible traceback

connlisteners: Localize tostring, fixes possible traceback when LuaSec not installed

MUC: List occupants in a room's disco#items response.

Merged with trunk.

MUC: Added config option 'restrict_room_creation' to allow restricting room creation to admins.

usermanager: Removed an unnecessary global access.

usermanager: Logged a clear warning when the 'admins' option is not a table.

usermanager: Changed function is_admin to allow checking for host-specific admins.

mod_lastactivity: Gave a positive priority to the presence event hook.

MUC: Added 'name' config option, for specifying the component's name in disco responses.

net.dns: Don't expire records with TTL of 0 instantly

(0) -1000 -300 -100 -50 -28 +28 +50 +100 +300 +1000 tip

mercurial