Commit Graph

50 Commits (51549fe050a1aec00284d1e2599c93010bc763c2)

Author SHA1 Message Date
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
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
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 39a38217d8 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 519b72e6e9 configmanager: Filenames without a path are also relative to the config file path, not the current working directory 15 years ago
Matthew Wild fbdb1c359a configmanager: Support for wildcards in Include directives 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
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
Matthew Wild 8b0ec93370 configmanager: Error when a component and host clash hostnames 16 years ago
Waqas Hussain d2bb4ab0da configmanager: Assign a chunk name to config files loaded using the default config loader (fixes issues with some diagnostic tools). 17 years ago
Matthew Wild 57f4a5c837 configmanager: Default options appearing before Host "*" to global (fixes potential traceback) 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 455e77f21d configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them) 17 years ago
Matthew Wild 3aeff3a7d2 core.configmanager: Fire event when (re)loading config file 17 years ago
Matthew Wild f12ca3499f core.configmanager: Make components use 'component' module by default if none specified 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 3b28c0783e core.configmanager: Small fix to check validity of Component definitions 17 years ago
Matthew Wild 0853d9ff22 Add RunScript command to config to run a Lua script prior to starting the server 17 years ago
Matthew Wild d5a0359483 Add Include command to include extra configuration files from the main one 17 years ago
Matthew Wild 13fd316d82 Report errors in the config file to the user 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild 609933799f configmanager: Add support for defining components 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago