aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_disco: Updated to use hostmanager.get_children instead of ↵Waqas Hussain2010-11-101-2/+2
| | | | componentmanager.get_children.
* hostmanager: Added function get_children(host) which copies ↵Waqas Hussain2010-11-101-1/+6
| | | | componentmanager.get_children(host).
* modulemanager: Return an error when loading a module on a non-existent host, ↵Waqas Hussain2010-11-101-5/+2
| | | | don't create the host. Removes dependecy on componentmanager.
* hostmanager, componentmanager: hostmanager now handles component ↵Waqas Hussain2010-11-102-24/+6
| | | | initialization at server start, not componentmanager.
* modulemanager: load_modules_for_host(): For components, the inherited ↵Waqas Hussain2010-11-101-1/+1
| | | | modules are the intersection of the inheritable and global modules lists, not the difference.
* modulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from ↵Waqas Hussain2010-11-101-35/+21
| | | | global modules list for components, and load the component module. Also refactored to use util.set.
* hostmanager: Added support for components to hostmanager.activate().Waqas Hussain2010-11-101-7/+17
|
* MUC: Only send status code 110 (entering non-anonymous room) to the occupant ↵Waqas Hussain2010-11-101-9/+9
| | | | themselves, not to other occupants.
* MUC: Added some more missing :up()s to the stanza building for presence ↵Waqas Hussain2010-11-101-11/+11
| | | | broadcasts (thanks again Zash).
* MUC: Parse submitted form with util.dataformsKim Alvefur2010-11-101-26/+14
|
* MUC: Added a missing :up() to the stanza building for presence broadcast ↵Waqas Hussain2010-11-101-1/+1
| | | | (thanks Zash).
* MUC: Return true from the stanza handler to suppress error responses.Waqas Hussain2010-11-101-1/+2
|
* modulemanager: Fixed: Locally defined pcall wasn't returning return values ↵Waqas Hussain2010-11-101-1/+1
| | | | of the called function.
* componentmanager, hostmanager, modulemanager, mod_component: Got rid of the ↵Waqas Hussain2010-11-104-8/+3
| | | | useless hosts[*].connected property.
* componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().Waqas Hussain2010-11-102-22/+0
|
* prosody: Ensure componentmanager is loaded in the main file.Waqas Hussain2010-11-101-0/+1
|
* componentmanager: Removed SSL context creation (mod_tls handles that now).Waqas Hussain2010-11-101-18/+1
|
* mod_tls: Let hosts without an 'ssl' option inherit it from their parent hosts.Waqas Hussain2010-11-101-1/+7
|
* net.xmppcomponent_listener: Removed unnecessary and problematic cleanup code.Waqas Hussain2010-11-101-6/+1
|
* mod_component: Updated to use events for hooking stanzas instead of the ↵Waqas Hussain2010-11-101-8/+41
| | | | component stanza handler, and the on_destroy callback.
* MUC: Handle missing <value/> for <field type='boolean'/> in config form ↵Waqas Hussain2010-11-101-2/+6
| | | | submissions.
* mod_component: Send back a <conflict/> stream error when multiple sessions ↵Waqas Hussain2010-11-091-0/+2
| | | | attempt to bind.
* net.xmppcomponent_listener: Call session:on_destroy() on session disconnect.Waqas Hussain2010-11-091-0/+1
|
* MUC: Preserve the global rooms table through reloads.Waqas Hussain2010-11-091-1/+0
|
* MUC: Expose the rooms table as a global 'rooms'.Waqas Hussain2010-11-091-1/+2
|
* MUC: Allow restricting room creation to local JIDs (thanks thomas.mangin).Waqas Hussain2010-11-081-3/+10
|
* mod_tls: Pass the hostname rather than host session to ↵Matthew Wild2010-11-081-2/+2
| | | | certmanager.create_context() (thanks darkrain)
* configmanager: Atomic reloads, and some other internal changes to achieve thisMatthew Wild2010-11-071-21/+29
|
* mod_disco: Renamed the 'session' property of the account-disco-info and ↵Waqas Hussain2010-11-071-2/+2
| | | | account-disco-items events to 'origin' for consistency.
* certmanager, hostmanager, mod_tls: Move responsibility for creating per-host ↵Matthew Wild2010-11-063-8/+14
| | | | SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls
* util.httpstream: Added support for chunked transfer encoding.Waqas Hussain2010-11-061-1/+12
|
* net.http: Removed old HTTP parser, and updated to use util.httpstream.Waqas Hussain2010-11-061-91/+14
|
* util.httpstream: Fixed a possible string to number comparison error.Waqas Hussain2010-11-061-1/+2
|
* util.httpstream: Don't attempt to read response body for HEAD requests, or ↵Waqas Hussain2010-11-061-9/+16
| | | | when status code indicates no body is present.
* util.httpstream: Added support for an options callback, to allow passing ↵Waqas Hussain2010-11-061-3/+3
| | | | per-message options to the parser.
* util.httpstream: A little refactoring of the coroutine control flow.Waqas Hussain2010-11-061-3/+5
|
* util.httpstream: Added support for HTTP response parsing.Waqas Hussain2010-11-051-24/+55
|
* util.httpstream: Fixed a nil variable access introduced in the last commit.Waqas Hussain2010-11-051-0/+1
|
* util.httpstream: Move HTTP header parsing into its own function.Waqas Hussain2010-11-051-8/+10
|
* componentmanager: Removed unused function set_component_handler.Waqas Hussain2010-11-041-4/+0
|
* MUC: Use events for hooking stanzas instead of the component stanza handler.Waqas Hussain2010-11-041-2/+14
|
* mod_proxy65: Removed useless checks from the event handler.Waqas Hussain2010-11-041-42/+37
|
* mod_proxy65: Use "iq/host" event for hooking stanzas instead of the ↵Waqas Hussain2010-11-041-2/+4
| | | | component stanza handler.
* mod_console: Keep global variable assignments sandboxed by default.Waqas Hussain2010-11-041-1/+1
|
* util.logger: Remove support for a global writer (setwriter) to try and ↵Matthew Wild2010-11-041-14/+0
| | | | balance the forces...
* mod_posix: Remove redundant import of logger.setwriter()Matthew Wild2010-11-041-2/+0
|
* util.logger: Remove my precious premature optimisation :(Matthew Wild2010-11-041-23/+2
|
* mod_saslauth: Allow restarting SASL negotiation from scratch.Waqas Hussain2010-11-021-1/+10
|
* mod_saslauth: Separated processing of <auth/> and <response/> elements, and ↵Waqas Hussain2010-11-021-25/+26
| | | | return proper error on out-of-order <response/> elements.
* mod_saslauth: Moved SASL mechanism selection and CDATA handling into ↵Waqas Hussain2010-11-021-16/+20
| | | | separate functions.