log core/modulemanager.lua @ 4652:9d24bc503621

age author description
Sat, 21 Apr 2012 22:53:22 +0100 Matthew Wild 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])
Sat, 21 Apr 2012 20:37:06 +0100 Matthew Wild modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host
Sat, 21 Apr 2012 20:09:03 +0100 Matthew Wild modulemanager: Support for shared modules - function module.add_host(host_module) in a global module
Sat, 21 Apr 2012 20:04:07 +0100 Matthew Wild modulemanager: Make module_has_method and module_call_method use rawget()
Sat, 21 Apr 2012 20:02:45 +0100 Matthew Wild modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
Sat, 21 Apr 2012 20:01:40 +0100 Matthew Wild modulemanager: Use api_instance rather than pluginenv.module (same thing)
Sat, 21 Apr 2012 20:00:30 +0100 Matthew Wild modulemanager: Allow loading a module onto "*" (part-fixes #228)
Wed, 14 Mar 2012 21:37:00 +0000 Matthew Wild modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever)
Wed, 14 Mar 2012 17:03:48 +0000 Matthew Wild modulemanager: Use appropriate events object for global modules when firing item-removed on unload
Fri, 24 Feb 2012 15:14:07 +0000 Florian Zeitz modulemanager: include mod_c2s and mod_s2s into autoloaded modules.
Sun, 22 Jan 2012 19:27:06 +0000 Matthew Wild modulemanager: load(): Return and use the correct module object
Sun, 22 Jan 2012 18:49:49 +0000 Matthew Wild modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
Sun, 22 Jan 2012 18:49:11 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:47:33 +0000 Matthew Wild modulemanager: Drop unnecessary prosody_events local
Sun, 22 Jan 2012 18:46:17 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:41:55 +0000 Matthew Wild modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
Tue, 13 Dec 2011 13:34:21 +0000 Matthew Wild modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of)
Wed, 21 Sep 2011 03:25:34 +0500 Waqas Hussain modulemanager: Fix undefined global access in handling of module.save error handling.
Sat, 17 Sep 2011 20:28:46 +0500 Waqas Hussain modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload.
Mon, 29 Aug 2011 13:09:29 -0400 Matthew Wild modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host
Sun, 14 Aug 2011 13:56:13 -0400 Matthew Wild modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events
Mon, 08 Aug 2011 18:23:53 +0200 Kim Alvefur core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions
Sun, 20 Feb 2011 20:06:38 +0500 Waqas Hussain modulemanager: Added module.path to the plugin API to let plugins determine their load path.
Tue, 01 Feb 2011 17:56:16 -0800 Paul Aurich modulemanager: Fix disabling a module on a single host
Wed, 05 Jan 2011 06:16:27 +0500 Waqas Hussain modulemanager: Removed an unused variable.
Mon, 27 Dec 2010 06:10:34 +0500 Waqas Hussain modulemanager: Auto-load mod_offline.
Fri, 17 Dec 2010 12:44:24 +0000 Matthew Wild modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs
Thu, 02 Dec 2010 16:32:42 +0500 Waqas Hussain 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).
Sat, 13 Nov 2010 04:12:40 +0000 Matthew Wild Backed out changeset bfc47564aaef (No need for _M with module.environment)
Sat, 13 Nov 2010 04:09:14 +0000 Matthew Wild modulemanager: Inside plugins, have global _M as a reference to the module's environment
Wed, 10 Nov 2010 22:27:09 +0500 Waqas Hussain modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
Wed, 10 Nov 2010 20:14:33 +0500 Waqas Hussain modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager.