aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* modulemanager: Inside plugins, have global _M as a reference to the module's ↵Matthew Wild2010-11-131-0/+1
| | | | environment
* modulemanager, usermanager: Removed hooks for the 'component-activated' ↵Waqas Hussain2010-11-101-1/+0
| | | | event (components now fire 'host-activated').
* modulemanager: Return an error when loading a module on a non-existent host, ↵Waqas Hussain2010-11-101-5/+2
| | | | don't create the host. Removes dependecy on componentmanager.
* modulemanager: load_modules_for_host(): For components, the inherited ↵Waqas Hussain2010-11-101-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 Hussain2010-11-101-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 Hussain2010-11-101-1/+1
| | | | of the called function.
* componentmanager, hostmanager, modulemanager, mod_component: Got rid of the ↵Waqas Hussain2010-11-101-1/+0
| | | | useless hosts[*].connected property.
* modulemanager, stanza_router: Moved modulemanager.handle_stanza to ↵Waqas Hussain2010-10-161-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 Hussain2010-10-161-17/+0
| | | | related code.
* modulemanager: Removed legacy events API, and related code.Waqas Hussain2010-10-161-51/+7
|
* modulemanager: Removed add_iq_handler() from the plugin API.Waqas Hussain2010-10-161-3/+0
|
* modulemanager: Remove dependency on eventmanagerMatthew Wild2010-08-031-4/+4
|
* Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> ↵Matthew Wild2010-06-041-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 defaultJeff Mitchell2010-05-271-1/+1
|
* modulemanager: Log proper tracebacks on errors during module load/unload.Waqas Hussain2010-04-191-1/+9
|
* Merge 0.6->0.7Matthew Wild2010-03-301-1/+1
|\
| * stanza_router, s2smanager, modulemanager: Fix for handling of the default ↵Matthew Wild2010-03-301-1/+1
| | | | | | | | namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * modulemanager: Fire item-removed events on module unload.Waqas Hussain2009-12-101-0/+9
| |
* | modulemanager: Fix traceback on unloading global modules (thanks KSid)Matthew Wild2010-02-181-2/+2
| |
* | modulemanager: Load plugin libraries in the same environment as the plugins.Waqas Hussain2010-02-111-1/+1
| |
* | modulemanager: Make the plugin environment available directly ↵Waqas Hussain2010-02-111-0/+1
| | | | | | | | (module.environment within plugins).
* | modulemanager: Remove obsolete actions codeMatthew Wild2010-01-211-16/+0
| |
* | modulemanager: Fire item-removed events on module unload.Waqas Hussain2009-12-101-0/+9
| |
* | modulemanager: Fixed a global access.Waqas Hussain2009-12-101-2/+2
| |
* | 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