Ben Kurtovic
1cdc0a5a4c
Improve excluded URL list parsing
pirms 5 gadiem
Ben Kurtovic
69cdb41d07
Adjust mirror hints to include direct links back to the article.
pirms 8 gadiem
Ben Kurtovic
b4b079ffd0
Update copyright year for 2016.
pirms 8 gadiem
Ben Kurtovic
c81d1d949d
Update global exclusion lists more often than site-specific ones.
pirms 8 gadiem
Ben Kurtovic
108eca13ac
Finish mirror hinting algorithm.
pirms 8 gadiem
Ben Kurtovic
91846ce4fb
Refactor out mirror hinting logic in source parsers.
pirms 8 gadiem
Ben Kurtovic
03910b6cb5
Add mirror detection logic to parsers; fixes.
pirms 8 gadiem
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
pirms 9 gadiem
Ben Kurtovic
09319b1675
Don't die on broken regexes.
pirms 9 gadiem
Ben Kurtovic
4cdfafd487
Skip site check.
pirms 9 gadiem
Ben Kurtovic
4075d887e9
Fix return.
pirms 9 gadiem
Ben Kurtovic
a2c10650a8
Add support for User:EranBot/Copyright/Blacklist ( closes #52 )
pirms 9 gadiem
Ben Kurtovic
b87d5ac673
Pass parameter to recursive call.
pirms 9 gadiem
Ben Kurtovic
170f810735
Allow ExclusionDB to force a sync.
pirms 9 gadiem
Ben Kurtovic
7afb484cea
Refactor a bunch of copyvio internals. Store all sources with a result object.
pirms 9 gadiem
Ben Kurtovic
3a8349e8ab
Allow regexes in exclusion lists.
pirms 10 gadiem
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
pirms 10 gadiem
Ben Kurtovic
ed95c99f0e
Update email address.
pirms 10 gadiem
Ben Kurtovic
b88181bb24
Make exclusion check a bit smarter.
pirms 10 gadiem
Ben Kurtovic
f082fca720
So re.MULTILINE is necessary for those rules.
pirms 11 gadiem
Ben Kurtovic
333201226b
Once again, reengineer regexes.
pirms 11 gadiem
Ben Kurtovic
8c524d9c30
Whoops, those patterns are supposed to be ignored.
pirms 11 gadiem
Ben Kurtovic
ab216fb834
<nowiki> tags in exclusion lists are optional.
pirms 11 gadiem
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
pirms 11 gadiem
Ben Kurtovic
6a381c66f1
Fix a bug regarding updating the 'all' site.
pirms 11 gadiem
Ben Kurtovic
c36b45771a
Make [[User:EarwigBot/Copyvios/Exclusions]] project-insensitive.
pirms 11 gadiem
Ben Kurtovic
a4dda89a61
Various fixes for copyvios.
- Fix a bug in ExclusionsDB; improve URL regexes.
- NLTK's LookupError is actually an IOError.
- Fix bug in __repr__ for CopyvioCheckResult.
- Rewrite YahooBOSSSearchEngine to actually work with oauth2.
- Search engines now take a URL opener in addition to credentials.
pirms 11 gadiem
Ben Kurtovic
d4e9106667
Implement remove_admin()/owner(); fixing some other things.
pirms 11 gadiem
Ben Kurtovic
e71e9daadb
Store update_time as an int, not a float.
pirms 12 gadiem
Ben Kurtovic
37336fc343
Whoops, use correct filename.
pirms 12 gadiem
Ben Kurtovic
292f04fe2d
Implemented limited wildcard matching in ExceptionsDB.
pirms 12 gadiem
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
pirms 12 gadiem
Ben Kurtovic
439b855254
Fully implement logging; fix non-unicode log messages.
pirms 12 gadiem
Ben Kurtovic
1c2dcc999a
__repr__ and __str__ for ExclusionsDB ( #5 ).
pirms 12 gadiem
Ben Kurtovic
a074da853b
More work on copyvios, including an exclusions database ( #5 )
* Added exclusions module with a fully implemented ExclusionsDB that can pull
from multiple sources for different sites.
* Moved CopyvioCheckResult to its own module, to be imported by __init__.
* Some other related changes.
pirms 12 gadiem