Ben Kurtovic
aac098dc86
I hate unicode.
pirms 13 gadiem
Ben Kurtovic
9352eacd31
A bunch of fixes, mostly related to unicode. Sync seems to work.
pirms 13 gadiem
Ben Kurtovic
706299ee78
Fix logger, title splitting, and revid parsing (get_content())
pirms 13 gadiem
Ben Kurtovic
ae6c799aee
Get page content by revid via API, fix some other things - hopefully task works now
pirms 13 gadiem
Ben Kurtovic
2c7e8bfef9
A few small changes
pirms 13 gadiem
Ben Kurtovic
38b38dab3a
Docstrings and some fixes/cleanup
pirms 13 gadiem
Ben Kurtovic
06118c0b4c
A bunch of updates in config, wiki, and tasks.afc_statistics
pirms 13 gadiem
Ben Kurtovic
234295ff23
Colors and some other stuff for logging.
pirms 13 gadiem
Ben Kurtovic
34d7bf3104
Updates
pirms 13 gadiem
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
pirms 13 gadiem
Ben Kurtovic
17128ae9ae
Fixes
pirms 13 gadiem
Ben Kurtovic
6ce2a96e22
Logging
pirms 13 gadiem
Ben Kurtovic
105a4eba8c
get_replag() method for Site.
pirms 13 gadiem
Ben Kurtovic
bbb5251cec
Minor changes.
pirms 13 gadiem
Ben Kurtovic
83fe4b7c03
Fix untrack_page() - I guess you can't parameterize column names.
pirms 13 gadiem
Ben Kurtovic
bafc660846
Limit short title lengths to 50 characters.
pirms 13 gadiem
Ben Kurtovic
6b202c5992
Fix.
pirms 13 gadiem
Ben Kurtovic
8b390c291d
Fix namespaces (again).
pirms 13 gadiem
Ben Kurtovic
f6903ff47e
Fix process_move() on pages with namespaces.
pirms 13 gadiem
Ben Kurtovic
751f71b54d
Updates.
pirms 13 gadiem
Ben Kurtovic
b97be19165
Fixes.
pirms 13 gadiem
Ben Kurtovic
d69356f4fa
Fix syntax error.
pirms 13 gadiem
Ben Kurtovic
8db31734ed
get_create() and get_modify()
pirms 13 gadiem
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().
pirms 13 gadiem
Ben Kurtovic
f885b5c2bd
Added sync_page(); updates for process_edit() and process_delete().
pirms 13 gadiem
Ben Kurtovic
0e5b256606
Cleanup.
pirms 13 gadiem
Ben Kurtovic
22850c86bd
process_edit(), process_move(), process_delete(), process_restore()
pirms 13 gadiem
Ben Kurtovic
b5613cf6df
self.sync(): sync_deleted(), sync_oldids(), sync_pending(), sync_old()
pirms 13 gadiem
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
pirms 13 gadiem
Ben Kurtovic
ac9217341c
Minor newline prettification.
pirms 13 gadiem
Ben Kurtovic
fd2c762c2d
A bunch of fixes and cleanup.
pirms 13 gadiem
Ben Kurtovic
1cdf400c80
format_timestamp -> self.format_timestamp
pirms 13 gadiem
Ben Kurtovic
32e51f90e3
Forgot to give cursor.execute()'s params as a tuple.
pirms 13 gadiem
Ben Kurtovic
f560f7d2d1
Please don't be mad at me.
pirms 13 gadiem
Ben Kurtovic
3b9cc564a5
lolk
pirms 13 gadiem
Ben Kurtovic
45cef336b1
I hate debugging code remotely.
pirms 13 gadiem
Ben Kurtovic
09dd1a8952
Heh, missed the other one.
pirms 13 gadiem
Ben Kurtovic
d269d9de80
Fix int->str.
pirms 13 gadiem
Ben Kurtovic
c379aa3cb5
Fix again!
pirms 13 gadiem
Ben Kurtovic
be3daa5d62
Fix.
pirms 13 gadiem
Ben Kurtovic
c6b3827f6b
Statistics chart generation from MySQL is ready!
pirms 13 gadiem
Ben Kurtovic
e6ddbca28e
Made it easier to use a DictCursor.
pirms 13 gadiem
Ben Kurtovic
3bfa58aa50
Cleanup and better docstrings for SQL stuff.
pirms 13 gadiem
Ben Kurtovic
3205fa3215
Basic SQL querying support with oursql.
pirms 13 gadiem
Ben Kurtovic
9e211f0632
minor update
pirms 13 gadiem
Ben Kurtovic
48c6b41a8d
Gah!
pirms 13 gadiem
Ben Kurtovic
325cba1d8c
whoops
pirms 13 gadiem
Ben Kurtovic
2172e9d4bb
Revised AFC status message.
pirms 13 gadiem
Ben Kurtovic
b9d200aeca
task numbers for copyvios and dailycats
pirms 13 gadiem
Ben Kurtovic
8c068aa86b
join parsing fix
pirms 13 gadiem