Log

core/modulemanager.lua @ 4611:8572373fa26f

description author age
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