Ben Kurtovic
e53efe0e84
Actually, create a copy of the dict.
il y a 12 ans
Ben Kurtovic
53c852e08b
Minor fix if sql's values are not strings.
il y a 12 ans
Ben Kurtovic
fb85469261
Typo
il y a 12 ans
Ben Kurtovic
d338dc15c5
Clean up command more ( #30 )
il y a 12 ans
Ben Kurtovic
97d50e00fc
Fix syntax error ( #30 )
il y a 12 ans
Ben Kurtovic
993f9a5f98
!log command ( #30 )
il y a 12 ans
Ben Kurtovic
d321cd8a14
Handle all of the 'x of y' as a single case.
il y a 12 ans
Ben Kurtovic
ba97e10af9
Fix that a bit. I give up on this command now.
il y a 12 ans
Ben Kurtovic
d8d0bcf5fa
Some smarter parsing, plus given names and surnames.
il y a 12 ans
Ben Kurtovic
f4c6552778
Support for some more complex parsing. Might break stuff.
il y a 12 ans
Ben Kurtovic
a630138679
Synonyms.
il y a 12 ans
Ben Kurtovic
2252a34800
Don't allow infinite retries.
il y a 12 ans
Ben Kurtovic
b3f0c2dba6
Some more fixes.
il y a 12 ans
Ben Kurtovic
6250e813e3
abbreviation
il y a 12 ans
Ben Kurtovic
1ca93b4a04
Proper nouns!
il y a 12 ans
Ben Kurtovic
fd2348ed1a
Unicode fix for !dict and some stuff.
il y a 12 ans
Ben Kurtovic
f1e0a6f4de
Merge branch 'feature/dictionary' into develop
il y a 12 ans
Ben Kurtovic
fc563f4ddd
Finish !dictionary command ( #31 ).
il y a 12 ans
Ben Kurtovic
fb31aa73c8
Proper handling of unicode in some commands.
il y a 12 ans
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
il y a 12 ans
Ben Kurtovic
e63cd89ed5
Starting !dictionary command ( #31 )
il y a 12 ans
Ben Kurtovic
4944c120bd
Merge branch 'feature/copyvios' into develop
OH MY GOD I'M FINALLY DONE.
il y a 12 ans
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
il y a 12 ans
Ben Kurtovic
b891f2f6f4
Try \x0F
il y a 12 ans
Ben Kurtovic
6032ff958f
Testing a neutral color instead of black.
il y a 12 ans
Ben Kurtovic
becd135c52
Minor cleanup for afc_copyvios, mainly Unicode fixes.
il y a 12 ans
Ben Kurtovic
439b855254
Fully implement logging; fix non-unicode log messages.
il y a 12 ans
Ben Kurtovic
d07f0b5f9a
Add loggers to Category, Page, and User.
il y a 12 ans
Ben Kurtovic
1c2dcc999a
__repr__ and __str__ for ExclusionsDB ( #5 ).
il y a 12 ans
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.
il y a 12 ans
Ben Kurtovic
3744a34f28
Allow templated SQL connection info.
il y a 12 ans
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
il y a 12 ans
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
il y a 12 ans
Ben Kurtovic
35eb23046f
Merge pull request #29 from Emalee/develop
Make trout command change target yourself to himself
il y a 12 ans
Emalee
ad1ff720b4
apparently the one line if statement is really just a ternary operator?
il y a 12 ans
Emalee
377cce1703
make trout command change target yourself to himself
il y a 12 ans
Ben Kurtovic
17eee28a4b
Whoops, got the slicing wrong.
il y a 12 ans
Ben Kurtovic
bf1ad08dc6
Make Markov chain degree-independent. Testing trigrams.
il y a 12 ans
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.
il y a 12 ans
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
il y a 12 ans
Ben Kurtovic
1af4217b63
Update copyright notices and some other improvements.
il y a 12 ans
Ben Kurtovic
bbf6b61491
Some cosmetic stuff, and using MWParserFromHell's iterative equivalent when possible.
il y a 12 ans
Ben Kurtovic
d45e342bac
DOCUMENT EVERYTHING ( #5 )
Also implementing MWParserFromHell, plus some cleanup.
il y a 12 ans
Ben Kurtovic
d87c226417
__repr__ and __str__ for everything per #5 and #22 .
il y a 12 ans
Ben Kurtovic
7dbbe9683c
Update imports and exceptions.
il y a 12 ans
Ben Kurtovic
54f7862383
Merge branch 'develop' into feature/copyvios
Conflicts:
earwigbot/wiki/constants.py
earwigbot/wiki/copyvios/__init__.py
earwigbot/wiki/page.py
il y a 12 ans
Ben Kurtovic
53d9ed57be
Fix ident docstring.
il y a 12 ans
Ben Kurtovic
ad9c34c8f1
Merge branch 'feature/exclusion-compliance' into develop
il y a 12 ans
Ben Kurtovic
b04494b3f3
Made check_exclusion() more case-insensitive ( #26 )
il y a 12 ans
Ben Kurtovic
e6956ba2b3
Completing check_exclusion() ( #26 )
il y a 12 ans