1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Add language filters in user preferences

This commit is contained in:
Chocobozzz 2019-06-19 14:55:58 +02:00
parent bbe078ba55
commit 3caf77d3b1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
24 changed files with 443 additions and 150 deletions

View file

@ -14,7 +14,7 @@ import { CONFIG, registerConfigChangedHandler } from './config'
// ---------------------------------------------------------------------------
const LAST_MIGRATION_VERSION = 390
const LAST_MIGRATION_VERSION = 395
// ---------------------------------------------------------------------------
@ -177,6 +177,7 @@ let CONSTRAINTS_FIELDS = {
PASSWORD: { min: 6, max: 255 }, // Length
VIDEO_QUOTA: { min: -1 },
VIDEO_QUOTA_DAILY: { min: -1 },
VIDEO_LANGUAGES: { max: 500 }, // Array length
BLOCKED_REASON: { min: 3, max: 250 } // Length
},
VIDEO_ABUSES: {