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 Add ActivityPub attributes to accounts (#4273) 2017-07-19 17:06:46 +02:00
account_domain_block.rb
account_filter.rb
application_record.rb
block.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
conversation_mute.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
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 Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
feed.rb Remove sort in Feed (#4050) 2017-07-03 13:17:27 +02:00
follow.rb
follow_request.rb
import.rb
instance.rb
media_attachment.rb Explicitly require MIME::Types (#4083) 2017-07-05 23:58:03 +02:00
mention.rb Misc tidying and clean ups (#3445) 2017-05-31 20:38:17 +02:00
mute.rb annotate models (#2697) 2017-05-02 02:14:47 +02:00
notification.rb
preview_card.rb Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +02:00
remote_follow.rb
remote_profile.rb
report.rb
report_filter.rb
search.rb
session_activation.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
setting.rb Improve RuboCop rules (compatibility to Code Climate) (#3636) 2017-06-08 13:24:28 +02:00
status.rb
stream_entry.rb
subscription.rb Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) 2017-07-14 23:01:20 +02:00
tag.rb add validation to tag name (#4194) 2017-07-14 11:02:49 +02:00
user.rb
web.rb Add extended about page stub 2017-01-13 03:24:41 +01:00