Commit Graph

72 Commits (master)

Author SHA1 Message Date
Kim Alvefur d47a7bb3bd core: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur 8c81d37532 core.hostmanager: Remove obsolete clearing of srv_hosts 5 years ago
Kim Alvefur 6210465091 hostmanager: Add a logging close method in case something tries to close the origin of local-originated stanzas (see #1084) 8 years ago
Matthew Wild d16959ce16 hostmanager: Add support for 'disco_hidden' option to hide hosts from disco#items (thanks Ge0rG) 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Matthew Wild e807440f36 hostmanager: Remove unused imports of 'jid_split' and 'select' 10 years ago
Kim Alvefur f6b0d630fc hostmanager: Metatable with __tostring on hosts 11 years ago
Matthew Wild 0ad8fd85fa hostmanager: Rename variable to avoid shadowing 'type()' function 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild 3e62ff5870 hostmanager: Remove unused import of util.uuid 11 years ago
Matthew Wild ff0c8c3e62 hostmanager: Don't prevent host_session.send() from routing errors or iq results, so modules can handle them. This code was originally added for a reason, but I can't remember what it was. 11 years ago
Kim Alvefur 105ceb9cff hostmanager, mod_dialback: Move generation of dialback secret out of core 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
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 ff637cb817 hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now). 15 years ago
Waqas Hussain 27fed00b0c hostmanager: Improved error handling. 15 years ago
Waqas Hussain 8489bc8be1 hostmanager: Improved error handling. 15 years ago
Waqas Hussain cd5d372090 hostmanager: deactivate() now returns true on success. 15 years ago
Waqas Hussain 092aa80e31 hostmanager: deactivate() now returns true on success. 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 1b1f622cd2 hostmanager: activate() now gets the host config from configmanager when a config isn't given. 15 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 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