Log

core/modulemanager.lua @ 4652:9d24bc503621

description author age
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 Sat, 21 Apr 2012 22:53:22 +0100
modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host Matthew Wild Sat, 21 Apr 2012 20:37:06 +0100
modulemanager: Support for shared modules - function module.add_host(host_module) in a global module Matthew Wild Sat, 21 Apr 2012 20:09:03 +0100
modulemanager: Make module_has_method and module_call_method use rawget() Matthew Wild Sat, 21 Apr 2012 20:04:07 +0100
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") Matthew Wild Sat, 21 Apr 2012 20:02:45 +0100
modulemanager: Use api_instance rather than pluginenv.module (same thing) Matthew Wild Sat, 21 Apr 2012 20:01:40 +0100
modulemanager: Allow loading a module onto "*" (part-fixes #228) Matthew Wild Sat, 21 Apr 2012 20:00:30 +0100
modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever) Matthew Wild Wed, 14 Mar 2012 21:37:00 +0000
modulemanager: Use appropriate events object for global modules when firing item-removed on unload Matthew Wild Wed, 14 Mar 2012 17:03:48 +0000
modulemanager: include mod_c2s and mod_s2s into autoloaded modules. Florian Zeitz Fri, 24 Feb 2012 15:14:07 +0000
modulemanager: load(): Return and use the correct module object Matthew Wild Sun, 22 Jan 2012 19:27:06 +0000
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. Matthew Wild Sun, 22 Jan 2012 18:49:49 +0000
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 Sun, 22 Jan 2012 18:49:11 +0000
modulemanager: Drop unnecessary prosody_events local Matthew Wild Sun, 22 Jan 2012 18:47:33 +0000
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 Sun, 22 Jan 2012 18:46:17 +0000
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild Sun, 22 Jan 2012 18:41:55 +0000
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) Matthew Wild Tue, 13 Dec 2011 13:34:21 +0000
modulemanager: Fix undefined global access in handling of module.save error handling. Waqas Hussain Wed, 21 Sep 2011 03:25:34 +0500
modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload. Waqas Hussain Sat, 17 Sep 2011 20:28:46 +0500
modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host Matthew Wild Mon, 29 Aug 2011 13:09:29 -0400
modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events Matthew Wild Sun, 14 Aug 2011 13:56:13 -0400
core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions Kim Alvefur Mon, 08 Aug 2011 18:23:53 +0200
modulemanager: Added module.path to the plugin API to let plugins determine their load path. Waqas Hussain Sun, 20 Feb 2011 20:06:38 +0500
modulemanager: Fix disabling a module on a single host Paul Aurich Tue, 01 Feb 2011 17:56:16 -0800
modulemanager: Removed an unused variable. Waqas Hussain Wed, 05 Jan 2011 06:16:27 +0500
modulemanager: Auto-load mod_offline. Waqas Hussain Mon, 27 Dec 2010 06:10:34 +0500
modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs Matthew Wild Fri, 17 Dec 2010 12:44:24 +0000
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 Thu, 02 Dec 2010 16:32:42 +0500
Backed out changeset bfc47564aaef (No need for _M with module.environment) Matthew Wild Sat, 13 Nov 2010 04:12:40 +0000
modulemanager: Inside plugins, have global _M as a reference to the module's environment Matthew Wild Sat, 13 Nov 2010 04:09:14 +0000
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). Waqas Hussain Wed, 10 Nov 2010 22:27:09 +0500
modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager. Waqas Hussain Wed, 10 Nov 2010 20:14:33 +0500
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 Wed, 10 Nov 2010 19:54:38 +0500
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 Wed, 10 Nov 2010 18:06:51 +0500
modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function. Waqas Hussain Wed, 10 Nov 2010 05:30:46 +0500
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. Waqas Hussain Wed, 10 Nov 2010 03:39:38 +0500
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 Sat, 16 Oct 2010 08:34:32 +0500
modulemanager: Removed another legacy events API (add_event_hook), and related code. Waqas Hussain Sat, 16 Oct 2010 08:15:11 +0500
modulemanager: Removed legacy events API, and related code. Waqas Hussain Sat, 16 Oct 2010 07:31:50 +0500
modulemanager: Removed add_iq_handler() from the plugin API. Waqas Hussain Sat, 16 Oct 2010 06:25:55 +0500
modulemanager: Remove dependency on eventmanager Matthew Wild Tue, 03 Aug 2010 10:52:53 +0100
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 Fri, 04 Jun 2010 14:33:36 +0100
Have defaultauth load by default Jeff Mitchell Thu, 27 May 2010 09:20:08 -0400
modulemanager: Log proper tracebacks on errors during module load/unload. Waqas Hussain Mon, 19 Apr 2010 18:29:10 +0500
Merge 0.6->0.7 Matthew Wild Tue, 30 Mar 2010 19:45:56 +0100
stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted Matthew Wild Tue, 30 Mar 2010 19:40:16 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
modulemanager: Fire item-removed events on module unload. Waqas Hussain Thu, 10 Dec 2009 03:02:04 +0500
modulemanager: Fix traceback on unloading global modules (thanks KSid) Matthew Wild Thu, 18 Feb 2010 16:22:50 +0000
modulemanager: Load plugin libraries in the same environment as the plugins. Waqas Hussain Thu, 11 Feb 2010 05:36:03 +0500
modulemanager: Make the plugin environment available directly (module.environment within plugins). Waqas Hussain Thu, 11 Feb 2010 05:34:53 +0500
modulemanager: Remove obsolete actions code Matthew Wild Thu, 21 Jan 2010 12:57:12 +0000
modulemanager: Fire item-removed events on module unload. Waqas Hussain Thu, 10 Dec 2009 03:02:04 +0500
modulemanager: Fixed a global access. Waqas Hussain Thu, 10 Dec 2009 03:00:16 +0500
modulemanager, net.dns: Remove trailing whitespace Matthew Wild Wed, 02 Dec 2009 20:32:44 +0000
modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc Matthew Wild Tue, 01 Dec 2009 19:57:33 +0000
modulemanager: New module API methods for getting config options with type conversion, get_option_string, get_option_number, get_option_boolean, get_option_array, get_option_set Matthew Wild Mon, 23 Nov 2009 16:07:33 +0000
modulemanager: api:get_option(): Handle correctly option values of boolean false, don't assume value unset Matthew Wild Sun, 08 Nov 2009 15:09:11 +0000
modulemanager: Module loading rewritten to gracefully deal with errors in module initialization. Waqas Hussain Sun, 18 Oct 2009 05:17:07 +0500