aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
* modulemanager: include mod_c2s and mod_s2s into autoloaded modules.Florian Zeitz2012-02-241-1/+1
|
* modulemanager: load(): Return and use the correct module objectMatthew Wild2012-01-221-2/+2
|
* modulemanager: Cleanup some unused variables, imports, whitespace and add a ↵Matthew Wild2012-01-221-3/+1
| | | | comment.
* modulemanager, moduleapi: Replace hooks multitable with an event_handlers ↵Matthew Wild2012-01-221-17/+5
| | | | map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
* modulemanager: Drop unnecessary prosody_events localMatthew Wild2012-01-221-3/+1
|
* modulemanager: Some reorganisation. Only external change is (should be) that ↵Matthew Wild2012-01-221-62/+94
| | | | module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead.
* modulemanager: Move in-module API functions to core.moduleapi (half the file ↵Matthew Wild2012-01-221-212/+1
| | | | size, yay)
* modulemanager: Remove 'config' from module environments (no modules use it ↵Matthew Wild2011-12-131-1/+1
| | | | that I'm aware of)
* modulemanager: Fix undefined global access in handling of module.save error ↵Waqas Hussain2011-09-211-1/+1
| | | | handling.
* modulemanager: Fixed undefined global access in broadcast of item-remove ↵Waqas Hussain2011-09-171-1/+1
| | | | events on module unload.
* modulemanager: Add module:handle_items() to allow a module to more easily ↵Matthew Wild2011-08-291-0/+10
| | | | handle a list of items on a host
* modulemanager: Add module:hook_global(name, handler, priority) to hook ↵Matthew Wild2011-08-141-0/+11
| | | | global (server-wide) events
* core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery ↵Kim Alvefur2011-08-081-0/+3
| | | | Extensions
* modulemanager: Added module.path to the plugin API to let plugins determine ↵Waqas Hussain2011-02-201-1/+1
| | | | their load path.