Ben Kurtovic
f63312752f
Fixing regex more.
pirms 12 gadiem
Ben Kurtovic
ebfd06f98b
lol how do I regex
pirms 12 gadiem
Ben Kurtovic
141d06d272
Fix unmatched groups.
pirms 12 gadiem
Ben Kurtovic
a2b3b784b1
Trying an even more complex regular expression for {{x of}} templates.
pirms 12 gadiem
Ben Kurtovic
86eb75f868
fix {{unsupported}}
pirms 12 gadiem
Ben Kurtovic
1bf546b706
Apparently punctuation marks can be used as headers too.
pirms 12 gadiem
Ben Kurtovic
d72be12d41
Make less broken.
pirms 12 gadiem
Ben Kurtovic
b6ddc84561
rawr
pirms 12 gadiem
Ben Kurtovic
7cda82546a
More sophisticated regex for parsing links.
pirms 12 gadiem
Ben Kurtovic
be85dbb72d
Perhaps I should just give up.
pirms 12 gadiem
Ben Kurtovic
410c7b3642
Oh god this is pathetic.
pirms 12 gadiem
Ben Kurtovic
2ceddc2e64
I think this works.
pirms 12 gadiem
Ben Kurtovic
1ca93674e5
Spelling error!
pirms 12 gadiem
Ben Kurtovic
e5b857d20c
Er, fix that.
pirms 12 gadiem
Ben Kurtovic
f5dc31f1da
More support for section headers in !dictionary.
pirms 12 gadiem
Ben Kurtovic
81313e7a79
Copy search_config too.
pirms 12 gadiem
Ben Kurtovic
e53efe0e84
Actually, create a copy of the dict.
pirms 12 gadiem
Ben Kurtovic
53c852e08b
Minor fix if sql's values are not strings.
pirms 12 gadiem
Ben Kurtovic
fb85469261
Typo
pirms 12 gadiem
Ben Kurtovic
d338dc15c5
Clean up command more ( #30 )
pirms 12 gadiem
Ben Kurtovic
97d50e00fc
Fix syntax error ( #30 )
pirms 12 gadiem
Ben Kurtovic
993f9a5f98
!log command ( #30 )
pirms 12 gadiem
Ben Kurtovic
d321cd8a14
Handle all of the 'x of y' as a single case.
pirms 12 gadiem
Ben Kurtovic
ba97e10af9
Fix that a bit. I give up on this command now.
pirms 12 gadiem
Ben Kurtovic
d8d0bcf5fa
Some smarter parsing, plus given names and surnames.
pirms 12 gadiem
Ben Kurtovic
f4c6552778
Support for some more complex parsing. Might break stuff.
pirms 12 gadiem
Ben Kurtovic
a630138679
Synonyms.
pirms 12 gadiem
Ben Kurtovic
2252a34800
Don't allow infinite retries.
pirms 12 gadiem
Ben Kurtovic
b3f0c2dba6
Some more fixes.
pirms 12 gadiem
Ben Kurtovic
6250e813e3
abbreviation
pirms 12 gadiem
Ben Kurtovic
1ca93b4a04
Proper nouns!
pirms 12 gadiem
Ben Kurtovic
fd2348ed1a
Unicode fix for !dict and some stuff.
pirms 12 gadiem
Ben Kurtovic
f1e0a6f4de
Merge branch 'feature/dictionary' into develop
pirms 12 gadiem
Ben Kurtovic
fc563f4ddd
Finish !dictionary command ( #31 ).
pirms 12 gadiem
Ben Kurtovic
fb31aa73c8
Proper handling of unicode in some commands.
pirms 12 gadiem
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
pirms 12 gadiem
Ben Kurtovic
e63cd89ed5
Starting !dictionary command ( #31 )
pirms 12 gadiem
Ben Kurtovic
4944c120bd
Merge branch 'feature/copyvios' into develop
OH MY GOD I'M FINALLY DONE.
pirms 12 gadiem
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
pirms 12 gadiem
Ben Kurtovic
b891f2f6f4
Try \x0F
pirms 12 gadiem
Ben Kurtovic
6032ff958f
Testing a neutral color instead of black.
pirms 12 gadiem
Ben Kurtovic
becd135c52
Minor cleanup for afc_copyvios, mainly Unicode fixes.
pirms 12 gadiem
Ben Kurtovic
439b855254
Fully implement logging; fix non-unicode log messages.
pirms 12 gadiem
Ben Kurtovic
d07f0b5f9a
Add loggers to Category, Page, and User.
pirms 12 gadiem
Ben Kurtovic
1c2dcc999a
__repr__ and __str__ for ExclusionsDB ( #5 ).
pirms 12 gadiem
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.
pirms 12 gadiem
Ben Kurtovic
3744a34f28
Allow templated SQL connection info.
pirms 12 gadiem
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
pirms 12 gadiem
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
pirms 12 gadiem
Ben Kurtovic
35eb23046f
Merge pull request #29 from Emalee/develop
Make trout command change target yourself to himself
pirms 12 gadiem