Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pluginloader: Fix method to return any module metadata (luacheck) | Matthew Wild | 2022-02-04 | 1 | -1/+1 |
| | |||||
* | util.pluginloader: Support for a per-file load filter | Matthew Wild | 2022-02-03 | 1 | -6/+14 |
| | | | | | Load filters can choose to block the loading of certain files, and optionally return some metadata about the loaded file. | ||||
* | util.pluginloader: Support for multiple pluginloader instances, and options | Matthew Wild | 2022-02-03 | 1 | -10/+28 |
| | |||||
* | util.pluginloader: Look for module libs in mod_plugin/lib.lua | Kim Alvefur | 2020-10-05 | 1 | -0/+3 |
| | | | | | Luarocks can't be told to install something as foo.lib.lua AFAIK, so instead let's try mod_bar/foo.lua | ||||
* | util.pluginloader: Look for top level mod_something.lua in luarocks-style tree | Kim Alvefur | 2020-10-05 | 1 | -0/+1 |
| | |||||
* | util.pluginloader: Extract Lua version once | Kim Alvefur | 2020-10-05 | 1 | -1/+1 |
| | | | | It's not going to change while the module is loaded. | ||||
* | util.pluginloader: Added a new path to the variable local_names | João Duarte | 2019-08-16 | 1 | -1/+2 |
| | |||||
* | util: Various minor changes to please [luacheck] | Kim Alvefur | 2017-11-10 | 1 | -0/+1 |
| | |||||
* | modulemanager, util.pluginloader: Move logic for locating some module ↵ | Matthew Wild | 2016-02-01 | 1 | -0/+15 |
| | | | | libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call | ||||
* | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 1 | -6/+8 |
| | | | | return them in a table at the end | ||||
* | Merge 0.9->0.10 | Kim Alvefur | 2014-03-09 | 1 | -4/+4 |
|\ | |||||
| * | util.pluginloader: Always use path separator from package.config (thanks Junne) | Kim Alvefur | 2014-03-09 | 1 | -4/+4 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -1/+1 |
|/ | |||||
* | util.pluginloader: Remove unused imports | Matthew Wild | 2012-08-01 | 1 | -2/+1 |
| | |||||
* | util.pluginloader: Expose load_file | Matthew Wild | 2012-08-01 | 1 | -1/+1 |
| | |||||
* | Eliminate direct setfenv usage | Florian Zeitz | 2012-06-08 | 1 | -2/+3 |
| | |||||
* | util.pluginloader: Rewritten resource loading to be cleaner, and added ↵ | Waqas Hussain | 2011-02-22 | 1 | -26/+19 |
| | | | | support for prosody-modules directory layout. "/" in plugin names is no longer supported. | ||||
* | util.pluginloader: Remove unused support for custom loaders, to simplify ↵ | Waqas Hussain | 2011-02-20 | 1 | -9/+5 |
| | | | | further refactoring. | ||||
* | util.pluginloader: Return file path on success in pluginloader.load_code(). | Waqas Hussain | 2011-02-20 | 1 | -1/+4 |
| | |||||
* | util.pluginloader: Return full file path from internal file loader on ↵ | Waqas Hussain | 2011-02-20 | 1 | -3/+4 |
| | | | | success, not just the name. | ||||
* | util.pluginloader: Add support for multiple plugin directories. | Waqas Hussain | 2011-01-21 | 1 | -3/+12 |
| | |||||
* | util.pluginloader: Remove useless datamanager dependency. | Waqas Hussain | 2010-07-31 | 1 | -2/+0 |
| | |||||
* | util.pluginloader: Fix loading of plugins, plugin libraries and resources in ↵ | Waqas Hussain | 2010-07-31 | 1 | -9/+23 |
| | | | | subfolders (e.g., when loading 'a/b', load 'a/mod_b.lua', and not 'mod_a/b.lua'). | ||||
* | prosodyctl, util.pluginloader: Remove support for storing plugins in the ↵ | Matthew Wild | 2010-06-11 | 1 | -23/+0 |
| | | | | data store, and the addplugin command | ||||
* | Merge 0.6->0.7 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
|\ | |||||
| * | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | | |||||
* | | util.pluginloader: Don't specify a host for the plugin data store (clever ↵ | Matthew Wild | 2009-12-05 | 1 | -2/+2 |
| | | | | | | | | waqas...) | ||||
* | | util.pluginloader: Support for fetching plugins from the data store | Matthew Wild | 2009-12-02 | 1 | -5/+33 |
|/ | |||||
* | Add copyright header to those files missing one | Matthew Wild | 2009-07-10 | 1 | -0/+8 |
| | |||||
* | util.pluginloader: Append "@" to chunk names (fixes weird formatting in ↵ | Waqas Hussain | 2009-06-28 | 1 | -1/+1 |
| | | | | plugin tracebacks) | ||||
* | util.pluginloader: Remove unnecessary return value suppressing the real load ↵ | Matthew Wild | 2009-06-22 | 1 | -1/+1 |
| | | | | error | ||||
* | util.pluginloader: Initial commit - a plugin resource loader | Waqas Hussain | 2009-06-14 | 1 | -0/+33 |