1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-27 21:18:11 +09:00
mastodon/spec/validators
Eugen Rochko 115dab78f1
Change admin UI for hashtags and add back whitelisted trends (#11490)
Fix #271

Add back the `GET /api/v1/trends` API with the caveat that it does
not return tags that have not been allowed to trend by the staff.

When a hashtag begins to trend (internally) and that hashtag has
not been previously reviewed by the staff, the staff is notified.

The new admin UI for hashtags allows filtering hashtags by where
they are used (e.g. in the profile directory), whether they have
been reviewed or are pending reviewal, they show by how many people
the hashtag is used in the directory, how many people used it
today, how many statuses with it have been created today, and it
allows fixing the name of the hashtag to make it more readable.

The disallowed hashtags feature has been reworked. It is now
controlled from the admin UI for hashtags instead of from
the file `config/settings.yml`
2019-08-05 19:54:29 +02:00
..
blacklisted_email_validator_spec.rb Fix “invited by” not showing up for invited accounts in admin interface (#10791) 2019-05-19 21:40:36 +02:00
disallowed_hashtags_validator_spec.rb Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
email_mx_validator_spec.rb Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
follow_limit_validator_spec.rb Add specs for FollowLimitValidator (#9655) 2018-12-29 08:24:52 +01:00
poll_validator_spec.rb Allow set the voting period to just 5 minutes (#10525) 2019-04-09 17:02:12 +02:00
status_length_validator_spec.rb Add pending specs for StatusLengthValidator (#9647) 2018-12-28 08:18:47 +01:00
status_pin_validator_spec.rb Add specs for StatusPinValidator (#9648) 2018-12-28 18:09:32 +09:00
unique_username_validator_spec.rb Remove pending spec (#9454) 2018-12-07 16:38:50 +01:00
unreserved_username_validator_spec.rb Add specs for UnreservedUsernameValidator (#9698) 2019-01-03 13:10:02 +09:00
url_validator_spec.rb Add specs for UrlValidator (#9699) 2019-01-03 13:10:20 +09:00