Ben Kurtovic
34d7bf3104
Updates
há 13 anos
Ben Kurtovic
bbb5251cec
Minor changes.
há 13 anos
Ben Kurtovic
83fe4b7c03
Fix untrack_page() - I guess you can't parameterize column names.
há 13 anos
Ben Kurtovic
bafc660846
Limit short title lengths to 50 characters.
há 13 anos
Ben Kurtovic
6b202c5992
Fix.
há 13 anos
Ben Kurtovic
8b390c291d
Fix namespaces (again).
há 13 anos
Ben Kurtovic
f6903ff47e
Fix process_move() on pages with namespaces.
há 13 anos
Ben Kurtovic
751f71b54d
Updates.
há 13 anos
Ben Kurtovic
b97be19165
Fixes.
há 13 anos
Ben Kurtovic
d69356f4fa
Fix syntax error.
há 13 anos
Ben Kurtovic
8db31734ed
get_create() and get_modify()
há 13 anos
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
c379aa3cb5
Fix again!
há 13 anos
Ben Kurtovic
c6b3827f6b
Statistics chart generation from MySQL is ready!
há 13 anos
Ben Kurtovic
9e211f0632
minor update
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
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
há 13 anos
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
há 13 anos
Ben Kurtovic
5be9dea1d5
docstrings in Tasks command; make !task work with !tasks and !threads; make the afc_statistics task skeleton print kwargs in run() for testing
há 13 anos
Ben Kurtovic
7bbffaed92
cleaning up existing task skeletons and making task_name class-wide instead of instance-wide
há 13 anos
Ben Kurtovic
7caa07b4d8
make task sleep for a bit so I can catch it when active
há 13 anos
Ben Kurtovic
655fe78312
creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/
há 13 anos