aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | mod_component: Use module:get_option() instead of configmanager.Waqas Hussain2010-11-121-2/+1
| | |
* | | mod_component: Rearranged the code a little.Waqas Hussain2010-11-121-4/+1
| | |
* | | mod_component: Return true from stanza handler to indicate that we actually ↵Waqas Hussain2010-11-121-0/+1
| | | | | | | | | | | | did handle the stanza.
* | | mod_console: Don't allow bang bang as the first command in a session, or ↵Matthew Wild2010-11-121-1/+1
| | | | | | | | | | | | when the last command is unknown (fixes #218)
* | | configmanager: Change parser API again to pass a config table to insert ↵Matthew Wild2010-11-111-9/+7
| | | | | | | | | | | | settings to. Fixes Include(). (Thanks Zash/answerman)
* | | usermanager: Don't load auth modules for components.Waqas Hussain2010-11-111-0/+2
| | |
* | | MUC: Grant membership when inviteing someone into a members-only room.Kim Alvefur2010-11-111-0/+4
| | |
* | | configmanager: Update Include and RunScript directives to support paths ↵Matthew Wild2010-11-101-1/+6
| | | | | | | | | | | | relative to the (current!) config file
* | | prosody, configmanager, certmanager: Relocate ↵Matthew Wild2010-11-103-22/+22
| | | | | | | | | | | | prosody.resolve_relative_path() to configmanager, and update certmanager (the only user of this function)
* | | modulemanager, usermanager: Removed hooks for the 'component-activated' ↵Waqas Hussain2010-11-102-2/+0
| | | | | | | | | | | | event (components now fire 'host-activated').
* | | mod_proxy65: Use module:get_option() instead of configmanager.Waqas Hussain2010-11-101-5/+4
| | |
* | | componentmanager: Removed.Waqas Hussain2010-11-101-36/+0
| | |
* | | prosody: Added a stub implementation of core.componentmanager to the ↵Waqas Hussain2010-11-101-0/+4
| | | | | | | | | | | | package.loaded table.
* | | prosody: Removed all references to componentmanager from Prosody, except the ↵Waqas Hussain2010-11-105-17/+1
| | | | | | | | | | | | main componentmanager file.
* | | componentmanager: Removed most of the code. Stub implementations of ↵Waqas Hussain2010-11-101-53/+2
| | | | | | | | | | | | register_component and deregister_component remain.
* | | componentmanager: Removed get_children(host).Waqas Hussain2010-11-101-15/+0
| | |
* | | hostmanager: Don't include hosts with '@' or '/' in the name in the ↵Waqas Hussain2010-11-101-2/+6
| | | | | | | | | | | | get_children(host) result.
* | | 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
| | |