Commit Graph

824 Commits (8221fef0f9d9b426fa498840d3f4fe2abfe19788)

Author SHA1 Message Date
Bigard Florian 339f0c8062 Fix upgrade script (again...) 2017-04-27 16:00:10 +02:00
Bigard Florian aa77e1c2ac Fix upgrade script 2017-04-27 15:36:35 +02:00
Bigard Florian 94f12771f5 Add yarn to npm run upgrade 2017-04-27 11:38:42 +02:00
Chocobozzz bf57f073ee Add yarn cache to travis 2017-04-26 22:49:58 +02:00
Chocobozzz 85cd99dc84 Use yarn instead of npm install 2017-04-26 22:45:27 +02:00
Chocobozzz ea893004aa Remove unnecessary script 2017-04-26 22:33:31 +02:00
Chocobozzz 85ec3eb7f3 Remove Node 4 support 2017-04-26 22:32:33 +02:00
Chocobozzz 165c8d2558 Fix travis lint tests 2017-04-26 21:52:49 +02:00
Chocobozzz d61e81538b Client: fix compilation 2017-04-26 21:48:54 +02:00
Chocobozzz ab683a8e0d Format video blacklist 2017-04-26 21:42:36 +02:00
Chocobozzz 32502eda29 Client: fix bad rebase 2017-04-26 21:25:02 +02:00
Chocobozzz 6716739082 Client: add ability to hide left menu 2017-04-26 21:23:19 +02:00
Chocobozzz d1a00ddbe2 Client: add github and licence link in footer 2017-04-26 21:23:19 +02:00
Chocobozzz efbf0ed7f2 Client: adjust viewport height 2017-04-26 21:23:19 +02:00
Chocobozzz 8ce9e815c8 Client: display video tags 2017-04-26 21:23:19 +02:00
Chocobozzz b362290d40 Client: Use recharge typo for logo
http://www.dafont.com/recharge.font?text=PeerTube
2017-04-26 21:23:19 +02:00
Chocobozzz d7c152a491 Add credit 2017-04-26 21:23:19 +02:00
Chocobozzz 897ec54d76 Client: beautiful watch page 2017-04-26 21:23:19 +02:00
Chocobozzz ea9f487b40 Client: fixed header and menu 2017-04-26 21:23:19 +02:00
Chocobozzz 6562f1f727 Client: add titles to menu blocks 2017-04-26 21:23:19 +02:00
Chocobozzz 09223546a4 Client Better design for video watch 2017-04-26 21:23:19 +02:00
Chocobozzz 383bfc8356 Client: responsive design 2017-04-26 21:23:19 +02:00
Chocobozzz 240c64c5f4 Client: avoid loading javascript ressource over the network 2017-04-26 21:22:51 +02:00
Chocobozzz c689fcdca2 Client: use builtin email validator 2017-04-26 21:22:51 +02:00
Chocobozzz 16a31eb741 Server: upgrade to official version of express-oauth-server 2017-04-26 21:22:51 +02:00
Green-Star 198b205c10 Add ability for an administrator to remove any video (#61)
* 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
2017-04-26 21:22:10 +02:00
Chocobozzz 00871a2617 Update README features 2017-04-16 14:26:40 +02:00
Chocobozzz 0dd079da27 Update standard -> 10 2017-04-16 14:25:37 +02:00
Chocobozzz 3758da9489 Client: use ng2-tag-input for forms with video tags 2017-04-16 14:06:48 +02:00
Chocobozzz ad42bea3a5 Client: update to angular 4 2017-04-12 22:00:17 +02:00
Chocobozzz d8e689b864 Client: add basic support for updating a video 2017-04-10 21:16:36 +02:00
Chocobozzz a184c71b52 Client: support signup 2017-04-10 20:29:33 +02:00
Chocobozzz c36b4ff77e Server: fix tests 2017-04-09 12:31:04 +02:00
Chocobozzz 199cef3ab5 Reorganize readme 2017-04-09 12:13:51 +02:00
Chocobozzz 2c2e909216 Server: add ability to register new user 2017-04-09 12:08:36 +02:00
Chocobozzz db216afd98 Client: support video language 2017-04-07 14:57:05 +02:00
Chocobozzz 3092476e64 Server: add video language attribute 2017-04-07 12:13:37 +02:00
Chocobozzz 023553a2bd Add link to wiki for production installation 2017-04-07 09:53:18 +02:00
Chocobozzz 41aa84ccb7 Put in evidence dev admin username/password 2017-04-07 09:16:40 +02:00
Chocobozzz af5e743b01 Client: add ability for user to change nsfw settings 2017-04-06 21:21:03 +02:00
Chocobozzz 92fb909c9b Client: Handle NSFW video 2017-04-04 21:37:03 +02:00
Chocobozzz 1d49e1e27d Server: Add NSFW in user profile 2017-04-03 21:24:36 +02:00
Chocobozzz 31b59b4774 Server: add nsfw attribute 2017-03-28 21:19:46 +02:00
Chocobozzz d07137b90b Client: add support for video licences 2017-03-27 21:11:37 +02:00
Chocobozzz 6f0c39e2de Server: add licence video attribute 2017-03-27 20:53:11 +02:00
Chocobozzz 2897488928 Fix david-dm badge links 2017-03-27 18:52:16 +02:00
Chocobozzz b4c5ac97ff Server: refractoring upload/update video test utils 2017-03-26 18:39:01 +02:00
Chocobozzz f6e692f5ee Fix tag tests 2017-03-22 22:13:11 +01:00
Chocobozzz e54163c2d5 Relax on tags (accept any characters and not required anymore) 2017-03-22 21:56:02 +01:00
Chocobozzz 6e07c3de88 Add video category support 2017-03-22 21:25:24 +01:00