]> cat aescling's git repositories - mastodon.git/commit
Implement the ability for instances to define a list of disallowed hashtags (#7176)
authorEmelia Smith <ThisIsMissEm@users.noreply.github.com>
Mon, 23 Apr 2018 21:52:58 +0000 (23:52 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 23 Apr 2018 21:52:58 +0000 (23:52 +0200)
commit60b871d56c554ddb22b7890d803e4ba6650ed286
tree7011103a98c5961650cc748f513e80e89350ce9b
parent495303d9b86919c72bf1948a714bf8d00b41fa0f
Implement the ability for instances to define a list of disallowed hashtags (#7176)

The goal here isn't to prevent these hashtags from existing, but just to strongly curtail their usage; The hashtags may still exist in the database via federated status, or from being created prior to this feature.
app/models/status.rb
app/validators/disallowed_hashtags_validator.rb [new file with mode: 0644]
config/locales/en.yml
config/settings.yml