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)
vor 13 Jahren
Ben Kurtovic
3e5801d5e6
!status nocolor for HallowsAG
vor 13 Jahren
Ben Kurtovic
48c6b41a8d
Gah!
vor 13 Jahren
Ben Kurtovic
325cba1d8c
whoops
vor 13 Jahren
Ben Kurtovic
2172e9d4bb
Revised AFC status message.
vor 13 Jahren
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
vor 13 Jahren
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
vor 13 Jahren
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
vor 13 Jahren
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
vor 13 Jahren
Ben Kurtovic
a2ceb7a855
Update AFCStatus and Rights IRC commands per wikitools updates.
vor 13 Jahren
Ben Kurtovic
28cbbd7221
afcAFCStatus and Rights IRC commands now use wikitools
vor 13 Jahren
Ben Kurtovic
f81229a999
don't give a status report to ourselves when we join the AFC channel
vor 13 Jahren
Ben Kurtovic
e6b3f4c616
tweaking aggregate algorithm to better match {{AFC status}}; cleanup and docstringing on methods
vor 13 Jahren
Ben Kurtovic
21e87d9d3c
in AFCStatus, use 'if x.y and x.z in [a, b, c]' instead of 'if x.y and (x.z == a or x.z == b or x.z ==c)'
vor 13 Jahren
Ben Kurtovic
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
vor 13 Jahren
Ben Kurtovic
e21a4dfb76
converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/
vor 13 Jahren
Ben Kurtovic
b7a04ddb1b
argh
vor 13 Jahren
Ben Kurtovic
2350ba9cef
config/irc_config.py -> config/irc.py; secure_config.py -> secure.py; update in files
vor 13 Jahren
Ben Kurtovic
23bb094acb
test fix in broken redirect status
vor 13 Jahren
Ben Kurtovic
e00202fccf
bugfix in afc_status
vor 13 Jahren
Ben Kurtovic
93caf53cf9
colorrrrr
vor 13 Jahren
Ben Kurtovic
086a80d443
convert agg_num to int following .status agg <number>
vor 13 Jahren
Ben Kurtovic
1568b31846
KeyError -> IndexError (please shoot me now)
vor 13 Jahren
Ben Kurtovic
894c67370f
adding '.status join'; adding '.status agg <num>'
vor 13 Jahren
Ben Kurtovic
bea6a5456b
+AFCStatus command class; hooks are any joins on a channel in config.AFC_CHANS and the 'status' command
vor 13 Jahren