Commit Graph

71 Commits (c19a8ef9ff319d31991e1dd8a23bdd9efb9389bb)

Author SHA1 Message Date
Matthew Wild 55a6e42c64 configmanager: Allow referencing environment variables in the config as as ENV_<name> 7 years ago
Kim Alvefur 668062a467 configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) 8 years ago
Kim Alvefur 146acdbd33 vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur f176688ed1 configmanager: Remove unused local [luacheck] 9 years ago
Emmanuel Gil Peyrot 240b0bb53e configmanager: Remove support for multiple parsers, fixes #852. 9 years ago
Kim Alvefur 014168ff18 core: Split some very long lines [luacheck] 9 years ago
Matthew Wild 7a577b72e6 configmanager: Refactor function to avoid re-declaring local variable [luacheck] 11 years ago
Matthew Wild 8a5ce00274 configmanager: Rename unused function arguments [luacheck] 11 years ago
Matthew Wild 9c69414a8b configmanager: Rename variable to avoid name conflicts [luacheck] 11 years ago
Matthew Wild f8a0cbbad3 configmanager: Rename unused function argument [luacheck] 11 years ago
Matthew Wild 4f549454ef configmanager: Remove unnecessary function localizations [luacheck] 11 years ago
Matthew Wild 22096b6f3f configmanager: Rename variable to avoid name conflict [luacheck] 11 years ago
Matthew Wild 7e601a648c configmanager: Rename variable to avoid name conflict [luacheck] 11 years ago
Kim Alvefur 075278ff98 core.*: Remove use of module() function 11 years ago
Matthew Wild c2dac33a79 configmanager: nameprep VirtualHost and Component names 12 years ago
Kim Alvefur ee9ceb739f configmanager: Delay importing LuaFileSystem until needed by an Include line 12 years ago
Kim Alvefur e242d9ba34 core.configmanager: Move path utility functions into util.paths 12 years ago
Kim Alvefur c7d98b691e configmanager: Fix checking of absolute paths on Windows 13 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 9778882628 configmanager: Some cleanup, remove unused variables and imports 13 years ago
Kim Alvefur aa0eb8fdc8 configmanager: Fix so unset variables are searched for in the global section 13 years ago
Matthew Wild 515e80d526 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 6063b9a08e configmanager: Fix include of relative files via Include directive in config 14 years ago
Florian Zeitz 40ea2230d1 Eliminate direct setfenv usage 14 years ago
Matthew Wild b803655fc3 configmanager: get(): Make section (core) optional (hurrah) 14 years ago
Waqas Hussain f667b85528 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
Matthew Wild 61d1f2e048 configmanager: Add VirtualHost as an alias for Host 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild c4b8c99616 configmanager: Remove debugging code accidentally committed 16 years ago
Matthew Wild 97a4cee885 configmanager: Error when a component and host clash hostnames 16 years ago
Matthew Wild b42079373b configmanager: Trailing whitespace 16 years ago
Matthew Wild 4da7be205c configmanager: Add parsers() method to return an array of supported config formats 16 years ago
Matthew Wild 4d3d1789cc configmanager: Remove debugging code accidentally committed 16 years ago