Ben Kurtovic
f1e0a6f4de
Merge branch 'feature/dictionary' into develop
12 anos atrás
Ben Kurtovic
fc563f4ddd
Finish !dictionary command ( #31 ).
12 anos atrás
Ben Kurtovic
fb31aa73c8
Proper handling of unicode in some commands.
12 anos atrás
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
12 anos atrás
Ben Kurtovic
e63cd89ed5
Starting !dictionary command ( #31 )
12 anos atrás
Ben Kurtovic
4944c120bd
Merge branch 'feature/copyvios' into develop
OH MY GOD I'M FINALLY DONE.
12 anos atrás
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
12 anos atrás
Ben Kurtovic
b891f2f6f4
Try \x0F
12 anos atrás
Ben Kurtovic
6032ff958f
Testing a neutral color instead of black.
12 anos atrás
Ben Kurtovic
becd135c52
Minor cleanup for afc_copyvios, mainly Unicode fixes.
12 anos atrás
Ben Kurtovic
439b855254
Fully implement logging; fix non-unicode log messages.
12 anos atrás
Ben Kurtovic
d07f0b5f9a
Add loggers to Category, Page, and User.
12 anos atrás
Ben Kurtovic
1c2dcc999a
__repr__ and __str__ for ExclusionsDB ( #5 ).
12 anos atrás
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 anos atrás
Ben Kurtovic
3744a34f28
Allow templated SQL connection info.
12 anos atrás
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
12 anos atrás
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
12 anos atrás
Ben Kurtovic
35eb23046f
Merge pull request #29 from Emalee/develop
Make trout command change target yourself to himself
12 anos atrás
Emalee
ad1ff720b4
apparently the one line if statement is really just a ternary operator?
12 anos atrás
Emalee
377cce1703
make trout command change target yourself to himself
12 anos atrás
Ben Kurtovic
17eee28a4b
Whoops, got the slicing wrong.
12 anos atrás
Ben Kurtovic
bf1ad08dc6
Make Markov chain degree-independent. Testing trigrams.
12 anos atrás
Ben Kurtovic
cb87004107
Primitive screen scraper for HTML using BeautifulSoup and LXML.
Obviously this can and should be improved significantly later, but it seems
good enough for now.
12 anos atrás
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
12 anos atrás
Ben Kurtovic
1af4217b63
Update copyright notices and some other improvements.
12 anos atrás
Ben Kurtovic
bbf6b61491
Some cosmetic stuff, and using MWParserFromHell's iterative equivalent when possible.
12 anos atrás
Ben Kurtovic
d45e342bac
DOCUMENT EVERYTHING ( #5 )
Also implementing MWParserFromHell, plus some cleanup.
12 anos atrás
Ben Kurtovic
d87c226417
__repr__ and __str__ for everything per #5 and #22 .
12 anos atrás
Ben Kurtovic
7dbbe9683c
Update imports and exceptions.
12 anos atrás
Ben Kurtovic
54f7862383
Merge branch 'develop' into feature/copyvios
Conflicts:
earwigbot/wiki/constants.py
earwigbot/wiki/copyvios/__init__.py
earwigbot/wiki/page.py
12 anos atrás
Ben Kurtovic
53d9ed57be
Fix ident docstring.
12 anos atrás
Ben Kurtovic
ad9c34c8f1
Merge branch 'feature/exclusion-compliance' into develop
12 anos atrás
Ben Kurtovic
b04494b3f3
Made check_exclusion() more case-insensitive ( #26 )
12 anos atrás
Ben Kurtovic
e6956ba2b3
Completing check_exclusion() ( #26 )
12 anos atrás
Ben Kurtovic
a4fca2998f
Beginning Page.check_exclusion()
12 anos atrás
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
12 anos atrás
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
12 anos atrás
Ben Kurtovic
e9be04de37
Fix to finish feature/commands merge ( #28 ).
12 anos atrás
Ben Kurtovic
f7ffd68056
Support hiding certain logs (e.g. ones containing passwords).
12 anos atrás
Ben Kurtovic
68f111c7d6
'nickname: command' works if delimited by a period.
12 anos atrás
Ben Kurtovic
0e2fcfed13
Run commands in separate threads.
12 anos atrás
Ben Kurtovic
7db748c448
Bold the nick when trouting.
12 anos atrás
Ben Kurtovic
b319164d82
Add delegate() and Category's attrs to documentation.
12 anos atrás
Ben Kurtovic
06d4a240f0
Trap service errors and try another service.
12 anos atrás
Ben Kurtovic
6ec8ecf9f7
Use correct API param for title.
12 anos atrás
Ben Kurtovic
241d622856
Fix; apparently I switched API and SQL!
12 anos atrás
Ben Kurtovic
964be6056e
Fix tuple; fix encoding makeshift URLs.
12 anos atrás
Ben Kurtovic
d70fa3927c
Fix arg counts, fix _get_service_order() when retrieving lag from cache.
12 anos atrás
Ben Kurtovic
a2cf47aebf
Fix method names and arguments.
12 anos atrás
Ben Kurtovic
5217875a1e
Merge branch 'feature/service_delegation' into develop
12 anos atrás