catstodon/app/views
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
..
about Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
accounts Fix og:url. (#3031) 2017-05-13 15:56:42 +02:00
activitypub Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410) 2017-04-25 15:06:06 +02:00
admin Add reset button to admin accounts search, improve looks a little (#3100) 2017-05-18 00:38:01 +02:00
api Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
application Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
auth Render translated view (#3093) 2017-05-17 15:36:56 +02:00
authorize_follows Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
errors Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
follower_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home Prevent selection of unacceptable Content-Type files (#2910) 2017-05-08 16:49:53 +02:00
kaminari Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
layouts Use stylesheet_pack_tag in embedded layout, avoids pipeline deprecation warning (#3123) 2017-05-19 03:11:17 +02:00
notification_mailer Simplify renders in views (#2084) 2017-04-18 17:15:30 +02:00
oauth Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
remote_follow Fix remote follow (#2547) 2017-04-28 00:16:44 +02:00
settings Fix character counter not updating for bio (#3101) 2017-05-18 00:38:18 +02:00
shared chore(landing_strip): hide signup path unless the instance allows registration. (#3055) 2017-05-16 00:41:09 +02:00
stream_entries Revert HTML CW changes (#3020) 2017-05-13 04:03:43 +02:00
tags Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
user_mailer Add catalan language (#3084) 2017-05-17 00:25:10 +02:00
well_known Add ActivityPub Actor id to WebFinger JSON. (#2522) 2017-04-27 12:02:41 +02:00