aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* modulemanager: Add module:hook_global(name, handler, priority) to hook ↵Matthew Wild2011-08-141-0/+11
| | | | global (server-wide) events
* core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery ↵Kim Alvefur2011-08-081-0/+3
| | | | Extensions
* modulemanager: Added module.path to the plugin API to let plugins determine ↵Waqas Hussain2011-02-201-1/+1
| | | | their load path.
* modulemanager: Fix disabling a module on a single hostPaul Aurich2011-02-011-2/+1
|
* modulemanager: Removed an unused variable.Waqas Hussain2011-01-051-2/+0
|
* modulemanager: Auto-load mod_offline.Waqas Hussain2010-12-271-1/+1
|
* modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add ↵Matthew Wild2010-12-171-0/+7
| | | | compatibility code to modulemanager for existing configs
* modulemanager: Allow components to inherit mod_iq. This allows modules ↵Waqas Hussain2010-12-021-1/+1
| | | | loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc).
* Backed out changeset bfc47564aaef (No need for _M with module.environment)Matthew Wild2010-11-131-1/+0
|
* 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
|\|