aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* core.*: Complete removal of all traces of the "core" section and ↵Kim Alvefur2013-03-231-1/+1
| | | | section-related code.
* hostmanager: Use rawget to check for activated hosts to prevent recursion in ↵Matthew Wild2013-03-221-2/+2
| | | | dynamic host loaders
* hostmanager: Use prosody.hosts instead of 'hosts' globalMatthew Wild2013-03-221-1/+1
|
* configmanager, hostmanager, prosody: Almost complete removal of ↵Matthew Wild2013-03-221-5/+5
| | | | section-related code, and the infamous 'core' section. Still backwards-compatible with API users.
* hostmanager: Import core_post_stanza from the global prosody tableKim Alvefur2013-03-131-0/+1
|
* hostmanager, modulemanager: Ensure hosts[*].modules always exists.Waqas Hussain2012-09-131-0/+1
|
* hostmanager, mod_disco: Show optional 'name' option from the config in ↵Matthew Wild2012-08-051-1/+1
| | | | disco#items queries (fixes use-case in #292) (thanks diSabler, mva)
* mod_s2s, mod_auth_anonymous, hostmanager: Remove disallow_s2s flag, ↵Matthew Wild2012-05-111-1/+0
| | | | deprecate the config option of the same name (disable mod_s2s instead), and add 'allow_anonymous_s2s' to separately control s2s for anonymous users
* hostmanager: Remove import of unused setmetatableMatthew Wild2012-04-281-1/+1
|
* hostmanager: Remove unused host_config parameter from host-activated eventMatthew Wild2012-04-271-1/+1
|
* hostmanager: Add some TODO commentsMatthew Wild2012-04-271-0/+2
|
* hostmanager: Convert host-deactivating event parameters to a tableMatthew Wild2012-04-271-1/+1
|
* hostmanager: Import select() (thanks Medics)Matthew Wild2012-02-121-1/+1
|
* hostmanager: Import jid_split (thanks chris)Matthew Wild2012-02-111-0/+1
|
* hostmanager: Add send() method to hostsMatthew Wild2011-12-161-0/+12
|
* hostmanager: Don't set host.disallow_s2s when anonymous_login=true ↵Waqas Hussain2010-12-281-3/+0
| | | | (mod_auth_anonymous does this now).
* 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.
* 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).
* hostmanager, componentmanager: hostmanager now handles component ↵Waqas Hussain2010-11-101-2/+6
| | | | initialization at server start, not componentmanager.
* hostmanager: Added support for components to hostmanager.activate().Waqas Hussain2010-11-101-7/+17
|
* componentmanager, hostmanager, modulemanager, mod_component: Got rid of the ↵Waqas Hussain2010-11-101-1/+1
| | | | useless hosts[*].connected property.
* certmanager, hostmanager, mod_tls: Move responsibility for creating per-host ↵Matthew Wild2010-11-061-6/+0
| | | | SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls
* hostmanager: Remove dependency on eventmanagerMatthew Wild2010-08-031-9/+9
|
* Merge 0.6 into 0.7.Waqas Hussain2010-05-011-3/+3
|\
| * hostmanager: Re-word log messages in line with config changesMatthew Wild2010-04-141-3/+3
| |
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-031-0/+7
| |\
| | * hostmanager: Log an error if no hosts are definedMatthew Wild2010-02-121-0/+7
| | |
| * | Disable SSLv2 by default, it's known to be insecure.Paul Aurich2009-12-041-2/+2
| |/
* | certmanager, hostmanager: Rename get_context() to create_context() to be ↵Matthew Wild2010-02-131-2/+2
| | | | | | | | more explicit about what it does
* | hostmanager: Small optimisation in checking whether a host is enabledMatthew Wild2010-02-121-1/+1
| |
* | hostmanager: Log an error if no hosts are definedMatthew Wild2010-02-121-0/+7
| |
* | hostmanager: Use certmanager for obtaining SSL contextsMatthew Wild2010-01-311-12/+4
| |
* | hostmanager: Trailing whitespaceMatthew Wild2010-01-291-4/+4
| |
* | s2smanager, hostmanager: Make dialback secrets per-hostMatthew Wild2010-01-031-4/+7
| |
* | Disable SSLv2 by default, it's known to be insecure.Paul Aurich2009-12-041-2/+2
|/
* hostmanager: Create a server sslctx for incoming connectionsMatthew Wild2009-10-171-0/+2
|
* hostmanager: deactivate() now accepts a reason, closes s2s connections as ↵Matthew Wild2009-10-171-6/+37
| | | | well as disconnecting users, and unloads modules for the host
* hostmanager: Add return _M;Matthew Wild2009-10-171-0/+1
|
* hostmanager: Only initialse SSL contexts if SSL library availableMatthew Wild2009-10-051-3/+5
|
* hostmanager: Create ssl context for each host (fixes #30 for outgoing s2s ↵Matthew Wild2009-10-041-1/+11
| | | | connections)
* hostmanager: Only load vhosts, not componentsMatthew Wild2009-09-301-1/+1
|
* hostmanager: Warn when user puts port configuration under vhost sectionMatthew Wild2009-07-281-0/+5
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* hostmanager: Add disallow_s2s to config, defaults to false unless ↵Matthew Wild2009-07-031-1/+6
| | | | anonymous_login is enabled, then defaults to true
* core: hosts[*].eventsWaqas Hussain2009-05-201-1/+2
|