prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.

componentmanager: Removed most of the code. Stub implementations of register_component and deregister_component remain.

componentmanager: Removed get_children(host).

hostmanager: Don't include hosts with '@' or '/' in the name in the get_children(host) result.

mod_disco: Updated to use hostmanager.get_children instead of componentmanager.get_children.

hostmanager: Added function get_children(host) which copies componentmanager.get_children(host).

modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager.

hostmanager, componentmanager: hostmanager now handles component initialization at server start, not componentmanager.

modulemanager: load_modules_for_host(): For components, the inherited modules are the intersection of the inheritable and global modules lists, not the difference.

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.

hostmanager: Added support for components to hostmanager.activate().

MUC: Only send status code 110 (entering non-anonymous room) to the occupant themselves, not to other occupants.

MUC: Added some more missing :up()s to the stanza building for presence broadcasts (thanks again Zash).

MUC: Parse submitted form with util.dataforms

MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash).

MUC: Return true from the stanza handler to suppress error responses.

modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function.

componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.

componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().

prosody: Ensure componentmanager is loaded in the main file.

componentmanager: Removed SSL context creation (mod_tls handles that now).

mod_tls: Let hosts without an 'ssl' option inherit it from their parent hosts.

net.xmppcomponent_listener: Removed unnecessary and problematic cleanup code.

mod_component: Updated to use events for hooking stanzas instead of the component stanza handler, and the on_destroy callback.

MUC: Handle missing <value/> for <field type='boolean'/> in config form submissions.

mod_component: Send back a <conflict/> stream error when multiple sessions attempt to bind.

net.xmppcomponent_listener: Call session:on_destroy() on session disconnect.

MUC: Preserve the global rooms table through reloads.

MUC: Expose the rooms table as a global 'rooms'.

MUC: Allow restricting room creation to local JIDs (thanks thomas.mangin).

mod_tls: Pass the hostname rather than host session to certmanager.create_context() (thanks darkrain)

configmanager: Atomic reloads, and some other internal changes to achieve this

mod_disco: Renamed the 'session' property of the account-disco-info and account-disco-items events to 'origin' for consistency.

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

util.httpstream: Added support for chunked transfer encoding.

net.http: Removed old HTTP parser, and updated to use util.httpstream.

util.httpstream: Fixed a possible string to number comparison error.

util.httpstream: Don't attempt to read response body for HEAD requests, or when status code indicates no body is present.

util.httpstream: Added support for an options callback, to allow passing per-message options to the parser.

util.httpstream: A little refactoring of the coroutine control flow.

util.httpstream: Added support for HTTP response parsing.

util.httpstream: Fixed a nil variable access introduced in the last commit.

util.httpstream: Move HTTP header parsing into its own function.

componentmanager: Removed unused function set_component_handler.

MUC: Use events for hooking stanzas instead of the component stanza handler.

mod_proxy65: Removed useless checks from the event handler.

mod_proxy65: Use "iq/host" event for hooking stanzas instead of the component stanza handler.

mod_console: Keep global variable assignments sandboxed by default.

util.logger: Remove support for a global writer (setwriter) to try and balance the forces...

mod_posix: Remove redundant import of logger.setwriter()

util.logger: Remove my precious premature optimisation :(

mod_saslauth: Allow restarting SASL negotiation from scratch.

mod_saslauth: Separated processing of <auth/> and <response/> elements, and return proper error on out-of-order <response/> elements.

mod_saslauth: Moved SASL mechanism selection and CDATA handling into separate functions.

util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more consistent.

util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, as they are always loaded anyway.

mod_saslauth: Handle SASL <abort/> properly.

componentmanager: Removed an unused third parameter from the register_component function.

util.template: Optimized to be almost as fast as manual stanza building.

util.template: Initial commit. A template library for XML stanzas.

(0) -3000 -1000 -300 -100 -60 +60 +100 +300 tip

mercurial