Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -10/+10 |
| | |||||
* | core.modulemanager: Fix global flag on per-host instances of shared modules ↵ | Kim Alvefur | 2022-04-04 | 1 | -0/+1 |
| | | | | | | | | | (fix #1736) This flag is something of a shortcut for `module.host == "*"` and should always be equal to that. Its absence on the proxy object made the property of the global module instance visible, causing problems such as with URL reporting in mod_http | ||||
* | core.modulemanager: Save module metadata for potential later use | Kim Alvefur | 2022-02-05 | 1 | -1/+2 |
| | | | | Makes it reachable from the shell if nothing else | ||||
* | modulemanager: Shorten metadata keys to improve readability and memorability | Matthew Wild | 2022-02-04 | 1 | -5/+5 |
| | |||||
* | modulemanager: Add plugin load filter that reads module metadata from source | Matthew Wild | 2022-02-04 | 1 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | | Metadata in modules is added using lines formatted as: --% key: value Where key is a valid identifier string, and value is also a string (leading and trailing whitespace are trimmed during parsing). The initial supported keys are: --% requires_core_features: feature1, feature2, ... --% conflicts_core_features: feature1, feature2. ... These 'features' map to features reported by the new core.features module. A benefit of this load-time metadata approach compared to e.g. something like module:requires()/module:conflicts() is that we can continue to look in module search paths for a suitable module. Aborting an already-loaded module due to a version conflict would be too late. | ||||
* | modulemanager, moduleapi: Switch to new pluginloader interface | Matthew Wild | 2022-02-04 | 1 | -2/+7 |
| | |||||
* | core.modulemanager: Remove compat for mod_console rename in 0.8 | Kim Alvefur | 2022-01-05 | 1 | -7/+0 |
| | | | | | Should no longer be needed, especially since mod_admin_telnet morphed into mod_admin_shell and mod_admin_socket | ||||
* | core.modulemanager: Load mod_smacks on Components | Kim Alvefur | 2021-12-20 | 1 | -0/+1 |
| | | | | Since it applies to s2s on Components as well as on VirtualHosts. | ||||
* | core.modulemanager: Inherit mod_server_contact_info onto components #1270 | Kim Alvefur | 2021-05-27 | 1 | -0/+1 |
| | |||||
* | core.modulemanager: Fix resource location compat with LuaRocks 2.x | Kim Alvefur | 2021-01-16 | 1 | -1/+1 |
| | | | | | The path doesn't include lua version, at least least on Debian, which still has luarocks 2.x | ||||
* | core.modulemanager: Fix error if installer path missing | Kim Alvefur | 2020-10-11 | 1 | -1/+1 |
| | | | | | Happens if run outside prosody. Noticed because because the storage tests fail. | ||||
* | core.modulemanager: Add compat for LuaRocks 2.x | Kim Alvefur | 2020-10-07 | 1 | -0/+7 |
| | |||||
* | core.modulemanager: Locate resources of LuaRocks-installed modules | Kim Alvefur | 2020-10-07 | 1 | -0/+31 |
| | | | | | | | Extra non-code files included with a `copy_directories` directive in a LuaRocks manifest will be copied into a per-module and per-version directory under /lib/luarocks/ and all this is there to dig that out so it can be used in e.g. moduleapi :load_resource(). | ||||
* | core.modulemanager: Silence warning about unused err variable [luacheck] | Kim Alvefur | 2019-12-20 | 1 | -1/+2 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-11-23 | 1 | -2/+23 |
|\ | |||||
| * | core.modulemanager: Split lists across multiple lines for improved readability | Kim Alvefur | 2019-09-29 | 1 | -2/+18 |
| | | | | | | | | Patches will also be easier to read. | ||||
| * | mod_s2s_bidi: Enables bi-directional streams via XEP-0288 | Kim Alvefur | 2019-09-08 | 1 | -1/+1 |
| | | |||||
| * | modulemanager: Set module status on successful or failed module load | Matthew Wild | 2019-03-19 | 1 | -0/+5 |
| | | |||||
* | | core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to ↵ | Kim Alvefur | 2019-11-23 | 1 | -0/+5 |
|/ | | | | prevent conflict (#1469) | ||||
* | modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks ↵ | Matthew Wild | 2018-10-26 | 1 | -7/+4 |
| | | | | luacheck, scansion] | ||||
* | Many things: switch from hacky multi-arg xpcall implementations to a ↵ | Matthew Wild | 2018-10-26 | 1 | -7/+2 |
| | | | | standard util.xpcall | ||||
* | modulemanager: Expose function to get the list of modules that should be ↵ | Matthew Wild | 2018-06-20 | 1 | -4/+13 |
| | | | | loaded on a host | ||||
* | core: Use prosody.hosts instead of _G.hosts for consistency | Kim Alvefur | 2018-03-29 | 1 | -1/+1 |
| | |||||
* | vairious: Add annotation when an empty environment is set [luacheck] | Kim Alvefur | 2018-02-28 | 1 | -0/+1 |
| | |||||
* | core: Split some very long lines [luacheck] | Kim Alvefur | 2017-03-04 | 1 | -1/+2 |
| | |||||
* | modulemanager: Silence log message about attempts to load already loaded ↵ | Kim Alvefur | 2016-03-19 | 1 | -1/+3 |
| | | | | modules for shared modules | ||||
* | loggingmanager,modulemanager,moduleapi: Ignore warning about accessing ↵ | Kim Alvefur | 2016-02-18 | 1 | -1/+1 |
| | | | | _G.unpack [luacheck] | ||||
* | loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+ | Kim Alvefur | 2016-02-18 | 1 | -1/+2 |
| | |||||
* | core.*: Remove use of module() function | Kim Alvefur | 2015-02-21 | 1 | -3/+15 |
| | |||||
* | modulemanager: Add luacheck annotations | Matthew Wild | 2015-05-06 | 1 | -3/+4 |
| | |||||
* | modulemanager: Remove unused import of pcall #luacheck | Matthew Wild | 2015-05-06 | 1 | -2/+2 |
| | |||||
* | core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r) | Kim Alvefur | 2014-09-23 | 1 | -1/+1 |
| | |||||
* | core.modulemanager, core.moduleapi: Hack around dependency loop | Kim Alvefur | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | Merge 0.9->0.10 | Matthew Wild | 2014-08-28 | 1 | -1/+1 |
|\ | |||||
| * | modulemanager: Reduce warning to debug level message about modules already ↵ | Kim Alvefur | 2014-08-27 | 1 | -1/+1 |
| | | | | | | | | being loaded, it's probably just module:depends() | ||||
* | | mod_s2s_auth_certs: Split PKIX based certificate checking from mod_s2s into ↵ | Kim Alvefur | 2014-07-25 | 1 | -1/+1 |
| | | | | | | | | new plugin | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-03-25 | 1 | -1/+1 |
|\| | |||||
| * | modulemanager: Load mod_saslauth on components by default | Kim Alvefur | 2014-03-22 | 1 | -1/+1 |
| | | |||||
* | | modulemanager: Always load a platform-specific module, add stub modules for ↵ | Kim Alvefur | 2014-01-26 | 1 | -1/+1 |
| | | | | | | | | Windows and unknown platforms | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -13/+13 |
|/ | |||||
* | modulemanager: add missing ipairs import. | Marco Cirillo | 2013-04-01 | 1 | -1/+1 |
| | |||||
* | modulemanager: add function to retrieve module items from a specific host ↵ | Marco Cirillo | 2013-04-01 | 1 | -1/+18 |
| | | | | entity. | ||||
* | core.*: Complete removal of all traces of the "core" section and ↵ | Kim Alvefur | 2013-03-23 | 1 | -6/+6 |
| | | | | section-related code. | ||||
* | modulemanager: Set module.reloading when a module is reloading, and when ↵ | Matthew Wild | 2012-11-22 | 1 | -3/+6 |
| | | | | loading make the saved state available in module.saved_state (if any) | ||||
* | hostmanager, modulemanager: Ensure hosts[*].modules always exists. | Waqas Hussain | 2012-09-13 | 1 | -4/+1 |
| | |||||
* | Eliminate direct setfenv usage | Florian Zeitz | 2012-06-08 | 1 | -9/+10 |
| | |||||
* | modulemanager, moduleapi: Turn module.event_handlers into a multitable and ↵ | Matthew Wild | 2012-05-19 | 1 | -6/+7 |
| | | | | track object->event->handler associations correctly (thanks Zash) | ||||
* | moduleapi, modulemanager: Re-structure module.event_handlers so that the ↵ | Matthew Wild | 2012-05-18 | 1 | -2/+2 |
| | | | | same handler can harmlessly handle multiple events (thanks Zash) | ||||
* | modulemanager: Components should inherit mod_s2s from global modules_enabled too | Matthew Wild | 2012-05-16 | 1 | -1/+1 |
| | |||||
* | modulemanager: Set module.reloading = true when firing module-reloaded event | Matthew Wild | 2012-05-11 | 1 | -3/+5 |
| |