Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | modulemanager: Log proper tracebacks on errors during module load/unload. | Waqas Hussain | 2010-04-19 | 1 | -1/+9 |
| | |||||
* | Merge 0.6->0.7 | Matthew Wild | 2010-03-30 | 1 | -1/+1 |
|\ | |||||
| * | stanza_router, s2smanager, modulemanager: Fix for handling of the default ↵ | Matthew Wild | 2010-03-30 | 1 | -1/+1 |
| | | | | | | | | namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted | ||||
* | | Merge 0.6->0.7 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
|\| | |||||
| * | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | | |||||
| * | modulemanager: Fire item-removed events on module unload. | Waqas Hussain | 2009-12-10 | 1 | -0/+9 |
| | | |||||
* | | modulemanager: Fix traceback on unloading global modules (thanks KSid) | Matthew Wild | 2010-02-18 | 1 | -2/+2 |
| | | |||||
* | | modulemanager: Load plugin libraries in the same environment as the plugins. | Waqas Hussain | 2010-02-11 | 1 | -1/+1 |
| | | |||||
* | | modulemanager: Make the plugin environment available directly ↵ | Waqas Hussain | 2010-02-11 | 1 | -0/+1 |
| | | | | | | | | (module.environment within plugins). | ||||
* | | modulemanager: Remove obsolete actions code | Matthew Wild | 2010-01-21 | 1 | -16/+0 |
| | | |||||
* | | modulemanager: Fire item-removed events on module unload. | Waqas Hussain | 2009-12-10 | 1 | -0/+9 |
| | | |||||
* | | modulemanager: Fixed a global access. | Waqas Hussain | 2009-12-10 | 1 | -2/+2 |
| | | |||||
* | | modulemanager, net.dns: Remove trailing whitespace | Matthew Wild | 2009-12-02 | 1 | -3/+3 |
| | | |||||
* | | modulemanager: Fire events module-loaded and module-unloaded, both receive a ↵ | Matthew Wild | 2009-12-01 | 1 | -0/+2 |
| | | | | | | | | table with 'module' and 'host' fields, thanks bjc | ||||
* | | modulemanager: New module API methods for getting config options with type ↵ | Matthew Wild | 2009-11-23 | 1 | -1/+82 |
|/ | | | | conversion, get_option_string, get_option_number, get_option_boolean, get_option_array, get_option_set | ||||
* | modulemanager: api:get_option(): Handle correctly option values of boolean ↵ | Matthew Wild | 2009-11-08 | 1 | -1/+8 |
| | | | | false, don't assume value unset |