Ben Kurtovic
06118c0b4c
A bunch of updates in config, wiki, and tasks.afc_statistics
hace 13 años
Ben Kurtovic
234295ff23
Colors and some other stuff for logging.
hace 13 años
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
hace 13 años
Ben Kurtovic
17128ae9ae
Fixes
hace 13 años
Ben Kurtovic
6ce2a96e22
Logging
hace 13 años
Ben Kurtovic
be3daa5d62
Fix.
hace 13 años
Ben Kurtovic
e14897399e
Added make_summary() and shutoff_enabled() methods to BaseTask; added config.tasks and config.wiki['shutoff']; added task numbering; wikitools cleanup.
hace 13 años
Ben Kurtovic
868ad8eab8
Reorganizing functions in config.py; store User-Agent and IRC version in config; exception, docstring, and comment cleanup.
hace 13 años
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
hace 13 años
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
hace 13 años
Ben Kurtovic
f1171ed452
Committing changes made while working on feature/wikitools-core that don't apply to wikitools:
Adding .DS_Store to .gitignore (pesky OS X)
Adding a is_config_loaded() function to core/config.py
Some cleanup in core/config.py: doc clarification, misc fixes...
hace 13 años
Ben Kurtovic
a84d25bc9d
clarify what verify_config() returns
hace 13 años
Ben Kurtovic
7311ae4bb8
switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length)
hace 13 años
Ben Kurtovic
d57f2623d2
parse remaining parts of config.xml; getting rid of config.watcher and moving to irc/watcher_logic.py; convert irc/watcher.py and wiki/task_manager.py to new config system; other changes/fixes/whatever
hace 13 años
Ben Kurtovic
430ba061af
store config differently (in five separate global variables instead of one) to make accessing it cleaner; convert core/main.py to new config system as well as irc/frontend.py -- both seem to be working
hace 13 años
Ben Kurtovic
814c9efdce
nicer error message that actually tells us what's going on, thanks to the changes in lib.blowfish upstream (on develop)
hace 13 años
Ben Kurtovic
8e5af3dff8
import lib.blowfish in core.config and decrypt passwords correctly; Exception -> Error in custom config exception names
hace 13 años
Ben Kurtovic
94848ab0bc
wrap parse_config() to catch ConfigParseExceptions and report them to the user cleanly; some minor doc changes.
hace 13 años
Ben Kurtovic
6869900b65
core/config.py can now parse the <irc> tag fully; added some new functions that I pulled out of parse_components(); added stubs for encrypting/decrypting passwords; nitpick in core/main.py
hace 13 años
Ben Kurtovic
7c8d3a33ab
more config-parsing backbone work; parsing the <components> tag is functional; some other cleanup/changes
hace 13 años
Ben Kurtovic
26e0058ca3
allow a default value for attribute_to_bool(); rework config.xml structure slightly
hace 13 años
Ben Kurtovic
a568ec6777
lots of work on config.py, earwigbot.py, and main.py; TODO: actually parse config files; convert components to new config format; make_new_config()
hace 13 años
Ben Kurtovic
e105a8dd78
some stuff; nothing really substantial and probably doesn't work, but I wanted to get this out on paper
hace 13 años
Ben Kurtovic
665ee391fb
deleted old config files and started from scratch with config/main.cfg and config/secure.cfg; the parser will be in core/config.py
hace 13 años
Ben Kurtovic
b28ccdddfc
moving config information to config/
hace 13 años