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().
há 13 anos
Ben Kurtovic
f885b5c2bd
Added sync_page(); updates for process_edit() and process_delete().
há 13 anos
Ben Kurtovic
0e5b256606
Cleanup.
há 13 anos
Ben Kurtovic
22850c86bd
process_edit(), process_move(), process_delete(), process_restore()
há 13 anos
Ben Kurtovic
b5613cf6df
self.sync(): sync_deleted(), sync_oldids(), sync_pending(), sync_old()
há 13 anos
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
há 13 anos
Ben Kurtovic
ac9217341c
Minor newline prettification.
há 13 anos
Ben Kurtovic
fd2c762c2d
A bunch of fixes and cleanup.
há 13 anos
Ben Kurtovic
1cdf400c80
format_timestamp -> self.format_timestamp
há 13 anos
Ben Kurtovic
32e51f90e3
Forgot to give cursor.execute()'s params as a tuple.
há 13 anos
Ben Kurtovic
f560f7d2d1
Please don't be mad at me.
há 13 anos
Ben Kurtovic
3b9cc564a5
lolk
há 13 anos
Ben Kurtovic
45cef336b1
I hate debugging code remotely.
há 13 anos
Ben Kurtovic
09dd1a8952
Heh, missed the other one.
há 13 anos
Ben Kurtovic
d269d9de80
Fix int->str.
há 13 anos
Ben Kurtovic
c379aa3cb5
Fix again!
há 13 anos
Ben Kurtovic
be3daa5d62
Fix.
há 13 anos
Ben Kurtovic
c6b3827f6b
Statistics chart generation from MySQL is ready!
há 13 anos
Ben Kurtovic
e6ddbca28e
Made it easier to use a DictCursor.
há 13 anos
Ben Kurtovic
3bfa58aa50
Cleanup and better docstrings for SQL stuff.
há 13 anos
Ben Kurtovic
3205fa3215
Basic SQL querying support with oursql.
há 13 anos
Ben Kurtovic
092b1f22c6
Merge branch 'feature/statisticsbot' into develop
há 13 anos
Ben Kurtovic
9e211f0632
minor update
há 13 anos
Ben Kurtovic
48c6b41a8d
Gah!
há 13 anos
Ben Kurtovic
325cba1d8c
whoops
há 13 anos
Ben Kurtovic
2172e9d4bb
Revised AFC status message.
há 13 anos
Ben Kurtovic
b3329c75fd
Merge branch 'feature/tests-framework' into develop
há 13 anos
Ben Kurtovic
b9d200aeca
task numbers for copyvios and dailycats
há 13 anos
Ben Kurtovic
ba922b767e
Merge branch 'develop' into feature/statisticsbot
há 13 anos
Ben Kurtovic
8c068aa86b
join parsing fix
há 13 anos
Ben Kurtovic
e14897399e
Added make_summary() and shutoff_enabled() methods to BaseTask; added config.tasks and config.wiki['shutoff']; added task numbering; wikitools cleanup.
há 13 anos
Ben Kurtovic
e61a1367e3
framework-y stuff for AFC statistics bot
há 13 anos
Ben Kurtovic
719f6f02a4
Merge branch 'develop' into feature/tests-framework
há 13 anos
Ben Kurtovic
d0eaa8ebe0
adding __repr__() and __str__() methods to Site, Page, Category, and User
há 13 anos
Ben Kurtovic
b1cf39ac64
major improvements to editing; fixes, cleanup, support for AssertEdit is complete w/ logging in following a failed assertion; bugfixes
há 13 anos
Ben Kurtovic
4f3a5930c8
edit support!
há 13 anos
Ben Kurtovic
3bb5228cbf
I'm not sure why I made this huge mistake but errrrghhhh.
há 13 anos
Ben Kurtovic
cddb22636f
wikitools fix in User when said user is really old and the API doesn't give a registration date
há 13 anos
Ben Kurtovic
4939cd0456
bleh
há 13 anos
Ben Kurtovic
08b6868044
drop AM/PM in favor of just UTC
há 13 anos
Ben Kurtovic
7d464aeac4
argh
há 13 anos
Ben Kurtovic
4488f6f5e3
!registration
há 13 anos
Ben Kurtovic
e06b61393c
!praise
há 13 anos
Ben Kurtovic
7c8353530a
some cleanup; use command issuer's IRC nick as username if none is provided
há 13 anos
Ben Kurtovic
87a85392e4
link to x's tool
há 13 anos
Ben Kurtovic
9125a610ea
!editcount/!ec and fix
há 13 anos
Ben Kurtovic
ff9f6323eb
I can has page edit support?
há 13 anos
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
há 13 anos
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
há 13 anos
Ben Kurtovic
e461592d71
adding TestCalc for the IRC command; fixes, additions, cleanup to support etc
há 13 anos