1
0
Fork 0
forked from fedi/mastodon
mastodon/app
Matt Jankowski 8857cabca4 Domain block service cleanup (#2490)
* Add coverage for domain block service with silence

* Get rid of warning about find_each and order

* Move domain_block to attr_reader

* Move optional clear_media into silence_accounts method

* Use blocked_domain method to reduce passed vars

* Extract blocked_domain_accounts method to find accounts on the domain

* Extract media_from_blocked_domain method to find relevant attachments

* Separate destruction of account images and account attachments
2017-04-26 20:09:01 +02:00
..
assets Update German translation (#2485) 2017-04-26 15:46:14 +02:00
controllers Localize with i18n for Devise::FailureApp (#2309) 2017-04-25 15:06:41 +02:00
helpers Red favicon for dev (#2470) 2017-04-26 15:45:27 +02:00
lib Decodes URL containing IDN (#2436) 2017-04-25 15:03:51 +02:00
mailers Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
models Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
presenters Adds version to about/more and API (#2181) 2017-04-21 03:30:59 +02:00
services Domain block service cleanup (#2490) 2017-04-26 20:09:01 +02:00
validators Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00
views Red favicon for dev (#2470) 2017-04-26 15:45:27 +02:00
workers Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00