Commit Graph

228 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Waqas Hussain 25a09a4d95 modulemanager: Stopped using core.eventmanager in module:fire_event 17 years ago
Waqas Hussain 3ca6b44ad6 modulemanager: module:fire_event now fires on the global and host-specific events objects as well 17 years ago
Waqas Hussain 2d5433f130 modulemanager: Made some code more concise 17 years ago
Waqas Hussain d7084c6651 modulemanager: module:hook now allows global modules to hook events on the prosody.events object 17 years ago
Waqas Hussain 777a395b47 modulemanager: Added hook(event, handler) to the plugin API 17 years ago
Matthew Wild 05afac6dad modulemanager: Add module:fire_event() to module API 17 years ago
Waqas Hussain 2a3983a113 modulemanager: require util.stanza 17 years ago
Waqas Hussain c3b04f5f09 modulemanager: Don't close the stream on unhandled stream:features 17 years ago
Waqas Hussain 32b1d54a24 stanza_router: Removed global function core_handle_stanza 17 years ago
Matthew Wild dda93565fe modulemanager: Don't load modules when modules_enable is false 17 years ago
Matthew Wild 370ef290d1 modulemanager: Update logger when a module becomes global 17 years ago
Matthew Wild 4366e348c5 modulemanager: No need for print() 17 years ago
Waqas Hussain d0380394a9 Fixed: modulemanager: IQs with extended elements in the default namespace could cause backtraces (related to issue #74) 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Waqas Hussain 63898e5714 Let global modules add disco features for all hosts 17 years ago
Waqas Hussain 31bd01ae39 Allow global modules to hook stanza handlers 17 years ago
Waqas Hussain 0310a8be6e modulemanager initializes hosts[host] if it isn't already initialized when loading a module. 17 years ago
Matthew Wild 039df2c7e3 Fix for never checking if the first module for a host is already loaded (affects global modules) 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild 62890f2d66 modulemanager: Really fix call_module_method to work properly 17 years ago
Matthew Wild 6057fe64c9 modulemanager: Add get_host_type() API method, and fix up call_module_method to work properly 17 years ago
Matthew Wild 9b0ee1a5fb modulemanager: Add module:set_global() as a cleaner way for a module to declare itself 'global' 17 years ago
Matthew Wild f3ccd47096 core.modulemanager: Some refactoring to make upcoming changes a little easier 17 years ago
Matthew Wild 8d1005cf4e modulemanager: Comment out logging of modules hooking stanzas, too noisy 17 years ago
Waqas Hussain 15cbc4d03e modulemanager: Check for syntax errors before reloading a module 17 years ago
Waqas Hussain a138bcd591 modulemanager: Added reload support, with callbacks for saving and restoring state 17 years ago
Waqas Hussain bb7d8604f2 modulemanager: Fixed error on unloading modules with no handlers 17 years ago
Matthew Wild 9ffcaaa1f9 Add core.actions for managing server 'actions'; and make modulemanager register actions 'load' and 'unload' 17 years ago
Matthew Wild ea643d3c90 modulemanager: Change pairs() to ipairs() to allow ordered module loading 17 years ago
Waqas Hussain c8a5213462 modulemanager: Per-host event hooks for plugins - solves issue 41 17 years ago
Waqas Hussain 7c24c84226 modulemanager: module.unload now gets called when modules are being unloaded 17 years ago
Matthew Wild 046e69447e Remove warning of already-loaded modules at startup 17 years ago
Waqas Hussain 9a19a95fe8 Modulemanager: Basic modules can now be unloaded correctly 17 years ago
Matthew Wild 8661b3a502 Fix for not loading global modules when host-specific modules are specified in config 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Waqas Hussain 17f4b2de32 Don't try processing stanzas not of type get or set in module manager 17 years ago
Matthew Wild c16c3b6f67 Temporary hack for global modules 17 years ago
Waqas Hussain 09916b3289 Removed unused variables 17 years ago
Waqas Hussain 137ef16316 Combined and merged similar code 17 years ago
Waqas Hussain f6e8a1e8bf Removed pre-multitable code from module manager 17 years ago
Waqas Hussain 9aba6cb646 Changed module manager to use multitable (initial commit) 17 years ago
Matthew Wild de04023210 Fix add_event_hook in module API 17 years ago
Matthew Wild 0f1d3c4074 Move module loading to modulemanager 17 years ago
Matthew Wild dfeabed19f Add hostmanager, and eventmanager 17 years ago
Waqas Hussain fcf33a735b Added function add_feature to modules API (for adding disco features) 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Matthew Wild 7271c148ce Update Makefile to now pass config paths to prosody. Update prosody, modulemanager and connectionlisteners to obey these paths. 17 years ago
Matthew Wild ce18fc957d is_loaded() and incomplete unload() for modules 17 years ago