aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* certmanager: Add required verify flags for cert verification if LuaSec ↵Matthew Wild2010-11-281-2/+4
| | | | (probably) supports them
* s2smanager: Check for getpeercertificate availability (for old LuaSecs)Matthew Wild2010-11-271-1/+4
|
* 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
|
* s2s: SASL EXTERNALPaul Aurich2010-11-211-2/+36
|
* 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.
* componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().Waqas Hussain2010-11-102-22/+0
|
* componentmanager: Removed SSL context creation (mod_tls handles that now).Waqas Hussain2010-11-101-18/+1
|
* configmanager: Atomic reloads, and some other internal changes to achieve thisMatthew Wild2010-11-071-21/+29
|
* certmanager, hostmanager, mod_tls: Move responsibility for creating per-host ↵Matthew Wild2010-11-062-8/+2
| | | | SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls
* componentmanager: Removed unused function set_component_handler.Waqas Hussain2010-11-041-4/+0
|
* componentmanager: Removed an unused third parameter from the ↵Waqas Hussain2010-11-021-3/+3
| | | | register_component function.
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-166-16/+14
|
* modulemanager, stanza_router: Moved modulemanager.handle_stanza to ↵Waqas Hussain2010-10-162-25/+24
| | | | stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router.
* modulemanager: Removed another legacy events API (add_event_hook), and ↵Waqas Hussain2010-10-161-17/+0
| | | | related code.
* modulemanager: Removed legacy events API, and related code.Waqas Hussain2010-10-161-51/+7
|
* modulemanager: Removed add_iq_handler() from the plugin API.Waqas Hussain2010-10-161-3/+0
|
* configmanager: Allow VirtualHost/Component definitions to be followed by a ↵Matthew Wild2010-10-081-0/+14
| | | | table of config options
* core.loggingmanager: Logging config simplification - allow [level] = ↵Matthew Wild2010-10-081-2/+20
| | | | filename and *sink to appear in the config table
* s2smanager: Don't fire s2sin-destroyed for sessions that were never fully ↵Matthew Wild2010-09-051-1/+1
| | | | established (thanks Thomas)
* s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyedMatthew Wild2010-09-051-0/+13
|
* s2smanager: Fire s2s{in,out}-established when new s2s connections are readyMatthew Wild2010-08-301-1/+10
|
* componentmanager: Relocate disallow_s2s to its correct position (thanks ↵Matthew Wild2010-08-241-2/+2
| | | | darkhoptipomatus)
* usermanager: Get rid unused Cyrus SASL related code.Waqas Hussain2010-08-231-4/+0
|
* componentmanager: Support the 'disallow_s2s' option for components too ↵Matthew Wild2010-08-231-0/+1
| | | | (thanks darkhopatomopus)