Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modulemanager: Fixes to handle circular dependencies in module:depends() | Matthew Wild | 2012-04-28 | 1 | -3/+9 |
| | |||||
* | modulemanager: Remove unused function imports | Matthew Wild | 2012-04-28 | 1 | -10/+4 |
| | |||||
* | modulemanager: Remove unused NULL declaration | Matthew Wild | 2012-04-28 | 1 | -2/+0 |
| | |||||
* | modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps) | Matthew Wild | 2012-04-27 | 1 | -0/+3 |
| | |||||
* | modulemanager: Set module.environment before calling add_host, otherwise the ↵ | Matthew Wild | 2012-04-27 | 1 | -2/+2 |
| | | | | module will get the parent's environment (thanks xnyhps and Maranda) | ||||
* | modulemanager: Set module.loaded = false on unload | Matthew Wild | 2012-04-23 | 1 | -0/+1 |
| | |||||
* | modulemanager: Report errors that happen when loading a shared module onto ↵ | Matthew Wild | 2012-04-23 | 1 | -1/+1 |
| | | | | its original host | ||||
* | modulemanager: For children of shared modules, set module.environment to the ↵ | Matthew Wild | 2012-04-21 | 1 | -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 Wild | 2012-04-21 | 1 | -2/+4 |
| | | | | loaded onto the original target host | ||||
* | modulemanager: Support for shared modules - function ↵ | Matthew Wild | 2012-04-21 | 1 | -0/+15 |
| | | | | module.add_host(host_module) in a global module | ||||
* | modulemanager: Make module_has_method and module_call_method use rawget() | Matthew Wild | 2012-04-21 | 1 | -3/+3 |
| | |||||
* | modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") | Matthew Wild | 2012-04-21 | 1 | -1/+1 |
| | |||||
* | modulemanager: Use api_instance rather than pluginenv.module (same thing) | Matthew Wild | 2012-04-21 | 1 | -3/+3 |
| | |||||
* | modulemanager: Allow loading a module onto "*" (part-fixes #228) | Matthew Wild | 2012-04-21 | 1 | -2/+4 |
| | |||||
* | modulemanager: Some refactoring. Deprecate module.host = "*", modules should ↵ | Matthew Wild | 2012-03-14 | 1 | -9/+11 |
| | | | | call module:set_global() (which has been around since forever) | ||||
* | modulemanager: Use appropriate events object for global modules when firing ↵ | Matthew Wild | 2012-03-14 | 1 | -1/+2 |
| | | | | item-removed on unload | ||||
* | modulemanager: include mod_c2s and mod_s2s into autoloaded modules. | Florian Zeitz | 2012-02-24 | 1 | -1/+1 |
| | |||||
* | modulemanager: load(): Return and use the correct module object | Matthew Wild | 2012-01-22 | 1 | -2/+2 |
| | |||||
* | modulemanager: Cleanup some unused variables, imports, whitespace and add a ↵ | Matthew Wild | 2012-01-22 | 1 | -3/+1 |
| | | | | comment. | ||||
* | modulemanager, moduleapi: Replace hooks multitable with an event_handlers ↵ | Matthew Wild | 2012-01-22 | 1 | -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 local | Matthew Wild | 2012-01-22 | 1 | -3/+1 |
| | |||||
* | modulemanager: Some reorganisation. Only external change is (should be) that ↵ | Matthew Wild | 2012-01-22 | 1 | -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 Wild | 2012-01-22 | 1 | -212/+1 |
| | | | | size, yay) | ||||
* | modulemanager: Remove 'config' from module environments (no modules use it ↵ | Matthew Wild | 2011-12-13 | 1 | -1/+1 |
| | | | | that I'm aware of) | ||||
* | modulemanager: Fix undefined global access in handling of module.save error ↵ | Waqas Hussain | 2011-09-21 | 1 | -1/+1 |
| | | | | handling. | ||||
* | modulemanager: Fixed undefined global access in broadcast of item-remove ↵ | Waqas Hussain | 2011-09-17 | 1 | -1/+1 |
| | | | | events on module unload. | ||||
* | modulemanager: Add module:handle_items() to allow a module to more easily ↵ | Matthew Wild | 2011-08-29 | 1 | -0/+10 |
| | | | | handle a list of items on a host | ||||
* | modulemanager: Add module:hook_global(name, handler, priority) to hook ↵ | Matthew Wild | 2011-08-14 | 1 | -0/+11 |
| | | | | global (server-wide) events | ||||
* | core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery ↵ | Kim Alvefur | 2011-08-08 | 1 | -0/+3 |
| | | | | Extensions | ||||
* | modulemanager: Added module.path to the plugin API to let plugins determine ↵ | Waqas Hussain | 2011-02-20 | 1 | -1/+1 |
| | | | | their load path. | ||||
* | modulemanager: Fix disabling a module on a single host | Paul Aurich | 2011-02-01 | 1 | -2/+1 |
| | |||||
* | modulemanager: Removed an unused variable. | Waqas Hussain | 2011-01-05 | 1 | -2/+0 |
| | |||||
* | modulemanager: Auto-load mod_offline. | Waqas Hussain | 2010-12-27 | 1 | -1/+1 |
| | |||||
* | modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add ↵ | Matthew Wild | 2010-12-17 | 1 | -0/+7 |
| | | | | compatibility code to modulemanager for existing configs | ||||
* | modulemanager: Allow components to inherit mod_iq. This allows modules ↵ | Waqas Hussain | 2010-12-02 | 1 | -1/+1 |
| | | | | loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc). | ||||
* | Backed out changeset bfc47564aaef (No need for _M with module.environment) | Matthew Wild | 2010-11-13 | 1 | -1/+0 |
| | |||||
* | modulemanager: Inside plugins, have global _M as a reference to the module's ↵ | Matthew Wild | 2010-11-13 | 1 | -0/+1 |
| | | | | environment | ||||
* | modulemanager, usermanager: Removed hooks for the 'component-activated' ↵ | Waqas Hussain | 2010-11-10 | 1 | -1/+0 |
| | | | | event (components now fire 'host-activated'). | ||||
* | modulemanager: Return an error when loading a module on a non-existent host, ↵ | Waqas Hussain | 2010-11-10 | 1 | -5/+2 |
| | | | | don't create the host. Removes dependecy on componentmanager. | ||||
* | modulemanager: load_modules_for_host(): For components, the inherited ↵ | Waqas Hussain | 2010-11-10 | 1 | -1/+1 |
| | | | | modules are the intersection of the inheritable and global modules lists, not the difference. | ||||
* | modulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from ↵ | Waqas Hussain | 2010-11-10 | 1 | -35/+21 |
| | | | | global modules list for components, and load the component module. Also refactored to use util.set. | ||||
* | modulemanager: Fixed: Locally defined pcall wasn't returning return values ↵ | Waqas Hussain | 2010-11-10 | 1 | -1/+1 |
| | | | | of the called function. | ||||
* | componentmanager, hostmanager, modulemanager, mod_component: Got rid of the ↵ | Waqas Hussain | 2010-11-10 | 1 | -1/+0 |
| | | | | useless hosts[*].connected property. | ||||
* | modulemanager, stanza_router: Moved modulemanager.handle_stanza to ↵ | Waqas Hussain | 2010-10-16 | 1 | -22/+0 |
| | | | | stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router. | ||||
* | modulemanager: Removed another legacy events API (add_event_hook), and ↵ | Waqas Hussain | 2010-10-16 | 1 | -17/+0 |
| | | | | related code. | ||||
* | modulemanager: Removed legacy events API, and related code. | Waqas Hussain | 2010-10-16 | 1 | -51/+7 |
| | |||||
* | modulemanager: Removed add_iq_handler() from the plugin API. | Waqas Hussain | 2010-10-16 | 1 | -3/+0 |
| | |||||
* | modulemanager: Remove dependency on eventmanager | Matthew Wild | 2010-08-03 | 1 | -4/+4 |
| | |||||
* | Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> ↵ | Matthew Wild | 2010-06-04 | 1 | -1/+1 |
| | | | | 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. | ||||
* | Have defaultauth load by default | Jeff Mitchell | 2010-05-27 | 1 | -1/+1 |
| |