Log

core/modulemanager.lua @ 5212:c2b431042a54

description author age
modulemanager: Set module.reloading when a module is reloading, and when loading make the saved state available in module.saved_state (if any) Matthew Wild 2012-11-22
hostmanager, modulemanager: Ensure hosts[*].modules always exists. Waqas Hussain 2012-09-12
Eliminate direct setfenv usage Florian Zeitz 2012-06-08
modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash) Matthew Wild 2012-05-19
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash) Matthew Wild 2012-05-18
modulemanager: Components should inherit mod_s2s from global modules_enabled too Matthew Wild 2012-05-16
modulemanager: Set module.reloading = true when firing module-reloaded event Matthew Wild 2012-05-11
modulemanager: Pass the module's final host (e.g. '*') to the module-loaded event Matthew Wild 2012-04-29
modulemanager: Hide deprecation warning for modules loaded on '*' directly (e.g. prosodyctl mod_<command>) (thanks Zash) Matthew Wild 2012-04-29
modulemanager: Fixes to handle circular dependencies in module:depends() Matthew Wild 2012-04-28
modulemanager: Remove unused function imports Matthew Wild 2012-04-28
modulemanager: Remove unused NULL declaration Matthew Wild 2012-04-28
modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps) Matthew Wild 2012-04-27
modulemanager: Set module.environment before calling add_host, otherwise the module will get the parent's environment (thanks xnyhps and Maranda) Matthew Wild 2012-04-27
modulemanager: Set module.loaded = false on unload Matthew Wild 2012-04-23
modulemanager: Report errors that happen when loading a shared module onto its original host Matthew Wild 2012-04-23
modulemanager: For children of shared modules, set module.environment to the empty environment for that module (useful to expose data or APIs at host.modules[module]) Matthew Wild 2012-04-21
modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host Matthew Wild 2012-04-21
modulemanager: Support for shared modules - function module.add_host(host_module) in a global module Matthew Wild 2012-04-21
modulemanager: Make module_has_method and module_call_method use rawget() Matthew Wild 2012-04-21
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") Matthew Wild 2012-04-21
modulemanager: Use api_instance rather than pluginenv.module (same thing) Matthew Wild 2012-04-21
modulemanager: Allow loading a module onto "*" (part-fixes #228) Matthew Wild 2012-04-21
modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever) Matthew Wild 2012-03-14
modulemanager: Use appropriate events object for global modules when firing item-removed on unload Matthew Wild 2012-03-14
modulemanager: include mod_c2s and mod_s2s into autoloaded modules. Florian Zeitz 2012-02-24
modulemanager: load(): Return and use the correct module object Matthew Wild 2012-01-22
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. Matthew Wild 2012-01-22
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object. Matthew Wild 2012-01-22
modulemanager: Drop unnecessary prosody_events local Matthew Wild 2012-01-22
modulemanager: Some reorganisation. Only external change is (should be) that module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead. Matthew Wild 2012-01-22
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild 2012-01-22
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) Matthew Wild 2011-12-13
modulemanager: Fix undefined global access in handling of module.save error handling. Waqas Hussain 2011-09-20
modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload. Waqas Hussain 2011-09-17
modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host Matthew Wild 2011-08-29
modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events Matthew Wild 2011-08-14
core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions Kim Alvefur 2011-08-08
modulemanager: Added module.path to the plugin API to let plugins determine their load path. Waqas Hussain 2011-02-20
modulemanager: Fix disabling a module on a single host Paul Aurich 2011-02-02
modulemanager: Removed an unused variable. Waqas Hussain 2011-01-05
modulemanager: Auto-load mod_offline. Waqas Hussain 2010-12-27
modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs Matthew Wild 2010-12-17
modulemanager: Allow components to inherit mod_iq. This allows modules loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc). Waqas Hussain 2010-12-02
Backed out changeset bfc47564aaef (No need for _M with module.environment) Matthew Wild 2010-11-13
modulemanager: Inside plugins, have global _M as a reference to the module's environment Matthew Wild 2010-11-13
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). Waqas Hussain 2010-11-10
modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager. Waqas Hussain 2010-11-10
modulemanager: load_modules_for_host(): For components, the inherited modules are the intersection of the inheritable and global modules lists, not the difference. Waqas Hussain 2010-11-10
modulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from global modules list for components, and load the component module. Also refactored to use util.set. Waqas Hussain 2010-11-10
modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function. Waqas Hussain 2010-11-10
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. Waqas Hussain 2010-11-09
modulemanager, stanza_router: Moved modulemanager.handle_stanza to stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router. Waqas Hussain 2010-10-16
modulemanager: Removed another legacy events API (add_event_hook), and related code. Waqas Hussain 2010-10-16
modulemanager: Removed legacy events API, and related code. Waqas Hussain 2010-10-16
modulemanager: Removed add_iq_handler() from the plugin API. Waqas Hussain 2010-10-16
modulemanager: Remove dependency on eventmanager Matthew Wild 2010-08-03
Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name. Matthew Wild 2010-06-04
Have defaultauth load by default Jeff Mitchell 2010-05-27
modulemanager: Log proper tracebacks on errors during module load/unload. Waqas Hussain 2010-04-19