aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Add ability for an administrator to remove any video (#61)Green-Star2017-04-265-21/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability for an admin to remove every video on the pod. * Server: add BlacklistedVideos relation. * Server: Insert in BlacklistedVideos relation upon deletion of a video. * Server: Modify BlacklistedVideos schema to add Pod id information. * Server: Moving insertion of a blacklisted video from the `afterDestroy` hook into the process of deletion of a video. To avoid inserting a video when it is removed on its origin pod. When a video is removed on its origin pod, the `afterDestroy` hook is fire, but no request is made on the delete('/:videoId') interface. Hence, we insert into `BlacklistedVideos` only on request on delete('/:videoId') (if requirements for insertion are met). * Server: Add removeVideoFromBlacklist hook on deletion of a video. We are going to proceed in another way :). We will add a new route : /:videoId/blacklist to blacklist a video. We do not blacklist a video upon its deletion now (to distinguish a video blacklist from a regular video delete) When we blacklist a video, the video remains in the DB, so we don't have any concern about its update. It just doesn't appear in the video list. When we remove a video, we then have to remove it from the blacklist too. We could also remove a video from the blacklist to 'unremove' it and make it appear again in the video list (will be another feature). * Server: Add handler for new route post(/:videoId/blacklist) * Client: Add isBlacklistable method * Client: Update isRemovableBy method. * Client: Move 'Delete video' feature from the video-list to the video-watch module. * Server: Exclude blacklisted videos from the video list * Server: Use findAll() in BlacklistedVideos.list() method * Server: Fix addVideoToBlacklist function. * Client: Add blacklist feature. * Server: Use JavaScript Standard Style. * Server: In checkUserCanDeleteVideo, move the callback call inside the db callback function * Server: Modify BlacklistVideo relation * Server: Modifiy Videos methods. * Server: Add checkVideoIsBlacklistable method * Server: Rewrite addVideoToBlacklist method * Server: Fix checkVideoIsBlacklistable method * Server: Add return to addVideoToBlacklist method
* Update standard -> 10Chocobozzz2017-04-163-10/+18
|
* Server: fix testsChocobozzz2017-04-091-0/+1
|
* Server: add ability to register new userChocobozzz2017-04-094-2/+176
|
* Server: add video language attributeChocobozzz2017-04-0714-3/+197
|
* Server: Add NSFW in user profileChocobozzz2017-04-039-8/+90
|
* Server: add nsfw attributeChocobozzz2017-03-2814-2/+154
|
* Server: add licence video attributeChocobozzz2017-03-2714-3/+209
|
* Server: refractoring upload/update video test utilsChocobozzz2017-03-2612-146/+158
|
* Fix tag testsChocobozzz2017-03-221-45/+0
|
* Relax on tags (accept any characters and not required anymore)Chocobozzz2017-03-224-17/+3
|
* Add video category supportChocobozzz2017-03-2220-27/+250
|
* Server: move pod remove to remote pathChocobozzz2017-03-194-27/+45
|
* Better real world testChocobozzz2017-03-193-19/+147
|
* Server: add config endpointChocobozzz2017-03-107-1/+106
|
* Allow to sort by likesChocobozzz2017-03-081-1/+1
|
* Add like/dislike system for videosChocobozzz2017-03-0822-35/+740
|
* Server: add views attribute when sending videos to friendsChocobozzz2017-03-043-4/+8
|
* Server: typoChocobozzz2017-03-041-1/+1
|
* Server: fix migrations with an empty Applications tableChocobozzz2017-03-042-1/+13
|
* Server: fix requests endpointsChocobozzz2017-03-043-7/+11
|
* Update bittorrent-tracker and standard to v9Chocobozzz2017-03-0320-7/+26
|
* Fix request schedulers statsChocobozzz2017-02-273-18/+57
|
* Server: request scheduler refractoringChocobozzz2017-02-262-14/+5
|
* Server: little sort refractoringChocobozzz2017-02-262-12/+17
|
* Server: implement video viewsChocobozzz2017-02-2615-48/+612
|
* Server: make a basic "quick and dirty update" for videosChocobozzz2017-02-2619-216/+796
| | | | | | | | This system will be useful to to update some int video attributes (likes, dislikes, views...) The classic system is not used because we need some optimization for scaling
* This is not a prototype anymore, but a real project!Chocobozzz2017-02-262-4/+2
|
* Server: fix migration scriptsChocobozzz2017-02-185-28/+114
|
* Server: use a request scheduler object instance for friendsChocobozzz2017-02-183-225/+244
| | | | communication
* Add email to usersChocobozzz2017-02-1810-6/+112
|
* Server: add unique to unique indexesChocobozzz2017-02-163-3/+10
|
* Add email to podsChocobozzz2017-02-1610-21/+46
|
* Server: update express-validatorChocobozzz2017-02-102-4/+18
|
* Fix update host scriptChocobozzz2017-02-081-1/+1
|
* Client: replace simple tables by ng2 smart table componentChocobozzz2017-01-301-2/+2
|
* Server: assert remoteId and host pair is uniqueChocobozzz2017-01-272-0/+12
|
* Server: error if we add a pod that already existsChocobozzz2017-01-275-11/+40
|
* Fix testsChocobozzz2017-01-231-1/+2
|
* Client: add basic support to report video abusesChocobozzz2017-01-232-2/+3
|
* Client: add ability to report a videoChocobozzz2017-01-201-1/+0
|
* Adapt requests controller/front to new informationsChocobozzz2017-01-191-1/+2
|
* Server: paths refractoringChocobozzz2017-01-178-37/+60
|
* Server: requests refractoringChocobozzz2017-01-172-39/+40
|
* Server: remote video validators refractoringChocobozzz2017-01-173-32/+29
|
* Server: remote request process refractoringChocobozzz2017-01-172-20/+28
|
* Server: transaction refractoringChocobozzz2017-01-173-84/+68
|
* Server: fix update remote videoChocobozzz2017-01-151-2/+2
|
* Server: create transaction refractoringChocobozzz2017-01-154-72/+75
|
* Server: retryer transaction wrapper refractoringChocobozzz2017-01-153-50/+50
|