Ben Kurtovic
d949269944
Some SQL updates, starting work on afc_history task.
* get() -> return a Task instance by name (tasks)
* Using SQL to save API queries. (commands.{afc_report,afc_status})
* ignore_list -> ignoreList in config. (tasks.afc_statistics)
13 jaren geleden
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
13 jaren geleden
Ben Kurtovic
6ce2a96e22
Logging
13 jaren geleden
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
13 jaren geleden
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
13 jaren geleden
Ben Kurtovic
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
13 jaren geleden
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
13 jaren geleden
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
13 jaren geleden
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
13 jaren geleden
Ben Kurtovic
50f1f38fe3
list, not tuple
13 jaren geleden
Ben Kurtovic
5756e99085
making task_name class-wide instead of instance-wide; better docs for BaseTask; slight cleanup in task_manager
13 jaren geleden
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 jaren geleden
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 jaren geleden
Ben Kurtovic
07ce4a38f2
message cleanup
13 jaren geleden
Ben Kurtovic
ea83a59372
give ids of active tasks with .tasks listall; give start time of threads with .tasks list; fix in task_manager.py
13 jaren geleden
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 jaren geleden