Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ability for an administrator to remove any video (#61) | Green-Star | 2017-04-26 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Server: add ability to register new user | Chocobozzz | 2017-04-09 | 1 | -0/+16 |
| | |||||
* | Server: add video language attribute | Chocobozzz | 2017-04-07 | 2 | -0/+9 |
| | |||||
* | Server: Add NSFW in user profile | Chocobozzz | 2017-04-03 | 1 | -1/+4 |
| | |||||
* | Server: add nsfw attribute | Chocobozzz | 2017-03-28 | 2 | -0/+4 |
| | |||||
* | Server: add licence video attribute | Chocobozzz | 2017-03-27 | 2 | -0/+9 |
| | |||||
* | Add video category support | Chocobozzz | 2017-03-22 | 2 | -0/+10 |
| | |||||
* | Server: move pod remove to remote path | Chocobozzz | 2017-03-19 | 3 | -26/+44 |
| | |||||
* | Better real world test | Chocobozzz | 2017-03-19 | 1 | -1/+5 |
| | |||||
* | Server: add config endpoint | Chocobozzz | 2017-03-10 | 2 | -0/+24 |
| | |||||
* | Add like/dislike system for videos | Chocobozzz | 2017-03-08 | 3 | -7/+209 |
| | |||||
* | Server: add views attribute when sending videos to friends | Chocobozzz | 2017-03-04 | 1 | -1/+2 |
| | |||||
* | Update bittorrent-tracker and standard to v9 | Chocobozzz | 2017-03-03 | 3 | -3/+0 |
| | |||||
* | Fix request schedulers stats | Chocobozzz | 2017-02-27 | 1 | -9/+28 |
| | |||||
* | Server: implement video views | Chocobozzz | 2017-02-26 | 2 | -5/+106 |
| | |||||
* | Server: make a basic "quick and dirty update" for videos | Chocobozzz | 2017-02-26 | 2 | -0/+90 |
| | | | | | | | | 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 | ||||
* | Add email to users | Chocobozzz | 2017-02-18 | 1 | -0/+1 |
| | |||||
* | Add email to pods | Chocobozzz | 2017-02-16 | 1 | -1/+2 |
| | |||||
* | Server: assert remoteId and host pair is unique | Chocobozzz | 2017-01-27 | 1 | -0/+10 |
| | |||||
* | Server: error if we add a pod that already exists | Chocobozzz | 2017-01-27 | 1 | -1/+1 |
| | |||||
* | Adapt requests controller/front to new informations | Chocobozzz | 2017-01-19 | 1 | -1/+2 |
| | |||||
* | Server: paths refractoring | Chocobozzz | 2017-01-17 | 2 | -2/+3 |
| | |||||
* | Server: remote video validators refractoring | Chocobozzz | 2017-01-17 | 1 | -5/+1 |
| | |||||
* | Server: remote request process refractoring | Chocobozzz | 2017-01-17 | 1 | -20/+20 |
| | |||||
* | Server: transaction refractoring | Chocobozzz | 2017-01-17 | 2 | -82/+48 |
| | |||||
* | Server: fix update remote video | Chocobozzz | 2017-01-15 | 1 | -2/+2 |
| | |||||
* | Server: create transaction refractoring | Chocobozzz | 2017-01-15 | 2 | -37/+19 |
| | |||||
* | Server: retryer transaction wrapper refractoring | Chocobozzz | 2017-01-15 | 2 | -50/+30 |
| | |||||
* | Server: fix update remote video infohash | Chocobozzz | 2017-01-12 | 1 | -2/+12 |
| | |||||
* | Server: transaction serializable for videos | Chocobozzz | 2017-01-11 | 2 | -2/+2 |
| | |||||
* | Server: do not break remote videos processing on error | Chocobozzz | 2017-01-11 | 1 | -9/+24 |
| | |||||
* | Server: always check commit result | Chocobozzz | 2017-01-11 | 2 | -13/+26 |
| | |||||
* | Server: retry video abuse requests too | Chocobozzz | 2017-01-10 | 1 | -12/+56 |
| | |||||
* | Server: try to have a better video integrity | Chocobozzz | 2017-01-06 | 2 | -46/+124 |
| | |||||
* | Server: add video abuse support | Chocobozzz | 2017-01-04 | 4 | -59/+105 |
| | |||||
* | Server: move remote routes in their own directory | Chocobozzz | 2016-12-30 | 3 | -9/+23 |
| | |||||
* | Server: split check params tests | Chocobozzz | 2016-12-30 | 1 | -1/+0 |
| | |||||
* | Server: optimization for videoGet and videoRemove | Chocobozzz | 2016-12-30 | 1 | -23/+5 |
| | |||||
* | Server: add updatedAt attribute to videos | Chocobozzz | 2016-12-30 | 1 | -1/+3 |
| | |||||
* | Server: propagate video update to other pods | Chocobozzz | 2016-12-30 | 2 | -21/+89 |
| | |||||
* | Server: add ability to update a video | Chocobozzz | 2016-12-29 | 1 | -1/+84 |
| | |||||
* | Server: little refractoring | Chocobozzz | 2016-12-29 | 2 | -103/+22 |
| | |||||
* | Server: use binary data instead of base64 to send thumbnails | Chocobozzz | 2016-12-29 | 2 | -4/+2 |
| | |||||
* | Server: use video hook to send information to other pods when a video is | Chocobozzz | 2016-12-29 | 3 | -49/+9 |
| | | | | deleted | ||||
* | Server: add association between author and user | Chocobozzz | 2016-12-29 | 2 | -9/+14 |
| | |||||
* | Server: add createdAt from remote video in database | Chocobozzz | 2016-12-25 | 1 | -1/+2 |
| | |||||
* | Move tags in another table | Chocobozzz | 2016-12-24 | 3 | -37/+159 |
| | |||||
* | Server: rename Pods -> Pod | Chocobozzz | 2016-12-19 | 1 | -2/+0 |
| | |||||
* | First version with PostgreSQL | Chocobozzz | 2016-12-19 | 7 | -77/+153 |
| | |||||
* | Server: remove encryption when seending requests to other pods | Chocobozzz | 2016-11-27 | 1 | -2/+0 |
| | | | | We don't need it anymore since HTTPS is mandatory now |