Add ability to disable video comments
authorChocobozzz <me@florianbigard.com>
Wed, 3 Jan 2018 09:12:36 +0000 (10:12 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 3 Jan 2018 09:38:19 +0000 (10:38 +0100)
commit47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04
tree25e2836baf3dfce6f422192d98332db1bfe65890
parentc5911fd347c76e8bdc05ea9f3ee9efed4a58c236
Add ability to disable video comments
37 files changed:
client/src/app/shared/video/video-details.model.ts
client/src/app/shared/video/video-edit.model.ts
client/src/app/shared/video/video.service.ts
client/src/app/videos/+video-edit/shared/video-edit.component.html
client/src/app/videos/+video-edit/shared/video-edit.component.ts
client/src/app/videos/+video-edit/video-add.component.ts
client/src/app/videos/+video-watch/comment/video-comments.component.html
client/src/app/videos/+video-watch/comment/video-comments.component.ts
server/controllers/api/videos/comment.ts
server/controllers/api/videos/index.ts
server/helpers/custom-validators/activitypub/activity.ts
server/helpers/custom-validators/activitypub/video-channels.ts [deleted file]
server/helpers/custom-validators/activitypub/videos.ts
server/helpers/custom-validators/misc.ts
server/helpers/custom-validators/videos.ts
server/helpers/utils.ts
server/initializers/constants.ts
server/initializers/migrations/0155-video-comments-enabled.ts [new file with mode: 0644]
server/lib/activitypub/process/misc.ts
server/middlewares/validators/users.ts
server/middlewares/validators/video-comments.ts
server/middlewares/validators/videos.ts
server/models/activitypub/actor.ts
server/models/avatar/avatar.ts
server/models/video/video.ts
server/tests/activitypub.ts
server/tests/api/check-params/users.ts
server/tests/api/check-params/video-comments.ts
server/tests/api/check-params/videos.ts
server/tests/api/server/follows.ts
server/tests/api/videos/multiple-servers.ts
server/tests/api/videos/single-server.ts
server/tests/utils/videos/videos.ts
shared/models/activitypub/objects/video-torrent-object.ts
shared/models/videos/video-create.model.ts
shared/models/videos/video-update.model.ts
shared/models/videos/video.model.ts