mod_presence: Handle outbound presence to full JIDs

mod_message: A little cleanup

mod_message: mod_message now handles all cases

stanza_router: Reply with an error on groupchat messages to bare JID

mod_message: Added code to handle error groupchat and headline messages to bare JID

mod_message: Move bare JID processing to it's own function

stanza_router: Don't reply with an error on invalid JIDs in error or result stanzas

stanza_router: Proper error for clients sending stanzas after auth but before resource binding

mod_iq: Correctly handle the lack of 'to' on IQs

mod_iq: Immediately return an error for IQs to non-existing bare JIDs

mod_iq: Include event data in sub-events

mod_iq: Error reply for IQ to non-existing session. mod_iq now handles all 'iq/full' cases

componentmanager: Create events object for configured hosts, and carry it over to a new component if one is registered with no events object

Merge backout with following commits

Backed out changeset 98f0e9eadf3b (better fix on the way)

Automated merge with http://waqas.ath.cx:8000/

mod_iq: Fire sub-events for IQs directed at bare JIDs and hosts

modulemanager: Keep track of event handlers added by module:hook, and remove them on module unload

stanza_router: Don't route before firing events... waqas, is this safe?

componentmanager: Add events object to registered components if they don't already have one

stanza_router: Fire global event if host doesn't have events, fixes #103

net.xmppclient_listener: Add small comment

stanza_router: Fire events for non-jabber:client and pre-auth stanzas

modulemanager: Stopped using core.eventmanager in module:fire_event

mod_welcome: Use module:hook instead of module:add_event_hook

mod_watchregistrations: Use module:hook instead of module:add_event_hook

modulemanager: module:fire_event now fires on the global and host-specific events objects as well

xmppcomponent_listener: Removed unused reference to core.eventmanager

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

mercurial