]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/log
github/Chocobozzz/PeerTube.git
3 years agospecify operationId in openapi spec and factorize videoconstant ids
Rigel Kent [Mon, 10 May 2021 12:17:26 +0000 (14:17 +0200)] 
specify operationId in openapi spec and factorize videoconstant ids

3 years agoFix E2E tests
Chocobozzz [Mon, 10 May 2021 11:56:26 +0000 (13:56 +0200)] 
Fix E2E tests

3 years agoOptimize videos feed endpoint
Chocobozzz [Mon, 10 May 2021 08:52:52 +0000 (10:52 +0200)] 
Optimize videos feed endpoint

3 years agospecify getUserId variant in openapi spec
Rigel Kent [Mon, 10 May 2021 10:01:40 +0000 (12:01 +0200)] 
specify getUserId variant in openapi spec

closes #4062

3 years agosecify username patterns for user create/register in openapi spec
Rigel Kent [Mon, 10 May 2021 09:20:13 +0000 (11:20 +0200)] 
secify username patterns for user create/register in openapi spec

closes #4061

3 years agofix imports list response in openapi spec
Rigel Kent [Mon, 10 May 2021 09:02:54 +0000 (11:02 +0200)] 
fix imports list response in openapi spec

closes #4063

3 years agofix response in openapi spec for quota and video ratings
Rigel Kent [Mon, 10 May 2021 08:26:50 +0000 (10:26 +0200)] 
fix response in openapi spec for quota and video ratings

closes #4064
closes #4065

3 years agoResumable video uploads (#3933)
kontrollanten [Mon, 10 May 2021 09:13:41 +0000 (11:13 +0200)] 
Resumable video uploads (#3933)

* WIP: resumable video uploads

relates to #324

* fix review comments

* video upload: error handling

* fix audio upload

* fixes after self review

* Update server/controllers/api/videos/index.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>
* Update server/middlewares/validators/videos/videos.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>
* Update server/controllers/api/videos/index.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>
* update after code review

* refactor upload route

- restore multipart upload route
- move resumable to dedicated upload-resumable route
- move checks to middleware
- do not leak internal fs structure in response

* fix yarn.lock upon rebase

* factorize addVideo for reuse in both endpoints

* add resumable upload API to openapi spec

* add initial test and test helper for resumable upload

* typings for videoAddResumable middleware

* avoid including aws and google packages via node-uploadx, by only including uploadx/core

* rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio

* add video-upload-tmp-folder-cleaner job

* stronger typing of video upload middleware

* reduce dependency to @uploadx/core

* add audio upload test

* refactor resumable uploads cleanup from job to scheduler

* refactor resumable uploads scheduler to compare to last execution time

* make resumable upload validator to always cleanup on failure

* move legacy upload request building outside of uploadVideo test helper

* filter upload-resumable middlewares down to POST, PUT, DELETE

also begin to type metadata

* merge add duration functions

* stronger typings and documentation for uploadx behaviour, move init validator up

* refactor(client/video-edit): options > uploadxOptions

* refactor(client/video-edit): remove obsolete else

* scheduler/remove-dangling-resum: rename tag

* refactor(server/video): add UploadVideoFiles type

* refactor(mw/validators): restructure eslint disable

* refactor(mw/validators/videos): rename import

* refactor(client/vid-upload): rename html elem id

* refactor(sched/remove-dangl): move fn to method

* refactor(mw/async): add method typing

* refactor(mw/vali/video): double quote > single

* refactor(server/upload-resum): express use > all

* proper http methud enum server/middlewares/async.ts

* properly type http methods

* factorize common video upload validation steps

* add check for maximum partially uploaded file size

* fix audioBg use

* fix extname(filename) in addVideo

* document parameters for uploadx's resumable protocol

* clear META files in scheduler

* last audio refactor before cramming preview in the initial POST form data

* refactor as mulitpart/form-data initial post request

this allows preview/thumbnail uploads alongside the initial request,
and cleans up the upload form

* Add more tests for resumable uploads

* Refactor remove dangling resumable uploads

* Prepare changelog

* Add more resumable upload tests

* Remove user quota check for resumable uploads

* Fix upload error handler

* Update nginx template for upload-resumable

* Cleanup comment

* Remove unused express methods

* Prefer to use got instead of raw http

* Don't retry on error 500

Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Co-authored-by: Chocobozzz <me@florianbigard.com>
3 years agoMove engines outside package.json
Chocobozzz [Mon, 10 May 2021 07:55:01 +0000 (09:55 +0200)] 
Move engines outside package.json

Because of invalid warnings displayed by yarn that could confuse admins
when they install peertube

3 years agoDrop NodeJS 10 support
Chocobozzz [Mon, 10 May 2021 07:41:21 +0000 (09:41 +0200)] 
Drop NodeJS 10 support

3 years agoSort channels by -updatedAt
Chocobozzz [Mon, 10 May 2021 07:31:33 +0000 (09:31 +0200)] 
Sort channels by -updatedAt

3 years agoUpdate channel updatedAt when uploading a video
Chocobozzz [Fri, 7 May 2021 15:14:39 +0000 (17:14 +0200)] 
Update channel updatedAt when uploading a video

3 years agoFix CLI plugins list command: use command parameters.
John Livingston [Fri, 7 May 2021 15:32:58 +0000 (17:32 +0200)] 
Fix CLI plugins list command: use command parameters.

3 years agoIncrease test timeout
Chocobozzz [Fri, 7 May 2021 13:17:43 +0000 (15:17 +0200)] 
Increase test timeout

3 years agoReduce pending job waiting
Chocobozzz [Fri, 7 May 2021 12:48:39 +0000 (14:48 +0200)] 
Reduce pending job waiting

3 years agoRun misc tests in parallel
Chocobozzz [Fri, 7 May 2021 12:40:54 +0000 (14:40 +0200)] 
Run misc tests in parallel

3 years agoFix ffmpeg version parsing
Chocobozzz [Fri, 7 May 2021 12:23:43 +0000 (14:23 +0200)] 
Fix ffmpeg version parsing

3 years agoRefactor video edit css
Chocobozzz [Fri, 7 May 2021 12:08:35 +0000 (14:08 +0200)] 
Refactor video edit css

3 years agoRefactor a little bit live tests
Chocobozzz [Fri, 7 May 2021 09:53:46 +0000 (11:53 +0200)] 
Refactor a little bit live tests

3 years agoFix mask-image property
Chocobozzz [Fri, 7 May 2021 09:25:47 +0000 (11:25 +0200)] 
Fix mask-image property

Needed by chrome

3 years agorelax guarantee on openapi rate limit doc accuracy
Rigel Kent [Fri, 7 May 2021 07:46:22 +0000 (09:46 +0200)] 
relax guarantee on openapi rate limit doc accuracy

3 years agoAdd curl as dependency to allow for healthchecks
decentral1se [Thu, 6 May 2021 11:14:05 +0000 (13:14 +0200)] 
Add curl as dependency to allow for healthchecks

Closes https://github.com/Chocobozzz/PeerTube/issues/4045.

3 years agoFix remote actor creation date
Chocobozzz [Fri, 7 May 2021 06:59:59 +0000 (08:59 +0200)] 
Fix remote actor creation date

3 years agoadd subscriptions feed api to openapi spec
Rigel Kent [Fri, 7 May 2021 00:15:02 +0000 (02:15 +0200)] 
add subscriptions feed api to openapi spec

3 years agoadd rate limit table to openapi spec
Rigel Kent [Thu, 6 May 2021 23:40:21 +0000 (01:40 +0200)] 
add rate limit table to openapi spec

3 years agoadd possible OSX/postgres message to dependencies documentation (#4051)
Philo van Kemenade [Thu, 6 May 2021 16:55:25 +0000 (18:55 +0200)] 
add possible OSX/postgres message to dependencies documentation (#4051)

3 years agoAdd note in changelog regarding ffmpeg 4.4
Chocobozzz [Thu, 6 May 2021 15:02:47 +0000 (17:02 +0200)] 
Add note in changelog regarding ffmpeg 4.4

3 years agoFix ffmpeg version checker
Chocobozzz [Thu, 6 May 2021 14:39:17 +0000 (16:39 +0200)] 
Fix ffmpeg version checker

3 years agoPrepare changelog
Chocobozzz [Thu, 6 May 2021 07:04:56 +0000 (09:04 +0200)] 
Prepare changelog

3 years agoserver: fix HLS playlist format
kontrollanten [Wed, 5 May 2021 20:25:37 +0000 (22:25 +0200)] 
server: fix HLS playlist format

Remove prefixed comma when there's no video codec.

3 years agoPlugin user.getAuthUser is now async
Chocobozzz [Wed, 5 May 2021 13:26:28 +0000 (15:26 +0200)] 
Plugin user.getAuthUser is now async

So we can load the full user

3 years agoAdd ability to search live videos
Chocobozzz [Wed, 5 May 2021 10:10:00 +0000 (12:10 +0200)] 
Add ability to search live videos

3 years agoUpdate server dependencies
Chocobozzz [Wed, 5 May 2021 09:08:02 +0000 (11:08 +0200)] 
Update server dependencies

3 years agoUse bash for scripts
Chocobozzz [Wed, 5 May 2021 08:56:40 +0000 (10:56 +0200)] 
Use bash for scripts

3 years agoUpdate translations
Chocobozzz [Wed, 5 May 2021 08:56:15 +0000 (10:56 +0200)] 
Update translations

3 years agoMerge remote-tracking branch 'weblate/develop' into develop
Chocobozzz [Wed, 5 May 2021 08:53:52 +0000 (10:53 +0200)] 
Merge remote-tracking branch 'weblate/develop' into develop

3 years agoTranslated using Weblate (Kabyle)
Slimane Selyan AMIRI [Wed, 5 May 2021 08:09:13 +0000 (08:09 +0000)] 
Translated using Weblate (Kabyle)

Currently translated at 99.9% (1851 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/

3 years agoMerge remote-tracking branch 'weblate/develop' into develop
Chocobozzz [Wed, 5 May 2021 08:53:21 +0000 (10:53 +0200)] 
Merge remote-tracking branch 'weblate/develop' into develop

3 years agoRemove scripty
Chocobozzz [Wed, 5 May 2021 08:50:20 +0000 (10:50 +0200)] 
Remove scripty

It breaks our tests with the latest npm release

3 years agoFix player settings dispose
Chocobozzz [Wed, 5 May 2021 08:09:32 +0000 (10:09 +0200)] 
Fix player settings dispose

3 years agoFix lint
Chocobozzz [Wed, 5 May 2021 07:55:01 +0000 (09:55 +0200)] 
Fix lint

3 years agoFix non logged add comment avatar
Chocobozzz [Wed, 5 May 2021 07:52:33 +0000 (09:52 +0200)] 
Fix non logged add comment avatar

3 years agoFix miniature avatar size
Chocobozzz [Wed, 5 May 2021 07:44:24 +0000 (09:44 +0200)] 
Fix miniature avatar size

3 years agoFix transcoding job priority
Chocobozzz [Wed, 5 May 2021 07:25:11 +0000 (09:25 +0200)] 
Fix transcoding job priority

New resolution jobs are also important if waiting for transcoding is
enabled since we publish the video after the first resolution generation

3 years agoFix E2E tests
Chocobozzz [Wed, 5 May 2021 07:05:46 +0000 (09:05 +0200)] 
Fix E2E tests

3 years agoTranslated using Weblate (Vietnamese)
Duy [Sun, 2 May 2021 04:19:48 +0000 (04:19 +0000)] 
Translated using Weblate (Vietnamese)

Currently translated at 100.0% (1852 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/

3 years agoTranslated using Weblate (Russian)
Александр [Sun, 2 May 2021 18:55:06 +0000 (18:55 +0000)] 
Translated using Weblate (Russian)

Currently translated at 99.7% (1848 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/

3 years agoTranslated using Weblate (French (France) (fr_FR))
Laurent Ettouati [Tue, 4 May 2021 18:02:58 +0000 (18:02 +0000)] 
Translated using Weblate (French (France) (fr_FR))

Currently translated at 99.0% (1834 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/

3 years agoround volume in stats card
Rigel Kent [Tue, 4 May 2021 11:21:51 +0000 (13:21 +0200)] 
round volume in stats card

3 years agoadd examples and descriptions to some video fields in openapi spec
Rigel Kent [Tue, 4 May 2021 09:18:46 +0000 (11:18 +0200)] 
add examples and descriptions to some video fields in openapi spec

3 years agofactorize uuid type in openapi spec
Rigel Kent [Tue, 4 May 2021 08:44:33 +0000 (10:44 +0200)] 
factorize uuid type in openapi spec

3 years agomake streaming playlists pivotable objects in openapi spec
Rigel Kent [Tue, 4 May 2021 08:25:05 +0000 (10:25 +0200)] 
make streaming playlists pivotable objects in openapi spec

3 years agomake hls/webtorrent fields closely documented in the openapi spec
Rigel Kent [Tue, 4 May 2021 07:13:21 +0000 (09:13 +0200)] 
make hls/webtorrent fields closely documented in the openapi spec

3 years agoMore efficient advanced input filter
Chocobozzz [Mon, 3 May 2021 14:38:07 +0000 (16:38 +0200)] 
More efficient advanced input filter

3 years agoRefactor parseQueryStringFilter boolean handler
Chocobozzz [Mon, 3 May 2021 13:53:07 +0000 (15:53 +0200)] 
Refactor parseQueryStringFilter boolean handler

3 years agoDisplay a message on no channel
Chocobozzz [Mon, 3 May 2021 13:46:55 +0000 (15:46 +0200)] 
Display a message on no channel

3 years agoRefactor search filters
Chocobozzz [Mon, 3 May 2021 12:33:34 +0000 (14:33 +0200)] 
Refactor search filters

3 years agoReduce advanced search input debounce time
Chocobozzz [Mon, 3 May 2021 09:22:23 +0000 (11:22 +0200)] 
Reduce advanced search input debounce time

3 years agoFix avatar in report page
Chocobozzz [Mon, 3 May 2021 09:19:05 +0000 (11:19 +0200)] 
Fix avatar in report page

3 years agoAdd ability to filter my videos by live
Chocobozzz [Mon, 3 May 2021 09:06:19 +0000 (11:06 +0200)] 
Add ability to filter my videos by live

3 years agoadd description with operation link to category/licence/language constants
Rigel Kent [Mon, 3 May 2021 12:34:46 +0000 (14:34 +0200)] 
add description with operation link to category/licence/language constants

3 years agofix video channel parameters limit in openapi spec
Rigel Kent [Mon, 3 May 2021 12:14:45 +0000 (14:14 +0200)] 
fix video channel parameters limit in openapi spec

3 years agofix name limit for video in openapi spec
Rigel Kent [Mon, 3 May 2021 10:17:30 +0000 (12:17 +0200)] 
fix name limit for video in openapi spec

3 years agoupdate FAQ urls in README (#4027)
Gabriel Scherer [Sun, 2 May 2021 19:15:48 +0000 (21:15 +0200)] 
update FAQ urls in README (#4027)

3 years agofix FAQ link in production guide
Rigel Kent [Sat, 1 May 2021 13:43:28 +0000 (15:43 +0200)] 
fix FAQ link in production guide

3 years agoTranslated using Weblate (Norwegian Nynorsk)
Eivind Ødegård [Wed, 28 Apr 2021 18:20:09 +0000 (18:20 +0000)] 
Translated using Weblate (Norwegian Nynorsk)

Currently translated at 1.1% (21 of 1849 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nn/

3 years agoTranslated using Weblate (French)
Laurent Ettouati [Fri, 23 Apr 2021 20:46:53 +0000 (20:46 +0000)] 
Translated using Weblate (French)

Currently translated at 100.0% (1765 of 1765 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/

3 years agoTranslated using Weblate (Kabyle)
Racida S [Mon, 26 Apr 2021 23:57:48 +0000 (23:57 +0000)] 
Translated using Weblate (Kabyle)

Currently translated at 99.9% (1851 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/

3 years agoTranslated using Weblate (Chinese (Traditional))
Jeff Huang [Fri, 23 Apr 2021 03:04:31 +0000 (03:04 +0000)] 
Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (1852 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/

3 years agoTranslated using Weblate (Vietnamese)
Duy [Sun, 25 Apr 2021 14:32:54 +0000 (14:32 +0000)] 
Translated using Weblate (Vietnamese)

Currently translated at 86.8% (1609 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/

3 years agoTranslated using Weblate (Swedish)
Filip Bengtsson [Tue, 27 Apr 2021 09:24:23 +0000 (09:24 +0000)] 
Translated using Weblate (Swedish)

Currently translated at 99.7% (1848 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/

3 years agoTranslated using Weblate (Russian)
Александр [Mon, 26 Apr 2021 08:59:58 +0000 (08:59 +0000)] 
Translated using Weblate (Russian)

Currently translated at 99.7% (1848 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/

3 years agoTranslated using Weblate (Galician)
josé m [Thu, 22 Apr 2021 19:15:57 +0000 (19:15 +0000)] 
Translated using Weblate (Galician)

Currently translated at 100.0% (1852 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/

3 years agoTranslated using Weblate (Spanish)
Berto Te [Fri, 23 Apr 2021 09:36:33 +0000 (09:36 +0000)] 
Translated using Weblate (Spanish)

Currently translated at 100.0% (1852 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/

3 years agoTranslated using Weblate (German)
Simon Brosdetzko [Mon, 26 Apr 2021 12:42:57 +0000 (12:42 +0000)] 
Translated using Weblate (German)

Currently translated at 100.0% (1852 of 1852 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/

3 years agoCleanup plugins admin CSS
Chocobozzz [Thu, 29 Apr 2021 07:46:44 +0000 (09:46 +0200)] 
Cleanup plugins admin CSS

3 years agoFix avatar size in moderation tables
Chocobozzz [Thu, 29 Apr 2021 07:32:08 +0000 (09:32 +0200)] 
Fix avatar size in moderation tables

3 years agoFix my library/account/admin sub titles alignment
Chocobozzz [Thu, 29 Apr 2021 07:29:00 +0000 (09:29 +0200)] 
Fix my library/account/admin sub titles alignment

3 years agoFix actor avatar background
Chocobozzz [Thu, 29 Apr 2021 07:10:57 +0000 (09:10 +0200)] 
Fix actor avatar background

3 years agoMove to stylelint
Chocobozzz [Wed, 28 Apr 2021 14:41:07 +0000 (16:41 +0200)] 
Move to stylelint

3 years agoRemove avatarUrl from models
Chocobozzz [Wed, 28 Apr 2021 13:59:46 +0000 (15:59 +0200)] 
Remove avatarUrl from models

3 years agoRefactor actor avatar display
Chocobozzz [Wed, 28 Apr 2021 09:49:34 +0000 (11:49 +0200)] 
Refactor actor avatar display

3 years agoRename actor image edit module
Chocobozzz [Wed, 28 Apr 2021 07:45:49 +0000 (09:45 +0200)] 
Rename actor image edit module

3 years agoBetter video languages filter UX
Chocobozzz [Wed, 28 Apr 2021 07:41:50 +0000 (09:41 +0200)] 
Better video languages filter UX

Don't throw if the user did not select any language, automatically
select "all languages" instead

3 years agoFix overview page with new thumbnail size
Chocobozzz [Wed, 28 Apr 2021 07:18:02 +0000 (09:18 +0200)] 
Fix overview page with new thumbnail size

3 years agoAdd player mode to player stats
Chocobozzz [Wed, 28 Apr 2021 07:07:57 +0000 (09:07 +0200)] 
Add player mode to player stats

3 years agoAdd log to prune storage script
Chocobozzz [Wed, 28 Apr 2021 06:56:08 +0000 (08:56 +0200)] 
Add log to prune storage script

3 years agoClearer nsfw "do not list" label
Chocobozzz [Tue, 27 Apr 2021 14:23:32 +0000 (16:23 +0200)] 
Clearer nsfw "do not list" label

3 years agoCleanup stats for nerds
Chocobozzz [Tue, 27 Apr 2021 13:50:29 +0000 (15:50 +0200)] 
Cleanup stats for nerds

3 years agoadd stats videojs plugin
Rigel Kent [Mon, 12 Apr 2021 08:26:30 +0000 (10:26 +0200)] 
add stats videojs plugin

3 years agoUse account initial as default avatar (#4002)
kontrollanten [Tue, 27 Apr 2021 14:08:10 +0000 (16:08 +0200)] 
Use account initial as default avatar (#4002)

* client: use account initial as default avatar

* fix UI in user list

Avatars was cutted in the top and bottom

3 years agoAutoclose settings on outside click
Chocobozzz [Tue, 27 Apr 2021 08:46:09 +0000 (10:46 +0200)] 
Autoclose settings on outside click

3 years agoSet permissions in production.md
Chocobozzz [Tue, 27 Apr 2021 07:36:00 +0000 (09:36 +0200)] 
Set permissions in production.md

3 years agoFix plugins doc
Chocobozzz [Tue, 27 Apr 2021 07:28:05 +0000 (09:28 +0200)] 
Fix plugins doc

3 years agoUse server config to display supported videos ext
Chocobozzz [Tue, 27 Apr 2021 07:24:36 +0000 (09:24 +0200)] 
Use server config to display supported videos ext

3 years agoFix ng-select with an image
Chocobozzz [Tue, 27 Apr 2021 07:15:39 +0000 (09:15 +0200)] 
Fix ng-select with an image

3 years agoFix playlist position error
Chocobozzz [Tue, 27 Apr 2021 07:02:35 +0000 (09:02 +0200)] 
Fix playlist position error

3 years agoTry to fix bad timestamps in .srt
Chocobozzz [Tue, 27 Apr 2021 07:00:09 +0000 (09:00 +0200)] 
Try to fix bad timestamps in .srt

3 years agoFix video actions dropdown overflow
Chocobozzz [Mon, 26 Apr 2021 14:23:34 +0000 (16:23 +0200)] 
Fix video actions dropdown overflow

3 years agoPlaylist miniature consistency
Chocobozzz [Mon, 26 Apr 2021 14:07:36 +0000 (16:07 +0200)] 
Playlist miniature consistency