Ben Kurtovic
202464d9fb
JSON -> YAML
pirms 12 gadiem
Ben Kurtovic
1f615e1966
Fix again
pirms 12 gadiem
Ben Kurtovic
3fc151470b
Fix restarting
pirms 12 gadiem
Ben Kurtovic
275c82ec7c
Merge branch 'feature/irc_update' into develop
pirms 12 gadiem
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
pirms 12 gadiem
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
pirms 12 gadiem
Ben Kurtovic
64c7a1a8a7
Fix component enabling/disabling
pirms 12 gadiem
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
pirms 12 gadiem
Ben Kurtovic
e54db76757
Cleanup; ensure unit tests are functional
pirms 12 gadiem
Ben Kurtovic
551e1e8a9c
Convert frontend and watcher into classes
pirms 12 gadiem
Ben Kurtovic
bbe0cea5a2
Minor cleanup
pirms 12 gadiem
Ben Kurtovic
ec8df97616
Cleanup a few instances of string concatenation
pirms 12 gadiem
Ben Kurtovic
cdb7bce734
Avoid backreferences in re.sub() repl to bypass re._cache_repl ( #17 )
pirms 12 gadiem
Ben Kurtovic
9434a416a1
Moved search engine/credential info into config proper.
- In config.json, search config relocated from
tasks.afc_copyvios to wiki.
- Site.__init__() takes a `search_config' argument, which is
auto-supplied from its value in config.json by get_site().
- Page.copyvio_check() doesn't ask for search config
anymore, meaning doing checks from the command line
is less painful.
- Added a Page.copyvio_compare() function, which works
just like copyvio_check() but on a specified URL; this is
for cache retrieval on the web front-end.
pirms 12 gadiem
Ben Kurtovic
7cc85f9bc4
afc_copyvios: optionally cache results for the Toolserver.
pirms 12 gadiem
Ben Kurtovic
f382ceb38e
Pushing some smarter logic for MarkovChains
- Incomplete; need this for the TS rewrite
- Also starting work on docstrings for some methods
pirms 12 gadiem
Ben Kurtovic
7e6f1e8128
soxred93 -> tparis; toolserver account expired
pirms 12 gadiem
Ben Kurtovic
755dff9714
Copyvios: auto-fail very small articles (< 20 chain links)
pirms 12 gadiem
Ben Kurtovic
6009c050f9
Minor integer division fix.
pirms 12 gadiem
Ben Kurtovic
df7868da3e
Updates to copyright violation stuff.
pirms 12 gadiem
Ben Kurtovic
ee2b1133bb
Algorithm for comparing article content against a suspected source using MarkovChains
pirms 13 gadiem
Ben Kurtovic
2da906109b
Copyright update for 2012.
pirms 13 gadiem
Ben Kurtovic
13100533b9
CopyrightMixin needs Page._site
pirms 13 gadiem
Ben Kurtovic
c48073515b
#wikipedia-en-afc -> #wikipedia-en-afc-feed
pirms 13 gadiem
Ben Kurtovic
24f7eabb77
Some more work on copyvio detection code
Also removed the hardcoded version in user-agent strings.
pirms 13 gadiem
Ben Kurtovic
56e6140284
More work on copyright violation detection code.
pirms 13 gadiem
Ben Kurtovic
0b6d5eac5e
Some code for copyvio detection, including querying Yahoo! BOSS correctly.
pirms 13 gadiem
Ben Kurtovic
42081ab1c7
Reorder formatting so we don't destroy our datetime object before we're done with it.
pirms 13 gadiem
Ben Kurtovic
53533e1821
Support for a hidden date sortkey.
Also fixing a bug in get_notes() with regards to the 'old' note/warning.
pirms 13 gadiem
Ben Kurtovic
15748c6edc
Fixing unit test code.
pirms 13 gadiem
Ben Kurtovic
27867763eb
Disabling auto-linker.
pirms 13 gadiem
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
pirms 13 gadiem
Ben Kurtovic
dbe9b57153
Sleep a bit more logically, adjust color.
pirms 13 gadiem
Ben Kurtovic
8f2b82b254
Wrong axis!
pirms 13 gadiem
Ben Kurtovic
3c343a175b
Looks like the axis kwarg was added to Axes matlab>1.0.1
pirms 13 gadiem
Ben Kurtovic
3858692247
Fix.
pirms 13 gadiem
Ben Kurtovic
63a30d2247
Prettify chart a bit.
pirms 13 gadiem
Ben Kurtovic
bb6e8f1063
Fix bottom kwarg for p3.
pirms 13 gadiem
Ben Kurtovic
b313412905
Fixes/improvements.
pirms 13 gadiem
Ben Kurtovic
2f86fe5b07
Fix data reversal.
pirms 13 gadiem
Ben Kurtovic
85af03df25
self.dest -> self.destination
pirms 13 gadiem
Ben Kurtovic
1701016a7d
Graphing with matplotlib.
pirms 13 gadiem
Ben Kurtovic
149fe8fdb4
Fix.
pirms 13 gadiem
Ben Kurtovic
4eca6a83e7
Forgot to int() custom num_days; fix generate().
pirms 13 gadiem
Ben Kurtovic
522e44abc4
Oops.
pirms 13 gadiem
Ben Kurtovic
ed8751970f
Fix update_date() when a submission is in multiple date categories.
pirms 13 gadiem
Ben Kurtovic
5fc281336a
Fix query in get_status().
pirms 13 gadiem
Ben Kurtovic
656d904515
Sleep a bit in between API queries.
pirms 13 gadiem
Ben Kurtovic
396a21c4a8
CHART_ -> STATUS_
pirms 13 gadiem
Ben Kurtovic
6bb438b60b
Fixes.
pirms 13 gadiem