Commit Graph

223 Commits (1d859b5afa88583dc27027fe14d0aa13e24a44a3)

Author SHA1 Message Date
Rigel Kent 1d859b5afa
sync API version with PeerTube version and auto-update it via git hooks 2018-11-13 14:31:48 +01:00
Felix Ableitner 5e10e8d73a Make backups of files in optimize-old-videos.ts (#1304) 2018-10-23 09:25:09 +02:00
Rigel Kent 7cf3e57376 (doc) add manpage to peertube cli 2018-10-20 19:16:56 +02:00
Chocobozzz 74cd011b6c
Fix optimize old videos script 2018-10-18 16:54:26 +02:00
Chocobozzz 225553a021
Improve release script 2018-10-17 08:42:54 +02:00
Chocobozzz 26370ce469 Move redundancy in its own travis container 2018-10-16 16:41:36 +02:00
BRAINS YUM 0e5ff97f6f 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
2018-10-13 08:43:55 +02:00
Luc Didry d9d1989b62 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.
2018-10-11 13:31:57 +02:00
Chocobozzz 71e318b4fe
Merge branch 'release/v1.0.0' into develop 2018-10-11 09:52:16 +02:00
Chocobozzz 107c5fcda4
Fix release script 2018-10-11 08:47:59 +02:00
Chocobozzz 9f1ddd2496
Change a little bit optimize-old-videos logic 2018-10-08 16:50:56 +02:00
Felix Ableitner edb4ffc7e0 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
2018-10-08 16:26:04 +02:00
Rigel Kent f6dd7f7d18
parametrize gpg key in release script 2018-10-03 11:51:55 +02:00
John Livingston 38d937002a fix diff order 2018-10-03 09:53:03 +02:00
John Livingston bebae342f3 using "diff -u", for a clearer display 2018-10-03 09:53:03 +02:00
Chocobozzz c2ad546df9
Add tests regarding well known/static text endpoints 2018-10-01 17:29:11 +02:00
Chocobozzz d1105b97ef
Fix dnt route 2018-10-01 15:20:13 +02:00
Rigel Kent 9e3e248109
add protractor profile for local tests 2018-10-01 13:40:28 +02:00
Chocobozzz 65be133b90
Fix 404 on manifest 2018-09-28 13:56:19 +02:00
Chocobozzz 5ce1208a0a
Improve prune script 2018-09-28 10:56:13 +02:00
Felix Ableitner cee43cf11c Added else 2018-09-28 10:35:59 +02:00
Felix Ableitner 4cd7a103da Add prompt to upgrade.sh to install pre-release version 2018-09-28 10:35:59 +02:00
SerCom_KC ba6a98b8fa Add zh-Hans-CN to client.sh 2018-09-25 14:46:02 +02:00
Chocobozzz aac0118dc3
Fix dnt route 2018-09-25 11:13:34 +02:00
Chocobozzz f2659ae0b0
Upgrade tslint rules 2018-09-21 09:26:53 +02:00
Chocobozzz 627621c1e8
Optimize SQL requests of watch page API endpoints 2018-09-19 09:54:37 +02:00
Chocobozzz 780daa7e91
Speaup clean script 2018-09-14 10:07:33 +02:00
Chocobozzz b36f41ca09
Add trending videos strategy 2018-09-14 09:57:21 +02:00
Brad Johnson 7f5f4152a4 Refactor: Separated "Other Videos" section into a dedicated component/service (#969)
* Separated "Other Videos" section into a dedicated component/service

I'm currently working on some proof-of-concepts for recommendation
providers that could work with PeerTube to provide useful video
suggestions to the user.

As a first step, I want to have great clarity about how PeerTube,
itself, will surface these videos to the user.

With this branch, I'm refactoring the "recommendations" to make it
easier to swap out different recommender implementations quickly.

Stop recommender from including the video that's being watched.

Ensure always 5 recommendations

* Treat recommendations as a stream of values, rather than a single async value.

* Prioritize readability over HTTP response size early-optimization.

* Simplify pipe
2018-08-31 17:19:21 +02:00
Chocobozzz 2db85d6b6e
Upgrade server dependencies 2018-08-27 16:35:26 +02:00
Chocobozzz 62689b942b
Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
Rigel Kent c9d5c64f98 replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
Chocobozzz 3bacf66164
Don't compile all languages in travis 2018-08-27 11:34:43 +02:00
Chocobozzz a9155ee6dc
Add portuguese and swedish languages 2018-08-27 11:20:06 +02:00
Chocobozzz b18d4b9f36
Upgrade translations 2018-08-27 10:04:07 +02:00
Chocobozzz 1297eb5db6 Add refresh video on search 2018-08-27 09:41:54 +02:00
Chocobozzz fc96e83d1c
Fix release script 2018-08-21 09:37:11 +02:00
Chocobozzz 95d5113575
Translate player according to the interface lang 2018-08-16 11:11:20 +02:00
Chocobozzz 3dfa849402
Translate subtitle langs in player 2018-08-16 10:48:35 +02:00
Chocobozzz a6ce68673a
Support occitan 2018-08-08 16:00:06 +02:00
Chocobozzz 7e5f9f001d Add audit logs for video import 2018-08-06 11:19:16 +02:00
Chocobozzz 5e319fb789
Upgrade release script to support release branch 2018-08-01 11:13:33 +02:00
Chocobozzz fb9e6cb075
Add german, spanish and chinese (traditional, taiwan) languages 2018-07-31 18:04:54 +02:00
Chocobozzz 365b546c9f
Try to fix travis (again) 2018-07-31 10:26:13 +02:00
Chocobozzz e20015d744
Fiw winston meta log 2018-07-30 11:34:34 +02:00
Chocobozzz 87bec1051b
Handle pre releases in release script 2018-07-25 17:05:15 +02:00
Chocobozzz d73c98884e
Hack 459 regarding Angular & i18n 2018-07-25 09:57:52 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz e032aec9b9
Render CSS/title/description tags on server side 2018-07-18 10:00:37 +02:00
Chocobozzz b54431049b
Add populate database script 2018-07-17 18:17:50 +02:00