oweals/peertube.git
6 years agoMake backups of files in optimize-old-videos.ts (#1304)
Felix Ableitner [Tue, 23 Oct 2018 07:25:09 +0000 (02:25 -0500)]
Make backups of files in optimize-old-videos.ts (#1304)

6 years agoConfigure docker image to accept trust_proxy as an env variable in json array (#1338)
LecygneNoir [Mon, 22 Oct 2018 17:11:01 +0000 (19:11 +0200)]
Configure docker image to accept trust_proxy as an env variable in json array (#1338)

6 years agoImprove dev Dockerfile (#1333)
Kyâne Pichou [Mon, 22 Oct 2018 12:37:40 +0000 (14:37 +0200)]
Improve dev Dockerfile (#1333)

* Improve dev Dockerfile

Use Docker best-practices for the development Dockerfile. Save 3Mo.

* Update support/docker/dev/Dockerfile

Co-Authored-By: pichouk <kyane@kyane.fr>
6 years ago(doc) add manpage to peertube cli
Rigel Kent [Sat, 20 Oct 2018 17:15:41 +0000 (19:15 +0200)]
(doc) add manpage to peertube cli

6 years agoBumped to version v1.1.0-alpha.2
Chocobozzz [Fri, 19 Oct 2018 13:29:30 +0000 (15:29 +0200)]
Bumped to version v1.1.0-alpha.2

6 years ago(doc) fix path to peertube-repl
Rigel Kent [Fri, 19 Oct 2018 13:47:31 +0000 (15:47 +0200)]
(doc) fix path to peertube-repl

6 years agoFix webtorrent disabled by default
Chocobozzz [Fri, 19 Oct 2018 12:56:02 +0000 (14:56 +0200)]
Fix webtorrent disabled by default

6 years agoUpdate changelog for 1.1.0-alpha.2
Chocobozzz [Fri, 19 Oct 2018 12:03:02 +0000 (14:03 +0200)]
Update changelog for 1.1.0-alpha.2

6 years agoPeerTube is not in alpha anymore
Chocobozzz [Fri, 19 Oct 2018 12:00:58 +0000 (14:00 +0200)]
PeerTube is not in alpha anymore

6 years agoadd repl to the cli wrapper, remove extraneous TOC in tools.md
Rigel Kent [Fri, 19 Oct 2018 12:24:35 +0000 (14:24 +0200)]
add repl to the cli wrapper, remove extraneous TOC in tools.md

6 years agoMerge branch 'release/v1.0.0' into develop
Chocobozzz [Fri, 19 Oct 2018 11:48:07 +0000 (13:48 +0200)]
Merge branch 'release/v1.0.0' into develop

6 years agoBumped to version v1.0.1 v1.0.1
Chocobozzz [Fri, 19 Oct 2018 11:18:45 +0000 (13:18 +0200)]
Bumped to version v1.0.1

6 years agoUpdate changelog
Chocobozzz [Fri, 19 Oct 2018 10:39:31 +0000 (12:39 +0200)]
Update changelog

6 years agoAdd HTTP signature check before linked signature
Chocobozzz [Fri, 19 Oct 2018 09:41:19 +0000 (11:41 +0200)]
Add HTTP signature check before linked signature

It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation

6 years agoUpdate translations
Chocobozzz [Fri, 19 Oct 2018 10:42:13 +0000 (12:42 +0200)]
Update translations

6 years agoUpdate changelog
Chocobozzz [Fri, 19 Oct 2018 10:39:31 +0000 (12:39 +0200)]
Update changelog

6 years agoAdd HTTP signature check before linked signature
Chocobozzz [Fri, 19 Oct 2018 09:41:19 +0000 (11:41 +0200)]
Add HTTP signature check before linked signature

It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation

6 years agoFeature/description support fields length 1000 (#1267)
BRAINS YUM [Fri, 19 Oct 2018 06:54:01 +0000 (01:54 -0500)]
Feature/description support fields length 1000 (#1267)

* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259)
remove constant fields imports from migrations

* add migrations to update description and support fields to 1000 (fixes #1258)

* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258);
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;

* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text

6 years agoFix embed
Chocobozzz [Fri, 19 Oct 2018 06:37:10 +0000 (08:37 +0200)]
Fix embed

6 years agofix lint test
Rigel Kent [Thu, 18 Oct 2018 21:49:12 +0000 (23:49 +0200)]
fix lint test

6 years agoadding minimum signup age conforming to ceiling GPDR age
Rigel Kent [Thu, 18 Oct 2018 15:13:27 +0000 (17:13 +0200)]
adding minimum signup age conforming to ceiling GPDR age

It is not yet configurable and should be made so as GDPR (or other
regulations for that matter) can specify other minimum age requirements.

6 years agoFix optimize old videos script
Chocobozzz [Thu, 18 Oct 2018 14:53:52 +0000 (16:53 +0200)]
Fix optimize old videos script

6 years agoUpdate contributors list
Chocobozzz [Thu, 18 Oct 2018 14:34:18 +0000 (16:34 +0200)]
Update contributors list

6 years agoPeerTube is not in beta anymore
Chocobozzz [Thu, 18 Oct 2018 13:59:25 +0000 (15:59 +0200)]
PeerTube is not in beta anymore

6 years agoMake abuse-delete confirmation box clearer
mike stedman [Thu, 18 Oct 2018 02:22:06 +0000 (20:22 -0600)]
Make abuse-delete confirmation box clearer

6 years agoChange "delete" to "delete this report"
Mike [Thu, 18 Oct 2018 02:04:50 +0000 (20:04 -0600)]
Change "delete" to "delete this report"

Closes #1295.

6 years agoFix lint
Chocobozzz [Thu, 18 Oct 2018 12:58:11 +0000 (14:58 +0200)]
Fix lint

6 years agoBetter typings
Chocobozzz [Thu, 18 Oct 2018 12:35:31 +0000 (14:35 +0200)]
Better typings

6 years agoFix transcoding
Chocobozzz [Thu, 18 Oct 2018 07:44:43 +0000 (09:44 +0200)]
Fix transcoding

6 years agoAP mimeType -> mediaType
Chocobozzz [Thu, 18 Oct 2018 06:48:24 +0000 (08:48 +0200)]
AP mimeType -> mediaType

6 years agoNoImplicitAny flag true (#1157)
BO41 [Thu, 18 Oct 2018 07:08:59 +0000 (09:08 +0200)]
NoImplicitAny flag true (#1157)

this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137

6 years agoOup's
Chocobozzz [Wed, 17 Oct 2018 15:58:21 +0000 (17:58 +0200)]
Oup's

6 years agoFix tests
Chocobozzz [Wed, 17 Oct 2018 11:10:58 +0000 (13:10 +0200)]
Fix tests

6 years agoUpdate translations
Chocobozzz [Wed, 17 Oct 2018 08:57:58 +0000 (10:57 +0200)]
Update translations

6 years agoMerge branch 'feature/webtorrent-disabling' into develop
Chocobozzz [Wed, 17 Oct 2018 08:48:56 +0000 (10:48 +0200)]
Merge branch 'feature/webtorrent-disabling' into develop

6 years agoFix webtorrent disabling
Chocobozzz [Wed, 17 Oct 2018 08:47:01 +0000 (10:47 +0200)]
Fix webtorrent disabling

6 years agoSet keyframe interval for transcoding (fixes #1147) (#1231)
Felix Ableitner [Wed, 17 Oct 2018 08:15:38 +0000 (03:15 -0500)]
Set keyframe interval for transcoding (fixes #1147) (#1231)

* Set keyframe interval for transcoding (fixes #1147)

* remove -maxrate and old bitrate setter

* pass fps as parameter

* set type for ffmpeg param

* assign ffmpeg object

6 years agodont export base bitrate
Felix Ableitner [Wed, 10 Oct 2018 07:39:34 +0000 (02:39 -0500)]
dont export base bitrate

6 years agomore documentation
Felix Ableitner [Tue, 9 Oct 2018 23:53:16 +0000 (18:53 -0500)]
more documentation

6 years agobetter documentation
Felix Ableitner [Tue, 9 Oct 2018 23:22:35 +0000 (18:22 -0500)]
better documentation

6 years agoScale bitrate linearly with FPS
Felix Ableitner [Tue, 9 Oct 2018 22:46:26 +0000 (17:46 -0500)]
Scale bitrate linearly with FPS

6 years agoBumped to version v1.1.0-alpha.1 v1.1.0-alpha.1
Chocobozzz [Wed, 17 Oct 2018 06:43:16 +0000 (08:43 +0200)]
Bumped to version v1.1.0-alpha.1

6 years agoImprove release script
Chocobozzz [Wed, 17 Oct 2018 06:42:54 +0000 (08:42 +0200)]
Improve release script

6 years agoFix code typos
Chocobozzz [Tue, 16 Oct 2018 09:51:28 +0000 (11:51 +0200)]
Fix code typos

6 years agoMove redundancy in its own travis container
Chocobozzz [Tue, 16 Oct 2018 08:55:29 +0000 (10:55 +0200)]
Move redundancy in its own travis container

6 years agoFix redundancy test
Chocobozzz [Tue, 16 Oct 2018 07:37:32 +0000 (09:37 +0200)]
Fix redundancy test

6 years agoAdd ability to mute a user/instance by server in client
Chocobozzz [Mon, 15 Oct 2018 14:43:14 +0000 (16:43 +0200)]
Add ability to mute a user/instance by server in client

6 years agoAdd ability to mute a user/instance by server in server api
Chocobozzz [Mon, 15 Oct 2018 11:03:04 +0000 (13:03 +0200)]
Add ability to mute a user/instance by server in server api

6 years agoAdd user/instance block by users in the client
Chocobozzz [Fri, 12 Oct 2018 15:26:40 +0000 (17:26 +0200)]
Add user/instance block by users in the client

6 years agoAdd ability for users to block an account/instance on server side
Chocobozzz [Fri, 12 Oct 2018 13:26:04 +0000 (15:26 +0200)]
Add ability for users to block an account/instance on server side

6 years agoupdate tslint config and fix member ordering (#1279)
BO41 [Mon, 15 Oct 2018 23:04:50 +0000 (01:04 +0200)]
update tslint config and fix member ordering (#1279)

6 years agotypo and grammar in README.md (#1281)
Alexander F. Rødseth [Mon, 15 Oct 2018 19:41:42 +0000 (12:41 -0700)]
typo and grammar in README.md (#1281)

6 years agoimprove description of the HTTP video import feature
Rigel Kent [Mon, 15 Oct 2018 16:53:06 +0000 (18:53 +0200)]
improve description of the HTTP video import feature

6 years agoUpdate CHANGELOG.md
Chocobozzz [Mon, 15 Oct 2018 12:52:11 +0000 (14:52 +0200)]
Update CHANGELOG.md

6 years agoadd alwaysStrict flag to client/tsconfig.json (#1280)
BO41 [Mon, 15 Oct 2018 12:35:18 +0000 (14:35 +0200)]
add alwaysStrict flag to client/tsconfig.json (#1280)

6 years ago(doc) update architecture, tools and readme
Rigel Kent [Sun, 14 Oct 2018 19:08:52 +0000 (21:08 +0200)]
(doc) update architecture, tools and readme

6 years agoadd REPL in server/tools/repl.ts (#1248)
BRAINS YUM [Sun, 14 Oct 2018 17:48:08 +0000 (12:48 -0500)]
add REPL in server/tools/repl.ts (#1248)

6 years agorename News category into News & Politics (#1261)
Adnane Belmadiaf [Sun, 14 Oct 2018 17:43:17 +0000 (19:43 +0200)]
rename News category into News & Politics (#1261)

6 years agomove to boolean switch 1201/head
Rigel Kent [Fri, 12 Oct 2018 16:12:39 +0000 (18:12 +0200)]
move to boolean switch

6 years agoadd webtorrent opt-out settings
Rigel Kent [Fri, 5 Oct 2018 13:17:34 +0000 (15:17 +0200)]
add webtorrent opt-out settings

- add a key in localstorage to remember the opt-out
- add a user setting

6 years agoadd parseBytes utility function and tests (#1239)
BRAINS YUM [Sat, 13 Oct 2018 06:43:55 +0000 (01:43 -0500)]
add parseBytes utility function and tests (#1239)

* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc

* fix parseBytes and test to pass linting

6 years agoREADME.md : Fix link to admin server tools
Pierre-Alain TORET [Fri, 12 Oct 2018 08:17:51 +0000 (10:17 +0200)]
README.md : Fix link to admin server tools

6 years agocorrect first landing videos in README
Rigel Kent [Fri, 12 Oct 2018 08:14:03 +0000 (10:14 +0200)]
correct first landing videos in README

6 years agoUse DB informations from config/production.yaml in upgrade script
Luc Didry [Thu, 11 Oct 2018 08:34:44 +0000 (10:34 +0200)]
Use DB informations from config/production.yaml in upgrade script

Avoid hardcoded values in upgrade script.
Avoid asking for DB password.
Uses python (usually installed on your system, even with minimal
installations) and some of its standard lib modules.

6 years agoMerge branch 'release/v1.0.0' into develop
Chocobozzz [Thu, 11 Oct 2018 07:52:16 +0000 (09:52 +0200)]
Merge branch 'release/v1.0.0' into develop

6 years agoBumped to version v1.0.0 v1.0.0
Chocobozzz [Thu, 11 Oct 2018 07:06:16 +0000 (09:06 +0200)]
Bumped to version v1.0.0

6 years agoFix release script
Chocobozzz [Thu, 11 Oct 2018 06:47:59 +0000 (08:47 +0200)]
Fix release script

6 years agoBump changelog
Chocobozzz [Thu, 11 Oct 2018 06:39:46 +0000 (08:39 +0200)]
Bump changelog

6 years agoFix angular build
Chocobozzz [Wed, 10 Oct 2018 13:09:16 +0000 (15:09 +0200)]
Fix angular build

6 years agoAdd ability to list all local videos on client
Chocobozzz [Wed, 10 Oct 2018 12:35:55 +0000 (14:35 +0200)]
Add ability to list all local videos on client

6 years agoAdd ability to list all local videos
Chocobozzz [Wed, 10 Oct 2018 09:46:50 +0000 (11:46 +0200)]
Add ability to list all local videos

Including private/unlisted for moderators/admins

6 years agoAdd ability to search on followers/following
Chocobozzz [Wed, 10 Oct 2018 07:43:53 +0000 (09:43 +0200)]
Add ability to search on followers/following

6 years ago Add explicit error message that changing video ownership only works with local accou...
Lucas Declercq [Wed, 10 Oct 2018 06:57:00 +0000 (08:57 +0200)]
 Add explicit error message that changing video ownership only works with local accounts (#1214)

* Add explicit error message that changing video ownership only works with local accounts

* Remove superfluous logger

* Remove unneeded end() to error responses

* Add a message on client side to prevent transfering ownership to a remote account

6 years agoAdd more headers to broadcast/unicast
Chocobozzz [Wed, 10 Oct 2018 06:51:58 +0000 (08:51 +0200)]
Add more headers to broadcast/unicast

6 years agoCreate new Docker dev image (#1173) 1205/head
am97 [Tue, 9 Oct 2018 15:35:02 +0000 (17:35 +0200)]
Create new Docker dev image (#1173)

* Move the old dev docker files to support/docker/janitor

* Create new Docker dev image

6 years agoitem linking to SECURITY.md in FAQ.md
Rigel Kent [Tue, 9 Oct 2018 09:29:57 +0000 (11:29 +0200)]
item linking to SECURITY.md in FAQ.md

6 years agoupdate SECURITY.md
Rigel Kent [Tue, 9 Oct 2018 08:42:14 +0000 (10:42 +0200)]
update SECURITY.md

6 years agofix automatic bitrate adjustment
Rigel Kent [Mon, 8 Oct 2018 19:13:13 +0000 (21:13 +0200)]
fix automatic bitrate adjustment

The regression was introduced in
edb4ffc7e0b13659d7c73b120f2c87b27e4c26a1 and forced a fixed bitrate per
resolution

6 years agoTry to cache video_high_bitrate_1080p in travis
Chocobozzz [Mon, 8 Oct 2018 15:47:19 +0000 (17:47 +0200)]
Try to cache video_high_bitrate_1080p in travis

6 years agoChange a little bit optimize-old-videos logic
Chocobozzz [Mon, 8 Oct 2018 14:50:56 +0000 (16:50 +0200)]
Change a little bit optimize-old-videos logic

6 years agoSet bitrate limits for transcoding (fixes #638) (#1135)
Felix Ableitner [Mon, 8 Oct 2018 14:26:04 +0000 (09:26 -0500)]
Set bitrate limits for transcoding (fixes #638) (#1135)

* Set bitrate limits for transcoding (fixes #638)

* added optimization script and test, changed stuff

* fix test, improve docs

* re-add optimize-old-videos script

* added documentation

* Don't optimize videos without valid UUID, or redundancy videos

* move getUUIDFromFilename

* fix tests?

* update torrent and file size, some more fixes/improvements

* use higher bitrate for high fps video, adjust bitrates

* add test video

* don't throw error if resolution is undefined

* generate test fixture on the fly

* use random noise video for bitrate test, add promise

* shorten test video to avoid timeout

* use existing function to optimize video

* various fixes

* increase test timeout

* limit test fixture size, add link

* test fixes

* add await

* more test fixes, add -b:v parameter

* replace ffmpeg wiki link

* fix ffmpeg params

* fix unit test

* add test fixture to .gitgnore

* add video transcoding fps model

* add missing file

6 years agoAdd checkbox to check every rows
Chocobozzz [Mon, 8 Oct 2018 14:15:10 +0000 (16:15 +0200)]
Add checkbox to check every rows

6 years agoAdd users search filter
Chocobozzz [Mon, 8 Oct 2018 13:51:38 +0000 (15:51 +0200)]
Add users search filter

6 years agoAdd bulk actions in users table
Chocobozzz [Mon, 8 Oct 2018 13:15:11 +0000 (15:15 +0200)]
Add bulk actions in users table

6 years ago(doc) explain common watcher inotify error in CONTRIBUTING.md (#1223)
Clément Brizard [Mon, 8 Oct 2018 11:25:41 +0000 (13:25 +0200)]
(doc) explain common watcher inotify error in CONTRIBUTING.md (#1223)

6 years agoMerge branch 'release/v1.0.0' into develop
Chocobozzz [Mon, 8 Oct 2018 10:04:52 +0000 (12:04 +0200)]
Merge branch 'release/v1.0.0' into develop

6 years agoAvoid old issue regarding duplicated hosts in db
Chocobozzz [Mon, 8 Oct 2018 09:58:18 +0000 (11:58 +0200)]
Avoid old issue regarding duplicated hosts in db

6 years agoFix test configuration
Chocobozzz [Mon, 8 Oct 2018 08:56:05 +0000 (10:56 +0200)]
Fix test configuration

6 years agoFix avatar update
Chocobozzz [Mon, 8 Oct 2018 08:37:08 +0000 (10:37 +0200)]
Fix avatar update

6 years agoFix avatar update
Chocobozzz [Mon, 8 Oct 2018 08:37:08 +0000 (10:37 +0200)]
Fix avatar update

6 years agoremove confirm modal for asset injection in edit-custom-config (#1219)
Micah Elizabeth Scott [Sun, 7 Oct 2018 20:07:14 +0000 (13:07 -0700)]
remove confirm modal for asset injection in edit-custom-config (#1219)

6 years ago(docker) search and import settings env variables (#1210)
kaiyou [Sun, 7 Oct 2018 13:04:38 +0000 (15:04 +0200)]
(docker) search and import settings env variables (#1210)

6 years agoFix videos list when page is empty
Chocobozzz [Fri, 5 Oct 2018 15:07:13 +0000 (17:07 +0200)]
Fix videos list when page is empty

6 years agoAdd user moderation in the account page
Chocobozzz [Fri, 5 Oct 2018 14:56:14 +0000 (16:56 +0200)]
Add user moderation in the account page

6 years agoMove user moderation tool in a separate component
Chocobozzz [Fri, 5 Oct 2018 13:24:29 +0000 (15:24 +0200)]
Move user moderation tool in a separate component

6 years agoUpdate FAQ.md
Jorropo [Thu, 4 Oct 2018 18:30:55 +0000 (20:30 +0200)]
Update FAQ.md

6 years agoAdd user history and resume videos
Chocobozzz [Fri, 5 Oct 2018 09:15:06 +0000 (11:15 +0200)]
Add user history and resume videos

6 years agoadd resize listener (#1182)
BO41 [Fri, 5 Oct 2018 09:22:24 +0000 (11:22 +0200)]
add resize listener (#1182)

* add resize listener

* respect user decision

* change listener to rxjs

* review changes

6 years agoRemove unused variable
Chocobozzz [Fri, 5 Oct 2018 09:20:08 +0000 (11:20 +0200)]
Remove unused variable

6 years agofix account URI in remote comment modal (partial rollback)
Rigel Kent [Fri, 5 Oct 2018 08:48:21 +0000 (10:48 +0200)]
fix account URI in remote comment modal (partial rollback)