Server: add video abuse support
authorChocobozzz <florian.bigard@gmail.com>
Wed, 4 Jan 2017 19:59:23 +0000 (20:59 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 4 Jan 2017 20:05:13 +0000 (21:05 +0100)
commit55fa55a9be566cca2ba95322f2ae23b434aed62a
treef51ef35c120ce8a928917a659418079538cdb8dc
parenta6fd2b30bf717eec14972a2175354781f5f43e77
Server: add video abuse support
35 files changed:
client/src/app/admin/friends/friend-list/friend-list.component.ts
client/src/app/admin/friends/shared/friend.service.ts
config/default.yaml
server.js
server/controllers/api/pods.js
server/controllers/api/remote/videos.js
server/controllers/api/users.js
server/controllers/api/videos.js
server/helpers/custom-validators/index.js
server/helpers/custom-validators/remote/index.js [new file with mode: 0644]
server/helpers/custom-validators/remote/videos.js [new file with mode: 0644]
server/helpers/custom-validators/videos.js
server/helpers/utils.js
server/initializers/constants.js
server/lib/friends.js
server/middlewares/sort.js
server/middlewares/validators/remote.js [deleted file]
server/middlewares/validators/remote/index.js [new file with mode: 0644]
server/middlewares/validators/remote/signature.js [new file with mode: 0644]
server/middlewares/validators/remote/videos.js [new file with mode: 0644]
server/middlewares/validators/sort.js
server/middlewares/validators/videos.js
server/models/request-to-pod.js [new file with mode: 0644]
server/models/requestToPod.js [deleted file]
server/models/video-abuse.js [new file with mode: 0644]
server/models/video-tag.js [new file with mode: 0644]
server/models/video.js
server/models/videoTag.js [deleted file]
server/tests/api/check-params/index.js
server/tests/api/check-params/remotes.js
server/tests/api/check-params/video-abuses.js [new file with mode: 0644]
server/tests/api/friends-advanced.js
server/tests/api/friends-basic.js
server/tests/api/video-abuse.js [new file with mode: 0644]
server/tests/utils/video-abuses.js [new file with mode: 0644]