aboutsummaryrefslogtreecommitdiff
path: root/IdaliusConfig.pm
Commit message (Collapse)AuthorAge
* Evict auto-joining of channels to moduleDavid Phillips2019-06-22
|
* Add option to reduce log noiseDavid Phillips2018-11-24
|
* Remove magic positioning from parse_list and friendsDavid Phillips2018-09-24
|
* Improve config error contextDavid Phillips2018-09-23
|
* Refactor config assertionsDavid Phillips2018-09-21
|
* Validate configuration parameter presence and typeDavid Phillips2018-09-21
|
* Overhaul config parsingDavid Phillips2018-09-17
| | | | | | | | | | | | | | | | * makes plugin config more private: The config file now uses sections denoted with [Plugin::Foo] where plugin- private config can be stored. Plugins are now passed the usual, as well as a hashref for their own config section. They are also passed the config section of the core, i.e. those config options not appearing in an explicit section. Generally, these are used for bot-global options, so should be accessible to all plugins, but plugin-specific config shall be hidden * tries to improve parsing of hash-like strings and arrays The previous mechanism of using regex to pull out possible tokens was only ever meant to be temporary, and caused problems with escaping or encapsulation inside strings. I have made steps on hash parsing to allow tokens inside strings. Both array and hash parsing still to provide an escape character to escape the item separator (,)
* Rename config_file.pm to IdaliusConfig.pmDavid Phillips2018-09-16