]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Add state and moderationComment for abuses on server side
authorChocobozzz <me@florianbigard.com>
Fri, 10 Aug 2018 14:54:01 +0000 (16:54 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Aug 2018 14:54:01 +0000 (16:54 +0200)
commit268eebed921ac13a9ce0f4717f4923aa24190657
tree52f8436968c8dcc686663ef5db8dffd7ed191d34
parent904a463c7792837f0a468a522a28448323e48593
Add state and moderationComment for abuses on server side
19 files changed:
server/controllers/api/videos/abuse.ts
server/helpers/custom-validators/activitypub/videos.ts
server/helpers/custom-validators/video-abuses.ts [new file with mode: 0644]
server/helpers/custom-validators/videos.ts
server/initializers/constants.ts
server/initializers/migrations/0250-video-abuse-state.ts [new file with mode: 0644]
server/lib/activitypub/process/process-create.ts
server/middlewares/validators/index.ts
server/middlewares/validators/video-abuses.ts [new file with mode: 0644]
server/middlewares/validators/videos.ts
server/models/video/video-abuse.ts
server/models/video/video-import.ts
server/tests/api/check-params/video-abuses.ts
server/tests/api/videos/video-abuse.ts
server/tests/utils/videos/video-abuses.ts
shared/models/videos/index.ts
shared/models/videos/video-abuse-state.model.ts [new file with mode: 0644]
shared/models/videos/video-abuse-update.model.ts [new file with mode: 0644]
shared/models/videos/video-abuse.model.ts