Ben Kurtovic
d08c56f594
Using logging throughout the bot now
il y a 13 ans
Ben Kurtovic
75179ee042
Added a bunch of afc_statistics code.
* Updated afc_report command.
* Moved page removal out to its own method, untrack_page().
* Code for track_page(), update_page(), get_status_and_chart(), get_short_title().
* Stubs for get_create(), get_modify(), get_special(), get_notes().
il y a 13 ans
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
il y a 13 ans
Ben Kurtovic
48c6b41a8d
Gah!
il y a 13 ans
Ben Kurtovic
325cba1d8c
whoops
il y a 13 ans
Ben Kurtovic
2172e9d4bb
Revised AFC status message.
il y a 13 ans
Ben Kurtovic
e61a1367e3
framework-y stuff for AFC statistics bot
il y a 13 ans
Ben Kurtovic
3bb5228cbf
I'm not sure why I made this huge mistake but errrrghhhh.
il y a 13 ans
Ben Kurtovic
4939cd0456
bleh
il y a 13 ans
Ben Kurtovic
08b6868044
drop AM/PM in favor of just UTC
il y a 13 ans
Ben Kurtovic
7d464aeac4
argh
il y a 13 ans
Ben Kurtovic
4488f6f5e3
!registration
il y a 13 ans
Ben Kurtovic
e06b61393c
!praise
il y a 13 ans
Ben Kurtovic
7c8353530a
some cleanup; use command issuer's IRC nick as username if none is provided
il y a 13 ans
Ben Kurtovic
87a85392e4
link to x's tool
il y a 13 ans
Ben Kurtovic
9125a610ea
!editcount/!ec and fix
il y a 13 ans
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
il y a 13 ans
Ben Kurtovic
8dc023fcac
support for Maxlag and AssertEdit in API queries, via config.json and Site.__init__ kwargs; patched holes in Site._api_query, including stability improvements and support for retrying queries when servers lag
il y a 13 ans
Ben Kurtovic
e461592d71
adding TestCalc for the IRC command; fixes, additions, cleanup to support etc
il y a 13 ans
Ben Kurtovic
6ad5a7fae6
more work on tests; added a framework for command testing, now testing !test (ha)
il y a 13 ans
Ben Kurtovic
868ad8eab8
Reorganizing functions in config.py; store User-Agent and IRC version in config; exception, docstring, and comment cleanup.
il y a 13 ans
Ben Kurtovic
0992d3c9d9
adding CTCP command support; cleanup
il y a 13 ans
Ben Kurtovic
684bb9a8c3
fix
il y a 13 ans
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
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
499f58f1bb
userpage -> talkpage
il y a 13 ans
Ben Kurtovic
b4ce673c03
derp!
il y a 13 ans
Ben Kurtovic
d207baaee2
ported afc_report to wikitools and cleaned it up massively; added creator() method to Page; safety check in functions._get_site_object_from_dict()
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
af2e01a330
fixing imports in IRC commands
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