Waqas Hussain
|
8b5ca7aabb
|
modulemanager: Added get_option(name, default_value) to plugin API
|
2009-07-25 18:37:05 +05:00 |
|
Matthew Wild
|
118883d655
|
Remove version number from copyright headers
|
2009-07-10 03:11:45 +01:00 |
|
Matthew Wild
|
b20127b81a
|
modulemanager: Small code improvement, move autoloaded modules list to the top of the file
|
2009-07-09 14:37:04 +01:00 |
|
Matthew Wild
|
455e77f21d
|
configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them)
|
2009-07-09 14:34:49 +01:00 |
|
Waqas Hussain
|
d28fa4c70b
|
modulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes #102)
|
2009-06-29 15:26:04 +05:00 |
|
Matthew Wild
|
f00a5d70b3
|
Automated merge with http://waqas.ath.cx:8000/
|
2009-06-23 15:58:56 +01:00 |
|
Matthew Wild
|
a977acec89
|
modulemanager: Expose api table to allow others to extend the module API
|
2009-06-23 01:48:01 +01:00 |
|
Waqas Hussain
|
3f141a44c2
|
modulemanager: Enabled access to the module API from plugin libraries
|
2009-06-23 02:15:04 +05:00 |
|
Matthew Wild
|
4e32c53614
|
modulemanager: Fix copy/paste error, should be name instead of module_name
|
2009-06-22 21:54:34 +01:00 |
|
Matthew Wild
|
e418f8a9c6
|
modulemanager: Call 'load' method when loading a module
|
2009-06-22 02:58:05 +01:00 |
|
Waqas Hussain
|
dc5b5334b8
|
modulemanager: Added simple module:require implementation
|
2009-06-21 19:15:59 +05:00 |
|
Waqas Hussain
|
547e4f28d6
|
modulemanager: Removed unused function get_module_filename(name)
|
2009-06-14 21:06:43 +05:00 |
|
Waqas Hussain
|
376256439e
|
modulemanager: Changed to use util.pluginloader
|
2009-06-14 21:03:59 +05:00 |
|
Waqas Hussain
|
100822df21
|
modulemanager: Change the ideitity attribute typ to type
|
2009-06-13 00:07:16 +05:00 |
|
Waqas Hussain
|
cfb4654a31
|
modulemanager: Added function add_identity(category, type) to the modules API
|
2009-06-12 14:32:32 +05:00 |
|
Matthew Wild
|
aa79672dbd
|
modulemanager: Use module_name in log entry to fix 'error initialising module "nil"' error
|
2009-06-08 13:25:10 +01:00 |
|
Matthew Wild
|
78259b97be
|
modulemanager: Don't require xmlns to be non-nil
|
2009-06-06 17:17:16 +01:00 |
|
Matthew Wild
|
650013e7ec
|
modulemanager: module:log() -> self:log() fix
|
2009-06-06 17:15:26 +01:00 |
|
Matthew Wild
|
ca4e395f0c
|
modulemanager: Allow setting priority of stanza handlers
|
2009-06-06 17:08:47 +01:00 |
|
Matthew Wild
|
114a89b664
|
modulemanager: Add module:hook([xmlns, ] name, handler) which uses new stanza events
|
2009-06-06 16:41:09 +01:00 |
|
Waqas Hussain
|
8805419906
|
modulemanager: Load mod_message, mod_iq and mod_presence implicitly
|
2009-06-04 21:25:05 +05:00 |
|
Waqas Hussain
|
27593d477f
|
modulemanager: Keep track of event handlers added by module:hook, and remove them on module unload
|
2009-05-31 13:31:20 +05:00 |
|
Waqas Hussain
|
25a09a4d95
|
modulemanager: Stopped using core.eventmanager in module:fire_event
|
2009-05-31 01:17:19 +05:00 |
|
Waqas Hussain
|
3ca6b44ad6
|
modulemanager: module:fire_event now fires on the global and host-specific events objects as well
|
2009-05-31 01:11:48 +05:00 |
|
Waqas Hussain
|
2d5433f130
|
modulemanager: Made some code more concise
|
2009-05-31 00:54:33 +05:00 |
|
Waqas Hussain
|
d7084c6651
|
modulemanager: module:hook now allows global modules to hook events on the prosody.events object
|
2009-05-31 00:51:13 +05:00 |
|
Waqas Hussain
|
777a395b47
|
modulemanager: Added hook(event, handler) to the plugin API
|
2009-05-30 17:35:32 +05:00 |
|
Matthew Wild
|
05afac6dad
|
modulemanager: Add module:fire_event() to module API
|
2009-05-19 11:50:22 +01:00 |
|
Waqas Hussain
|
2a3983a113
|
modulemanager: require util.stanza
|
2009-05-16 05:28:04 +05:00 |
|
Waqas Hussain
|
c3b04f5f09
|
modulemanager: Don't close the stream on unhandled stream:features
|
2009-05-16 05:07:51 +05:00 |
|
Waqas Hussain
|
32b1d54a24
|
stanza_router: Removed global function core_handle_stanza
|
2009-05-16 01:41:45 +05:00 |
|
Matthew Wild
|
4366e348c5
|
modulemanager: No need for print()
|
2009-05-04 19:08:55 +01:00 |
|
Matthew Wild
|
dda93565fe
|
modulemanager: Don't load modules when modules_enable is false
|
2009-05-02 22:01:22 +01:00 |
|
Matthew Wild
|
370ef290d1
|
modulemanager: Update logger when a module becomes global
|
2009-04-30 01:36:46 +01:00 |
|
Waqas Hussain
|
d0380394a9
|
Fixed: modulemanager: IQs with extended elements in the default namespace could cause backtraces (related to issue #74)
|
2009-03-30 02:56:34 +05:00 |
|
Matthew Wild
|
c80f91dc02
|
0.3->0.4
|
2009-03-20 20:16:25 +00:00 |
|
Waqas Hussain
|
63898e5714
|
Let global modules add disco features for all hosts
|
2009-03-04 22:23:41 +05:00 |
|
Waqas Hussain
|
31bd01ae39
|
Allow global modules to hook stanza handlers
|
2009-03-04 22:15:46 +05:00 |
|
Waqas Hussain
|
0310a8be6e
|
modulemanager initializes hosts[host] if it isn't already initialized when loading a module.
|
2009-02-11 17:57:48 +05:00 |
|
Matthew Wild
|
039df2c7e3
|
Fix for never checking if the first module for a host is already loaded (affects global modules)
|
2009-02-04 18:53:23 +00:00 |
|
Matthew Wild
|
c5ee166aa9
|
Update copyright notices for 2009
|
2009-01-30 17:59:26 +00:00 |
|
Matthew Wild
|
f2d020191f
|
0.2->0.3
|
2009-01-30 17:40:25 +00:00 |
|
Matthew Wild
|
bf3b96204d
|
GPL->MIT!
|
2009-01-30 17:22:56 +00:00 |
|
Matthew Wild
|
62890f2d66
|
modulemanager: Really fix call_module_method to work properly
|
2009-01-29 02:01:09 +00:00 |
|
Matthew Wild
|
6057fe64c9
|
modulemanager: Add get_host_type() API method, and fix up call_module_method to work properly
|
2009-01-29 01:58:11 +00:00 |
|
Matthew Wild
|
9b0ee1a5fb
|
modulemanager: Add module:set_global() as a cleaner way for a module to declare itself 'global'
|
2009-01-24 20:29:25 +00:00 |
|
Matthew Wild
|
f3ccd47096
|
core.modulemanager: Some refactoring to make upcoming changes a little easier
|
2009-01-24 01:15:40 +00:00 |
|
Matthew Wild
|
8d1005cf4e
|
modulemanager: Comment out logging of modules hooking stanzas, too noisy
|
2009-01-16 05:38:03 +00:00 |
|
Waqas Hussain
|
15cbc4d03e
|
modulemanager: Check for syntax errors before reloading a module
|
2009-01-13 23:16:39 +05:00 |
|
Waqas Hussain
|
a138bcd591
|
modulemanager: Added reload support, with callbacks for saving and restoring state
|
2009-01-13 22:37:07 +05:00 |
|