forked from fedi/mastodon
115dab78f1
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`
75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
# This file contains default values, and does not need to be edited. All
|
|
# important settings can be changed from the admin interface.
|
|
|
|
defaults: &defaults
|
|
site_title: Mastodon
|
|
site_short_description: ''
|
|
site_description: ''
|
|
site_extended_description: ''
|
|
site_terms: ''
|
|
site_contact_username: ''
|
|
site_contact_email: ''
|
|
registrations_mode: 'open'
|
|
profile_directory: true
|
|
closed_registrations_message: ''
|
|
open_deletion: true
|
|
min_invite_role: 'admin'
|
|
timeline_preview: true
|
|
show_staff_badge: true
|
|
default_sensitive: false
|
|
hide_network: false
|
|
unfollow_modal: false
|
|
boost_modal: false
|
|
delete_modal: true
|
|
auto_play_gif: false
|
|
display_media: 'default'
|
|
expand_spoilers: false
|
|
preview_sensitive_media: false
|
|
reduce_motion: false
|
|
show_application: true
|
|
system_font_ui: false
|
|
noindex: false
|
|
theme: 'default'
|
|
aggregate_reblogs: true
|
|
advanced_layout: false
|
|
use_blurhash: true
|
|
use_pending_items: false
|
|
notification_emails:
|
|
follow: false
|
|
reblog: false
|
|
favourite: false
|
|
mention: false
|
|
follow_request: true
|
|
digest: true
|
|
report: true
|
|
pending_account: true
|
|
trending_tag: true
|
|
interactions:
|
|
must_be_follower: false
|
|
must_be_following: false
|
|
must_be_following_dm: false
|
|
reserved_usernames:
|
|
- admin
|
|
- support
|
|
- help
|
|
- root
|
|
- webmaster
|
|
- administrator
|
|
- mod
|
|
- moderator
|
|
disallowed_hashtags: # space separated string or list of hashtags without the hash
|
|
bootstrap_timeline_accounts: ''
|
|
activity_api_enabled: true
|
|
peers_api_enabled: true
|
|
show_known_fediverse_at_about_page: true
|
|
spam_check_enabled: true
|
|
|
|
development:
|
|
<<: *defaults
|
|
|
|
test:
|
|
<<: *defaults
|
|
|
|
production:
|
|
<<: *defaults
|