Add like/dislike system for videos
authorChocobozzz <florian.bigard@gmail.com>
Wed, 8 Mar 2017 20:35:43 +0000 (21:35 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 8 Mar 2017 20:35:43 +0000 (21:35 +0100)
commitd38b82810638b9f664c9016fac2684454c273a77
tree9465c367e5033675309efca4d66790c6fdd5230d
parent8f9064432122cba0f518a24ac4378357dadec589
Add like/dislike system for videos
31 files changed:
client/src/app/shared/users/user.service.ts
client/src/app/videos/shared/index.ts
client/src/app/videos/shared/rate-type.type.ts [new file with mode: 0644]
client/src/app/videos/shared/sort-field.type.ts
client/src/app/videos/shared/video.model.ts
client/src/app/videos/shared/video.service.ts
client/src/app/videos/video-watch/video-watch.component.html
client/src/app/videos/video-watch/video-watch.component.scss
client/src/app/videos/video-watch/video-watch.component.ts
server/controllers/api/remote/videos.js
server/controllers/api/users.js
server/controllers/api/videos.js
server/helpers/custom-validators/remote/videos.js
server/helpers/custom-validators/videos.js
server/initializers/constants.js
server/initializers/migrations/0020-video-likes.js [new file with mode: 0644]
server/initializers/migrations/0025-video-dislikes.js [new file with mode: 0644]
server/lib/friends.js
server/lib/request-video-qadu-scheduler.js
server/middlewares/validators/users.js
server/middlewares/validators/videos.js
server/models/request-video-event.js
server/models/user-video-rate.js [new file with mode: 0644]
server/models/video.js
server/tests/api/check-params/users.js
server/tests/api/check-params/videos.js
server/tests/api/multiple-pods.js
server/tests/api/single-pod.js
server/tests/api/users.js
server/tests/utils/users.js
server/tests/utils/videos.js