Ben Kurtovic
234295ff23
Colors and some other stuff for logging.
il y a 13 ans
Ben Kurtovic
34d7bf3104
Updates
il y a 13 ans
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
il y a 13 ans
Ben Kurtovic
17128ae9ae
Fixes
il y a 13 ans
Ben Kurtovic
6ce2a96e22
Logging
il y a 13 ans
Ben Kurtovic
105a4eba8c
get_replag() method for Site.
il y a 13 ans
Ben Kurtovic
bbb5251cec
Minor changes.
il y a 13 ans
Ben Kurtovic
83fe4b7c03
Fix untrack_page() - I guess you can't parameterize column names.
il y a 13 ans
Ben Kurtovic
bafc660846
Limit short title lengths to 50 characters.
il y a 13 ans
Ben Kurtovic
6b202c5992
Fix.
il y a 13 ans
Ben Kurtovic
8b390c291d
Fix namespaces (again).
il y a 13 ans
Ben Kurtovic
f6903ff47e
Fix process_move() on pages with namespaces.
il y a 13 ans
Ben Kurtovic
751f71b54d
Updates.
il y a 13 ans
Ben Kurtovic
b97be19165
Fixes.
il y a 13 ans
Ben Kurtovic
d69356f4fa
Fix syntax error.
il y a 13 ans
Ben Kurtovic
8db31734ed
get_create() and get_modify()
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
f885b5c2bd
Added sync_page(); updates for process_edit() and process_delete().
il y a 13 ans
Ben Kurtovic
0e5b256606
Cleanup.
il y a 13 ans
Ben Kurtovic
22850c86bd
process_edit(), process_move(), process_delete(), process_restore()
il y a 13 ans
Ben Kurtovic
b5613cf6df
self.sync(): sync_deleted(), sync_oldids(), sync_pending(), sync_old()
il y a 13 ans
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
il y a 13 ans
Ben Kurtovic
ac9217341c
Minor newline prettification.
il y a 13 ans
Ben Kurtovic
fd2c762c2d
A bunch of fixes and cleanup.
il y a 13 ans
Ben Kurtovic
1cdf400c80
format_timestamp -> self.format_timestamp
il y a 13 ans
Ben Kurtovic
32e51f90e3
Forgot to give cursor.execute()'s params as a tuple.
il y a 13 ans
Ben Kurtovic
f560f7d2d1
Please don't be mad at me.
il y a 13 ans
Ben Kurtovic
3b9cc564a5
lolk
il y a 13 ans
Ben Kurtovic
45cef336b1
I hate debugging code remotely.
il y a 13 ans
Ben Kurtovic
09dd1a8952
Heh, missed the other one.
il y a 13 ans
Ben Kurtovic
d269d9de80
Fix int->str.
il y a 13 ans
Ben Kurtovic
c379aa3cb5
Fix again!
il y a 13 ans
Ben Kurtovic
be3daa5d62
Fix.
il y a 13 ans
Ben Kurtovic
c6b3827f6b
Statistics chart generation from MySQL is ready!
il y a 13 ans
Ben Kurtovic
e6ddbca28e
Made it easier to use a DictCursor.
il y a 13 ans
Ben Kurtovic
3bfa58aa50
Cleanup and better docstrings for SQL stuff.
il y a 13 ans
Ben Kurtovic
3205fa3215
Basic SQL querying support with oursql.
il y a 13 ans
Ben Kurtovic
9e211f0632
minor update
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
b9d200aeca
task numbers for copyvios and dailycats
il y a 13 ans
Ben Kurtovic
8c068aa86b
join parsing fix
il y a 13 ans
Ben Kurtovic
e14897399e
Added make_summary() and shutoff_enabled() methods to BaseTask; added config.tasks and config.wiki['shutoff']; added task numbering; wikitools cleanup.
il y a 13 ans
Ben Kurtovic
e61a1367e3
framework-y stuff for AFC statistics bot
il y a 13 ans
Ben Kurtovic
d0eaa8ebe0
adding __repr__() and __str__() methods to Site, Page, Category, and User
il y a 13 ans
Ben Kurtovic
b1cf39ac64
major improvements to editing; fixes, cleanup, support for AssertEdit is complete w/ logging in following a failed assertion; bugfixes
il y a 13 ans
Ben Kurtovic
4f3a5930c8
edit support!
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
cddb22636f
wikitools fix in User when said user is really old and the API doesn't give a registration date
il y a 13 ans