Move video file metadata in their own table
authorChocobozzz <florian.bigard@gmail.com>
Fri, 25 Aug 2017 09:36:23 +0000 (11:36 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 25 Aug 2017 09:36:23 +0000 (11:36 +0200)
commit93e1258c7cbc0d1235ca6d2a1f7c1875985328b8
treeb0a1f77af7ab54dc5f58f569fcd1e9d84b04c533
parent69f224587e99d56008e1fa129d0641840a486620
Move video file metadata in their own table

Will be used for user video quotas and multiple video resolutions
30 files changed:
.gitignore
client/src/app/videos/shared/video.model.ts
client/src/app/videos/video-watch/video-magnet.component.html
client/src/app/videos/video-watch/video-watch.component.ts
client/src/standalone/videos/embed.ts
package.json
scripts/dev/index.sh [new file with mode: 0755]
scripts/update-host.ts
server.ts
server/controllers/api/remote/videos.ts
server/controllers/api/videos/index.ts
server/helpers/custom-validators/remote/videos.ts
server/helpers/custom-validators/videos.ts
server/initializers/constants.ts
server/initializers/database.ts
server/initializers/migrations/0060-video-file.ts [new file with mode: 0644]
server/initializers/migrations/0065-video-file-size.ts [new file with mode: 0644]
server/initializers/migrator.ts
server/lib/jobs/handlers/video-transcoder.ts
server/models/video/index.ts
server/models/video/video-file-interface.ts [new file with mode: 0644]
server/models/video/video-file.ts [new file with mode: 0644]
server/models/video/video-interface.ts
server/models/video/video.ts
server/tests/api/multiple-pods.js
server/tests/api/single-pod.js
server/tests/api/video-transcoder.js
shared/models/pods/remote-video/remote-video-create-request.model.ts
shared/models/pods/remote-video/remote-video-update-request.model.ts
shared/models/videos/video.model.ts