aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to ↵Kim Alvefur2019-11-231-0/+5
| | | | prevent conflict (#1469)
* modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks ↵Matthew Wild2018-10-261-7/+4
| | | | luacheck, scansion]
* Many things: switch from hacky multi-arg xpcall implementations to a ↵Matthew Wild2018-10-261-7/+2
| | | | standard util.xpcall
* modulemanager: Expose function to get the list of modules that should be ↵Matthew Wild2018-06-201-4/+13
| | | | loaded on a host
* core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-291-1/+1
|
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-1/+2
|
* modulemanager: Silence log message about attempts to load already loaded ↵Kim Alvefur2016-03-191-1/+3
| | | | modules for shared modules
* loggingmanager,modulemanager,moduleapi: Ignore warning about accessing ↵Kim Alvefur2016-02-181-1/+1
| | | | _G.unpack [luacheck]
* loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+Kim Alvefur2016-02-181-1/+2
|
* core.*: Remove use of module() functionKim Alvefur2015-02-211-3/+15
|
* modulemanager: Add luacheck annotationsMatthew Wild2015-05-061-3/+4
|
* modulemanager: Remove unused import of pcall #luacheckMatthew Wild2015-05-061-2/+2
|
* core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)Kim Alvefur2014-09-231-1/+1
|
* core.modulemanager, core.moduleapi: Hack around dependency loopKim Alvefur2014-09-171-1/+1
|
* Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\
| * modulemanager: Reduce warning to debug level message about modules already ↵Kim Alvefur2014-08-271-1/+1
| | | | | | | | being loaded, it's probably just module:depends()
* | mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into ↵Kim Alvefur2014-07-251-1/+1
| | | | | | | | new plugin
* | Merge 0.9->0.10Kim Alvefur2014-03-251-1/+1
|\|
| * modulemanager: Load mod_saslauth on components by defaultKim Alvefur2014-03-221-1/+1
| |
* | modulemanager: Always load a platform-specific module, add stub modules for ↵Kim Alvefur2014-01-261-1/+1
| | | | | | | | Windows and unknown platforms
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-13/+13
|/
* modulemanager: add missing ipairs import.Marco Cirillo2013-04-011-1/+1
|
* modulemanager: add function to retrieve module items from a specific host ↵Marco Cirillo2013-04-011-1/+18
| | | | entity.
* core.*: Complete removal of all traces of the "core" section and ↵Kim Alvefur2013-03-231-6/+6
| | | | section-related code.
* modulemanager: Set module.reloading when a module is reloading, and when ↵Matthew Wild2012-11-221-3/+6
| | | | loading make the saved state available in module.saved_state (if any)
* hostmanager, modulemanager: Ensure hosts[*].modules always exists.Waqas Hussain2012-09-131-4/+1
|
* Eliminate direct setfenv usageFlorian Zeitz2012-06-081-9/+10
|
* modulemanager, moduleapi: Turn module.event_handlers into a multitable and ↵Matthew Wild2012-05-191-6/+7
| | | | track object->event->handler associations correctly (thanks Zash)
* moduleapi, modulemanager: Re-structure module.event_handlers so that the ↵Matthew Wild2012-05-181-2/+2
| | | | same handler can harmlessly handle multiple events (thanks Zash)
* modulemanager: Components should inherit mod_s2s from global modules_enabled tooMatthew Wild2012-05-161-1/+1
|
* modulemanager: Set module.reloading = true when firing module-reloaded eventMatthew Wild2012-05-111-3/+5
|
* modulemanager: Pass the module's final host (e.g. '*') to the module-loaded ↵Matthew Wild2012-04-301-1/+1
| | | | event
* modulemanager: Hide deprecation warning for modules loaded on '*' directly ↵Matthew Wild2012-04-291-1/+3
| | | | (e.g. prosodyctl mod_<command>) (thanks Zash)
* modulemanager: Fixes to handle circular dependencies in module:depends()Matthew Wild2012-04-281-3/+9
|
* modulemanager: Remove unused function importsMatthew Wild2012-04-281-10/+4
|
* modulemanager: Remove unused NULL declarationMatthew Wild2012-04-281-2/+0
|
* modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps)Matthew Wild2012-04-271-0/+3
|
* modulemanager: Set module.environment before calling add_host, otherwise the ↵Matthew Wild2012-04-271-2/+2
| | | | module will get the parent's environment (thanks xnyhps and Maranda)
* modulemanager: Set module.loaded = false on unloadMatthew Wild2012-04-231-0/+1
|
* modulemanager: Report errors that happen when loading a shared module onto ↵Matthew Wild2012-04-231-1/+1
| | | | its original host
* modulemanager: For children of shared modules, set module.environment to the ↵Matthew Wild2012-04-211-0/+1
| | | | empty environment for that module (useful to expose data or APIs at host.modules[module])
* modulemanager: When a shared module becomes global, ensure it still gets ↵Matthew Wild2012-04-211-2/+4
| | | | loaded onto the original target host
* modulemanager: Support for shared modules - function ↵Matthew Wild2012-04-211-0/+15
| | | | module.add_host(host_module) in a global module
* modulemanager: Make module_has_method and module_call_method use rawget()Matthew Wild2012-04-211-3/+3
|
* modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")Matthew Wild2012-04-211-1/+1
|
* modulemanager: Use api_instance rather than pluginenv.module (same thing)Matthew Wild2012-04-211-3/+3
|
* modulemanager: Allow loading a module onto "*" (part-fixes #228)Matthew Wild2012-04-211-2/+4
|
* modulemanager: Some refactoring. Deprecate module.host = "*", modules should ↵Matthew Wild2012-03-141-9/+11
| | | | call module:set_global() (which has been around since forever)
* modulemanager: Use appropriate events object for global modules when firing ↵Matthew Wild2012-03-141-1/+2
| | | | item-removed on unload