Commit graph

72 commits

Author SHA1 Message Date
Kim Alvefur
d47a7bb3bd core: Prefix module imports with prosody namespace 2023-03-17 16:23:07 +01:00
Kim Alvefur
8c81d37532 core.hostmanager: Remove obsolete clearing of srv_hosts
Gone with s2sout.lib in 756b8821007a
2021-04-06 13:27:18 +02:00
Kim Alvefur
d03099c7cc Merge 0.10->trunk 2018-03-06 01:45:58 +01:00
Kim Alvefur
43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 2018-02-28 20:06:26 +01:00
Kim Alvefur
6210465091 hostmanager: Add a logging close method in case something tries to close the origin of local-originated stanzas (see #1084) 2018-02-24 19:40:18 +01:00
Kim Alvefur
43e5d4df29 Merge 0.10->trunk 2017-09-21 02:36:28 +02:00
Matthew Wild
d16959ce16 hostmanager: Add support for 'disco_hidden' option to hide hosts from disco#items (thanks Ge0rG) 2017-09-20 14:42:21 +01:00
Matthew Wild
e807440f36 hostmanager: Remove unused imports of 'jid_split' and 'select' 2016-02-05 00:10:46 +00:00
Kim Alvefur
6ef7c4d808 Merge 0.10->trunk 2015-08-20 13:05:22 +02:00
Matthew Wild
527e1e4bad Merge 0.10->trunk 2015-05-19 09:31:12 +01:00
Kim Alvefur
f6b0d630fc hostmanager: Metatable with __tostring on hosts 2015-05-18 20:50:50 +02:00
Matthew Wild
0ad8fd85fa hostmanager: Rename variable to avoid shadowing 'type()' function 2015-04-03 19:22:55 +01:00
Kim Alvefur
27265c20e2 core.*: Remove use of module() function 2015-02-21 10:42:19 +01:00
Matthew Wild
6f1ffa163d Merge 0.10->trunk 2015-01-21 01:29:00 +00:00
Matthew Wild
3e62ff5870 hostmanager: Remove unused import of util.uuid 2015-01-20 11:30:07 +00:00
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. 2014-09-26 17:10:43 +01:00
Kim Alvefur
105ceb9cff hostmanager, mod_dialback: Move generation of dialback secret out of core 2014-05-22 15:21:22 +02:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Kim Alvefur
1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 2013-03-23 02:33:15 +01:00
Matthew Wild
77431e5d84 hostmanager: Use rawget to check for activated hosts to prevent recursion in dynamic host loaders 2013-03-22 11:24:54 +00:00
Matthew Wild
3ba555b9c5 hostmanager: Use prosody.hosts instead of 'hosts' global 2013-03-22 11:24:13 +00:00
Matthew Wild
ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 2013-03-22 11:21:24 +00:00
Kim Alvefur
ff9ab821f7 hostmanager: Import core_post_stanza from the global prosody table 2013-03-13 07:01:57 +01:00
Waqas Hussain
48a297e80c hostmanager, modulemanager: Ensure hosts[*].modules always exists. 2012-09-13 00:32:12 +05:00
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) 2012-08-05 17:18:35 +01:00
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 2012-05-11 00:56:18 +01:00
Matthew Wild
3ba967c53a hostmanager: Remove import of unused setmetatable 2012-04-28 02:25:54 +01:00
Matthew Wild
f427f1c7d5 hostmanager: Remove unused host_config parameter from host-activated event 2012-04-27 22:33:38 +01:00
Matthew Wild
3547b00138 hostmanager: Add some TODO comments 2012-04-27 22:32:04 +01:00
Matthew Wild
88637ab348 hostmanager: Convert host-deactivating event parameters to a table 2012-04-27 22:31:53 +01:00
Matthew Wild
56edb2db8c hostmanager: Import select() (thanks Medics) 2012-02-12 17:53:50 +00:00
Matthew Wild
fa30c62a6a hostmanager: Import jid_split (thanks chris) 2012-02-11 14:51:00 +00:00
Matthew Wild
e5684a78b0 hostmanager: Add send() method to hosts 2011-12-16 16:01:59 +00:00
Waqas Hussain
ff637cb817 hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now). 2010-12-28 09:58:40 +05:00
Waqas Hussain
27fed00b0c hostmanager: Improved error handling. 2010-12-09 21:40:54 +05:00
Waqas Hussain
cd5d372090 hostmanager: deactivate() now returns true on success. 2010-12-09 21:12:39 +05:00
Waqas Hussain
e8fa3940a7 hostmanager: activate() now gets the host config from configmanager when a config isn't given. 2010-12-09 21:11:12 +05:00
Waqas Hussain
48b21cfa9c hostmanager: Don't include hosts with '@' or '/' in the name in the get_children(host) result. 2010-11-10 20:36:37 +05:00
Waqas Hussain
dc00ab5c71 hostmanager: Added function get_children(host) which copies componentmanager.get_children(host). 2010-11-10 20:28:20 +05:00
Waqas Hussain
d1706d1cb5 hostmanager, componentmanager: hostmanager now handles component initialization at server start, not componentmanager. 2010-11-10 19:57:35 +05:00
Waqas Hussain
68f1533da5 hostmanager: Added support for components to hostmanager.activate(). 2010-11-10 17:37:14 +05:00
Waqas Hussain
67804ef1a3 componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. 2010-11-10 03:39:38 +05:00
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 2010-11-06 18:28:15 +00:00
Matthew Wild
c227e09b53 hostmanager: Remove dependency on eventmanager 2010-08-03 10:55:17 +01:00
Waqas Hussain
3376282d8a Merge 0.6 into 0.7. 2010-05-01 05:18:38 +05:00
Matthew Wild
6d9cc72783 hostmanager: Re-word log messages in line with config changes 2010-04-14 13:00:24 +01:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Matthew Wild
8862e1b27e Merge 0.6.2/waqas with 0.6.2/MattJ 2010-03-03 22:05:05 +00:00
Matthew Wild
cec65108c9 certmanager, hostmanager: Rename get_context() to create_context() to be more explicit about what it does 2010-02-13 16:08:43 +00:00