prosody.git
13 years ago.hgignore: Ignore *.diff.
Waqas Hussain [Sat, 20 Nov 2010 16:59:31 +0000 (21:59 +0500)]
.hgignore: Ignore *.diff.

13 years ago.hgignore: Ignore Windows compilation artifacts.
Waqas Hussain [Sat, 20 Nov 2010 16:57:56 +0000 (21:57 +0500)]
.hgignore: Ignore Windows compilation artifacts.

13 years agonet.xmpp{client,server,component}_listener: s/xml-not-well-formed/not-well-formed...
Waqas Hussain [Fri, 19 Nov 2010 21:33:36 +0000 (02:33 +0500)]
net.xmpp{client,server,component}_listener: s/xml-not-well-formed/not-well-formed/ as per latest bis drafts.

13 years agoutil.xmppstream: Preserve the stream content namespace on descendents of elements...
Waqas Hussain [Fri, 19 Nov 2010 21:28:40 +0000 (02:28 +0500)]
util.xmppstream: Preserve the stream content namespace on descendents of elements which are in another namespace.

13 years agoMUC: Include the user's current presence contents when broadcasting a role change.
Waqas Hussain [Thu, 18 Nov 2010 22:20:29 +0000 (03:20 +0500)]
MUC: Include the user's current presence contents when broadcasting a role change.

13 years agoMUC: Include the user's current presence contents when broadcasting an affiliation...
Waqas Hussain [Thu, 18 Nov 2010 22:06:51 +0000 (03:06 +0500)]
MUC: Include the user's current presence contents when broadcasting an affiliation change.

13 years agoprosodyctl: Give hosts type = 'local'
Matthew Wild [Thu, 18 Nov 2010 14:33:03 +0000 (14:33 +0000)]
prosodyctl: Give hosts type = 'local'

13 years agoMUC: Change room name and description properly
Kim Alvefur [Wed, 17 Nov 2010 14:58:32 +0000 (15:58 +0100)]
MUC: Change room name and description properly

13 years agoMUC: Fixed: Variable referencing the host session wasn't initialized.
Waqas Hussain [Tue, 16 Nov 2010 19:18:31 +0000 (00:18 +0500)]
MUC: Fixed: Variable referencing the host session wasn't initialized.

13 years agoprosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an attempt...
Matthew Wild [Tue, 16 Nov 2010 13:30:27 +0000 (13:30 +0000)]
prosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an attempt is made to query Prosody's status (thanks stever)

13 years agoutil.pubsub: Add :get_subscription() to return the current subscription for a JID...
Matthew Wild [Sat, 13 Nov 2010 23:10:50 +0000 (23:10 +0000)]
util.pubsub: Add :get_subscription() to return the current subscription for a JID, if any

13 years agoutil.filters: Support for 'filter hooks' that get called when a session is initialize...
Matthew Wild [Sat, 13 Nov 2010 23:10:13 +0000 (23:10 +0000)]
util.filters: Support for 'filter hooks' that get called when a session is initialized for filters

13 years agoMerge backout
Matthew Wild [Sat, 13 Nov 2010 04:12:49 +0000 (04:12 +0000)]
Merge backout

13 years agoBacked out changeset bfc47564aaef (No need for _M with module.environment)
Matthew Wild [Sat, 13 Nov 2010 04:12:40 +0000 (04:12 +0000)]
Backed out changeset bfc47564aaef (No need for _M with module.environment)

13 years agomod_pubsub: Use module.environment to reference the module's environment
Matthew Wild [Sat, 13 Nov 2010 04:12:03 +0000 (04:12 +0000)]
mod_pubsub: Use module.environment to reference the module's environment

13 years agomod_pubsub: Expose 'service'
Matthew Wild [Sat, 13 Nov 2010 04:10:05 +0000 (04:10 +0000)]
mod_pubsub: Expose 'service'

13 years agomodulemanager: Inside plugins, have global _M as a reference to the module's environment
Matthew Wild [Sat, 13 Nov 2010 04:09:14 +0000 (04:09 +0000)]
modulemanager: Inside plugins, have global _M as a reference to the module's environment

13 years agomod_pubsub: It's aliiiive!
Matthew Wild [Sat, 13 Nov 2010 03:16:58 +0000 (03:16 +0000)]
mod_pubsub: It's aliiiive!

13 years agomod_component: Logging tweaks.
Waqas Hussain [Fri, 12 Nov 2010 18:43:30 +0000 (23:43 +0500)]
mod_component: Logging tweaks.

13 years agomod_component: Use module:get_option() instead of configmanager.
Waqas Hussain [Fri, 12 Nov 2010 18:35:02 +0000 (23:35 +0500)]
mod_component: Use module:get_option() instead of configmanager.

13 years agomod_component: Rearranged the code a little.
Waqas Hussain [Fri, 12 Nov 2010 18:32:51 +0000 (23:32 +0500)]
mod_component: Rearranged the code a little.

13 years agomod_component: Return true from stanza handler to indicate that we actually did handl...
Waqas Hussain [Fri, 12 Nov 2010 17:39:37 +0000 (22:39 +0500)]
mod_component: Return true from stanza handler to indicate that we actually did handle the stanza.

13 years agomod_console: Don't allow bang bang as the first command in a session, or when the...
Matthew Wild [Fri, 12 Nov 2010 11:51:50 +0000 (11:51 +0000)]
mod_console: Don't allow bang bang as the first command in a session, or when the last command is unknown (fixes #218)

13 years agoconfigmanager: Change parser API again to pass a config table to insert settings...
Matthew Wild [Thu, 11 Nov 2010 12:23:51 +0000 (12:23 +0000)]
configmanager: Change parser API again to pass a config table to insert settings to. Fixes Include(). (Thanks Zash/answerman)

13 years agousermanager: Don't load auth modules for components.
Waqas Hussain [Thu, 11 Nov 2010 03:36:31 +0000 (08:36 +0500)]
usermanager: Don't load auth modules for components.

13 years agoMUC: Grant membership when inviteing someone into a members-only room.
Kim Alvefur [Wed, 10 Nov 2010 23:55:33 +0000 (00:55 +0100)]
MUC: Grant membership when inviteing someone into a members-only room.

13 years agoconfigmanager: Update Include and RunScript directives to support paths relative...
Matthew Wild [Wed, 10 Nov 2010 19:50:07 +0000 (19:50 +0000)]
configmanager: Update Include and RunScript directives to support paths relative to the (current!) config file

13 years agoprosody, configmanager, certmanager: Relocate prosody.resolve_relative_path() to...
Matthew Wild [Wed, 10 Nov 2010 19:46:53 +0000 (19:46 +0000)]
prosody, configmanager, certmanager: Relocate prosody.resolve_relative_path() to configmanager, and update certmanager (the only user of this function)

13 years agomodulemanager, usermanager: Removed hooks for the 'component-activated' event (compon...
Waqas Hussain [Wed, 10 Nov 2010 17:27:09 +0000 (22:27 +0500)]
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').

13 years agomod_proxy65: Use module:get_option() instead of configmanager.
Waqas Hussain [Wed, 10 Nov 2010 17:02:28 +0000 (22:02 +0500)]
mod_proxy65: Use module:get_option() instead of configmanager.

13 years agocomponentmanager: Removed.
Waqas Hussain [Wed, 10 Nov 2010 16:48:28 +0000 (21:48 +0500)]
componentmanager: Removed.

13 years agoprosody: Added a stub implementation of core.componentmanager to the package.loaded...
Waqas Hussain [Wed, 10 Nov 2010 16:47:39 +0000 (21:47 +0500)]
prosody: Added a stub implementation of core.componentmanager to the package.loaded table.

13 years agoprosody: Removed all references to componentmanager from Prosody, except the main...
Waqas Hussain [Wed, 10 Nov 2010 15:59:16 +0000 (20:59 +0500)]
prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.

13 years agocomponentmanager: Removed most of the code. Stub implementations of register_componen...
Waqas Hussain [Wed, 10 Nov 2010 15:51:23 +0000 (20:51 +0500)]
componentmanager: Removed most of the code. Stub implementations of register_component and deregister_component remain.

13 years agocomponentmanager: Removed get_children(host).
Waqas Hussain [Wed, 10 Nov 2010 15:42:59 +0000 (20:42 +0500)]
componentmanager: Removed get_children(host).

13 years agohostmanager: Don't include hosts with '@' or '/' in the name in the get_children...
Waqas Hussain [Wed, 10 Nov 2010 15:36:37 +0000 (20:36 +0500)]
hostmanager: Don't include hosts with '@' or '/' in the name in the get_children(host) result.

13 years agomod_disco: Updated to use hostmanager.get_children instead of componentmanager.get_ch...
Waqas Hussain [Wed, 10 Nov 2010 15:31:28 +0000 (20:31 +0500)]
mod_disco: Updated to use hostmanager.get_children instead of componentmanager.get_children.

13 years agohostmanager: Added function get_children(host) which copies componentmanager.get_chil...
Waqas Hussain [Wed, 10 Nov 2010 15:28:20 +0000 (20:28 +0500)]
hostmanager: Added function get_children(host) which copies componentmanager.get_children(host).

13 years agomodulemanager: Return an error when loading a module on a non-existent host, don...
Waqas Hussain [Wed, 10 Nov 2010 15:14:33 +0000 (20:14 +0500)]
modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager.

13 years agohostmanager, componentmanager: hostmanager now handles component initialization at...
Waqas Hussain [Wed, 10 Nov 2010 14:57:35 +0000 (19:57 +0500)]
hostmanager, componentmanager: hostmanager now handles component initialization at server start, not componentmanager.

13 years agomodulemanager: load_modules_for_host(): For components, the inherited modules are...
Waqas Hussain [Wed, 10 Nov 2010 14:54:38 +0000 (19:54 +0500)]
modulemanager: load_modules_for_host(): For components, the inherited modules are the intersection of the inheritable and global modules lists, not the difference.

13 years agomodulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from global...
Waqas Hussain [Wed, 10 Nov 2010 13:06:51 +0000 (18:06 +0500)]
modulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from global modules list for components, and load the component module. Also refactored to use util.set.

13 years agohostmanager: Added support for components to hostmanager.activate().
Waqas Hussain [Wed, 10 Nov 2010 12:37:14 +0000 (17:37 +0500)]
hostmanager: Added support for components to hostmanager.activate().

13 years agoMUC: Only send status code 110 (entering non-anonymous room) to the occupant themselv...
Waqas Hussain [Wed, 10 Nov 2010 01:27:35 +0000 (06:27 +0500)]
MUC: Only send status code 110 (entering non-anonymous room) to the occupant themselves, not to other occupants.

13 years agoMUC: Added some more missing :up()s to the stanza building for presence broadcasts...
Waqas Hussain [Wed, 10 Nov 2010 00:49:04 +0000 (05:49 +0500)]
MUC: Added some more missing :up()s to the stanza building for presence broadcasts (thanks again Zash).

13 years agoMUC: Parse submitted form with util.dataforms
Kim Alvefur [Wed, 10 Nov 2010 00:34:57 +0000 (01:34 +0100)]
MUC: Parse submitted form with util.dataforms

13 years agoMUC: Added a missing :up() to the stanza building for presence broadcast (thanks...
Waqas Hussain [Wed, 10 Nov 2010 00:32:09 +0000 (05:32 +0500)]
MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash).

13 years agoMUC: Return true from the stanza handler to suppress error responses.
Waqas Hussain [Wed, 10 Nov 2010 00:31:19 +0000 (05:31 +0500)]
MUC: Return true from the stanza handler to suppress error responses.

13 years agomodulemanager: Fixed: Locally defined pcall wasn't returning return values of the...
Waqas Hussain [Wed, 10 Nov 2010 00:30:46 +0000 (05:30 +0500)]
modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function.

13 years agocomponentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless...
Waqas Hussain [Tue, 9 Nov 2010 22:39:38 +0000 (03:39 +0500)]
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.

13 years agocomponentmanager, stanza_router: Get rid of componentmanager.handle_stanza().
Waqas Hussain [Tue, 9 Nov 2010 21:51:36 +0000 (02:51 +0500)]
componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().

13 years agoprosody: Ensure componentmanager is loaded in the main file.
Waqas Hussain [Tue, 9 Nov 2010 21:50:35 +0000 (02:50 +0500)]
prosody: Ensure componentmanager is loaded in the main file.

13 years agocomponentmanager: Removed SSL context creation (mod_tls handles that now).
Waqas Hussain [Tue, 9 Nov 2010 21:32:14 +0000 (02:32 +0500)]
componentmanager: Removed SSL context creation (mod_tls handles that now).

13 years agomod_tls: Let hosts without an 'ssl' option inherit it from their parent hosts.
Waqas Hussain [Tue, 9 Nov 2010 21:26:18 +0000 (02:26 +0500)]
mod_tls: Let hosts without an 'ssl' option inherit it from their parent hosts.

13 years agonet.xmppcomponent_listener: Removed unnecessary and problematic cleanup code.
Waqas Hussain [Tue, 9 Nov 2010 20:52:03 +0000 (01:52 +0500)]
net.xmppcomponent_listener: Removed unnecessary and problematic cleanup code.

13 years agomod_component: Updated to use events for hooking stanzas instead of the component...
Waqas Hussain [Tue, 9 Nov 2010 20:51:03 +0000 (01:51 +0500)]
mod_component: Updated to use events for hooking stanzas instead of the component stanza handler, and the on_destroy callback.

13 years agoMUC: Handle missing <value/> for <field type='boolean'/> in config form submissions.
Waqas Hussain [Tue, 9 Nov 2010 19:24:17 +0000 (00:24 +0500)]
MUC: Handle missing <value/> for <field type='boolean'/> in config form submissions.

13 years agomod_component: Send back a <conflict/> stream error when multiple sessions attempt...
Waqas Hussain [Tue, 9 Nov 2010 15:23:28 +0000 (20:23 +0500)]
mod_component: Send back a <conflict/> stream error when multiple sessions attempt to bind.

13 years agonet.xmppcomponent_listener: Call session:on_destroy() on session disconnect.
Waqas Hussain [Tue, 9 Nov 2010 15:22:08 +0000 (20:22 +0500)]
net.xmppcomponent_listener: Call session:on_destroy() on session disconnect.

13 years agoMUC: Preserve the global rooms table through reloads.
Waqas Hussain [Mon, 8 Nov 2010 20:19:17 +0000 (01:19 +0500)]
MUC: Preserve the global rooms table through reloads.

13 years agoMUC: Expose the rooms table as a global 'rooms'.
Waqas Hussain [Mon, 8 Nov 2010 20:07:39 +0000 (01:07 +0500)]
MUC: Expose the rooms table as a global 'rooms'.

13 years agoMUC: Allow restricting room creation to local JIDs (thanks thomas.mangin).
Waqas Hussain [Mon, 8 Nov 2010 15:44:53 +0000 (20:44 +0500)]
MUC: Allow restricting room creation to local JIDs (thanks thomas.mangin).

13 years agomod_tls: Pass the hostname rather than host session to certmanager.create_context...
Matthew Wild [Mon, 8 Nov 2010 03:12:30 +0000 (03:12 +0000)]
mod_tls: Pass the hostname rather than host session to certmanager.create_context() (thanks darkrain)

13 years agoconfigmanager: Atomic reloads, and some other internal changes to achieve this
Matthew Wild [Sun, 7 Nov 2010 20:38:01 +0000 (20:38 +0000)]
configmanager: Atomic reloads, and some other internal changes to achieve this

13 years agomod_disco: Renamed the 'session' property of the account-disco-info and account-disco...
Waqas Hussain [Sun, 7 Nov 2010 15:53:08 +0000 (20:53 +0500)]
mod_disco: Renamed the 'session' property of the account-disco-info and account-disco-items events to 'origin' for consistency.

13 years agocertmanager, hostmanager, mod_tls: Move responsibility for creating per-host SSL...
Matthew Wild [Sat, 6 Nov 2010 18:28:15 +0000 (18:28 +0000)]
certmanager, hostmanager, mod_tls: Move responsibility for creating per-host SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls

13 years agoutil.httpstream: Added support for chunked transfer encoding.
Waqas Hussain [Fri, 5 Nov 2010 22:46:19 +0000 (03:46 +0500)]
util.httpstream: Added support for chunked transfer encoding.

13 years agonet.http: Removed old HTTP parser, and updated to use util.httpstream.
Waqas Hussain [Fri, 5 Nov 2010 22:46:00 +0000 (03:46 +0500)]
net.http: Removed old HTTP parser, and updated to use util.httpstream.

13 years agoutil.httpstream: Fixed a possible string to number comparison error.
Waqas Hussain [Fri, 5 Nov 2010 22:41:05 +0000 (03:41 +0500)]
util.httpstream: Fixed a possible string to number comparison error.

13 years agoutil.httpstream: Don't attempt to read response body for HEAD requests, or when statu...
Waqas Hussain [Fri, 5 Nov 2010 20:58:46 +0000 (01:58 +0500)]
util.httpstream: Don't attempt to read response body for HEAD requests, or when status code indicates no body is present.

13 years agoutil.httpstream: Added support for an options callback, to allow passing per-message...
Waqas Hussain [Fri, 5 Nov 2010 20:54:58 +0000 (01:54 +0500)]
util.httpstream: Added support for an options callback, to allow passing per-message options to the parser.

13 years agoutil.httpstream: A little refactoring of the coroutine control flow.
Waqas Hussain [Fri, 5 Nov 2010 20:08:30 +0000 (01:08 +0500)]
util.httpstream: A little refactoring of the coroutine control flow.

13 years agoutil.httpstream: Added support for HTTP response parsing.
Waqas Hussain [Thu, 4 Nov 2010 22:07:36 +0000 (03:07 +0500)]
util.httpstream: Added support for HTTP response parsing.

13 years agoutil.httpstream: Fixed a nil variable access introduced in the last commit.
Waqas Hussain [Thu, 4 Nov 2010 22:06:11 +0000 (03:06 +0500)]
util.httpstream: Fixed a nil variable access introduced in the last commit.

13 years agoutil.httpstream: Move HTTP header parsing into its own function.
Waqas Hussain [Thu, 4 Nov 2010 21:09:56 +0000 (02:09 +0500)]
util.httpstream: Move HTTP header parsing into its own function.

13 years agocomponentmanager: Removed unused function set_component_handler.
Waqas Hussain [Thu, 4 Nov 2010 15:12:42 +0000 (20:12 +0500)]
componentmanager: Removed unused function set_component_handler.

13 years agoMUC: Use events for hooking stanzas instead of the component stanza handler.
Waqas Hussain [Thu, 4 Nov 2010 14:38:05 +0000 (19:38 +0500)]
MUC: Use events for hooking stanzas instead of the component stanza handler.

13 years agomod_proxy65: Removed useless checks from the event handler.
Waqas Hussain [Thu, 4 Nov 2010 14:26:04 +0000 (19:26 +0500)]
mod_proxy65: Removed useless checks from the event handler.

13 years agomod_proxy65: Use "iq/host" event for hooking stanzas instead of the component stanza...
Waqas Hussain [Thu, 4 Nov 2010 14:18:32 +0000 (19:18 +0500)]
mod_proxy65: Use "iq/host" event for hooking stanzas instead of the component stanza handler.

13 years agomod_console: Keep global variable assignments sandboxed by default.
Waqas Hussain [Thu, 4 Nov 2010 13:44:57 +0000 (18:44 +0500)]
mod_console: Keep global variable assignments sandboxed by default.

13 years agoutil.logger: Remove support for a global writer (setwriter) to try and balance the...
Matthew Wild [Thu, 4 Nov 2010 08:42:18 +0000 (08:42 +0000)]
util.logger: Remove support for a global writer (setwriter) to try and balance the forces...

13 years agomod_posix: Remove redundant import of logger.setwriter()
Matthew Wild [Thu, 4 Nov 2010 08:41:24 +0000 (08:41 +0000)]
mod_posix: Remove redundant import of logger.setwriter()

13 years agoutil.logger: Remove my precious premature optimisation :(
Matthew Wild [Thu, 4 Nov 2010 08:37:39 +0000 (08:37 +0000)]
util.logger: Remove my precious premature optimisation :(

13 years agomod_saslauth: Allow restarting SASL negotiation from scratch.
Waqas Hussain [Tue, 2 Nov 2010 17:23:07 +0000 (22:23 +0500)]
mod_saslauth: Allow restarting SASL negotiation from scratch.

13 years agomod_saslauth: Separated processing of <auth/> and <response/> elements, and return...
Waqas Hussain [Tue, 2 Nov 2010 17:05:19 +0000 (22:05 +0500)]
mod_saslauth: Separated processing of <auth/> and <response/> elements, and return proper error on out-of-order <response/> elements.

13 years agomod_saslauth: Moved SASL mechanism selection and CDATA handling into separate functions.
Waqas Hussain [Tue, 2 Nov 2010 16:19:50 +0000 (21:19 +0500)]
mod_saslauth: Moved SASL mechanism selection and CDATA handling into separate functions.

13 years agoutil.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more consistent.
Waqas Hussain [Tue, 2 Nov 2010 13:58:11 +0000 (18:58 +0500)]
util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more consistent.

13 years agoutil.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, as they...
Waqas Hussain [Tue, 2 Nov 2010 13:04:56 +0000 (18:04 +0500)]
util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, as they are always loaded anyway.

13 years agomod_saslauth: Handle SASL <abort/> properly.
Waqas Hussain [Tue, 2 Nov 2010 10:07:25 +0000 (15:07 +0500)]
mod_saslauth: Handle SASL <abort/> properly.

13 years agocomponentmanager: Removed an unused third parameter from the register_component function.
Waqas Hussain [Mon, 1 Nov 2010 23:29:54 +0000 (04:29 +0500)]
componentmanager: Removed an unused third parameter from the register_component function.

13 years agoutil.template: Optimized to be almost as fast as manual stanza building.
Waqas Hussain [Sun, 24 Oct 2010 10:08:22 +0000 (15:08 +0500)]
util.template: Optimized to be almost as fast as manual stanza building.

13 years agoutil.template: Initial commit. A template library for XML stanzas.
Waqas Hussain [Sun, 24 Oct 2010 10:06:13 +0000 (15:06 +0500)]
util.template: Initial commit. A template library for XML stanzas.

13 years agonet.dns: Fixed a traceback when util/windows.dll is unavailable on windows.
Waqas Hussain [Fri, 22 Oct 2010 05:45:45 +0000 (10:45 +0500)]
net.dns: Fixed a traceback when util/windows.dll is unavailable on windows.

13 years agonet.server_select: Restore real sendbuffer() before calling onconnect handler, in...
Matthew Wild [Fri, 22 Oct 2010 05:33:30 +0000 (06:33 +0100)]
net.server_select: Restore real sendbuffer() before calling onconnect handler, in case onconnect sends data and the socket is still writeable (causing stack overflow into sendbuffer()/onconnect())

13 years agomod_bosh: Don't add a Content-Type header to the HTTP OPTIONS reply.
Waqas Hussain [Fri, 22 Oct 2010 03:36:54 +0000 (08:36 +0500)]
mod_bosh: Don't add a Content-Type header to the HTTP OPTIONS reply.

13 years agoejabberdsql2prosody: Added a global 'prosody' table to fix a traceback.
Waqas Hussain [Tue, 19 Oct 2010 22:57:47 +0000 (03:57 +0500)]
ejabberdsql2prosody: Added a global 'prosody' table to fix a traceback.

13 years agoMonster whitespace commit (beware the whitespace monster).
Waqas Hussain [Sat, 16 Oct 2010 18:00:42 +0000 (23:00 +0500)]
Monster whitespace commit (beware the whitespace monster).

13 years agomodulemanager, stanza_router: Moved modulemanager.handle_stanza to stanza_router...
Waqas Hussain [Sat, 16 Oct 2010 03:34:32 +0000 (08:34 +0500)]
modulemanager, stanza_router: Moved modulemanager.handle_stanza to stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router.

13 years agomodulemanager: Removed another legacy events API (add_event_hook), and related code.
Waqas Hussain [Sat, 16 Oct 2010 03:15:11 +0000 (08:15 +0500)]
modulemanager: Removed another legacy events API (add_event_hook), and related code.

13 years agomod_posix: Updated to use the new events API.
Waqas Hussain [Sat, 16 Oct 2010 02:45:12 +0000 (07:45 +0500)]
mod_posix: Updated to use the new events API.