Ben Kurtovic
ea14f39e73
Split content type correctly.
10年前
Ben Kurtovic
2dfdf1bd4a
Ensure the text is stripped properly.
10年前
Ben Kurtovic
e0cd174310
Refactor out empty chain definitions.
10年前
Ben Kurtovic
0eadf65a09
Only accept HTML and plain text for copyvio checks.
10年前
Ben Kurtovic
3dde1c5d60
Correctly handle HTML with no <body> tags.
10年前
Ben Kurtovic
c3ddc3d35a
Return the correct empty chain.
10年前
Ben Kurtovic
8b3f9b059f
Fix creating a new permissions DB; fix new site creation.
10年前
Ben Kurtovic
0d4a09902f
Missed a line.
10年前
Ben Kurtovic
4fff908912
Cleanup; fix site locking mechanism; badtoken handling.
10年前
Ben Kurtovic
1bfe5c2ee7
Fix error handling in get_token().
10年前
Ben Kurtovic
3d5be6c627
Fix token-getter code and refactor into a get_token() function.
10年前
Ben Kurtovic
08af882841
Update AssertEdit behavior now that it's been merged into MW core.
Note: don't deploy until January 14.
10年前
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
10年前
Ben Kurtovic
ed95c99f0e
Update email address.
10年前
Ben Kurtovic
a3eee798f9
Implement Category.__iter__()
10年前
Ben Kurtovic
a926431754
Better client-side buffering of SQL results.
10年前
Ben Kurtovic
b88181bb24
Make exclusion check a bit smarter.
10年前
Ben Kurtovic
48e6c14ab8
WHOOPS X2.
10年前
Ben Kurtovic
fd5852a6d0
RIP Toolserver. (Some fixes for Labs compatibilty.)
10年前
Ben Kurtovic
5931f375de
Put response.read() in the try:, since that's what throws the timeout.
11年前
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
4ff7612a27
Fix when we've cached None as a url.
11年前
Ben Kurtovic
25d75c5d11
Forgot to give process_time param to CopyvioCheckResult.
11年前
Ben Kurtovic
8862bec3d9
Fix statements assigned to nothing.
11年前
Ben Kurtovic
bcf9b70107
Keep track of how long generating results takes; support 'max_time'.
11年前
Ben Kurtovic
de23112f43
Bugfix when we can't read HTML.
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
d709ee00a7
Better handling when we are blocked from editing
.
11年前
Ben Kurtovic
655624c2cf
Lazy-importing of py-bcrypt and pycrypto; restructured deps in setup.
11年前
Ben Kurtovic
ac6de461bb
Implement lazy-importing of oursql and pytz.
11年前
Ben Kurtovic
0ca84ab9bc
Implement lazy-importing of oauth2, nltk, and bs4.
11年前
Ben Kurtovic
c0e309bbd9
Simplify a bit of code in Page
11年前
Ben Kurtovic
a7e243fdfb
Update mwparserfromhell usage to reflect current API.
11年前
Ben Kurtovic
4baab6f57c
Implement lazy importing of root-level modules and packages.
- Simplify all imports
- Update dependency version in setup.py
- Change waitTime default from three seconds to two
11年前
Ben Kurtovic
8d8703358c
More fixes and tweaks; cleanup; etc.
11年前
Ben Kurtovic
2d4b31cde9
OrderedLoader/OrderedDumper to... preserve order... plus some cleanup.
11年前
Ben Kurtovic
7d7205265e
Implement the rest of _set_wiki(); _ask(); other tweaks.
11年前
Ben Kurtovic
d4e9106667
Implement remove_admin()/owner(); fixing some other things.
11年前
Ben Kurtovic
fc610867e9
Implement User.is_up; two bugfixes/enhancements in the clerkbot.
11年前
Ben Kurtovic
7d52d4558a
Some updates to !lag.
12年前
Ben Kurtovic
33aa1d6744
Collapse extra newlines to avoid distorting trigrams.
12年前
Ben Kurtovic
c19a1bde2e
Determine which cookies apply to which domains better.
12年前
Ben Kurtovic
3f1737717c
More accurate handling when using get_site(lang, project).
Some wikis (like frwiki), set their projects to localized forms of
the expected (so "wikipedia" becomes "wikipédia"). An additional
search by URL in _get_site_name_from_sitesdb() fixes this.
12年前
Ben Kurtovic
46c3561ce8
Apparently cookie values are plus-quoted. Oops!
12年前