A few updates for the watch video view (#181)
authorBenjamin Bouvier <public@benj.me>
Sun, 7 Jan 2018 13:48:10 +0000 (14:48 +0100)
committerChocobozzz <me@florianbigard.com>
Sun, 7 Jan 2018 13:48:10 +0000 (14:48 +0100)
commit57a49263e48739c31cd339730ac4cb24e3d5d723
tree520de9caa84113e704b39ae3b6f068a4fca7a66d
parentcbca00dfc14fe47260e8d081f4ed0bec7c66fd09
A few updates for the watch video view (#181)

* Fixes #156: Filter out the video being watched from the list of other videos of the same author;

* Fixes #167: in the video view, hide the author's domain when it's from the current host;

* Fixes #171: Allow undoing a like/dislike;
client/src/app/shared/video/video.model.ts
client/src/app/shared/video/video.service.ts
client/src/app/videos/+video-watch/video-watch.component.html
client/src/app/videos/+video-watch/video-watch.component.ts
server/controllers/api/videos/rate.ts
server/helpers/custom-validators/videos.ts
shared/models/videos/video-rate.type.ts