mastodon/app/serializers/rest
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
..
v2 Add GET /api/v2/search which returns rich tag objects, adjust web UI (#7661) 2018-05-29 02:01:24 +02:00
account_serializer.rb Do not pre-emojify note HTML in accounts REST API (#7821) 2018-06-16 18:47:19 +02:00
application_serializer.rb In REST API, when URL can be missing, cast it to nil (#5259) 2017-10-07 18:55:48 +02:00
context_serializer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
credential_account_serializer.rb Allow selecting default posting language instead of auto-detect (#7828) 2018-06-17 18:57:31 +02:00
custom_emoji_serializer.rb Feature: Unlisted custom emojis (#5485) 2017-10-27 16:11:30 +02:00
filter_serializer.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
instance_serializer.rb Do not fetch environment variables to determine default locale (#6618) 2018-03-04 10:00:46 +01:00
list_serializer.rb Display list column (#5750) 2017-11-25 00:35:37 +01:00
media_attachment_serializer.rb In REST API, when URL can be missing, cast it to nil (#5259) 2017-10-07 18:55:48 +02:00
notification_serializer.rb Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
preview_card_serializer.rb Add embed_url to preview cards (#5775) 2017-12-07 03:37:43 +01:00
relationship_serializer.rb Break out nested relationship API keys (#5887) 2017-12-06 16:10:54 +01:00
report_serializer.rb Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
search_serializer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
status_serializer.rb Do not re-query mentions from serializers (#6858) 2018-03-22 11:31:17 +01:00
tag_serializer.rb Track trending tags (#7638) 2018-05-27 21:45:30 +02:00
web_push_subscription_serializer.rb Add REST API for Web Push Notifications subscriptions (#7445) 2018-05-11 11:49:12 +02:00