Make sure a report doesn't get deleted upon the deletion of its video
authorRigel Kent <sendmemail@rigelk.eu>
Thu, 16 Apr 2020 12:22:27 +0000 (14:22 +0200)
committerRigel Kent <par@rigelk.eu>
Fri, 1 May 2020 14:41:02 +0000 (16:41 +0200)
commit68d19a0ace01cb7a3550da420d27663e2db1b98d
treefcdac5341001b9e6d15ddd0ca8239372ec2b3053
parent165ee2929bc76fc7f9985ae81cc33736820c7865
Make sure a report doesn't get deleted upon the deletion of its video
15 files changed:
client/src/app/+admin/follows/followers-list/followers-list.component.html
client/src/app/+admin/follows/following-list/following-list.component.html
client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html
client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
client/src/app/+admin/moderation/moderation.component.scss
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
server/helpers/middlewares/video-abuses.ts
server/initializers/constants.ts
server/initializers/migrations/0490-abuse-video.ts [new file with mode: 0644]
server/middlewares/validators/videos/video-abuses.ts
server/models/video/video-abuse.ts
server/models/video/video.ts
server/typings/models/video/video-abuse.ts
shared/models/videos/abuse/video-abuse.model.ts