aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* storagemanager: Fix log message (s/internal/null/)Matthew Wild2011-01-061-1/+1
|
* storagemanager: Add new "null" provider to get used when loading a driver or ↵Matthew Wild2011-01-061-4/+20
| | | | opening a store fails, instead of falling back to the default driver
* storagemanager: Log host in message when loading storage provider failsMatthew Wild2011-01-061-1/+1
|
* modulemanager: Removed an unused variable.Waqas Hussain2011-01-051-2/+0
|
* configmanager: Added rawget().Waqas Hussain2011-01-051-0/+9
|
* usermanager: Add delete_user methodMatthew Wild2011-01-041-0/+4
|
* usermanager: Have methods not implemented in the active provider fall back ↵Matthew Wild2011-01-041-1/+3
| | | | to the null provider (later we can add support for chains of providers)
* usermanager: Change dummy provider method to return an error string also ↵Matthew Wild2011-01-041-2/+4
| | | | (method not implemented)
* hostmanager: Don't set host.disallow_s2s when anonymous_login=true ↵Waqas Hussain2010-12-281-3/+0
| | | | (mod_auth_anonymous does this now).
* usermanager: Assume authentication="anonymous" when anonymous_login=true.Waqas Hussain2010-12-271-0/+2
|
* core.offlinemanager, mod_message, mod_presence: Removed core.offlinemanager ↵Robert Hoelz2010-12-091-41/+0
| | | | in favor of mod_offline.
* modulemanager: Auto-load mod_offline.Waqas Hussain2010-12-271-1/+1
|
* s2smanager: Destroy session on immediate failure of a connection attempt ↵Matthew Wild2010-12-241-1/+7
| | | | (e.g. inability to create sockets)
* s2smanager: Handle DNS lookup error in response handlerMatthew Wild2010-12-241-2/+3
|
* s2smanager: send_to_host(): Handle already-destroyed session and bounce ↵Matthew Wild2010-12-241-1/+4
| | | | stanza accordingly
* s2smanager: new_outgoing(): Destroy session if first connection attempt ↵Matthew Wild2010-12-241-1/+5
| | | | fails immediately (e.g. can't create sockets)
* 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)