1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 22:38:42 +09:00
YuruToot/spec
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
..
controllers Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
fabricators Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
features Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
fixtures Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
helpers Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
javascript Replace inline styles with stylesheet (#3115) 2017-05-19 11:42:54 +02:00
lib Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
mailers Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
models Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Update rails to version 5.0.3 (#3054) 2017-05-14 16:30:14 +02:00
workers Add spec coverage for regeneration worker (#3143) 2017-05-19 16:55:09 +02:00
rails_helper.rb Disable sidekiq logging in test mode (#2962) 2017-05-10 16:16:42 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00