Ben Kurtovic
13476460c9
Replag command; fix.
il y a 13 ans
Ben Kurtovic
a9f07c2611
Forgot import config >_>
il y a 13 ans
Ben Kurtovic
d949269944
Some SQL updates, starting work on afc_history task.
* get() -> return a Task instance by name (tasks)
* Using SQL to save API queries. (commands.{afc_report,afc_status})
* ignore_list -> ignoreList in config. (tasks.afc_statistics)
il y a 13 ans
Ben Kurtovic
3e5801d5e6
!status nocolor for HallowsAG
il y a 13 ans
Ben Kurtovic
5088315db4
Differentiate between completely blank pages and nonexistant or unretrievable pages.
il y a 13 ans
Ben Kurtovic
609b1cce75
Misplaced submissions can't be 'resumbmitted'; page_special_user is only significant for CHART_PEND and CHART_DRAFT.
il y a 13 ans
Ben Kurtovic
7757af58fd
Fix; get_size() rounds to tenths instead of hundreds.
il y a 13 ans
Ben Kurtovic
1c850764d7
Fixes in Unicode, status determination; removed created.
il y a 13 ans
Ben Kurtovic
9ec03520b3
Fix.
il y a 13 ans
Ben Kurtovic
e02ff2d5db
Fix get_status_and_chart(content, namespace)
il y a 13 ans
Ben Kurtovic
e05e0fcc75
Fix, nicer size.
il y a 13 ans
Ben Kurtovic
0d34de12c7
Updates to get_special(), adding a misplaced submissions chart
il y a 13 ans
Ben Kurtovic
031660bf57
Fix title thing again.
il y a 13 ans
Ben Kurtovic
59250e5778
Logic error, whoops
il y a 13 ans
Ben Kurtovic
c57ae4cabd
More intelligent status determination.
il y a 13 ans
Ben Kurtovic
26c476afd3
Ugh, oops.
il y a 13 ans
Ben Kurtovic
5e1f023a13
Don't do notes for accepted or declined submissions.
il y a 13 ans
Ben Kurtovic
7ef2f034b0
A couple of fixes
il y a 13 ans
Ben Kurtovic
567338d75d
get_notes() and update()
il y a 13 ans
Ben Kurtovic
1744950483
Namespaces.
il y a 13 ans
Ben Kurtovic
3614fb5f13
Uh, fix?
il y a 13 ans
Ben Kurtovic
1ddbd3734a
Some changes.
il y a 13 ans
Ben Kurtovic
4ac1af140c
Make get_special() a bit more logical.
il y a 13 ans
Ben Kurtovic
037d136a4c
Fix again.
il y a 13 ans
Ben Kurtovic
d69dcac73a
Fix special regex.
il y a 13 ans
Ben Kurtovic
aac098dc86
I hate unicode.
il y a 13 ans
Ben Kurtovic
9352eacd31
A bunch of fixes, mostly related to unicode. Sync seems to work.
il y a 13 ans
Ben Kurtovic
706299ee78
Fix logger, title splitting, and revid parsing (get_content())
il y a 13 ans
Ben Kurtovic
ae6c799aee
Get page content by revid via API, fix some other things - hopefully task works now
il y a 13 ans
Ben Kurtovic
2c7e8bfef9
A few small changes
il y a 13 ans
Ben Kurtovic
38b38dab3a
Docstrings and some fixes/cleanup
il y a 13 ans
Ben Kurtovic
06118c0b4c
A bunch of updates in config, wiki, and tasks.afc_statistics
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
6ce2a96e22
Logging
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