-
- Downloads
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
Showing
- app/controllers/api/v1/filters_controller.rb 1 addition, 1 deletionapp/controllers/api/v1/filters_controller.rb
- app/javascript/mastodon/selectors/index.js 4 additions, 1 deletionapp/javascript/mastodon/selectors/index.js
- app/lib/feed_manager.rb 10 additions, 1 deletionapp/lib/feed_manager.rb
- app/models/custom_filter.rb 1 addition, 0 deletionsapp/models/custom_filter.rb
- app/serializers/rest/filter_serializer.rb 1 addition, 1 deletionapp/serializers/rest/filter_serializer.rb
- app/views/filters/_fields.html.haml 3 additions, 0 deletionsapp/views/filters/_fields.html.haml
- db/migrate/20180707154237_add_whole_word_to_custom_filter.rb 17 additions, 0 deletionsdb/migrate/20180707154237_add_whole_word_to_custom_filter.rb
- db/schema.rb 2 additions, 1 deletiondb/schema.rb
- spec/lib/feed_manager_spec.rb 22 additions, 6 deletionsspec/lib/feed_manager_spec.rb
Loading
Please register or sign in to comment