1
0
Fork 0
forked from fedi/mastodon
mastodon/app/controllers
Eugen Rochko 3c033c4352
Add moderation warnings (#9519)
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain
2018-12-22 20:02:09 +01:00
..
activitypub Add specs for activitypub collections controller (#9484) 2018-12-10 21:39:25 +01:00
admin Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
api Allow unauthenticated REST API access to GET /api/v1/accounts/:id/statuses (#9573) 2018-12-20 01:30:43 +01:00
auth Revert "feat(auth/session_controller): Send Clear-Site-Data when logging out (8627)" (#9161) 2018-10-30 16:25:54 +01:00
concerns Remove RemoteAccountControllerConcern never used (#9482) 2018-12-10 21:38:01 +01:00
oauth Add force_login option to OAuth authorize page (#8655) 2018-09-09 04:10:44 +02:00
settings Create Settings::BaseController (#9507) 2018-12-12 22:32:13 +01:00
well_known Make host_meta/webfinger replies cacheable (fixes #6100) (#6101) 2017-12-27 18:21:12 +01:00
about_controller.rb Update /terms and /about/more to use public layout (#8142) 2018-08-09 12:58:20 +02:00
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 2018-08-19 15:52:38 +02:00
application_controller.rb Remove intermediary arrays when creating hash maps from results (#9291) 2018-11-16 15:02:18 +01:00
authorize_interactions_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
custom_css_controller.rb Add admin custom CSS setting (#8399) 2018-08-24 04:33:27 +02:00
directories_controller.rb Remove "most popular" tab from profile directory, add responsive design (#9539) 2018-12-17 03:14:28 +01:00
emojis_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 2018-08-19 15:52:38 +02:00
filters_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +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 Ensure single user is a local user (fixes #8154) (#8157) 2018-08-11 11:53:10 +02:00
intents_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
invites_controller.rb Set @body_classes to admin layout (#9081) 2018-10-25 00:10:01 +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 fix CSP / X-Frame-Options for media embeds (#9558) 2018-12-18 16:40:30 +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 Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00
remote_interaction_controller.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02: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 thread depth computation in statuses_controller (#9426) 2018-12-05 02:12:29 +01: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 Allow joining several hashtags in a single column (#8904) 2018-11-05 18:53:25 +01:00