mastodon/app/models
sdukhovni 06d905f415 Allow domain blocks that only reject media without silencing or suspending (#4325)
* Allow domain blocks to reject media without silencing or suspending

* Fix typo

* Hide 'Reject media' button when superfluous, instead of disabling it

* Properly hide 'reject media' checkbox on page load if needed

This may happen when resubmitting the domain block form after an error.

* Don't ask whether undoing a media-only block should be retroactive

* Rename :media_only block to :noop

* Display :noop block as None in frontend, allow blocks that do nothing

* Remove 'coding' line auto-added by emacs
2017-07-24 14:26:55 +02:00
..
concerns
form
web
account.rb
account_domain_block.rb
account_filter.rb
application_record.rb
block.rb
context.rb
conversation.rb
conversation_mute.rb
domain_block.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00
export.rb
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb
instance.rb
media_attachment.rb
mention.rb
mute.rb
notification.rb
preview_card.rb
remote_follow.rb
remote_profile.rb
report.rb
report_filter.rb
search.rb
session_activation.rb
setting.rb
status.rb
stream_entry.rb
subscription.rb
tag.rb
user.rb
web.rb