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