Ben Kurtovic
|
ac9217341c
|
Minor newline prettification.
|
13 anni fa |
Ben Kurtovic
|
fd2c762c2d
|
A bunch of fixes and cleanup.
|
13 anni fa |
Ben Kurtovic
|
1cdf400c80
|
format_timestamp -> self.format_timestamp
|
13 anni fa |
Ben Kurtovic
|
32e51f90e3
|
Forgot to give cursor.execute()'s params as a tuple.
|
13 anni fa |
Ben Kurtovic
|
f560f7d2d1
|
Please don't be mad at me.
|
13 anni fa |
Ben Kurtovic
|
3b9cc564a5
|
lolk
|
13 anni fa |
Ben Kurtovic
|
45cef336b1
|
I hate debugging code remotely.
|
13 anni fa |
Ben Kurtovic
|
c379aa3cb5
|
Fix again!
|
13 anni fa |
Ben Kurtovic
|
c6b3827f6b
|
Statistics chart generation from MySQL is ready!
|
13 anni fa |
Ben Kurtovic
|
9e211f0632
|
minor update
|
13 anni fa |
Ben Kurtovic
|
e14897399e
|
Added make_summary() and shutoff_enabled() methods to BaseTask; added config.tasks and config.wiki['shutoff']; added task numbering; wikitools cleanup.
|
13 anni fa |
Ben Kurtovic
|
e61a1367e3
|
framework-y stuff for AFC statistics bot
|
13 anni fa |
Ben Kurtovic
|
39a4d22620
|
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
|
13 anni fa |
Ben Kurtovic
|
68af0e796f
|
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
|
13 anni fa |
Ben Kurtovic
|
5be9dea1d5
|
docstrings in Tasks command; make !task work with !tasks and !threads; make the afc_statistics task skeleton print kwargs in run() for testing
|
13 anni fa |
Ben Kurtovic
|
7bbffaed92
|
cleaning up existing task skeletons and making task_name class-wide instead of instance-wide
|
13 anni fa |
Ben Kurtovic
|
7caa07b4d8
|
make task sleep for a bit so I can catch it when active
|
13 anni fa |
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 anni fa |