Ben Kurtovic
|
868ad8eab8
|
Reorganizing functions in config.py; store User-Agent and IRC version in config; exception, docstring, and comment cleanup.
|
13 years ago |
Ben Kurtovic
|
3405845303
|
minor fixes, cleanup, and general improvements
|
13 years ago |
Ben Kurtovic
|
b0da4531b2
|
tons of improvements, import fixes, cleanup, etc
|
13 years ago |
Ben Kurtovic
|
68af0e796f
|
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
|
13 years ago |
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)
|
13 years ago |
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
|
13 years ago |
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
|
13 years ago |
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
|
13 years ago |
Ben Kurtovic
|
7c8d3a33ab
|
more config-parsing backbone work; parsing the <components> tag is functional; some other cleanup/changes
|
13 years ago |
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()
|
13 years ago |
Ben Kurtovic
|
e105a8dd78
|
some stuff; nothing really substantial and probably doesn't work, but I wanted to get this out on paper
|
13 years ago |
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/
|
13 years ago |
Ben Kurtovic
|
e743734bac
|
redoing irc command management: rewriting triggers and creating a BaseCommand class, also some changes to Data and Connection
|
13 years ago |
Ben Kurtovic
|
2b990cd580
|
testing a small fix
|
13 years ago |
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
|
13 years ago |