You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/controllers
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
* Add buttons to block and unblock domain

* Relationship API now returns "domain_blocking" status for accounts,
rename "block entire domain" to "hide entire domain", fix unblocking domain,
do not block notifications from domain-blocked-but-followed people, do
not send Salmons to domain blocked users

* Add test

* Personal domain blocks shouldn't affect Salmon after all, since in this
direction of communication the control is very thin when it comes to
public stuff. Best stay consistent and not affect federation in this way

* Ignore followers and follow request from domain blocked folks,
ensure account domain blocks are not created for empty domain,
and avoid duplicates in validation

* Purge followers when blocking domain (without soft-blocks, since they
are useless here)

* Add tests, fix local timeline being empty when having any domain blocks
8 years ago
..
admin Add filter to AccountFilter (#2968) 8 years ago
api Add buttons to block and unblock domain (#3127) 8 years ago
auth Auth sign out (#2511) 8 years ago
concerns Remove unnecessary keep file. (#2902) 8 years ago
oauth Fix #1165 - before_action was called before protect_from_forgery 8 years ago
settings Filter on allowed user language preferences (#2361) 8 years ago
well_known Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 8 years ago
about_controller.rb Clean up about page (#1282) 8 years ago
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 8 years ago
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 8 years ago
accounts_controller.rb use-symbol-in-order (#3081) 8 years ago
api_controller.rb Feature conversations muting (#3017) 8 years ago
application_controller.rb Error responses cleanup (#2692) 8 years ago
authorize_follows_controller.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 8 years ago
follower_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 8 years ago
following_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 8 years ago
home_controller.rb Fix Doorkeeper error (#2534) 8 years ago
media_controller.rb Media controller specs (#2022) 8 years ago
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 8 years ago
statuses_controller.rb Prettier account and stream entry URLs 8 years ago
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 8 years ago
tags_controller.rb Return missing page when tag does not exist (#2563) 8 years ago