Commit Graph

54 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Matthew Wild 77431e5d84 hostmanager: Use rawget to check for activated hosts to prevent recursion in dynamic host loaders 13 years ago
Matthew Wild 3ba555b9c5 hostmanager: Use prosody.hosts instead of 'hosts' global 13 years ago
Matthew Wild ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 13 years ago
Kim Alvefur ff9ab821f7 hostmanager: Import core_post_stanza from the global prosody table 13 years ago
Waqas Hussain 48a297e80c hostmanager, modulemanager: Ensure hosts[*].modules always exists. 13 years ago
Matthew Wild 18fc86713e hostmanager, mod_disco: Show optional 'name' option from the config in disco#items queries (fixes use-case in #292) (thanks diSabler, mva) 14 years ago
Matthew Wild 0b4567a6f1 mod_s2s, mod_auth_anonymous, hostmanager: Remove disallow_s2s flag, deprecate the config option of the same name (disable mod_s2s instead), and add 'allow_anonymous_s2s' to separately control s2s for anonymous users 14 years ago
Matthew Wild 3ba967c53a hostmanager: Remove import of unused setmetatable 14 years ago
Matthew Wild f427f1c7d5 hostmanager: Remove unused host_config parameter from host-activated event 14 years ago
Matthew Wild 3547b00138 hostmanager: Add some TODO comments 14 years ago
Matthew Wild 88637ab348 hostmanager: Convert host-deactivating event parameters to a table 14 years ago
Matthew Wild 56edb2db8c hostmanager: Import select() (thanks Medics) 14 years ago
Matthew Wild fa30c62a6a hostmanager: Import jid_split (thanks chris) 14 years ago
Matthew Wild e5684a78b0 hostmanager: Add send() method to hosts 14 years ago
Matthew Wild d9a74e4196 hostmanager: Add send() method to hosts 14 years ago
Waqas Hussain a2b49b64ae hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now). 15 years ago
Waqas Hussain ff637cb817 hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now). 15 years ago
Waqas Hussain 8489bc8be1 hostmanager: Improved error handling. 15 years ago
Waqas Hussain 27fed00b0c hostmanager: Improved error handling. 15 years ago
Waqas Hussain 092aa80e31 hostmanager: deactivate() now returns true on success. 15 years ago
Waqas Hussain cd5d372090 hostmanager: deactivate() now returns true on success. 15 years ago
Waqas Hussain 1b1f622cd2 hostmanager: activate() now gets the host config from configmanager when a config isn't given. 15 years ago
Waqas Hussain e8fa3940a7 hostmanager: activate() now gets the host config from configmanager when a config isn't given. 15 years ago
Waqas Hussain 48b21cfa9c hostmanager: Don't include hosts with '@' or '/' in the name in the get_children(host) result. 15 years ago
Waqas Hussain dc00ab5c71 hostmanager: Added function get_children(host) which copies componentmanager.get_children(host). 15 years ago
Waqas Hussain d1706d1cb5 hostmanager, componentmanager: hostmanager now handles component initialization at server start, not componentmanager. 15 years ago
Waqas Hussain 68f1533da5 hostmanager: Added support for components to hostmanager.activate(). 15 years ago
Waqas Hussain 67804ef1a3 componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. 15 years ago
Matthew Wild c6045f3c70 certmanager, hostmanager, mod_tls: Move responsibility for creating per-host SSL contexts to mod_tls, meaning reloading certs is now as trivial as reloading mod_tls 15 years ago
Matthew Wild c227e09b53 hostmanager: Remove dependency on eventmanager 16 years ago
Matthew Wild 6d9cc72783 hostmanager: Re-word log messages in line with config changes 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild cec65108c9 certmanager, hostmanager: Rename get_context() to create_context() to be more explicit about what it does 16 years ago
Matthew Wild c7a61c42ae hostmanager: Small optimisation in checking whether a host is enabled 16 years ago
Matthew Wild 6014843e31 hostmanager: Log an error if no hosts are defined 16 years ago
Matthew Wild 382b21b912 hostmanager: Use certmanager for obtaining SSL contexts 16 years ago
Matthew Wild 2c384fccc2 hostmanager: Trailing whitespace 16 years ago
Matthew Wild 4b75f2857c s2smanager, hostmanager: Make dialback secrets per-host 16 years ago
Paul Aurich a5dcc1d8c6 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Paul Aurich d92cd1e697 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Matthew Wild f3444ceaa2 hostmanager: Log an error if no hosts are defined 16 years ago
Matthew Wild d1e347d159 hostmanager: Create a server sslctx for incoming connections 16 years ago
Matthew Wild 5e175c043e hostmanager: deactivate() now accepts a reason, closes s2s connections as well as disconnecting users, and unloads modules for the host 16 years ago
Matthew Wild 921d2fd716 hostmanager: Add return _M; 16 years ago
Matthew Wild 8baf84f36b hostmanager: Only initialse SSL contexts if SSL library available 16 years ago
Matthew Wild 24d115f8cd hostmanager: Create ssl context for each host (fixes #30 for outgoing s2s connections) 16 years ago
Matthew Wild 3a70cdac49 hostmanager: Only load vhosts, not components 16 years ago
Matthew Wild 08391171c3 hostmanager: Warn when user puts port configuration under vhost section 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago