]> cat aescling's git repositories - mastodon.git/commit
Implement EmailBlackList (#5109)
authorutam0k <k0ma@utam0k.jp>
Wed, 4 Oct 2017 13:16:10 +0000 (22:16 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 4 Oct 2017 13:16:10 +0000 (15:16 +0200)
commitb3af3f9f8cd5ed9c7ee06452e981b1b7734e1d89
tree8ea106d91d77f83a1c0b368d8657203c544e7eca
parentd5091387c6ddbe03b118b0cfb6d74cf821b84fb2
Implement EmailBlackList (#5109)

* Implement BlacklistedEmailDomain

* Use Faker::Internet.domain_name

* Remove note column

* Add frozen_string_literal comment

* Delete unnecessary codes

* Sort alphabetically

* Change of wording

* Rename BlacklistedEmailDomain to EmailDomainBlock
15 files changed:
app/controllers/admin/email_domain_blocks_controller.rb [new file with mode: 0644]
app/models/email_domain_block.rb [new file with mode: 0644]
app/validators/blacklisted_email_validator.rb
app/views/admin/email_domain_blocks/_email_domain_block.html.haml [new file with mode: 0644]
app/views/admin/email_domain_blocks/index.html.haml [new file with mode: 0644]
app/views/admin/email_domain_blocks/new.html.haml [new file with mode: 0644]
config/locales/en.yml
config/locales/ja.yml
config/navigation.rb
config/routes.rb
db/migrate/20170928082043_create_email_domain_blocks.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/admin/email_domain_blocks_controller_spec.rb [new file with mode: 0644]
spec/fabricators/email_domain_block_fabricator.rb [new file with mode: 0644]
spec/models/email_domain_block_spec.rb [new file with mode: 0644]