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
|
pirms 13 gadiem |
Ben Kurtovic
|
814c9efdce
|
nicer error message that actually tells us what's going on, thanks to the changes in lib.blowfish upstream (on develop)
|
pirms 13 gadiem |
Ben Kurtovic
|
8e5af3dff8
|
import lib.blowfish in core.config and decrypt passwords correctly; Exception -> Error in custom config exception names
|
pirms 13 gadiem |
Ben Kurtovic
|
94848ab0bc
|
wrap parse_config() to catch ConfigParseExceptions and report them to the user cleanly; some minor doc changes.
|
pirms 13 gadiem |
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
|
pirms 13 gadiem |
Ben Kurtovic
|
7c8d3a33ab
|
more config-parsing backbone work; parsing the <components> tag is functional; some other cleanup/changes
|
pirms 13 gadiem |
Ben Kurtovic
|
26e0058ca3
|
allow a default value for attribute_to_bool(); rework config.xml structure slightly
|
pirms 13 gadiem |
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()
|
pirms 13 gadiem |
Ben Kurtovic
|
e105a8dd78
|
some stuff; nothing really substantial and probably doesn't work, but I wanted to get this out on paper
|
pirms 13 gadiem |
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
|
pirms 13 gadiem |
Ben Kurtovic
|
655fe78312
|
creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/
|
pirms 13 gadiem |
Ben Kurtovic
|
e743734bac
|
redoing irc command management: rewriting triggers and creating a BaseCommand class, also some changes to Data and Connection
|
pirms 13 gadiem |
Ben Kurtovic
|
2b990cd580
|
testing a small fix
|
pirms 13 gadiem |
Ben Kurtovic
|
f9a1a9e1d1
|
restructuring core bot components
setting up threading and two IRC sockets
setting up watcher to report recent changes to a given list of channels on the main srver
code cleanup
|
pirms 13 gadiem |