oweals/peertube.git
7 years agoFix issue with node-sass and yarn
Chocobozzz [Sun, 25 Jun 2017 12:51:01 +0000 (14:51 +0200)]
Fix issue with node-sass and yarn

7 years agoReturn to sequelize@4.0.0-2 (makes tests fail)
Chocobozzz [Sun, 25 Jun 2017 11:51:19 +0000 (13:51 +0200)]
Return to sequelize@4.0.0-2 (makes tests fail)

7 years agoFix play script
Chocobozzz [Sun, 25 Jun 2017 09:36:57 +0000 (11:36 +0200)]
Fix play script

7 years agoFix client admin
Chocobozzz [Sun, 25 Jun 2017 09:35:09 +0000 (11:35 +0200)]
Fix client admin

7 years agoFix client build
Chocobozzz [Sun, 25 Jun 2017 09:33:16 +0000 (11:33 +0200)]
Fix client build

A node dep is in ES2015, but uglify is not compatible.

Temporary quick fix -> use babel on this module (awaiting an official
support of uglify and webpack for ES2015)

7 years agoUpdate dependencies
Chocobozzz [Sun, 25 Jun 2017 08:33:59 +0000 (10:33 +0200)]
Update dependencies

7 years agoUpdate sequelize
Chocobozzz [Sun, 25 Jun 2017 06:54:59 +0000 (08:54 +0200)]
Update sequelize

7 years agoStop mocha tests after a failure
Chocobozzz [Sat, 24 Jun 2017 08:37:43 +0000 (10:37 +0200)]
Stop mocha tests after a failure

7 years agoExcluse .js.map when scanning models/ directory
Chocobozzz [Sat, 24 Jun 2017 08:30:23 +0000 (10:30 +0200)]
Excluse .js.map when scanning models/ directory

7 years agoDon't generate yarn lockfile on upgrade
Chocobozzz [Sat, 24 Jun 2017 08:17:44 +0000 (10:17 +0200)]
Don't generate yarn lockfile on upgrade

7 years agoUpdate systemd service template
Chocobozzz [Tue, 20 Jun 2017 18:34:41 +0000 (20:34 +0200)]
Update systemd service template

7 years agoFix client compilation
Chocobozzz [Tue, 20 Jun 2017 18:20:09 +0000 (20:20 +0200)]
Fix client compilation

7 years agoUpdate README schemas
Chocobozzz [Tue, 20 Jun 2017 16:52:57 +0000 (18:52 +0200)]
Update README schemas

7 years agoShare models between server and client
Chocobozzz [Sat, 17 Jun 2017 09:28:11 +0000 (11:28 +0200)]
Share models between server and client

7 years agoUse typescript standard and lint all files
Chocobozzz [Fri, 16 Jun 2017 12:32:15 +0000 (14:32 +0200)]
Use typescript standard and lint all files

7 years agoFix client compilation
Chocobozzz [Fri, 16 Jun 2017 09:01:45 +0000 (11:01 +0200)]
Fix client compilation

7 years agoCreate types for model enums
Chocobozzz [Fri, 16 Jun 2017 08:36:18 +0000 (10:36 +0200)]
Create types for model enums

7 years agoAdd this context to instance model functions
Chocobozzz [Fri, 16 Jun 2017 07:54:59 +0000 (09:54 +0200)]
Add this context to instance model functions

7 years agoReorganize model files
Chocobozzz [Fri, 16 Jun 2017 07:45:46 +0000 (09:45 +0200)]
Reorganize model files

7 years agoBaseRequestScheduler -> AbstractRequestScheduler
Chocobozzz [Fri, 16 Jun 2017 07:14:41 +0000 (09:14 +0200)]
BaseRequestScheduler -> AbstractRequestScheduler

7 years agoUpdate readme/doc with new client port for dev
Chocobozzz [Wed, 14 Jun 2017 19:37:49 +0000 (21:37 +0200)]
Update readme/doc with new client port for dev

7 years agoFix video update test
Chocobozzz [Mon, 12 Jun 2017 19:31:58 +0000 (21:31 +0200)]
Fix video update test

7 years agoConvert scripts to typescript
Chocobozzz [Mon, 12 Jun 2017 19:06:32 +0000 (21:06 +0200)]
Convert scripts to typescript

7 years agoFix prod clean script
Chocobozzz [Mon, 12 Jun 2017 18:34:50 +0000 (20:34 +0200)]
Fix prod clean script

7 years agoFix prod build
Chocobozzz [Sun, 11 Jun 2017 15:49:13 +0000 (17:49 +0200)]
Fix prod build

7 years agoBetter models define typing
Chocobozzz [Sun, 11 Jun 2017 15:35:32 +0000 (17:35 +0200)]
Better models define typing

7 years agoBundle webtorrent with webpack. Closes https://github.com/Chocobozzz/PeerTube/issues/50
Chocobozzz [Sun, 11 Jun 2017 13:25:36 +0000 (15:25 +0200)]
Bundle webtorrent with webpack. Closes https://github.com/Chocobozzz/PeerTube/issues/50

7 years agoUpdate webpack stack
Chocobozzz [Sun, 11 Jun 2017 13:19:43 +0000 (15:19 +0200)]
Update webpack stack

7 years agoUpdate client modules
Chocobozzz [Sun, 11 Jun 2017 10:28:22 +0000 (12:28 +0200)]
Update client modules

7 years agoBetter build/dev scripts
Chocobozzz [Sun, 11 Jun 2017 09:29:03 +0000 (11:29 +0200)]
Better build/dev scripts

7 years agoUse shared models
Chocobozzz [Sun, 11 Jun 2017 09:02:35 +0000 (11:02 +0200)]
Use shared models

7 years agoAdapt scripts to typescript
Chocobozzz [Sat, 10 Jun 2017 20:57:31 +0000 (22:57 +0200)]
Adapt scripts to typescript

7 years agoType functions
Chocobozzz [Sat, 10 Jun 2017 20:15:25 +0000 (22:15 +0200)]
Type functions

7 years agorequire -> import
Chocobozzz [Mon, 5 Jun 2017 19:53:49 +0000 (21:53 +0200)]
require -> import

7 years agoType models
Chocobozzz [Mon, 22 May 2017 18:58:25 +0000 (20:58 +0200)]
Type models

7 years agoFirst typescript iteration
Chocobozzz [Mon, 15 May 2017 20:22:03 +0000 (22:22 +0200)]
First typescript iteration

7 years agoUpdate README
Chocobozzz [Fri, 5 May 2017 16:17:19 +0000 (18:17 +0200)]
Update README

7 years agoServer: move requests lib in their own directory
Chocobozzz [Fri, 5 May 2017 15:35:58 +0000 (17:35 +0200)]
Server: move requests lib in their own directory

7 years agoServer: finish old jobs at startup
Chocobozzz [Fri, 5 May 2017 15:24:16 +0000 (17:24 +0200)]
Server: finish old jobs at startup

7 years agoServer: check ffmpeg at startup
Chocobozzz [Fri, 5 May 2017 15:15:21 +0000 (17:15 +0200)]
Server: check ffmpeg at startup

7 years agoServer: split videos controller
Chocobozzz [Fri, 5 May 2017 14:53:35 +0000 (16:53 +0200)]
Server: split videos controller

7 years agoClient: little refractoring
Chocobozzz [Fri, 5 May 2017 14:08:43 +0000 (16:08 +0200)]
Client: little refractoring

7 years agoFix unset video language on video update
Chocobozzz [Fri, 5 May 2017 12:29:58 +0000 (14:29 +0200)]
Fix unset video language on video update

7 years agoClient: fix update button displayed on non owned video
Chocobozzz [Fri, 5 May 2017 12:11:01 +0000 (14:11 +0200)]
Client: fix update button displayed on non owned video

7 years agoFix tests
Chocobozzz [Fri, 5 May 2017 11:42:52 +0000 (13:42 +0200)]
Fix tests

7 years agoServer: Fix video propagation with transcoding enabled
Chocobozzz [Fri, 5 May 2017 10:15:16 +0000 (12:15 +0200)]
Server: Fix video propagation with transcoding enabled

7 years agoServer: add tests to video transcoder
Chocobozzz [Thu, 4 May 2017 19:51:00 +0000 (21:51 +0200)]
Server: add tests to video transcoder

7 years agoServer: add job scheduler to transcode video files
Chocobozzz [Tue, 2 May 2017 20:02:27 +0000 (22:02 +0200)]
Server: add job scheduler to transcode video files

7 years agoServer: little refractoring when listing videos
Chocobozzz [Mon, 1 May 2017 17:09:55 +0000 (19:09 +0200)]
Server: little refractoring when listing videos

7 years agoServer: add tests for video blacklists
Chocobozzz [Mon, 1 May 2017 17:04:29 +0000 (19:04 +0200)]
Server: add tests for video blacklists

7 years agoClient: try to be responsive
Chocobozzz [Mon, 1 May 2017 16:05:28 +0000 (18:05 +0200)]
Client: try to be responsive

7 years agoChange screenshot
Chocobozzz [Sun, 30 Apr 2017 17:34:41 +0000 (19:34 +0200)]
Change screenshot

7 years agoClient: minor css fixes
Chocobozzz [Sat, 29 Apr 2017 16:34:10 +0000 (18:34 +0200)]
Client: minor css fixes

7 years agoFix upgrade script (again...)
Bigard Florian [Thu, 27 Apr 2017 14:00:10 +0000 (16:00 +0200)]
Fix upgrade script (again...)

7 years agoFix upgrade script
Bigard Florian [Thu, 27 Apr 2017 13:36:35 +0000 (15:36 +0200)]
Fix upgrade script

7 years agoAdd yarn to npm run upgrade
Bigard Florian [Thu, 27 Apr 2017 09:38:42 +0000 (11:38 +0200)]
Add yarn to npm run upgrade

7 years agoAdd yarn cache to travis
Chocobozzz [Wed, 26 Apr 2017 20:49:47 +0000 (22:49 +0200)]
Add yarn cache to travis

7 years agoUse yarn instead of npm install
Chocobozzz [Wed, 26 Apr 2017 20:45:27 +0000 (22:45 +0200)]
Use yarn instead of npm install

7 years agoRemove unnecessary script
Chocobozzz [Wed, 26 Apr 2017 20:33:31 +0000 (22:33 +0200)]
Remove unnecessary script

7 years agoRemove Node 4 support
Chocobozzz [Wed, 26 Apr 2017 20:32:33 +0000 (22:32 +0200)]
Remove Node 4 support

7 years agoFix travis lint tests
Chocobozzz [Wed, 26 Apr 2017 19:52:49 +0000 (21:52 +0200)]
Fix travis lint tests

7 years agoClient: fix compilation
Chocobozzz [Wed, 26 Apr 2017 19:46:56 +0000 (21:46 +0200)]
Client: fix compilation

7 years agoFormat video blacklist
Chocobozzz [Wed, 26 Apr 2017 19:42:36 +0000 (21:42 +0200)]
Format video blacklist

7 years agoClient: fix bad rebase
Chocobozzz [Wed, 26 Apr 2017 19:25:02 +0000 (21:25 +0200)]
Client: fix bad rebase

7 years agoClient: add ability to hide left menu
Chocobozzz [Wed, 26 Apr 2017 19:22:00 +0000 (21:22 +0200)]
Client: add ability to hide left menu

7 years agoClient: add github and licence link in footer
Chocobozzz [Sun, 23 Apr 2017 20:22:41 +0000 (22:22 +0200)]
Client: add github and licence link in footer

7 years agoClient: adjust viewport height
Chocobozzz [Sun, 23 Apr 2017 20:13:58 +0000 (22:13 +0200)]
Client: adjust viewport height

7 years agoClient: display video tags
Chocobozzz [Sun, 23 Apr 2017 19:57:08 +0000 (21:57 +0200)]
Client: display video tags

7 years agoClient: Use recharge typo for logo
Chocobozzz [Sun, 23 Apr 2017 09:18:20 +0000 (11:18 +0200)]
Client: Use recharge typo for logo

http://www.dafont.com/recharge.font?text=PeerTube

7 years agoAdd credit
Chocobozzz [Sun, 23 Apr 2017 09:18:11 +0000 (11:18 +0200)]
Add credit

7 years agoClient: beautiful watch page
Chocobozzz [Fri, 21 Apr 2017 16:26:09 +0000 (18:26 +0200)]
Client: beautiful watch page

7 years agoClient: fixed header and menu
Chocobozzz [Fri, 21 Apr 2017 15:12:28 +0000 (17:12 +0200)]
Client: fixed header and menu

7 years agoClient: add titles to menu blocks
Chocobozzz [Fri, 21 Apr 2017 14:51:03 +0000 (16:51 +0200)]
Client: add titles to menu blocks

7 years agoClient Better design for video watch
Chocobozzz [Fri, 21 Apr 2017 14:40:45 +0000 (16:40 +0200)]
Client Better design for video watch

7 years agoClient: responsive design
Chocobozzz [Fri, 21 Apr 2017 09:06:33 +0000 (11:06 +0200)]
Client: responsive design

7 years agoClient: avoid loading javascript ressource over the network
Chocobozzz [Mon, 17 Apr 2017 10:24:18 +0000 (12:24 +0200)]
Client: avoid loading javascript ressource over the network

7 years agoClient: use builtin email validator
Chocobozzz [Sun, 16 Apr 2017 17:52:06 +0000 (19:52 +0200)]
Client: use builtin email validator

7 years agoServer: upgrade to official version of express-oauth-server
Chocobozzz [Sun, 16 Apr 2017 17:42:30 +0000 (19:42 +0200)]
Server: upgrade to official version of express-oauth-server

7 years agoAdd ability for an administrator to remove any video (#61)
Green-Star [Wed, 26 Apr 2017 19:22:10 +0000 (21:22 +0200)]
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

7 years agoUpdate README features
Chocobozzz [Sun, 16 Apr 2017 12:26:40 +0000 (14:26 +0200)]
Update README features

7 years agoUpdate standard -> 10
Chocobozzz [Sun, 16 Apr 2017 12:25:37 +0000 (14:25 +0200)]
Update standard -> 10

7 years agoClient: use ng2-tag-input for forms with video tags
Chocobozzz [Sun, 16 Apr 2017 12:06:48 +0000 (14:06 +0200)]
Client: use ng2-tag-input for forms with video tags

7 years agoClient: update to angular 4
Chocobozzz [Wed, 12 Apr 2017 20:00:17 +0000 (22:00 +0200)]
Client: update to angular 4

7 years agoClient: add basic support for updating a video
Chocobozzz [Mon, 10 Apr 2017 19:15:28 +0000 (21:15 +0200)]
Client: add basic support for updating a video

7 years agoClient: support signup
Chocobozzz [Mon, 10 Apr 2017 18:29:33 +0000 (20:29 +0200)]
Client: support signup

7 years agoServer: fix tests
Chocobozzz [Sun, 9 Apr 2017 10:31:04 +0000 (12:31 +0200)]
Server: fix tests

7 years agoReorganize readme
Chocobozzz [Sun, 9 Apr 2017 10:13:51 +0000 (12:13 +0200)]
Reorganize readme

7 years agoServer: add ability to register new user
Chocobozzz [Sun, 9 Apr 2017 10:08:36 +0000 (12:08 +0200)]
Server: add ability to register new user

7 years agoClient: support video language
Chocobozzz [Fri, 7 Apr 2017 12:57:05 +0000 (14:57 +0200)]
Client: support video language

7 years agoServer: add video language attribute
Chocobozzz [Fri, 7 Apr 2017 10:13:37 +0000 (12:13 +0200)]
Server: add video language attribute

7 years agoAdd link to wiki for production installation
Chocobozzz [Fri, 7 Apr 2017 07:53:18 +0000 (09:53 +0200)]
Add link to wiki for production installation

7 years agoPut in evidence dev admin username/password
Chocobozzz [Fri, 7 Apr 2017 07:16:40 +0000 (09:16 +0200)]
Put in evidence dev admin username/password

7 years agoClient: add ability for user to change nsfw settings
Chocobozzz [Thu, 6 Apr 2017 19:21:03 +0000 (21:21 +0200)]
Client: add ability for user to change nsfw settings

7 years agoClient: Handle NSFW video
Chocobozzz [Tue, 4 Apr 2017 19:37:03 +0000 (21:37 +0200)]
Client: Handle NSFW video

7 years agoServer: Add NSFW in user profile
Chocobozzz [Mon, 3 Apr 2017 19:24:36 +0000 (21:24 +0200)]
Server: Add NSFW in user profile

7 years agoServer: add nsfw attribute
Chocobozzz [Tue, 28 Mar 2017 19:19:46 +0000 (21:19 +0200)]
Server: add nsfw attribute

7 years agoClient: add support for video licences
Chocobozzz [Mon, 27 Mar 2017 19:11:37 +0000 (21:11 +0200)]
Client: add support for video licences

7 years agoServer: add licence video attribute
Chocobozzz [Mon, 27 Mar 2017 18:53:11 +0000 (20:53 +0200)]
Server: add licence video attribute

7 years agoFix david-dm badge links
Chocobozzz [Mon, 27 Mar 2017 16:52:16 +0000 (18:52 +0200)]
Fix david-dm badge links

7 years agoServer: refractoring upload/update video test utils
Chocobozzz [Sun, 26 Mar 2017 16:39:01 +0000 (18:39 +0200)]
Server: refractoring upload/update video test utils