diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-07 22:34:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-07 22:34:02 +0200 |
commit | e822fdaeee90cb7c70d5678f19249198cd7aae8c (patch) | |
tree | 07678eff3b3d378bda40800002b515b982017c78 /server/initializers/constants.js | |
parent | 8c255eb53c8f47bd64778d6fbcb93b248ee14163 (diff) | |
download | PeerTube-e822fdaeee90cb7c70d5678f19249198cd7aae8c.tar.gz PeerTube-e822fdaeee90cb7c70d5678f19249198cd7aae8c.tar.zst PeerTube-e822fdaeee90cb7c70d5678f19249198cd7aae8c.zip |
Use ng2-file-upload instead of jquery and add tags support to the video
upload form
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 6fa322010..22cbb1361 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -41,8 +41,8 @@ const THUMBNAILS_SIZE = '200x110' | |||
41 | const THUMBNAILS_STATIC_PATH = '/static/thumbnails' | 41 | const THUMBNAILS_STATIC_PATH = '/static/thumbnails' |
42 | 42 | ||
43 | const VIDEOS_CONSTRAINTS_FIELDS = { | 43 | const VIDEOS_CONSTRAINTS_FIELDS = { |
44 | NAME: { min: 1, max: 50 }, // Length | 44 | NAME: { min: 3, max: 50 }, // Length |
45 | DESCRIPTION: { min: 1, max: 250 }, // Length | 45 | DESCRIPTION: { min: 3, max: 250 }, // Length |
46 | MAGNET_URI: { min: 10 }, // Length | 46 | MAGNET_URI: { min: 10 }, // Length |
47 | DURATION: { min: 1, max: 7200 }, // Number | 47 | DURATION: { min: 1, max: 7200 }, // Number |
48 | AUTHOR: { min: 3, max: 20 }, // Length | 48 | AUTHOR: { min: 3, max: 20 }, // Length |