Ben Kurtovic
b9074c9f9d
URL exclusions: fix uppercase characters in patterns never matching
преди 4 години
Ben Kurtovic
88f9c21111
URL exclusions: fix comment parsing
преди 5 години
Ben Kurtovic
1cdc0a5a4c
Improve excluded URL list parsing
преди 5 години
Ben Kurtovic
69cdb41d07
Adjust mirror hints to include direct links back to the article.
преди 8 години
Ben Kurtovic
b4b079ffd0
Update copyright year for 2016.
преди 8 години
Ben Kurtovic
c81d1d949d
Update global exclusion lists more often than site-specific ones.
преди 8 години
Ben Kurtovic
108eca13ac
Finish mirror hinting algorithm.
преди 8 години
Ben Kurtovic
91846ce4fb
Refactor out mirror hinting logic in source parsers.
преди 8 години
Ben Kurtovic
03910b6cb5
Add mirror detection logic to parsers; fixes.
преди 8 години
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
преди 9 години
Ben Kurtovic
09319b1675
Don't die on broken regexes.
преди 9 години
Ben Kurtovic
4cdfafd487
Skip site check.
преди 9 години
Ben Kurtovic
4075d887e9
Fix return.
преди 9 години
Ben Kurtovic
a2c10650a8
Add support for User:EranBot/Copyright/Blacklist ( closes #52 )
преди 9 години
Ben Kurtovic
b87d5ac673
Pass parameter to recursive call.
преди 9 години
Ben Kurtovic
170f810735
Allow ExclusionDB to force a sync.
преди 9 години
Ben Kurtovic
7afb484cea
Refactor a bunch of copyvio internals. Store all sources with a result object.
преди 9 години
Ben Kurtovic
3a8349e8ab
Allow regexes in exclusion lists.
преди 10 години
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
преди 10 години
Ben Kurtovic
ed95c99f0e
Update email address.
преди 10 години
Ben Kurtovic
b88181bb24
Make exclusion check a bit smarter.
преди 10 години
Ben Kurtovic
f082fca720
So re.MULTILINE is necessary for those rules.
преди 11 години
Ben Kurtovic
333201226b
Once again, reengineer regexes.
преди 11 години
Ben Kurtovic
8c524d9c30
Whoops, those patterns are supposed to be ignored.
преди 11 години
Ben Kurtovic
ab216fb834
<nowiki> tags in exclusion lists are optional.
преди 11 години
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
преди 11 години
Ben Kurtovic
6a381c66f1
Fix a bug regarding updating the 'all' site.
преди 11 години
Ben Kurtovic
c36b45771a
Make [[User:EarwigBot/Copyvios/Exclusions]] project-insensitive.
преди 11 години
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.
преди 11 години
Ben Kurtovic
d4e9106667
Implement remove_admin()/owner(); fixing some other things.
преди 11 години
Ben Kurtovic
e71e9daadb
Store update_time as an int, not a float.
преди 12 години
Ben Kurtovic
37336fc343
Whoops, use correct filename.
преди 12 години
Ben Kurtovic
292f04fe2d
Implemented limited wildcard matching in ExceptionsDB.
преди 12 години
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
преди 12 години
Ben Kurtovic
439b855254
Fully implement logging; fix non-unicode log messages.
преди 12 години
Ben Kurtovic
1c2dcc999a
__repr__ and __str__ for ExclusionsDB ( #5 ).
преди 12 години
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.
преди 12 години