17 Commits (f1bfcb50f0baeecf445bfdcf2852b3826d0d3cc0)

Author SHA1 Message Date
  David Yip a640c322c1
Escape metacharacters in non-whole-word keyword mutes. Fixes #533. 6 years ago
  David Yip 26573ad7e6
Thread scopes through #matches?. #454. 6 years ago
  David Yip 37d495eeeb
keyword mute: Store keywords as a list 6 years ago
  Daggertooth b25278180a Escape metachars in keywords 6 years ago
  David Yip 5f8f481425
Also treat non-whole-word mutes as case-insensitive. #450. 6 years ago
  David Yip 08652baab0 Replace =~ with #matches?. #208. 6 years ago
  David Yip 8fc54890e5 Prefix cache keys with the matcher type. #208. 6 years ago
  David Yip cb4ef24ac9 Match keyword mute filter on hashtags. #208. 6 years ago
  David Yip 656d54e945 Maintain case-insensitivity when merging multiple matchers (#213) 6 years ago
  David Yip e40fe4092d Remove nil check in Glitch::KeywordMute#=~. 6 years ago
  David Yip f5a3283976 Switch to Regexp.union for building the mute expression. 6 years ago
  David Yip 8410d33b49 Only cache the regex text, not the regex itself. 6 years ago
  David Yip af8f06413e KeywordMute matcher: more closely mimic Regexp#=~ behavior. 6 years ago
  David Yip 4b68e82a19 Don't add \b to whole-word keywords that don't start with word characters. 6 years ago
  David Yip ad86c86fa8 Apply keyword mutes to reblogs. 6 years ago
  David Yip 670e6a33f8 Move KeywordMute into Glitch namespace. 6 years ago
  David Yip 4a64181461 Allow keywords to match either substrings or whole words. 6 years ago
  David Yip b4b657eb1d Invalidate cached matcher objects on KeywordMute commit. #164. 6 years ago
  David Yip 693c66dfde Use more idiomatic string concatentation. #164. 6 years ago
  David Yip a4851100fd Make use of the regex attr_reader. #164. 6 years ago
  David Yip 603cf02b70 Rework KeywordMute interface to use a matcher object; spec out matcher. #164. 6 years ago
  David Yip 4745d6eeca Spec out KeywordMute interface. #164. 6 years ago
  David Yip 9093e2de7a Add KeywordMute model. 6 years ago