]> cat aescling's git repositories - mastodon.git/commit
Add option to obfuscate domain name in public list of domain blocks (#15355)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 18 Dec 2020 07:30:41 +0000 (08:30 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Dec 2020 07:30:41 +0000 (08:30 +0100)
commit8a95867693dfe072241d5ddcd0ba7ed8546eab1e
tree15a9faa3f1f7b7672294f3c2410c3ae706444120
parentb1feb47055c121c1b6949bd7ef6734bf56c847bd
Add option to obfuscate domain name in public list of domain blocks (#15355)

- Replace the middle of the domain with * characters (except for periods)
- Add SHA-256 digest of the domain name in tooltip
app/controllers/admin/domain_blocks_controller.rb
app/models/domain_block.rb
app/views/about/_domain_blocks.html.haml
app/views/admin/domain_blocks/edit.html.haml
app/views/admin/domain_blocks/new.html.haml
config/locales/en.yml
db/migrate/20201218054746_add_obfuscate_to_domain_blocks.rb [new file with mode: 0644]
db/schema.rb