1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/lib
Eugen Rochko cdb101340a
Keyword/phrase filtering (#7905)
* Add keyword filtering

    GET|POST       /api/v1/filters
    GET|PUT|DELETE /api/v1/filters/:id

- Irreversible filters can drop toots from home or notifications
- Other filters can hide toots through the client app
- Filters use a phrase valid in particular contexts, expiration

* Make sure expired filters don't get applied client-side

* Add missing API methods

* Remove "regex filter" from column settings

* Add tests

* Add test for FeedManager

* Add CustomFilter test

* Add UI for managing filters

* Add streaming API event to allow syncing filters

* Fix tests
2018-06-29 15:34:36 +02:00
..
activitypub Resolve unknown status from Add activity, skip Remove if unknown (#7526) 2018-05-18 11:33:56 +02:00
ostatus Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
settings Add a test for Settings::Extend#settings (#5720) 2017-11-19 04:15:32 +01:00
delivery_failure_tracker_spec.rb After 7 days of repeated delivery failures, give up on inbox (#5131) 2017-09-29 03:16:20 +02:00
extractor_spec.rb Spec Extractor (#3540) 2017-06-04 14:57:02 +02:00
feed_manager_spec.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
formatter_spec.rb Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
hash_object_spec.rb Spec HashObject (#3544) 2017-06-04 14:59:52 +02:00
language_detector_spec.rb Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
request_spec.rb Validate HTTP response length while receiving (#6891) 2018-03-26 14:02:10 +02:00
status_filter_spec.rb Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752) 2017-06-15 02:00:08 +02:00
status_finder_spec.rb Add tests for embeds controller (#7719) 2018-06-04 10:35:56 +09:00
tag_manager_spec.rb Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
user_settings_decorator_spec.rb Enable updating additional account information from user preferences via rest api (#6789) 2018-04-08 13:43:10 +02:00
webfinger_resource_spec.rb Fix randomly fail (regression from #3560) (#3580) 2017-06-05 10:03:36 +02:00