15 Commits (82408904a19b3f25323db97ff232c8f98f3aa3d1)

Author SHA1 Message Date
David Yip f1f67c46c5
Use Html2Text to generate plaintext for keyword mutes. #236.
7 years ago
David Yip 53c86b29f0
Glitch::FilterHelper -> Glitch::KeywordMuteHelper. #234.
7 years ago
David Yip d263e3bc2d
Fill out some examples for Glitch::FilterHelper. #234.
7 years ago
David Yip 29b5b46c87
Strip HTML from keyword mute input. #234.
7 years ago
David Yip 08652baab0 Replace =~ with #matches?. #208.
7 years ago
David Yip 8fc54890e5 Prefix cache keys with the matcher type. #208.
7 years ago
David Yip cb4ef24ac9 Match keyword mute filter on hashtags. #208.
7 years ago
David Yip 656d54e945 Maintain case-insensitivity when merging multiple matchers (#213)
7 years ago
David Yip e40fe4092d Remove nil check in Glitch::KeywordMute#=~.
7 years ago
David Yip f5a3283976 Switch to Regexp.union for building the mute expression.
7 years ago
David Yip 8410d33b49 Only cache the regex text, not the regex itself.
7 years ago
David Yip af8f06413e KeywordMute matcher: more closely mimic Regexp#=~ behavior.
7 years ago
David Yip 4b68e82a19 Don't add \b to whole-word keywords that don't start with word characters.
7 years ago
David Yip ad86c86fa8 Apply keyword mutes to reblogs.
7 years ago
David Yip 670e6a33f8 Move KeywordMute into Glitch namespace.
7 years ago