aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* configmanager: Atomic reloads, and some other internal changes to achieve thisMatthew Wild2010-11-071-21/+29
|
* configmanager: Allow VirtualHost/Component definitions to be followed by a ↵Matthew Wild2010-10-081-0/+14
| | | | table of config options
* configmanager: Remove dependency on eventmanager, and global 'prosody' objectMatthew Wild2010-07-171-2/+2
|
* Merge configmanager->trunkMatthew Wild2010-05-051-3/+4
|\
| * configmanager: Add VirtualHost as an alias for Host (re-applied in trunk due ↵Matthew Wild2010-04-141-3/+3
| | | | | | | | to previous bad merge with 0.7)
* | configmanager: Fix very wacky indentationMatthew Wild2010-05-041-10/+13
| |
* | configmanager: Fix some wacky indentationMatthew Wild2010-05-041-4/+5
|/
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * configmanager: Remove debugging code accidentally committedMatthew Wild2010-02-141-2/+0
| |
| * configmanager: Error when a component and host clash hostnamesMatthew Wild2010-02-141-2/+13
| |
* | configmanager: Remove debugging code accidentally committedMatthew Wild2010-02-141-2/+0
| |
* | configmanager: Error when a component and host clash hostnamesMatthew Wild2010-02-141-2/+13
| |
* | configmanager: Trailing whitespaceMatthew Wild2010-01-311-1/+1
| |
* | configmanager: Add parsers() method to return an array of supported config ↵Matthew Wild2010-01-091-2/+11
|/ | | | formats
* configmanager: Assign a chunk name to config files loaded using the default ↵Waqas Hussain2009-09-121-4/+4
| | | | config loader (fixes issues with some diagnostic tools).
* configmanager: Default options appearing before Host "*" to global (fixes ↵Matthew Wild2009-07-281-0/+1
| | | | potential traceback)
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* configmanager, modulemanager: Allow components to have modules specified in ↵Matthew Wild2009-07-091-1/+1
| | | | the config (but don't load the global set of modules for them)
* core.configmanager: Fire event when (re)loading config fileMatthew Wild2009-04-171-0/+5
|
* core.configmanager: Make components use 'component' module by default if ↵Matthew Wild2009-03-221-3/+5
| | | | none specified
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* core.configmanager: Small fix to check validity of Component definitionsMatthew Wild2009-03-031-6/+8
|
* Add RunScript command to config to run a Lua script prior to starting the serverMatthew Wild2009-02-131-3/+3
|
* Add Include command to include extra configuration files from the main oneMatthew Wild2009-02-131-3/+16
|
* Report errors in the config file to the userMatthew Wild2009-02-131-4/+4
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* configmanager: Add support for defining componentsMatthew Wild2009-01-291-1/+13
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Fix for configmanager when config file can't be foundMatthew Wild2008-11-291-3/+7
|
* New configmanager. Old-style config files still work, but will print a warningMatthew Wild2008-11-231-10/+26
|
* Import initial configmanager, not sure if it works yet, but it does pass the ↵Matthew Wild2008-11-211-0/+105
unit tests ;)