Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ability for an administrator to remove any video (#61) | Green-Star | 2017-04-26 | 8 | -45/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Client: use ng2-tag-input for forms with video tags | Chocobozzz | 2017-04-16 | 7 | -140/+34 |
| | |||||
* | Client: update to angular 4 | Chocobozzz | 2017-04-12 | 12 | -21/+22 |
| | |||||
* | Client: add basic support for updating a video | Chocobozzz | 2017-04-10 | 14 | -6/+354 |
| | |||||
* | Client: support signup | Chocobozzz | 2017-04-10 | 9 | -0/+188 |
| | |||||
* | Client: support video language | Chocobozzz | 2017-04-07 | 8 | -1/+56 |
| | |||||
* | Client: add ability for user to change nsfw settings | Chocobozzz | 2017-04-06 | 13 | -83/+242 |
| | |||||
* | Client: Handle NSFW video | Chocobozzz | 2017-04-04 | 15 | -22/+157 |
| | |||||
* | Client: add support for video licences | Chocobozzz | 2017-03-27 | 8 | -0/+58 |
| | |||||
* | Relax on tags (accept any characters and not required anymore) | Chocobozzz | 2017-03-22 | 3 | -23/+28 |
| | |||||
* | Add video category support | Chocobozzz | 2017-03-22 | 8 | -3/+74 |
| | |||||
* | Client: fix routes title | Chocobozzz | 2017-03-12 | 8 | -16/+16 |
| | |||||
* | Client: fix prod compilation | Chocobozzz | 2017-03-10 | 1 | -1/+1 |
| | |||||
* | Client: switch to @nglibs/meta | Chocobozzz | 2017-03-10 | 3 | -14/+19 |
| | |||||
* | Allow to sort by likes | Chocobozzz | 2017-03-08 | 3 | -4/+8 |
| | |||||
* | Add like/dislike system for videos | Chocobozzz | 2017-03-08 | 9 | -12/+167 |
| | |||||
* | Client: check token valitidy at startup | Chocobozzz | 2017-03-04 | 14 | -25/+44 |
| | |||||
* | Fix request schedulers stats | Chocobozzz | 2017-02-27 | 5 | -42/+89 |
| | |||||
* | Client: add views information and sort | Chocobozzz | 2017-02-26 | 7 | -15/+40 |
| | |||||
* | Add email to users | Chocobozzz | 2017-02-18 | 9 | -6/+52 |
| | |||||
* | Add email to pods | Chocobozzz | 2017-02-16 | 2 | -0/+5 |
| | |||||
* | Client: fix lint | Chocobozzz | 2017-02-10 | 8 | -12/+12 |
| | |||||
* | Client: fix angular2-notifications dep... | Chocobozzz | 2017-02-05 | 1 | -1/+1 |
| | |||||
* | Client: replace simple tables by ng2 smart table component | Chocobozzz | 2017-01-30 | 14 | -158/+239 |
| | |||||
* | Client: notify client if there are webtorrent errors | Chocobozzz | 2017-01-29 | 2 | -10/+21 |
| | |||||
* | Client: better confirm box for a beautiful world | Chocobozzz | 2017-01-27 | 12 | -39/+176 |
| | |||||
* | Client: better notifications for a beautiful world | Chocobozzz | 2017-01-27 | 17 | -47/+131 |
| | |||||
* | Client: fix video timeout | Chocobozzz | 2017-01-27 | 1 | -9/+8 |
| | |||||
* | Client: lazy load admin area | Chocobozzz | 2017-01-23 | 53 | -13/+17 |
| | |||||
* | Client: add basic support to report video abuses | Chocobozzz | 2017-01-23 | 18 | -9/+182 |
| | |||||
* | Client: add ability to report a video | Chocobozzz | 2017-01-20 | 10 | -5/+174 |
| | |||||
* | Adapt requests controller/front to new informations | Chocobozzz | 2017-01-19 | 4 | -23/+46 |
| | |||||
* | Client: fix client error handling | Chocobozzz | 2017-01-19 | 1 | -0/+1 |
| | |||||
* | Client: update ng2-meta | Chocobozzz | 2017-01-13 | 3 | -3/+3 |
| | |||||
* | Client: add basic aot support | Chocobozzz | 2017-01-13 | 15 | -22/+44 |
| | |||||
* | Server: add video abuse support | Chocobozzz | 2017-01-04 | 2 | -6/+12 |
| | |||||
* | Client: upgrade angular dep' | Chocobozzz | 2016-12-29 | 3 | -11/+12 |
| | |||||
* | First version with PostgreSQL | Chocobozzz | 2016-12-19 | 17 | -32/+29 |
| | |||||
* | Client: redirect /videos/:id to /videos/watch/:id | Chocobozzz | 2016-11-29 | 1 | -0/+4 |
| | |||||
* | Client: move menu component in core module | Chocobozzz | 2016-11-29 | 5 | -9/+10 |
| | |||||
* | Client: Get videos -> See videos | Chocobozzz | 2016-11-29 | 1 | -1/+1 |
| | |||||
* | Client: try to improve ux for the upload form | Chocobozzz | 2016-11-27 | 4 | -28/+57 |
| | |||||
* | Client: improve host regex | Chocobozzz | 2016-11-27 | 2 | -8/+6 |
| | |||||
* | Client: fix https warning in make friends | Chocobozzz | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | Client: split in angular modules | Chocobozzz | 2016-11-21 | 32 | -172/+369 |
| | |||||
* | Client: add warning if the user want to embed a video of a non https website | Chocobozzz | 2016-11-21 | 2 | -0/+8 |
| | |||||
* | Client: move video watch modals in their own component | Chocobozzz | 2016-11-21 | 9 | -75/+122 |
| | |||||
* | Client: add message if the admin wants to make friends without https | Chocobozzz | 2016-11-16 | 2 | -0/+8 |
| | |||||
* | Client: add video not found message if the video... is not found | Chocobozzz | 2016-11-16 | 4 | -3/+24 |
| | |||||
* | Pod URL -> pod host. HTTPS is required to make friends. | Chocobozzz | 2016-11-16 | 10 | -67/+58 |
| | | | | | Reason: in a network with mix http/https pods, https pods won't be able to play videos from http pod (insecure requests). |