mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or watched word lists * These tags can be used to automatically filter videos and comments * Introduce a new video comment policy where comments must be approved first * Comments may have to be approved if the user auto block them using core rules or watched word lists * Implement FEP-5624 to federate reply control policies
This commit is contained in:
parent
b3e39df59e
commit
29329d6c45
241 changed files with 8090 additions and 1399 deletions
|
@ -5,6 +5,7 @@ import { dirname, join } from 'path'
|
|||
import {
|
||||
BroadcastMessageLevel,
|
||||
NSFWPolicyType,
|
||||
VideoCommentPolicyType,
|
||||
VideoPrivacyType,
|
||||
VideoRedundancyConfigFilter,
|
||||
VideosRedundancyStrategy
|
||||
|
@ -92,7 +93,7 @@ const CONFIG = {
|
|||
DEFAULTS: {
|
||||
PUBLISH: {
|
||||
DOWNLOAD_ENABLED: config.get<boolean>('defaults.publish.download_enabled'),
|
||||
COMMENTS_ENABLED: config.get<boolean>('defaults.publish.comments_enabled'),
|
||||
COMMENTS_POLICY: config.get<VideoCommentPolicyType>('defaults.publish.comments_policy'),
|
||||
PRIVACY: config.get<VideoPrivacyType>('defaults.publish.privacy'),
|
||||
LICENCE: config.get<number>('defaults.publish.licence')
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue