hometown/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
2017-05-19 21:05:32 +02:00
..
admin Add filter to AccountFilter (#2968) 2017-05-17 03:00:34 +02:00
api Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
auth Auth sign out (#2511) 2017-05-02 23:37:58 +02:00
concerns Remove unnecessary keep file. (#2902) 2017-05-08 15:01:19 +02:00
oauth Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings Filter on allowed user language preferences (#2361) 2017-05-01 17:42:13 +02:00
well_known Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
about_controller.rb Clean up about page (#1282) 2017-04-09 14:47:25 +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 use-symbol-in-order (#3081) 2017-05-16 12:10:09 +02:00
api_controller.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
application_controller.rb Error responses cleanup (#2692) 2017-05-01 22:24:36 +02:00
authorize_follows_controller.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
follower_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home_controller.rb Fix Doorkeeper error (#2534) 2017-04-27 18:04:28 +02:00
media_controller.rb Media controller specs (#2022) 2017-04-17 20:02:00 +02:00
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
statuses_controller.rb Prettier account and stream entry URLs 2017-03-22 19:55:14 +01:00
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller.rb Return missing page when tag does not exist (#2563) 2017-04-28 15:11:21 +02:00