Ben Kurtovic
d8a7867518
Documentation for installation process
12 years ago
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
12 years ago
Ben Kurtovic
9e5805c6cf
Raise the correct exception if the site isn't found
12 years ago
Ben Kurtovic
b320effdf2
Fix in _get_site_name_from_sitesdb()
12 years ago
Ben Kurtovic
f886729df5
Merge branch 'feature/sitesdb' into develop
12 years ago
Ben Kurtovic
7edfb0b1af
Re-organize SitesDB code; protocol-relative URLs
12 years ago
Ben Kurtovic
4a1cb41162
get_site(), add_site(), remove_site() implemented
12 years ago
Ben Kurtovic
86a8440730
Moving parsers to own file.
12 years ago
Ben Kurtovic
30b1b99a13
Cleaned up boolean logic a bit.
12 years ago
Ben Kurtovic
2929380e12
Preliminary documentation updates
12 years ago
Ben Kurtovic
69b7cb1a78
Keep dynamic module in an attr so it doesn't get dealloc'd
12 years ago
Ben Kurtovic
556789524a
Fix importing dynamic module from config
12 years ago
Ben Kurtovic
9d97649ffd
Merge branch 'feature/yaml' into develop
12 years ago
Ben Kurtovic
65a01c66b5
Removed earwigbot.rules; moved its contents to config.yml
12 years ago
Ben Kurtovic
76d1af164c
str->int key conversion no longer necessary
12 years ago
Ben Kurtovic
1db6504c56
Fixed a tiny merge bug
12 years ago
Ben Kurtovic
8f193c9953
Fixing references to the config file
12 years ago
Ben Kurtovic
202464d9fb
JSON -> YAML
12 years ago
Ben Kurtovic
19397290d1
JSON -> YAML
12 years ago
Ben Kurtovic
1f615e1966
Fix again
12 years ago
Ben Kurtovic
3fc151470b
Fix restarting
12 years ago
Ben Kurtovic
275c82ec7c
Merge branch 'feature/irc_update' into develop
12 years ago
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
12 years ago
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
12 years ago
Ben Kurtovic
64c7a1a8a7
Fix component enabling/disabling
12 years ago
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
12 years ago
Ben Kurtovic
e54db76757
Cleanup; ensure unit tests are functional
12 years ago
Ben Kurtovic
551e1e8a9c
Convert frontend and watcher into classes
12 years ago
Ben Kurtovic
bbe0cea5a2
Minor cleanup
12 years ago
Ben Kurtovic
d4e947b98b
earwigbot.wiki.copyvios.search module split
12 years ago
Ben Kurtovic
ec8df97616
Cleanup a few instances of string concatenation
12 years ago
Ben Kurtovic
cdb7bce734
Avoid backreferences in re.sub() repl to bypass re._cache_repl ( #17 )
12 years ago
Ben Kurtovic
e6a381f3f7
Restructuring copyvio stuff as its own package.
12 years ago
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.
12 years ago
Ben Kurtovic
7cc85f9bc4
afc_copyvios: optionally cache results for the Toolserver.
12 years ago
Ben Kurtovic
f382ceb38e
Pushing some smarter logic for MarkovChains
- Incomplete; need this for the TS rewrite
- Also starting work on docstrings for some methods
12 years ago
Ben Kurtovic
7e6f1e8128
soxred93 -> tparis; toolserver account expired
12 years ago
Ben Kurtovic
755dff9714
Copyvios: auto-fail very small articles (< 20 chain links)
12 years ago
Ben Kurtovic
6009c050f9
Minor integer division fix.
12 years ago
Ben Kurtovic
df7868da3e
Updates to copyright violation stuff.
12 years ago
Ben Kurtovic
ee2b1133bb
Algorithm for comparing article content against a suspected source using MarkovChains
12 years ago
Ben Kurtovic
2da906109b
Copyright update for 2012.
12 years ago
Ben Kurtovic
13100533b9
CopyrightMixin needs Page._site
12 years ago
Ben Kurtovic
c48073515b
#wikipedia-en-afc -> #wikipedia-en-afc-feed
12 years ago
Ben Kurtovic
24f7eabb77
Some more work on copyvio detection code
Also removed the hardcoded version in user-agent strings.
12 years ago
Ben Kurtovic
56e6140284
More work on copyright violation detection code.
12 years ago
Ben Kurtovic
0b6d5eac5e
Some code for copyvio detection, including querying Yahoo! BOSS correctly.
12 years ago
Ben Kurtovic
42081ab1c7
Reorder formatting so we don't destroy our datetime object before we're done with it.
12 years ago
Ben Kurtovic
53533e1821
Support for a hidden date sortkey.
Also fixing a bug in get_notes() with regards to the 'old' note/warning.
12 years ago
Ben Kurtovic
15748c6edc
Fixing unit test code.
12 years ago