aboutsummaryrefslogtreecommitdiffstats
path: root/util/pluginloader.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.pluginloader: Fix method to return any module metadata (luacheck)Matthew Wild2022-02-041-1/+1
|
* util.pluginloader: Support for a per-file load filterMatthew Wild2022-02-031-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 optionsMatthew Wild2022-02-031-10/+28
|
* util.pluginloader: Look for module libs in mod_plugin/lib.luaKim Alvefur2020-10-051-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 treeKim Alvefur2020-10-051-0/+1
|
* util.pluginloader: Extract Lua version onceKim Alvefur2020-10-051-1/+1
| | | | It's not going to change while the module is loaded.
* util.pluginloader: Added a new path to the variable local_namesJoão Duarte2019-08-161-1/+2
|
* util: Various minor changes to please [luacheck]Kim Alvefur2017-11-101-0/+1
|
* modulemanager, util.pluginloader: Move logic for locating some module ↵Matthew Wild2016-02-011-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 Alvefur2015-02-211-6/+8
| | | | return them in a table at the end
* Merge 0.9->0.10Kim Alvefur2014-03-091-4/+4
|\
| * util.pluginloader: Always use path separator from package.config (thanks Junne)Kim Alvefur2014-03-091-4/+4
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|/
* util.pluginloader: Remove unused importsMatthew Wild2012-08-011-2/+1
|
* util.pluginloader: Expose load_fileMatthew Wild2012-08-011-1/+1
|
* Eliminate direct setfenv usageFlorian Zeitz2012-06-081-2/+3
|
* util.pluginloader: Rewritten resource loading to be cleaner, and added ↵Waqas Hussain2011-02-221-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 Hussain2011-02-201-9/+5
| | | | further refactoring.
* util.pluginloader: Return file path on success in pluginloader.load_code().Waqas Hussain2011-02-201-1/+4
|
* util.pluginloader: Return full file path from internal file loader on ↵Waqas Hussain2011-02-201-3/+4
| | | | success, not just the name.
* util.pluginloader: Add support for multiple plugin directories.Waqas Hussain2011-01-211-3/+12
|
* util.pluginloader: Remove useless datamanager dependency.Waqas Hussain2010-07-311-2/+0
|
* util.pluginloader: Fix loading of plugins, plugin libraries and resources in ↵Waqas Hussain2010-07-311-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 Wild2010-06-111-23/+0
| | | | data store, and the addplugin command
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
* | util.pluginloader: Don't specify a host for the plugin data store (clever ↵Matthew Wild2009-12-051-2/+2
| | | | | | | | waqas...)
* | util.pluginloader: Support for fetching plugins from the data storeMatthew Wild2009-12-021-5/+33
|/
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* util.pluginloader: Append "@" to chunk names (fixes weird formatting in ↵Waqas Hussain2009-06-281-1/+1
| | | | plugin tracebacks)
* util.pluginloader: Remove unnecessary return value suppressing the real load ↵Matthew Wild2009-06-221-1/+1
| | | | error
* util.pluginloader: Initial commit - a plugin resource loaderWaqas Hussain2009-06-141-0/+33