Ben Kurtovic
3614fb5f13
Uh, fix?
vor 13 Jahren
Ben Kurtovic
1ddbd3734a
Some changes.
vor 13 Jahren
Ben Kurtovic
4ac1af140c
Make get_special() a bit more logical.
vor 13 Jahren
Ben Kurtovic
037d136a4c
Fix again.
vor 13 Jahren
Ben Kurtovic
d69dcac73a
Fix special regex.
vor 13 Jahren
Ben Kurtovic
aac098dc86
I hate unicode.
vor 13 Jahren
Ben Kurtovic
9352eacd31
A bunch of fixes, mostly related to unicode. Sync seems to work.
vor 13 Jahren
Ben Kurtovic
706299ee78
Fix logger, title splitting, and revid parsing (get_content())
vor 13 Jahren
Ben Kurtovic
ae6c799aee
Get page content by revid via API, fix some other things - hopefully task works now
vor 13 Jahren
Ben Kurtovic
2c7e8bfef9
A few small changes
vor 13 Jahren
Ben Kurtovic
38b38dab3a
Docstrings and some fixes/cleanup
vor 13 Jahren
Ben Kurtovic
06118c0b4c
A bunch of updates in config, wiki, and tasks.afc_statistics
vor 13 Jahren
Ben Kurtovic
34d7bf3104
Updates
vor 13 Jahren
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
vor 13 Jahren
Ben Kurtovic
6ce2a96e22
Logging
vor 13 Jahren
Ben Kurtovic
bbb5251cec
Minor changes.
vor 13 Jahren
Ben Kurtovic
83fe4b7c03
Fix untrack_page() - I guess you can't parameterize column names.
vor 13 Jahren
Ben Kurtovic
bafc660846
Limit short title lengths to 50 characters.
vor 13 Jahren
Ben Kurtovic
6b202c5992
Fix.
vor 13 Jahren
Ben Kurtovic
8b390c291d
Fix namespaces (again).
vor 13 Jahren
Ben Kurtovic
f6903ff47e
Fix process_move() on pages with namespaces.
vor 13 Jahren
Ben Kurtovic
751f71b54d
Updates.
vor 13 Jahren
Ben Kurtovic
b97be19165
Fixes.
vor 13 Jahren
Ben Kurtovic
d69356f4fa
Fix syntax error.
vor 13 Jahren
Ben Kurtovic
8db31734ed
get_create() and get_modify()
vor 13 Jahren
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().
vor 13 Jahren
Ben Kurtovic
f885b5c2bd
Added sync_page(); updates for process_edit() and process_delete().
vor 13 Jahren
Ben Kurtovic
0e5b256606
Cleanup.
vor 13 Jahren
Ben Kurtovic
22850c86bd
process_edit(), process_move(), process_delete(), process_restore()
vor 13 Jahren
Ben Kurtovic
b5613cf6df
self.sync(): sync_deleted(), sync_oldids(), sync_pending(), sync_old()
vor 13 Jahren
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
vor 13 Jahren
Ben Kurtovic
ac9217341c
Minor newline prettification.
vor 13 Jahren
Ben Kurtovic
fd2c762c2d
A bunch of fixes and cleanup.
vor 13 Jahren
Ben Kurtovic
1cdf400c80
format_timestamp -> self.format_timestamp
vor 13 Jahren
Ben Kurtovic
32e51f90e3
Forgot to give cursor.execute()'s params as a tuple.
vor 13 Jahren
Ben Kurtovic
f560f7d2d1
Please don't be mad at me.
vor 13 Jahren
Ben Kurtovic
3b9cc564a5
lolk
vor 13 Jahren
Ben Kurtovic
45cef336b1
I hate debugging code remotely.
vor 13 Jahren
Ben Kurtovic
c379aa3cb5
Fix again!
vor 13 Jahren
Ben Kurtovic
c6b3827f6b
Statistics chart generation from MySQL is ready!
vor 13 Jahren
Ben Kurtovic
9e211f0632
minor update
vor 13 Jahren
Ben Kurtovic
b9d200aeca
task numbers for copyvios and dailycats
vor 13 Jahren
Ben Kurtovic
e14897399e
Added make_summary() and shutoff_enabled() methods to BaseTask; added config.tasks and config.wiki['shutoff']; added task numbering; wikitools cleanup.
vor 13 Jahren
Ben Kurtovic
e61a1367e3
framework-y stuff for AFC statistics bot
vor 13 Jahren
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
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
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
vor 13 Jahren
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
vor 13 Jahren
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
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