aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* configmanager: Fix linter issuesMatthew Wild2023-12-081-2/+10
|
* configmanager: Support for appending to existing config optionsMatthew Wild2023-12-081-3/+56
| | | | ...and some other useful operations
* configmanager: Make _G accessible via `Lua` variable, deprecate direct accessMatthew Wild2023-12-081-1/+12
|
* configmanager: Allow referencing previously-set options in the config fileMatthew Wild2023-12-081-0/+14
|
* core: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-6/+6
|
* core.configmanager: Remove COMPAT for old config format from 2013Kim Alvefur2022-05-291-12/+3
|
* configmanager: Clearer errors when providing unexpected values after ↵Matthew Wild2022-04-031-0/+5
| | | | VirtualHost (fixes #1735, thanks arawaks)
* configmanager: Add method to report loaded config files (part of #1729 fix)Matthew Wild2022-03-281-0/+7
|
* configmanager: Update error message to say 'VirtualHost' instead of 'Host'Matthew Wild2021-12-201-1/+1
|
* core.configmanager: Handle nameprep validation errorsKim Alvefur2019-11-021-2/+10
|
* core.configmanager: Ensure Hosts are given namesKim Alvefur2019-11-021-0/+6
| | | | Prevents traceback from nameprep(nil)
* configmanager: Pass through warnings from included filesMatthew Wild2019-03-201-2/+7
|
* configmanager: Emit warning for duplicated config optionsMatthew Wild2019-03-201-0/+16
|
* configmanager: Add support for returning warningsMatthew Wild2019-03-201-2/+3
|
* configmanager: Allow referencing environment variables in the config as as ↵Matthew Wild2018-09-031-2/+5
| | | | ENV_<name>
* configmanager: Move firing of the 'config-reloaded' event into util.startup ↵Kim Alvefur2018-03-251-7/+0
| | | | (fixes #1117)
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* configmanager: Remove unused local [luacheck]Kim Alvefur2017-05-281-2/+2
|
* configmanager: Remove support for multiple parsers, fixes #852.Emmanuel Gil Peyrot2017-05-271-21/+6
|
* core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-1/+2
|
* core.*: Remove use of module() functionKim Alvefur2015-02-211-7/+8
|
* configmanager: Refactor function to avoid re-declaring local variable [luacheck]Matthew Wild2015-05-181-9/+11
|
* configmanager: Rename unused function arguments [luacheck]Matthew Wild2015-05-181-3/+3
|
* configmanager: Rename variable to avoid name conflicts [luacheck]Matthew Wild2015-05-181-10/+10
|
* configmanager: Rename unused function argument [luacheck]Matthew Wild2015-05-181-1/+1
|
* configmanager: Remove unnecessary function localizations [luacheck]Matthew Wild2015-05-181-2/+1
|
* configmanager: Rename variable to avoid name conflict [luacheck]Matthew Wild2015-05-181-15/+12
|
* configmanager: Rename variable to avoid name conflict [luacheck]Matthew Wild2015-05-181-3/+3
|
* Merge 0.9->0.10Matthew Wild2014-07-311-0/+5
|\
| * configmanager: nameprep VirtualHost and Component namesMatthew Wild2014-07-311-0/+5
| |
* | Merge 0.9->0.10Kim Alvefur2014-05-091-1/+5
|\|
| * configmanager: Delay importing LuaFileSystem until needed by an Include lineKim Alvefur2014-05-091-1/+5
| |
* | core.configmanager: Move path utility functions into util.pathsKim Alvefur2014-05-091-35/+4
| |
* | Merge 0.9->trunkMatthew Wild2013-09-031-1/+1
|\|
| * configmanager: Fix checking of absolute paths on WindowsKim Alvefur2013-08-301-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-14/+14
|/
* configmanager: Some cleanup, remove unused variables and importsMatthew Wild2013-04-031-5/+4
|
* configmanager: Fix so unset variables are searched for in the global sectionKim Alvefur2013-03-231-1/+1
|
* configmanager, hostmanager, prosody: Almost complete removal of ↵Matthew Wild2013-03-221-47/+30
| | | | section-related code, and the infamous 'core' section. Still backwards-compatible with API users.
* configmanager: Fix include of relative files via Include directive in configMatthew Wild2012-09-131-3/+2
|
* Eliminate direct setfenv usageFlorian Zeitz2012-06-081-5/+4
|
* configmanager: get(): Make section (core) optional (hurrah)Matthew Wild2011-12-101-0/+3
|
* configmanager: resolve_relative_path: Improved detection of absolute paths ↵Waqas Hussain2011-08-251-1/+1
| | | | on Windows.
* configmanager: Added rawget().Waqas Hussain2011-01-051-0/+9
|
* configmanager: Filenames without a path are also relative to the config file ↵Matthew Wild2010-12-211-2/+3
| | | | path, not the current working directory
* configmanager: Support for wildcards in Include directivesMatthew Wild2010-12-201-15/+49
|
* configmanager: Switch back to returning 'ok' to signal config load success - ↵Matthew Wild2010-12-181-1/+1
| | | | fixes config errors not being displayed
* configmanager: Change parser API again to pass a config table to insert ↵Matthew Wild2010-11-111-9/+7
| | | | settings to. Fixes Include(). (Thanks Zash/answerman)
* configmanager: Update Include and RunScript directives to support paths ↵Matthew Wild2010-11-101-1/+6
| | | | relative to the (current!) config file
* prosody, configmanager, certmanager: Relocate ↵Matthew Wild2010-11-101-0/+21
| | | | prosody.resolve_relative_path() to configmanager, and update certmanager (the only user of this function)