Commit Graph

35 Commits (master)

Author SHA1 Message Date
Matthew Wild 6767e771ff modulemanager, util.pluginloader: Improve error message when load fails but some candidates were filtered 9 months ago
Kim Alvefur 43351d2b54 Spelling: Fix various spelling mistakes (thanks timeless) 4 years ago
Kim Alvefur 43531740f9 util: Prefix module imports with prosody namespace 3 years ago
Matthew Wild 018c618a3f util.pluginloader: Fix method to return any module metadata (luacheck) 4 years ago
Matthew Wild 61216794b9 util.pluginloader: Support for a per-file load filter 4 years ago
Matthew Wild e88413e22b util.pluginloader: Support for multiple pluginloader instances, and options 4 years ago
Kim Alvefur 0113f59de0 util.pluginloader: Look for module libs in mod_plugin/lib.lua 5 years ago
Kim Alvefur 19549a6976 util.pluginloader: Look for top level mod_something.lua in luarocks-style tree 5 years ago
Kim Alvefur b0616dd198 util.pluginloader: Extract Lua version once 5 years ago
João Duarte ebfdb94d96 util.pluginloader: Added a new path to the variable local_names 6 years ago
Kim Alvefur 1438a38845 util: Various minor changes to please [luacheck] 8 years ago
Matthew Wild a1e077c5e7 modulemanager, util.pluginloader: Move logic for locating some module libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call 10 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Kim Alvefur ebf052523a util.pluginloader: Always use path separator from package.config (thanks Junne) 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild dd9768067d util.pluginloader: Remove unused imports 14 years ago
Matthew Wild 5048d36617 util.pluginloader: Expose load_file 14 years ago
Florian Zeitz d49b9bc2ab Eliminate direct setfenv usage 14 years ago
Waqas Hussain 886aab55ec util.pluginloader: Rewritten resource loading to be cleaner, and added support for prosody-modules directory layout. "/" in plugin names is no longer supported. 15 years ago
Waqas Hussain d663facee9 util.pluginloader: Rewritten resource loading to be cleaner, and added support for prosody-modules directory layout. "/" in plugin names is no longer supported. 15 years ago
Waqas Hussain 2a37446dfa util.pluginloader: Remove unused support for custom loaders, to simplify further refactoring. 15 years ago
Waqas Hussain f80ca4e6a8 util.pluginloader: Remove unused support for custom loaders, to simplify further refactoring. 15 years ago
Waqas Hussain 6ae4c18ce7 util.pluginloader: Return file path on success in pluginloader.load_code(). 15 years ago
Waqas Hussain 55f906ce99 util.pluginloader: Return file path on success in pluginloader.load_code(). 15 years ago
Waqas Hussain cf8bb78998 util.pluginloader: Return full file path from internal file loader on success, not just the name. 15 years ago
Waqas Hussain e8e82713fe util.pluginloader: Return full file path from internal file loader on success, not just the name. 15 years ago
Waqas Hussain 57e4411584 util.pluginloader: Add support for multiple plugin directories. 15 years ago
Waqas Hussain 799df42891 util.pluginloader: Add support for multiple plugin directories. 15 years ago
Waqas Hussain 4791aa6464 util.pluginloader: Remove useless datamanager dependency. 16 years ago
Waqas Hussain 6f80673f10 util.pluginloader: Fix loading of plugins, plugin libraries and resources in subfolders (e.g., when loading 'a/b', load 'a/mod_b.lua', and not 'mod_a/b.lua'). 16 years ago
Matthew Wild 679ffe558d prosodyctl, util.pluginloader: Remove support for storing plugins in the data store, and the addplugin command 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 7be6d854c1 util.pluginloader: Don't specify a host for the plugin data store (clever waqas...) 16 years ago
Matthew Wild 7add1f641e util.pluginloader: Support for fetching plugins from the data store 16 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Waqas Hussain 7422c11cfa util.pluginloader: Append "@" to chunk names (fixes weird formatting in plugin tracebacks) 17 years ago
Matthew Wild 1fadaf4fa7 util.pluginloader: Remove unnecessary return value suppressing the real load error 17 years ago
Waqas Hussain 84d3a71ab2 util.pluginloader: Initial commit - a plugin resource loader 17 years ago