Log

core/modulemanager.lua @ 7074:3ff83773ffc0

description author age
core.*: Remove use of module() function Kim Alvefur 2015-02-21
modulemanager: Add luacheck annotations Matthew Wild 2015-05-06
modulemanager: Remove unused import of pcall #luacheck Matthew Wild 2015-05-06
core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r) Kim Alvefur 2014-09-22
core.modulemanager, core.moduleapi: Hack around dependency loop Kim Alvefur 2014-09-17
Merge 0.9->0.10 Matthew Wild 2014-08-28
modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends() Kim Alvefur 2014-08-27
mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into new plugin Kim Alvefur 2014-07-25
Merge 0.9->0.10 Kim Alvefur 2014-03-25
modulemanager: Load mod_saslauth on components by default Kim Alvefur 2014-03-22
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms Kim Alvefur 2014-01-26
Remove all trailing whitespace Florian Zeitz 2013-08-09
modulemanager: add missing ipairs import. Marco Cirillo 2013-04-01
modulemanager: add function to retrieve module items from a specific host entity. Marco Cirillo 2013-04-01
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur 2013-03-23
modulemanager: Set module.reloading when a module is reloading, and when loading make the saved state available in module.saved_state (if any) Matthew Wild 2012-11-22
hostmanager, modulemanager: Ensure hosts[*].modules always exists. Waqas Hussain 2012-09-12
Eliminate direct setfenv usage Florian Zeitz 2012-06-08
modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash) Matthew Wild 2012-05-19
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash) Matthew Wild 2012-05-18
modulemanager: Components should inherit mod_s2s from global modules_enabled too Matthew Wild 2012-05-16
modulemanager: Set module.reloading = true when firing module-reloaded event Matthew Wild 2012-05-11
modulemanager: Pass the module's final host (e.g. '*') to the module-loaded event Matthew Wild 2012-04-29
modulemanager: Hide deprecation warning for modules loaded on '*' directly (e.g. prosodyctl mod_<command>) (thanks Zash) Matthew Wild 2012-04-29
modulemanager: Fixes to handle circular dependencies in module:depends() Matthew Wild 2012-04-28
modulemanager: Remove unused function imports Matthew Wild 2012-04-28
modulemanager: Remove unused NULL declaration Matthew Wild 2012-04-28
modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps) Matthew Wild 2012-04-27
modulemanager: Set module.environment before calling add_host, otherwise the module will get the parent's environment (thanks xnyhps and Maranda) Matthew Wild 2012-04-27
modulemanager: Set module.loaded = false on unload Matthew Wild 2012-04-23
modulemanager: Report errors that happen when loading a shared module onto its original host Matthew Wild 2012-04-23
modulemanager: For children of shared modules, set module.environment to the empty environment for that module (useful to expose data or APIs at host.modules[module]) Matthew Wild 2012-04-21
modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host Matthew Wild 2012-04-21
modulemanager: Support for shared modules - function module.add_host(host_module) in a global module Matthew Wild 2012-04-21
modulemanager: Make module_has_method and module_call_method use rawget() Matthew Wild 2012-04-21
modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*") Matthew Wild 2012-04-21
modulemanager: Use api_instance rather than pluginenv.module (same thing) Matthew Wild 2012-04-21
modulemanager: Allow loading a module onto "*" (part-fixes #228) Matthew Wild 2012-04-21
modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever) Matthew Wild 2012-03-14
modulemanager: Use appropriate events object for global modules when firing item-removed on unload Matthew Wild 2012-03-14
modulemanager: include mod_c2s and mod_s2s into autoloaded modules. Florian Zeitz 2012-02-24
modulemanager: load(): Return and use the correct module object Matthew Wild 2012-01-22
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. Matthew Wild 2012-01-22
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object. Matthew Wild 2012-01-22
modulemanager: Drop unnecessary prosody_events local Matthew Wild 2012-01-22
modulemanager: Some reorganisation. Only external change is (should be) that module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead. Matthew Wild 2012-01-22
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild 2012-01-22
modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of) Matthew Wild 2011-12-13
modulemanager: Fix undefined global access in handling of module.save error handling. Waqas Hussain 2011-09-20
modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload. Waqas Hussain 2011-09-17
modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host Matthew Wild 2011-08-29
modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events Matthew Wild 2011-08-14
core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions Kim Alvefur 2011-08-08
modulemanager: Added module.path to the plugin API to let plugins determine their load path. Waqas Hussain 2011-02-20
modulemanager: Fix disabling a module on a single host Paul Aurich 2011-02-02
modulemanager: Removed an unused variable. Waqas Hussain 2011-01-05
modulemanager: Auto-load mod_offline. Waqas Hussain 2010-12-27
modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs Matthew Wild 2010-12-17
modulemanager: Allow components to inherit mod_iq. This allows modules loaded on components to hook IQ stanza sub-events ("iq-set/bare/xmlns:tag", etc). Waqas Hussain 2010-12-02
Backed out changeset bfc47564aaef (No need for _M with module.environment) Matthew Wild 2010-11-13
modulemanager: Inside plugins, have global _M as a reference to the module's environment Matthew Wild 2010-11-13
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated'). Waqas Hussain 2010-11-10
modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager. Waqas Hussain 2010-11-10
modulemanager: load_modules_for_host(): For components, the inherited modules are the intersection of the inheritable and global modules lists, not the difference. Waqas Hussain 2010-11-10
modulemanager: load_modules_for_host(): Inherit 'tls' and 'dialback' from global modules list for components, and load the component module. Also refactored to use util.set. Waqas Hussain 2010-11-10
modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function. Waqas Hussain 2010-11-10
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. Waqas Hussain 2010-11-09
modulemanager, stanza_router: Moved modulemanager.handle_stanza to stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router. Waqas Hussain 2010-10-16
modulemanager: Removed another legacy events API (add_event_hook), and related code. Waqas Hussain 2010-10-16
modulemanager: Removed legacy events API, and related code. Waqas Hussain 2010-10-16
modulemanager: Removed add_iq_handler() from the plugin API. Waqas Hussain 2010-10-16
modulemanager: Remove dependency on eventmanager Matthew Wild 2010-08-03
Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> 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. Matthew Wild 2010-06-04
Have defaultauth load by default Jeff Mitchell 2010-05-27
modulemanager: Log proper tracebacks on errors during module load/unload. Waqas Hussain 2010-04-19
Merge 0.6->0.7 Matthew Wild 2010-03-30
stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted Matthew Wild 2010-03-30
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
modulemanager: Fire item-removed events on module unload. Waqas Hussain 2009-12-09
modulemanager: Fix traceback on unloading global modules (thanks KSid) Matthew Wild 2010-02-18
modulemanager: Load plugin libraries in the same environment as the plugins. Waqas Hussain 2010-02-11
modulemanager: Make the plugin environment available directly (module.environment within plugins). Waqas Hussain 2010-02-11
modulemanager: Remove obsolete actions code Matthew Wild 2010-01-21
modulemanager: Fire item-removed events on module unload. Waqas Hussain 2009-12-09
modulemanager: Fixed a global access. Waqas Hussain 2009-12-09
modulemanager, net.dns: Remove trailing whitespace Matthew Wild 2009-12-02
modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc Matthew Wild 2009-12-01
modulemanager: New module API methods for getting config options with type conversion, get_option_string, get_option_number, get_option_boolean, get_option_array, get_option_set Matthew Wild 2009-11-23
modulemanager: api:get_option(): Handle correctly option values of boolean false, don't assume value unset Matthew Wild 2009-11-08
modulemanager: Module loading rewritten to gracefully deal with errors in module initialization. Waqas Hussain 2009-10-18
modulemanager: Use componentmanager to create new components. Waqas Hussain 2009-10-17
modulemanager: Fixed: Stanza modules were being auto-loaded for components (regression in hg:1e674dae31ae). Waqas Hussain 2009-10-17
modulemanager: Fixed traceback on loading modules on unknown hosts. Waqas Hussain 2009-10-17
modulemanager: Slightly rearranged code for more robust unloading of modules. Waqas Hussain 2009-10-17
modulemanager: Re-organise module loading to still work when no global modules_enabled is defined in the config (thanks hoelzro for accidentally discovering this one) Matthew Wild 2009-10-16
modulemanager: Changed api:get_host_items to include items from the global host in its result. Waqas Hussain 2009-10-13
modulemanager: Bump log level of unhandled non-default-namespace elements, and log their full XML Matthew Wild 2009-10-06
Merge with 0.5 Matthew Wild 2009-10-05
modulemanager: Add host.modules to contain a table of modules for a host Matthew Wild 2009-10-05
Merge with 0.5 Matthew Wild 2009-09-30
modulemanager: Load modules for components, too Matthew Wild 2009-09-30
Merge with 0.5 matthew 2009-09-05
modulemanager: Fixed: Internally generated stanzas could be missing namespaces, which causes tracebacks in logging (e.g., auto-generated offline presence) Waqas Hussain 2009-09-05
modulemanager: Removed unused variables and reference to core.discomanager Waqas Hussain 2009-08-18
modulemanager: Removed unnecessary code in the unload function Waqas Hussain 2009-08-18
modulemanager: Removed legacy disco#items hook Waqas Hussain 2009-08-18
modulemanager: add_feature and add_identity APIs updated to use only the add_item API Waqas Hussain 2009-08-18
modulemanager: Added module API function to get all items for a given host based on a key Waqas Hussain 2009-08-18
modulemanager: Module API functions add_item and add_feature updated to use the add_item API Waqas Hussain 2009-08-18
modulemanager: Changed the add_identity module API to accept an optional name parameter (the 'name' attribute for the <identity/> element) Waqas Hussain 2009-08-18
Added: functions add_item and remove_item to add and remove items to the module API Waqas Hussain 2009-08-18
modulemanager: Added get_option(name, default_value) to plugin API Waqas Hussain 2009-07-25
Remove version number from copyright headers Matthew Wild 2009-07-10
modulemanager: Small code improvement, move autoloaded modules list to the top of the file Matthew Wild 2009-07-09
configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them) Matthew Wild 2009-07-09
modulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes #102) Waqas Hussain 2009-06-29
Automated merge with http://waqas.ath.cx:8000/ Matthew Wild 2009-06-23
modulemanager: Enabled access to the module API from plugin libraries Waqas Hussain 2009-06-22
modulemanager: Added simple module:require implementation Waqas Hussain 2009-06-21