aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* | modulemanager, net.dns: Remove trailing whitespaceMatthew Wild2009-12-021-3/+3
| |
* | modulemanager: Fire events module-loaded and module-unloaded, both receive a ↵Matthew Wild2009-12-011-0/+2
| | | | | | | | table with 'module' and 'host' fields, thanks bjc
* | modulemanager: New module API methods for getting config options with type ↵Matthew Wild2009-11-231-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 Wild2009-11-081-1/+8
| | | | false, don't assume value unset
* modulemanager: Module loading rewritten to gracefully deal with errors in ↵Waqas Hussain2009-10-181-18/+22
| | | | module initialization.
* modulemanager: Use componentmanager to create new components.Waqas Hussain2009-10-181-1/+6
|
* modulemanager: Fixed: Stanza modules were being auto-loaded for components ↵Waqas Hussain2009-10-181-3/+5
| | | | (regression in hg:1e674dae31ae).
* modulemanager: Fixed traceback on loading modules on unknown hosts.Waqas Hussain2009-10-171-1/+1
|
* modulemanager: Slightly rearranged code for more robust unloading of modules.Waqas Hussain2009-10-171-1/+1
|
* modulemanager: Re-organise module loading to still work when no global ↵Matthew Wild2009-10-161-13/+16
| | | | modules_enabled is defined in the config (thanks hoelzro for accidentally discovering this one)
* modulemanager: Changed api:get_host_items to include items from the global ↵Waqas Hussain2009-10-131-0/+8
| | | | host in its result.
* modulemanager: Bump log level of unhandled non-default-namespace elements, ↵Matthew Wild2009-10-061-1/+2
| | | | and log their full XML
* Merge with 0.5Matthew Wild2009-10-051-0/+1
|\
| * modulemanager: Add host.modules to contain a table of modules for a hostMatthew Wild2009-10-051-0/+1
| |
* | Merge with 0.5Matthew Wild2009-09-301-0/+1
|\|
| * modulemanager: Load modules for components, tooMatthew Wild2009-09-301-0/+1
| |
* | Merge with 0.5matthew2009-09-051-1/+1
|\|
| * modulemanager: Fixed: Internally generated stanzas could be missing ↵Waqas Hussain2009-09-061-1/+1
| | | | | | | | namespaces, which causes tracebacks in logging (e.g., auto-generated offline presence)
* | modulemanager: Removed unused variables and reference to core.discomanagerWaqas Hussain2009-08-181-5/+0
| |
* | modulemanager: Removed unnecessary code in the unload functionWaqas Hussain2009-08-181-2/+0
| |
* | modulemanager: Removed legacy disco#items hookWaqas Hussain2009-08-181-39/+0
| |
* | modulemanager: add_feature and add_identity APIs updated to use only the ↵Waqas Hussain2009-08-181-2/+0
| | | | | | | | add_item API
* | modulemanager: Added module API function to get all items for a given host ↵Waqas Hussain2009-08-181-0/+13
| | | | | | | | based on a key
* | modulemanager: Module API functions add_item and add_feature updated to use ↵Waqas Hussain2009-08-181-0/+2
| | | | | | | | the add_item API
* | modulemanager: Changed the add_identity module API to accept an optional ↵Waqas Hussain2009-08-181-2/+2
| | | | | | | | name parameter (the 'name' attribute for the <identity/> element)
* | Added: functions add_item and remove_item to add and remove items to the ↵Waqas Hussain2009-08-181-0/+19
| | | | | | | | module API
* | modulemanager: Added get_option(name, default_value) to plugin APIWaqas Hussain2009-07-251-0/+4
|/
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* modulemanager: Small code improvement, move autoloaded modules list to the ↵Matthew Wild2009-07-091-1/+3
| | | | top of the file
* configmanager, modulemanager: Allow components to have modules specified in ↵Matthew Wild2009-07-091-22/+20
| | | | the config (but don't load the global set of modules for them)
* modulemanager: Don't close stream on stream:error with ↵Waqas Hussain2009-06-291-1/+1
| | | | unsupported-stanza-type (fixes #102)
* Automated merge with http://waqas.ath.cx:8000/Matthew Wild2009-06-231-2/+10
|\
| * modulemanager: Expose api table to allow others to extend the module APIMatthew Wild2009-06-231-1/+2
| |
| * modulemanager: Fix copy/paste error, should be name instead of module_nameMatthew Wild2009-06-221-1/+1
| |
| * modulemanager: Call 'load' method when loading a moduleMatthew Wild2009-06-221-0/+7
| |
* | modulemanager: Enabled access to the module API from plugin librariesWaqas Hussain2009-06-231-0/+1
| |
* | modulemanager: Added simple module:require implementationWaqas Hussain2009-06-211-1/+10
|/
* modulemanager: Removed unused function get_module_filename(name)Waqas Hussain2009-06-141-6/+0
|
* modulemanager: Changed to use util.pluginloaderWaqas Hussain2009-06-141-2/+3
|
* modulemanager: Change the ideitity attribute typ to typeWaqas Hussain2009-06-131-2/+2
|
* modulemanager: Added function add_identity(category, type) to the modules APIWaqas Hussain2009-06-121-0/+21
|
* modulemanager: Use module_name in log entry to fix 'error initialising ↵Matthew Wild2009-06-081-1/+1
| | | | module "nil"' error
* modulemanager: Don't require xmlns to be non-nilMatthew Wild2009-06-061-1/+1
|
* modulemanager: module:log() -> self:log() fixMatthew Wild2009-06-061-1/+1
|
* modulemanager: Allow setting priority of stanza handlersMatthew Wild2009-06-061-5/+5
|
* 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