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