1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/controllers
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 Better pagination for ActivityPub outbox (#7356) 2018-05-04 19:19:11 +02:00
admin Add resend confirmation for admin (#7378) 2018-05-06 10:59:03 +02:00
api Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
auth Replace bypass option with bypass_sign_in (#7867) 2018-06-21 10:41:49 +09:00
concerns HTTP signatures spec no longer requires algorithms field (#7525) 2018-05-17 04:03:28 +02:00
oauth Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00
settings Allow selecting default posting language instead of auto-detect (#7828) 2018-06-17 18:57:31 +02:00
well_known Make host_meta/webfinger replies cacheable (fixes #6100) (#6101) 2017-12-27 18:21:12 +01:00
about_controller.rb Add option to show only local toots in timeline preview (#6292) 2018-02-04 06:00:10 +01:00
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Add RSS feeds for end-users (#7259) 2018-04-25 02:10:02 +02:00
application_controller.rb Catch ActionController::UnknownFormat and return HTTP 406 (#7621) 2018-05-26 01:09:30 +02:00
authorize_follows_controller.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
emojis_controller.rb Cache JSON of immutable ActivityPub representations (#6171) 2018-01-04 01:21:38 +01:00
filters_controller.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
follower_accounts_controller.rb Add preference to hide following/followers lists (#7532) 2018-05-18 02:26:51 +02:00
following_accounts_controller.rb Add preference to hide following/followers lists (#7532) 2018-05-18 02:26:51 +02:00
home_controller.rb Set Referrer-Policy to origin in web UI and public pages of private toots (#7162) 2018-04-17 13:51:01 +02:00
intents_controller.rb Add tests for intents_controller (#7763) 2018-06-09 22:47:50 +02:00
invites_controller.rb Add autofollow option to invites (#7805) 2018-06-15 18:00:23 +02:00
manifests_controller.rb Make Chrome splash screen same color as web UI's background color (#5169) 2017-10-02 01:23:32 +02:00
media_controller.rb Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
media_proxy_controller.rb Raise Mastodon::RaceConditionError if Redis lock failed (#7511) 2018-05-16 12:29:45 +02:00
remote_follow_controller.rb Show mastodon on modal (#6129) 2018-01-02 05:07:56 +01:00
remote_unfollows_controller.rb Add tests for remote_unfollows_controller (#7879) 2018-06-24 19:55:55 +09:00
shares_controller.rb Add REST API for Web Push Notifications subscriptions (#7445) 2018-05-11 11:49:12 +02:00
statuses_controller.rb Fix "Show more" URL on paginated threads for remote statuses (#7285) 2018-04-30 01:59:42 +02:00
stream_entries_controller.rb Fix "Show more" URL on paginated threads for remote statuses (#7285) 2018-04-30 01:59:42 +02:00
tags_controller.rb Add RSS feeds for end-users (#7259) 2018-04-25 02:10:02 +02:00