modulemanager: Made some code more concise

modulemanager: module:hook now allows global modules to hook events on the prosody.events object

Removed core.eventmanager2

mod_presence: Changed to use the prosody.events object directly, rather than through eventmanager2

stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2

core.eventmanager2: Now uses the new prosody.events object

Added new prosody.events object

mod_console: c2s:show(), c2s:show_secure(), c2s:show_insecure()

mod_console: Allow restricting results to matching JIDs in s2s:show()

prosody: Remove global functions

mod_posix: Use global prosody object

prosody: (un)lock_globals() -> prosody.(un)lock_globals()

prosody: New global 'prosody' object

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

mod_message, mod_iq: A little cleanup

mod_iq: Initial commit

mod_message: Initial commit

modulemanager: Added hook(event, handler) to the plugin API

stanza_router: Fix syntax errors

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

stanza_router: Fire per-host stanza events

httpclient_listener: Don't use print()...

sessionmanager: Removed a redundant check

sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session

sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions

sessionmanager: Added reference to globals full_sessions and bare_sessions

sessionmanager: Removed reference to global 'sessions'

Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.

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

mercurial