core/modulemanager.lua
Mon, 04 Apr 2022 18:44:57 +0200 Kim Alvefur core.modulemanager: Fix global flag on per-host instances of shared modules (fix #1736) 0.12
Sat, 05 Feb 2022 01:33:46 +0100 Kim Alvefur core.modulemanager: Save module metadata for potential later use
Fri, 04 Feb 2022 15:42:13 +0000 Matthew Wild modulemanager: Shorten metadata keys to improve readability and memorability
Fri, 04 Feb 2022 14:20:00 +0000 Matthew Wild modulemanager: Add plugin load filter that reads module metadata from source
Fri, 04 Feb 2022 14:11:46 +0000 Matthew Wild modulemanager, moduleapi: Switch to new pluginloader interface
Wed, 05 Jan 2022 04:04:45 +0100 Kim Alvefur core.modulemanager: Remove compat for mod_console rename in 0.8
Mon, 20 Dec 2021 00:16:22 +0100 Kim Alvefur core.modulemanager: Load mod_smacks on Components
Thu, 27 May 2021 11:18:42 +0200 Kim Alvefur core.modulemanager: Inherit mod_server_contact_info onto components #1270
Sat, 16 Jan 2021 00:24:06 +0100 Kim Alvefur core.modulemanager: Fix resource location compat with LuaRocks 2.x
Sun, 11 Oct 2020 14:27:28 +0200 Kim Alvefur core.modulemanager: Fix error if installer path missing
Wed, 07 Oct 2020 22:54:12 +0200 Kim Alvefur core.modulemanager: Add compat for LuaRocks 2.x
Wed, 07 Oct 2020 15:51:37 +0200 Kim Alvefur core.modulemanager: Locate resources of LuaRocks-installed modules
Fri, 20 Dec 2019 22:38:45 +0100 Kim Alvefur core.modulemanager: Silence warning about unused err variable [luacheck]
Sat, 23 Nov 2019 23:12:01 +0100 Kim Alvefur Merge 0.11->trunk
Sat, 23 Nov 2019 23:11:03 +0100 Kim Alvefur core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to prevent conflict (#1469) 0.11
Sun, 29 Sep 2019 17:07:39 +0200 Kim Alvefur core.modulemanager: Split lists across multiple lines for improved readability
Sun, 08 Sep 2019 19:45:39 +0200 Kim Alvefur mod_s2s_bidi: Enables bi-directional streams via XEP-0288
Tue, 19 Mar 2019 09:05:15 +0000 Matthew Wild modulemanager: Set module status on successful or failed module load
Fri, 26 Oct 2018 19:53:02 +0100 Matthew Wild modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks luacheck, scansion]
Fri, 26 Oct 2018 19:32:00 +0100 Matthew Wild Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
Wed, 20 Jun 2018 10:41:02 +0100 Matthew Wild modulemanager: Expose function to get the list of modules that should be loaded on a host
Thu, 29 Mar 2018 16:58:06 +0200 Kim Alvefur core: Use prosody.hosts instead of _G.hosts for consistency
Wed, 28 Feb 2018 20:06:26 +0100 Kim Alvefur vairious: Add annotation when an empty environment is set [luacheck]
Sat, 04 Mar 2017 17:49:48 +0100 Kim Alvefur core: Split some very long lines [luacheck]
Sat, 19 Mar 2016 16:35:43 +0100 Kim Alvefur modulemanager: Silence log message about attempts to load already loaded modules for shared modules
Thu, 18 Feb 2016 14:57:51 +0100 Kim Alvefur loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck]
Thu, 18 Feb 2016 14:57:04 +0100 Kim Alvefur loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+
Sat, 21 Feb 2015 10:42:19 +0100 Kim Alvefur core.*: Remove use of module() function
Wed, 06 May 2015 19:16:16 +0100 Matthew Wild modulemanager: Add luacheck annotations
Wed, 06 May 2015 19:15:35 +0100 Matthew Wild modulemanager: Remove unused import of pcall #luacheck
Tue, 23 Sep 2014 00:23:33 +0200 Kim Alvefur core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)
Wed, 17 Sep 2014 14:48:49 +0200 Kim Alvefur core.modulemanager, core.moduleapi: Hack around dependency loop
Thu, 28 Aug 2014 09:23:24 +0100 Matthew Wild Merge 0.9->0.10
Wed, 27 Aug 2014 10:46:22 +0200 Kim Alvefur modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends()
Fri, 25 Jul 2014 20:41:54 +0200 Kim Alvefur mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into new plugin
Tue, 25 Mar 2014 19:16:38 +0100 Kim Alvefur Merge 0.9->0.10
Sat, 22 Mar 2014 12:42:01 +0100 Kim Alvefur modulemanager: Load mod_saslauth on components by default
Sun, 26 Jan 2014 21:16:24 +0100 Kim Alvefur modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Fri, 09 Aug 2013 17:48:21 +0200 Florian Zeitz Remove all trailing whitespace
Mon, 01 Apr 2013 23:41:57 +0000 Marco Cirillo modulemanager: add missing ipairs import.
Mon, 01 Apr 2013 22:34:44 +0000 Marco Cirillo modulemanager: add function to retrieve module items from a specific host entity.
Sat, 23 Mar 2013 02:33:15 +0100 Kim Alvefur core.*: Complete removal of all traces of the "core" section and section-related code.
Thu, 22 Nov 2012 20:59:20 +0000 Matthew Wild modulemanager: Set module.reloading when a module is reloading, and when loading make the saved state available in module.saved_state (if any)
Thu, 13 Sep 2012 00:32:12 +0500 Waqas Hussain hostmanager, modulemanager: Ensure hosts[*].modules always exists.
Fri, 08 Jun 2012 05:04:38 +0200 Florian Zeitz Eliminate direct setfenv usage
Sat, 19 May 2012 15:39:16 +0100 Matthew Wild modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash)
Fri, 18 May 2012 23:53:02 +0100 Matthew Wild moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash)
Wed, 16 May 2012 20:30:53 +0100 Matthew Wild modulemanager: Components should inherit mod_s2s from global modules_enabled too
Fri, 11 May 2012 18:54:17 +0100 Matthew Wild modulemanager: Set module.reloading = true when firing module-reloaded event
Mon, 30 Apr 2012 00:52:43 +0100 Matthew Wild modulemanager: Pass the module's final host (e.g. '*') to the module-loaded event
Sun, 29 Apr 2012 19:36:11 +0100 Matthew Wild modulemanager: Hide deprecation warning for modules loaded on '*' directly (e.g. prosodyctl mod_<command>) (thanks Zash)
Sat, 28 Apr 2012 15:47:43 +0100 Matthew Wild modulemanager: Fixes to handle circular dependencies in module:depends()
Sat, 28 Apr 2012 02:22:42 +0100 Matthew Wild modulemanager: Remove unused function imports
Sat, 28 Apr 2012 02:18:17 +0100 Matthew Wild modulemanager: Remove unused NULL declaration
Fri, 27 Apr 2012 22:36:35 +0100 Matthew Wild modulemanager: Clear modulemap when a host is deactivated (thanks xnyhps)
Fri, 27 Apr 2012 21:37:45 +0100 Matthew Wild modulemanager: Set module.environment before calling add_host, otherwise the module will get the parent's environment (thanks xnyhps and Maranda)
Mon, 23 Apr 2012 15:38:36 +0100 Matthew Wild modulemanager: Set module.loaded = false on unload
Mon, 23 Apr 2012 14:11:10 +0100 Matthew Wild modulemanager: Report errors that happen when loading a shared module onto its original host
Sat, 21 Apr 2012 22:53:22 +0100 Matthew Wild 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])
Sat, 21 Apr 2012 20:37:06 +0100 Matthew Wild modulemanager: When a shared module becomes global, ensure it still gets loaded onto the original target host
Sat, 21 Apr 2012 20:09:03 +0100 Matthew Wild modulemanager: Support for shared modules - function module.add_host(host_module) in a global module
Sat, 21 Apr 2012 20:04:07 +0100 Matthew Wild modulemanager: Make module_has_method and module_call_method use rawget()
Sat, 21 Apr 2012 20:02:45 +0100 Matthew Wild modulemanager: Use modulemap rather than hosts[host] (fix for when host == "*")
Sat, 21 Apr 2012 20:01:40 +0100 Matthew Wild modulemanager: Use api_instance rather than pluginenv.module (same thing)
Sat, 21 Apr 2012 20:00:30 +0100 Matthew Wild modulemanager: Allow loading a module onto "*" (part-fixes #228)
Wed, 14 Mar 2012 21:37:00 +0000 Matthew Wild modulemanager: Some refactoring. Deprecate module.host = "*", modules should call module:set_global() (which has been around since forever)
Wed, 14 Mar 2012 17:03:48 +0000 Matthew Wild modulemanager: Use appropriate events object for global modules when firing item-removed on unload
Fri, 24 Feb 2012 15:14:07 +0000 Florian Zeitz modulemanager: include mod_c2s and mod_s2s into autoloaded modules.
Sun, 22 Jan 2012 19:27:06 +0000 Matthew Wild modulemanager: load(): Return and use the correct module object
Sun, 22 Jan 2012 18:49:49 +0000 Matthew Wild modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
Sun, 22 Jan 2012 18:49:11 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:47:33 +0000 Matthew Wild modulemanager: Drop unnecessary prosody_events local
Sun, 22 Jan 2012 18:46:17 +0000 Matthew Wild 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.
Sun, 22 Jan 2012 18:41:55 +0000 Matthew Wild modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
Tue, 13 Dec 2011 13:34:21 +0000 Matthew Wild modulemanager: Remove 'config' from module environments (no modules use it that I'm aware of)
Wed, 21 Sep 2011 03:25:34 +0500 Waqas Hussain modulemanager: Fix undefined global access in handling of module.save error handling.
Sat, 17 Sep 2011 20:28:46 +0500 Waqas Hussain modulemanager: Fixed undefined global access in broadcast of item-remove events on module unload.
Mon, 29 Aug 2011 13:09:29 -0400 Matthew Wild modulemanager: Add module:handle_items() to allow a module to more easily handle a list of items on a host
Sun, 14 Aug 2011 13:56:13 -0400 Matthew Wild modulemanager: Add module:hook_global(name, handler, priority) to hook global (server-wide) events
Mon, 08 Aug 2011 18:23:53 +0200 Kim Alvefur core.modulemanager, mod_disco: Add support for XEP-0128: Service Discovery Extensions
Sun, 20 Feb 2011 20:06:38 +0500 Waqas Hussain modulemanager: Added module.path to the plugin API to let plugins determine their load path.
Tue, 01 Feb 2011 17:56:16 -0800 Paul Aurich modulemanager: Fix disabling a module on a single host
Wed, 05 Jan 2011 06:16:27 +0500 Waqas Hussain modulemanager: Removed an unused variable.
Mon, 27 Dec 2010 06:10:34 +0500 Waqas Hussain modulemanager: Auto-load mod_offline.
Fri, 17 Dec 2010 12:44:24 +0000 Matthew Wild modulemanager, mod_console: Rename mod_console -> mod_admin_telnet - add compatibility code to modulemanager for existing configs
Thu, 02 Dec 2010 16:32:42 +0500 Waqas Hussain 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).
Sat, 13 Nov 2010 04:12:40 +0000 Matthew Wild Backed out changeset bfc47564aaef (No need for _M with module.environment)
Sat, 13 Nov 2010 04:09:14 +0000 Matthew Wild modulemanager: Inside plugins, have global _M as a reference to the module's environment
Wed, 10 Nov 2010 22:27:09 +0500 Waqas Hussain modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
Wed, 10 Nov 2010 20:14:33 +0500 Waqas Hussain modulemanager: Return an error when loading a module on a non-existent host, don't create the host. Removes dependecy on componentmanager.
Wed, 10 Nov 2010 19:54:38 +0500 Waqas Hussain modulemanager: load_modules_for_host(): For components, the inherited modules are the intersection of the inheritable and global modules lists, not the difference.
Wed, 10 Nov 2010 18:06:51 +0500 Waqas Hussain 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.
Wed, 10 Nov 2010 05:30:46 +0500 Waqas Hussain modulemanager: Fixed: Locally defined pcall wasn't returning return values of the called function.
Wed, 10 Nov 2010 03:39:38 +0500 Waqas Hussain componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
Sat, 16 Oct 2010 08:34:32 +0500 Waqas Hussain 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.
Sat, 16 Oct 2010 08:15:11 +0500 Waqas Hussain modulemanager: Removed another legacy events API (add_event_hook), and related code.
Sat, 16 Oct 2010 07:31:50 +0500 Waqas Hussain modulemanager: Removed legacy events API, and related code.
Sat, 16 Oct 2010 06:25:55 +0500 Waqas Hussain modulemanager: Removed add_iq_handler() from the plugin API.
Tue, 03 Aug 2010 10:52:53 +0100 Matthew Wild modulemanager: Remove dependency on eventmanager
Fri, 04 Jun 2010 14:33:36 +0100 Matthew Wild 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.
Thu, 27 May 2010 09:20:08 -0400 Jeff Mitchell Have defaultauth load by default
Mon, 19 Apr 2010 18:29:10 +0500 Waqas Hussain modulemanager: Log proper tracebacks on errors during module load/unload.
Tue, 30 Mar 2010 19:45:56 +0100 Matthew Wild Merge 0.6->0.7
Tue, 30 Mar 2010 19:40:16 +0100 Matthew Wild stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
Mon, 22 Mar 2010 17:24:55 +0000 Matthew Wild Merge 0.6->0.7
Mon, 22 Mar 2010 17:06:15 +0000 Matthew Wild Update copyright headers for 2010
Thu, 10 Dec 2009 03:02:04 +0500 Waqas Hussain modulemanager: Fire item-removed events on module unload.
Thu, 18 Feb 2010 16:22:50 +0000 Matthew Wild modulemanager: Fix traceback on unloading global modules (thanks KSid)
Thu, 11 Feb 2010 05:36:03 +0500 Waqas Hussain modulemanager: Load plugin libraries in the same environment as the plugins.
Thu, 11 Feb 2010 05:34:53 +0500 Waqas Hussain modulemanager: Make the plugin environment available directly (module.environment within plugins).
Thu, 21 Jan 2010 12:57:12 +0000 Matthew Wild modulemanager: Remove obsolete actions code
Thu, 10 Dec 2009 03:02:04 +0500 Waqas Hussain modulemanager: Fire item-removed events on module unload.
Thu, 10 Dec 2009 03:00:16 +0500 Waqas Hussain modulemanager: Fixed a global access.
Wed, 02 Dec 2009 20:32:44 +0000 Matthew Wild modulemanager, net.dns: Remove trailing whitespace
Tue, 01 Dec 2009 19:57:33 +0000 Matthew Wild modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc
Mon, 23 Nov 2009 16:07:33 +0000 Matthew Wild 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
Sun, 08 Nov 2009 15:09:11 +0000 Matthew Wild modulemanager: api:get_option(): Handle correctly option values of boolean false, don't assume value unset
Sun, 18 Oct 2009 05:17:07 +0500 Waqas Hussain modulemanager: Module loading rewritten to gracefully deal with errors in module initialization.
Sun, 18 Oct 2009 03:15:33 +0500 Waqas Hussain modulemanager: Use componentmanager to create new components.
Sun, 18 Oct 2009 01:19:03 +0500 Waqas Hussain modulemanager: Fixed: Stanza modules were being auto-loaded for components (regression in hg:1e674dae31ae).
less more (0) -120 tip