Implement captions/subtitles
authorChocobozzz <me@florianbigard.com>
Thu, 12 Jul 2018 17:02:00 +0000 (19:02 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 09:50:08 +0000 (11:50 +0200)
commit40e87e9ecc54e3513fb586928330a7855eb192c6
treeaf1111ecba85f9cd8286811ff332a67cf21be2f6
parentd4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2
Implement captions/subtitles
83 files changed:
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts
client/src/app/core/server/server.service.ts
client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
client/src/app/shared/forms/form-validators/index.ts
client/src/app/shared/forms/form-validators/video-captions-validators.service.ts [new file with mode: 0644]
client/src/app/shared/forms/index.ts
client/src/app/shared/forms/reactive-file.component.html [new file with mode: 0644]
client/src/app/shared/forms/reactive-file.component.scss [new file with mode: 0644]
client/src/app/shared/forms/reactive-file.component.ts [new file with mode: 0644]
client/src/app/shared/misc/utils.ts
client/src/app/shared/shared.module.ts
client/src/app/shared/video-caption/index.ts [new file with mode: 0644]
client/src/app/shared/video-caption/video-caption-edit.model.ts [new file with mode: 0644]
client/src/app/shared/video-caption/video-caption.service.ts [new file with mode: 0644]
client/src/app/shared/video/video.model.ts
client/src/app/shared/video/video.service.ts
client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.html [new file with mode: 0644]
client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.scss [new file with mode: 0644]
client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts [new file with mode: 0644]
client/src/app/videos/+video-edit/shared/video-edit.component.html
client/src/app/videos/+video-edit/shared/video-edit.component.scss
client/src/app/videos/+video-edit/shared/video-edit.component.ts
client/src/app/videos/+video-edit/shared/video-edit.module.ts
client/src/app/videos/+video-edit/shared/video-image.component.html
client/src/app/videos/+video-edit/shared/video-image.component.scss
client/src/app/videos/+video-edit/shared/video-image.component.ts
client/src/app/videos/+video-edit/video-add.component.html
client/src/app/videos/+video-edit/video-add.component.ts
client/src/app/videos/+video-edit/video-update.component.html
client/src/app/videos/+video-edit/video-update.component.ts
config/default.yaml
config/production.yaml.example
config/test-1.yaml
config/test-2.yaml
config/test-3.yaml
config/test-4.yaml
config/test-5.yaml
config/test-6.yaml
server.ts
server/controllers/activitypub/client.ts
server/controllers/api/config.ts
server/controllers/api/videos/captions.ts [new file with mode: 0644]
server/controllers/api/videos/index.ts
server/controllers/client.ts
server/controllers/feeds.ts
server/controllers/services.ts
server/controllers/static.ts
server/helpers/activitypub.ts
server/helpers/custom-validators/activitypub/videos.ts
server/helpers/custom-validators/video-captions.ts [new file with mode: 0644]
server/helpers/custom-validators/videos.ts
server/initializers/constants.ts
server/initializers/database.ts
server/lib/activitypub/process/process-update.ts
server/lib/activitypub/videos.ts
server/lib/cache/abstract-video-static-file-cache.ts [new file with mode: 0644]
server/lib/cache/videos-caption-cache.ts [new file with mode: 0644]
server/lib/cache/videos-preview-cache.ts
server/middlewares/validators/video-captions.ts [new file with mode: 0644]
server/middlewares/validators/videos.ts
server/models/video/video-caption.ts [new file with mode: 0644]
server/models/video/video.ts
server/tests/api/check-params/config.ts
server/tests/api/check-params/index.ts
server/tests/api/check-params/video-captions.ts [new file with mode: 0644]
server/tests/api/index-fast.ts
server/tests/api/server/config.ts
server/tests/api/server/follows.ts
server/tests/api/videos/video-captions.ts [new file with mode: 0644]
server/tests/fixtures/subtitle-good1.vtt [new file with mode: 0644]
server/tests/fixtures/subtitle-good2.vtt [new file with mode: 0644]
server/tests/utils/miscs/miscs.ts
server/tests/utils/videos/video-captions.ts [new file with mode: 0644]
shared/models/activitypub/objects/video-torrent-object.ts
shared/models/server/custom-config.model.ts
shared/models/server/server-config.model.ts
shared/models/videos/index.ts
shared/models/videos/video-caption-update.model.ts [new file with mode: 0644]
shared/models/videos/video-caption.model.ts [new file with mode: 0644]
shared/models/videos/video-constant.model.ts [new file with mode: 0644]
shared/models/videos/video.model.ts
support/docker/production/config/production.yaml