]> cat aescling's git repositories - mastodon.git/commit
Add option to not consider word boundaries when processing keyword filtering (#7975)
authorThibG <thib@sitedethib.com>
Mon, 9 Jul 2018 00:22:09 +0000 (02:22 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 9 Jul 2018 00:22:09 +0000 (02:22 +0200)
commit1ca4e51eb38de6de81cedf3ddcdaa626f1d1c569
tree3cf44ef95b178d233fd34d2ec2aae2a7021c159d
parent451e585b9720c61ef9a155a16484b25ded79d512
Add option to not consider word boundaries when processing keyword filtering (#7975)

* Add option to not consider word boundaries when filtering phrases

* Add a few tests for keyword/phrase filtering
app/controllers/api/v1/filters_controller.rb
app/javascript/mastodon/selectors/index.js
app/lib/feed_manager.rb
app/models/custom_filter.rb
app/serializers/rest/filter_serializer.rb
app/views/filters/_fields.html.haml
db/migrate/20180707154237_add_whole_word_to_custom_filter.rb [new file with mode: 0644]
db/schema.rb
spec/lib/feed_manager_spec.rb