Commit Graph

76 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur f563584fca core.configmanager: Handle nameprep validation errors 6 years ago
Kim Alvefur 4b69a96d83 core.configmanager: Ensure Hosts are given names 6 years ago
João Duarte 32b5c6feeb core.configmanager: Removed code related to complement_lua_path 6 years ago
João Duarte 2af161560a core.configmanager: Added support to 'complement_lua_path' 7 years ago
Matthew Wild c9cc5d4a6e configmanager: Allow referencing environment variables in the config as as ENV_<name> 7 years ago
Kim Alvefur 7e64fa124a configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur ab47caa72f configmanager: Remove unused local [luacheck] 9 years ago
Emmanuel Gil Peyrot eb231e9eab configmanager: Remove support for multiple parsers, fixes #852. 9 years ago
Kim Alvefur 1ecc3a7918 core: Split some very long lines [luacheck] 9 years ago
Matthew Wild f96b8f343a configmanager: Refactor function to avoid re-declaring local variable [luacheck] 11 years ago
Matthew Wild 3de0d3e049 configmanager: Rename unused function arguments [luacheck] 11 years ago
Matthew Wild 55f7842f8a configmanager: Rename variable to avoid name conflicts [luacheck] 11 years ago
Matthew Wild 0558bfbcb7 configmanager: Rename unused function argument [luacheck] 11 years ago
Matthew Wild 9dcab34382 configmanager: Remove unnecessary function localizations [luacheck] 11 years ago
Matthew Wild c9c311b940 configmanager: Rename variable to avoid name conflict [luacheck] 11 years ago
Matthew Wild 7523668ad0 configmanager: Rename variable to avoid name conflict [luacheck] 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Matthew Wild fa962495db configmanager: nameprep VirtualHost and Component names 12 years ago
Kim Alvefur eeacb3cb6f configmanager: Delay importing LuaFileSystem until needed by an Include line 12 years ago
Kim Alvefur 084761b5ef core.configmanager: Move path utility functions into util.paths 12 years ago
Kim Alvefur e7c0815019 configmanager: Fix checking of absolute paths on Windows 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 245f460991 configmanager: Some cleanup, remove unused variables and imports 13 years ago
Kim Alvefur 869da6c240 configmanager: Fix so unset variables are searched for in the global section 13 years ago
Matthew Wild ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 13 years ago
Matthew Wild 3c5b09b7f1 configmanager: Fix include of relative files via Include directive in config 13 years ago
Matthew Wild 7dfdcd5e09 configmanager: Pass through warnings from included files 7 years ago
Matthew Wild 1e6c93ec05 configmanager: Emit warning for duplicated config options 7 years ago
Matthew Wild 76ebc7778e configmanager: Add support for returning warnings 7 years ago
Florian Zeitz d49b9bc2ab Eliminate direct setfenv usage 14 years ago
Matthew Wild 76628c7453 configmanager: get(): Make section (core) optional (hurrah) 14 years ago
Waqas Hussain e583053022 configmanager: resolve_relative_path: Improved detection of absolute paths on Windows. 15 years ago
Matthew Wild 519b72e6e9 configmanager: Filenames without a path are also relative to the config file path, not the current working directory 15 years ago
Matthew Wild 39a38217d8 configmanager: Support for wildcards in Include directives 15 years ago
Matthew Wild fbdb1c359a configmanager: Support for wildcards in Include directives 15 years ago
Matthew Wild 70c61a59de configmanager: Switch back to returning 'ok' to signal config load success - fixes config errors not being displayed 15 years ago
Matthew Wild a64a22accd configmanager: Switch back to returning 'ok' to signal config load success - fixes config errors not being displayed 15 years ago
Waqas Hussain b4faeea3ec configmanager: Added rawget(). 15 years ago
Waqas Hussain 54c06fbaeb configmanager: Added rawget(). 15 years ago
Matthew Wild 949fdfb956 configmanager: Filenames without a path are also relative to the config file path, not the current working directory 15 years ago
Matthew Wild 454c787201 configmanager: Change parser API again to pass a config table to insert settings to. Fixes Include(). (Thanks Zash/answerman) 15 years ago
Matthew Wild a7d5c56e52 configmanager: Update Include and RunScript directives to support paths relative to the (current!) config file 15 years ago
Matthew Wild 385fd64606 prosody, configmanager, certmanager: Relocate prosody.resolve_relative_path() to configmanager, and update certmanager (the only user of this function) 15 years ago
Matthew Wild dd33442407 configmanager: Atomic reloads, and some other internal changes to achieve this 15 years ago
Matthew Wild 7d4005fc7d configmanager: Allow VirtualHost/Component definitions to be followed by a table of config options 15 years ago
Matthew Wild bab68f4fb2 configmanager: Remove dependency on eventmanager, and global 'prosody' object 16 years ago
Matthew Wild f050b61846 configmanager: Fix very wacky indentation 16 years ago
Matthew Wild 8b490b146e configmanager: Fix some wacky indentation 16 years ago
Matthew Wild e5267262af configmanager: Add VirtualHost as an alias for Host (re-applied in trunk due to previous bad merge with 0.7) 16 years ago