jpgohlke/twitch-chat-filter — pull request #32 by hugomg (2014-02-23 08:56:44+00:00)
Title: Separate filter into toggleable features

I refactored the code so that instead of a single spam filter now we have many spam filters that we can toggle via some checkboxes.

I also took the opportunity to refactor the code. The `insert_with_lock_in` override is a bit simpler now. Instead of keeping track of how many of watch type of message we have, I ended up changing the buffer cleanup to prioritize deleting hidden messages first.

There are still some minor things that need to be adjusted before merging this though, so feedback is welcome:

* Need to find a permanent place to put the control panel. Being in the top left like that is temporary.
* I got rid of some spam filtering (oligarchy, helix, etc). I dont see them too often but maybe we should add an extra filter for that.
* All the options do filtering; None modify the messages (replace caps with lowercase, do special colloring, etc). However, I think doing only one thing keeps things simple.
* Currently the URL filter blocks every single URL. Its going to need a whitelist for some useful sites.