aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Give all new outgoing s2s sessions a close method by default ↵Matthew Wild2010-12-241-0/+2
| | | | (destroy_session)
* s2smanager: Add a missing semi-colonMatthew Wild2010-12-241-1/+1
|
* s2smanager: destroy_session(): Pass reason to retire_session() and return ↵Matthew Wild2010-12-241-1/+2
| | | | true on successful destruction
* s2smanager: retire_session(): Add a 'reason' parameterMatthew Wild2010-12-241-1/+3
|
* s2smanager: session.send(): Return the result of send_to_host() (and ↵Matthew Wild2010-12-221-1/+1
| | | | incidentally make this a tail call \o/)
* s2smanager: send_to_host(): Return false on failure, and true otherwiseMatthew Wild2010-12-221-0/+3
|
* configmanager: Filenames without a path are also relative to the config file ↵Matthew Wild2010-12-211-2/+3
| | | | path, not the current working directory
* configmanager: Support for wildcards in Include directivesMatthew Wild2010-12-201-15/+49
|
* configmanager: Switch back to returning 'ok' to signal config load success - ↵Matthew Wild2010-12-181-1/+1
| | | | fixes config errors not being displayed
* storagemanager: Don't always show fallback warning when using per-store configMatthew Wild2010-12-181-1/+2
|
* storagemanager: Log warning when loading the storage provider plugin failsMatthew Wild2010-12-181-1/+4
|
* usermanager: Fixed a possible traceback when is_admin() was used on a component.Waqas Hussain2010-12-171-1/+1
|
* modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add ↵Matthew Wild2010-12-171-0/+7
| | | | compatibility code to modulemanager for existing configs
* core.loggingmanager: Updated to use termcolours.getstyle instead of ↵Waqas Hussain2010-12-151-4/+8
| | | | termcolours.getstring for console logging.
* storagemanager: When we have a cached data driver, we are supposed to use it.Waqas Hussain2010-12-121-7/+6
|
* storagemanager: Hook "host-activated", to make sure we are notified about ↵Waqas Hussain2010-12-121-0/+2
| | | | data drivers.
* storagemanager: Fixed a nil global access.Waqas Hussain2010-12-121-0/+1
|
* usermanager: Removed redundant import of util.datamanager and util.hashes.Waqas Hussain2010-12-101-3/+0
|
* hostmanager: Improved error handling.Waqas Hussain2010-12-091-2/+7
|
* hostmanager: deactivate() now returns true on success.Waqas Hussain2010-12-091-0/+1
|
* hostmanager: activate() now gets the host config from configmanager when a ↵Waqas Hussain2010-12-091-0/+1
| | | | config isn't given.
* xmlhandlers: DELETED.Matthew Wild2010-12-071-146/+0
|
* modulemanager: Allow components to inherit mod_iq. This allows modules ↵Waqas Hussain2010-12-021-1/+1
| | | | loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc).
* storagemanager: Only show fallback warning if storage was configured to use ↵Matthew Wild2010-11-271-1/+3
| | | | another backend and it failed
* storagemanager: Return driver from load_driver() if successfulMatthew Wild2010-11-271-0/+1
|
* storagemanager: Import type()Matthew Wild2010-11-271-1/+1
|
* storagemanager: Import util.multitable againMatthew Wild2010-11-271-0/+1
|
* storagemanager: Fix syntax errorMatthew Wild2010-11-271-1/+1
|
* s2smanager: Compatibility hack for when not using dialbackPaul Aurich2010-11-211-0/+2
|
* storagemanager: Much refactoring and renaming of options. Untested, needs ↵Matthew Wild2010-11-271-30/+54
| | | | storage plugin(s) to be brought into line.
* util.stanza, util.xmppstream, core.xmlhandlers: Allow stanza.last_add to be ↵Waqas Hussain2010-11-261-1/+2
| | | | nil, and set it nil by default. Saves a table allocation per-element. 20% faster stanza building.
* Backed out changeset bfc47564aaef (No need for _M with module.environment)Matthew Wild2010-11-131-1/+0
|
* modulemanager: Inside plugins, have global _M as a reference to the module's ↵Matthew Wild2010-11-131-0/+1
| | | | environment
* 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
|
* 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-102-1/+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').
* componentmanager: Removed.Waqas Hussain2010-11-101-36/+0
|
* 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.
* 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
|
* 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-103-6/+3
| | | | useless hosts[*].connected property.