aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* modulemanager: Add module:hook([xmlns, ] name, handler) which uses new ↵Matthew Wild2009-06-061-0/+11
| | | | stanza events
* modulemanager: Load mod_message, mod_iq and mod_presence implicitlyWaqas Hussain2009-06-041-1/+6
|
* modulemanager: Keep track of event handlers added by module:hook, and remove ↵Waqas Hussain2009-05-311-0/+9
| | | | them on module unload
* modulemanager: Stopped using core.eventmanager in module:fire_eventWaqas Hussain2009-05-311-3/+1
|
* modulemanager: module:fire_event now fires on the global and host-specific ↵Waqas Hussain2009-05-311-0/+2
| | | | events objects as well
* modulemanager: Made some code more conciseWaqas Hussain2009-05-311-5/+1
|
* modulemanager: module:hook now allows global modules to hook events on the ↵Waqas Hussain2009-05-311-1/+2
| | | | prosody.events object
* modulemanager: Added hook(event, handler) to the plugin APIWaqas Hussain2009-05-301-0/+8
|
* modulemanager: Add module:fire_event() to module APIMatthew Wild2009-05-191-0/+4
|
* modulemanager: require util.stanzaWaqas Hussain2009-05-161-0/+1
|
* modulemanager: Don't close the stream on unhandled stream:featuresWaqas Hussain2009-05-161-1/+1
|
* stanza_router: Removed global function core_handle_stanzaWaqas Hussain2009-05-161-1/+8
|
* modulemanager: No need for print()Matthew Wild2009-05-041-1/+1
|
* modulemanager: Don't load modules when modules_enable is falseMatthew Wild2009-05-021-0/+4
|
* modulemanager: Update logger when a module becomes globalMatthew Wild2009-04-301-0/+8
|
* Fixed: modulemanager: IQs with extended elements in the default namespace ↵Waqas Hussain2009-03-301-1/+1
| | | | could cause backtraces (related to issue #74)
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Let global modules add disco features for all hostsWaqas Hussain2009-03-041-0/+8
|
* Allow global modules to hook stanza handlersWaqas Hussain2009-03-041-0/+1
|
* modulemanager initializes hosts[host] if it isn't already initialized when ↵Waqas Hussain2009-02-111-0/+1
| | | | loading a module.
* Fix for never checking if the first module for a host is already loaded ↵Matthew Wild2009-02-041-1/+3
| | | | (affects global modules)
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* modulemanager: Really fix call_module_method to work properlyMatthew Wild2009-01-291-1/+1
|
* modulemanager: Add get_host_type() API method, and fix up call_module_method ↵Matthew Wild2009-01-291-2/+8
| | | | to work properly
* modulemanager: Add module:set_global() as a cleaner way for a module to ↵Matthew Wild2009-01-241-0/+4
| | | | declare itself 'global'
* core.modulemanager: Some refactoring to make upcoming changes a little easierMatthew Wild2009-01-241-18/+50
|
* modulemanager: Comment out logging of modules hooking stanzas, too noisyMatthew Wild2009-01-161-1/+1
|
* modulemanager: Check for syntax errors before reloading a moduleWaqas Hussain2009-01-131-0/+6
|
* modulemanager: Added reload support, with callbacks for saving and restoring ↵Waqas Hussain2009-01-131-2/+29
| | | | state
* Automated merge with http://waqas.ath.cx:8000/Matthew Wild2009-01-131-3/+16
|\
| * Add core.actions for managing server 'actions'; and make modulemanager ↵Matthew Wild2009-01-121-1/+14
| | | | | | | | register actions 'load' and 'unload'
| * modulemanager: Change pairs() to ipairs() to allow ordered module loadingMatthew Wild2009-01-121-2/+2
| |
* | modulemanager: Fixed error on unloading modules with no handlersWaqas Hussain2009-01-131-3/+5
|/
* modulemanager: Per-host event hooks for plugins - solves issue 41Waqas Hussain2009-01-091-1/+17
|
* Automated merge with http://waqas.ath.cx:8000/Matthew Wild2009-01-071-1/+3
|\
| * Remove warning of already-loaded modules at startupMatthew Wild2009-01-041-1/+3
| |
* | modulemanager: module.unload now gets called when modules are being unloadedWaqas Hussain2009-01-071-3/+4
|/
* Modulemanager: Basic modules can now be unloaded correctlyWaqas Hussain2009-01-031-9/+33
|
* Fix for not loading global modules when host-specific modules are specified ↵Matthew Wild2008-12-241-0/+18
| | | | in config
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Don't try processing stanzas not of type get or set in module managerWaqas Hussain2008-12-081-2/+7
|
* Merge from waqasMatthew Wild2008-12-061-95/+16
|\
| * Removed unused variablesWaqas Hussain2008-12-071-7/+4
| |
| * Combined and merged similar codeWaqas Hussain2008-12-071-33/+14
| |
| * Removed pre-multitable code from module managerWaqas Hussain2008-12-071-57/+0
| |
* | Temporary hack for global modulesMatthew Wild2008-12-061-7/+12
|/
* Merge from waqasMatthew Wild2008-12-061-3/+41
|\
| * Changed module manager to use multitable (initial commit)Waqas Hussain2008-12-071-3/+41
| |