]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/log
Chocobozzz [Tue, 25 May 2021 09:30:00 +0000 (11:30 +0200)]
Avoid error when file has no torrent file
Chocobozzz [Tue, 25 May 2021 09:15:18 +0000 (11:15 +0200)]
cd /var/www/peertube in prod guide
Avoid running db creation in /root directory
Chocobozzz [Tue, 25 May 2021 08:21:36 +0000 (10:21 +0200)]
Fix duplicate ffmpeg preset option for live
Chocobozzz [Tue, 25 May 2021 08:08:29 +0000 (10:08 +0200)]
Fix broadcast message log level
John Livingston [Tue, 18 May 2021 18:21:03 +0000 (20:21 +0200)]
Fix 4106: default boolean plugin setting for frontend
Stakovicz [Tue, 25 May 2021 09:34:10 +0000 (11:34 +0200)]
Allow SSL database parameter (#4114)
* Allow SSL database parameter
Allow SSL database parameter via environment variable
* Allow SSL database parameter
Allow SSL database parameter via environment variable
* Update support/docker/production/config/custom-environment-variables.yaml
Co-authored-by: Chocobozzz <chocobozzz@cpy.re>
Co-authored-by: Chocobozzz <chocobozzz@cpy.re>
Chocobozzz [Fri, 14 May 2021 12:25:30 +0000 (14:25 +0200)]
Fix broadcast message level
Rigel Kent [Fri, 14 May 2021 17:31:24 +0000 (19:31 +0200)]
fix typo in operationId in openapi spec
Rigel Kent [Fri, 14 May 2021 17:19:10 +0000 (19:19 +0200)]
add code examples for login in openapi spec
Chocobozzz [Fri, 14 May 2021 12:18:13 +0000 (14:18 +0200)]
Merge branch 'release/3.2.0' into develop
Chocobozzz [Fri, 14 May 2021 12:17:53 +0000 (14:17 +0200)]
Fix logger warning level
Chocobozzz [Fri, 14 May 2021 12:07:16 +0000 (14:07 +0200)]
Fix "stats for nerds" card in HTTP mode
Chocobozzz [Fri, 14 May 2021 12:00:00 +0000 (14:00 +0200)]
Fix recommended banner size
Chocobozzz [Fri, 14 May 2021 11:58:40 +0000 (13:58 +0200)]
Fix http player defaulting to audio resolution
Chocobozzz [Fri, 14 May 2021 10:04:44 +0000 (12:04 +0200)]
Inject server config in HTML
Rigel Kent [Thu, 13 May 2021 21:40:34 +0000 (23:40 +0200)]
paginate response for abuse list in openapi spec
closes #4094
Rigel Kent [Thu, 13 May 2021 21:37:35 +0000 (23:37 +0200)]
modify response for adding abuse in openapi spec
closes #4093
Rigel Kent [Thu, 13 May 2021 21:32:28 +0000 (23:32 +0200)]
modify return code for adding/removing blocked servers in openapi spec
closes #4095
Rigel Kent [Thu, 13 May 2021 12:50:26 +0000 (14:50 +0200)]
add accept/reject routes for server followers in openapi spec
Rigel Kent [Thu, 13 May 2021 12:19:59 +0000 (14:19 +0200)]
fix route prefix for blocklist routes in openapi spec
closes #4091
Rigel Kent [Thu, 13 May 2021 12:17:56 +0000 (14:17 +0200)]
fix route prefix for video redundancy routes in openapi spec
closes #4090
Rigel Kent [Thu, 13 May 2021 12:10:04 +0000 (14:10 +0200)]
more faithful error description in openapi spec
Rigel Kent [Wed, 12 May 2021 19:23:54 +0000 (21:23 +0200)]
add login/logout routes in openapi spec
Rigel Kent [Wed, 12 May 2021 19:21:52 +0000 (21:21 +0200)]
add cors section in openapi spec
Chocobozzz [Wed, 12 May 2021 12:51:17 +0000 (14:51 +0200)]
Refactor a little bit controllers
Rigel Kent [Wed, 12 May 2021 12:33:04 +0000 (14:33 +0200)]
fix video playlistId/videoId for video playlists in openapi spec
closes #4081
Chocobozzz [Wed, 12 May 2021 12:09:04 +0000 (14:09 +0200)]
Stricter models typing
Rigel Kent [Wed, 12 May 2021 11:44:32 +0000 (13:44 +0200)]
add response content for createVideoChannel endpoint in openapi spec
closes #4077
Rigel Kent [Tue, 11 May 2021 19:44:27 +0000 (21:44 +0200)]
add rating field for video like endpoint in openapi spec
closes #4080
Rigel Kent [Tue, 11 May 2021 19:38:33 +0000 (21:38 +0200)]
add missing user update me fields in openapi spec
Rigel Kent [Tue, 11 May 2021 18:19:26 +0000 (20:19 +0200)]
add missing video comment fields in openapi spec
closes #4079
Chocobozzz [Tue, 11 May 2021 13:41:13 +0000 (15:41 +0200)]
Default to dark theme if requested by user
Chocobozzz [Tue, 11 May 2021 13:03:30 +0000 (15:03 +0200)]
Remember tab in upload page
Chocobozzz [Tue, 11 May 2021 12:56:00 +0000 (14:56 +0200)]
Error if importing a torrent with multiple files
Chocobozzz [Tue, 11 May 2021 12:23:49 +0000 (14:23 +0200)]
Update README
Chocobozzz [Tue, 11 May 2021 10:04:47 +0000 (12:04 +0200)]
Reorganize plugin models
Chocobozzz [Tue, 11 May 2021 09:27:40 +0000 (11:27 +0200)]
Cleanup shared models
Chocobozzz [Tue, 11 May 2021 09:15:29 +0000 (11:15 +0200)]
Cleanup models directory organization
Chocobozzz [Tue, 11 May 2021 08:57:25 +0000 (10:57 +0200)]
Move transcoding files in their own directory
Chocobozzz [Tue, 11 May 2021 08:54:05 +0000 (10:54 +0200)]
Use a class for youtube-dl
Rigel Kent [Tue, 11 May 2021 08:07:15 +0000 (10:07 +0200)]
factorized upload and import post fields in openapi spec
closes #4075
Chocobozzz [Tue, 11 May 2021 07:05:52 +0000 (09:05 +0200)]
Bumped to version v3.2.0-rc.1
Chocobozzz [Tue, 11 May 2021 07:02:59 +0000 (09:02 +0200)]
Fix changelog indentation
Chocobozzz [Tue, 11 May 2021 06:57:43 +0000 (08:57 +0200)]
Update changelog
Chocobozzz [Tue, 11 May 2021 06:41:34 +0000 (08:41 +0200)]
Fix nginx config
Chocobozzz [Tue, 11 May 2021 06:41:26 +0000 (08:41 +0200)]
Fix paused upload message
Rigel Kent [Mon, 10 May 2021 23:50:36 +0000 (01:50 +0200)]
added descriptions for video files/import fields in openapi spec
Rigel Kent [Mon, 10 May 2021 23:18:02 +0000 (01:18 +0200)]
explicit error formatting variant in openapi spec
Rigel Kent [Mon, 10 May 2021 14:09:59 +0000 (16:09 +0200)]
provide more schema examples in openapi spec
Chocobozzz [Mon, 10 May 2021 17:02:25 +0000 (19:02 +0200)]
Add monitoring dev doc
Chocobozzz [Mon, 10 May 2021 16:35:38 +0000 (18:35 +0200)]
Add doc to unpublish a plugin
Chocobozzz [Mon, 10 May 2021 15:06:53 +0000 (17:06 +0200)]
Increase tests timeout
Chocobozzz [Mon, 10 May 2021 14:28:26 +0000 (16:28 +0200)]
Fix handle downs test
Chocobozzz [Mon, 10 May 2021 13:57:28 +0000 (15:57 +0200)]
Update contributors list
Chocobozzz [Mon, 10 May 2021 13:53:35 +0000 (15:53 +0200)]
Update translations
Chocobozzz [Mon, 10 May 2021 13:50:59 +0000 (15:50 +0200)]
Merge remote-tracking branch 'weblate/develop' into develop
Vodoyo Kamal [Thu, 6 May 2021 06:16:23 +0000 (06:16 +0000)]
Translated using Weblate (Bengali)
Currently translated at 5.5% (100 of 1806 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/bn/
Slimane Selyan AMIRI [Thu, 6 May 2021 09:19:22 +0000 (09:19 +0000)]
Translated using Weblate (Kabyle)
Currently translated at 100.0% (103 of 103 strings)
Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kab/
Slimane Selyan AMIRI [Thu, 6 May 2021 11:32:54 +0000 (11:32 +0000)]
Translated using Weblate (Kabyle)
Currently translated at 98.9% (1826 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/
Slimane Selyan AMIRI [Thu, 6 May 2021 09:19:22 +0000 (09:19 +0000)]
Translated using Weblate (Kabyle)
Currently translated at 100.0% (246 of 246 strings)
Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/kab/
Jeff Huang [Thu, 6 May 2021 03:34:50 +0000 (03:34 +0000)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1846 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
Duy [Fri, 7 May 2021 06:12:54 +0000 (06:12 +0000)]
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (1846 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
Filip Bengtsson [Thu, 6 May 2021 21:31:24 +0000 (21:31 +0000)]
Translated using Weblate (Swedish)
Currently translated at 99.7% (1842 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
Jan Prunk [Sun, 9 May 2021 14:11:10 +0000 (14:11 +0000)]
Translated using Weblate (Slovenian)
Currently translated at 3.9% (73 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sl/
Александр [Thu, 6 May 2021 06:16:08 +0000 (06:16 +0000)]
Translated using Weblate (Russian)
Currently translated at 98.5% (1820 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
Balázs Meskó [Mon, 10 May 2021 11:07:35 +0000 (11:07 +0000)]
Translated using Weblate (Hungarian)
Currently translated at 80.0% (1477 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
josé m [Thu, 6 May 2021 04:01:41 +0000 (04:01 +0000)]
Translated using Weblate (Galician)
Currently translated at 100.0% (1846 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
Berto Te [Thu, 6 May 2021 07:31:04 +0000 (07:31 +0000)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (1846 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
Laurent Ettouati [Sun, 9 May 2021 20:19:40 +0000 (20:19 +0000)]
Translated using Weblate (French (France) (fr_FR))
Currently translated at 99.6% (1839 of 1846 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
Chocobozzz [Mon, 10 May 2021 13:48:10 +0000 (15:48 +0200)]
Fix video update
Chocobozzz [Mon, 10 May 2021 13:31:18 +0000 (15:31 +0200)]
Fix button icon in admin plugins
Chocobozzz [Mon, 10 May 2021 13:27:29 +0000 (15:27 +0200)]
Update nginx config for resumable upload
Chocobozzz [Mon, 10 May 2021 13:16:53 +0000 (15:16 +0200)]
Fix miniature overflow
Rigel Kent [Mon, 10 May 2021 12:39:01 +0000 (14:39 +0200)]
refactor subscriptions response from list to totalDataList in openapi spec
closes #4067
Rigel Kent [Mon, 10 May 2021 12:26:17 +0000 (14:26 +0200)]
refactor abuses response list to totalDataList in openapi spec
closes #4066
Rigel Kent [Mon, 10 May 2021 12:17:26 +0000 (14:17 +0200)]
specify operationId in openapi spec and factorize videoconstant ids
Chocobozzz [Mon, 10 May 2021 11:56:26 +0000 (13:56 +0200)]
Fix E2E tests
Chocobozzz [Mon, 10 May 2021 08:52:52 +0000 (10:52 +0200)]
Optimize videos feed endpoint
Rigel Kent [Mon, 10 May 2021 10:01:40 +0000 (12:01 +0200)]
specify getUserId variant in openapi spec
closes #4062
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
Rigel Kent [Mon, 10 May 2021 09:02:54 +0000 (11:02 +0200)]
fix imports list response in openapi spec
closes #4063
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
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>
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
Chocobozzz [Mon, 10 May 2021 07:41:21 +0000 (09:41 +0200)]
Drop NodeJS 10 support
Chocobozzz [Mon, 10 May 2021 07:31:33 +0000 (09:31 +0200)]
Sort channels by -updatedAt
Chocobozzz [Fri, 7 May 2021 15:14:39 +0000 (17:14 +0200)]
Update channel updatedAt when uploading a video
John Livingston [Fri, 7 May 2021 15:32:58 +0000 (17:32 +0200)]
Fix CLI plugins list command: use command parameters.
Chocobozzz [Fri, 7 May 2021 13:17:43 +0000 (15:17 +0200)]
Increase test timeout
Chocobozzz [Fri, 7 May 2021 12:48:39 +0000 (14:48 +0200)]
Reduce pending job waiting
Chocobozzz [Fri, 7 May 2021 12:40:54 +0000 (14:40 +0200)]
Run misc tests in parallel
Chocobozzz [Fri, 7 May 2021 12:23:43 +0000 (14:23 +0200)]
Fix ffmpeg version parsing
Chocobozzz [Fri, 7 May 2021 12:08:35 +0000 (14:08 +0200)]
Refactor video edit css
Chocobozzz [Fri, 7 May 2021 09:53:46 +0000 (11:53 +0200)]
Refactor a little bit live tests
Chocobozzz [Fri, 7 May 2021 09:25:47 +0000 (11:25 +0200)]
Fix mask-image property
Needed by chrome
Rigel Kent [Fri, 7 May 2021 07:46:22 +0000 (09:46 +0200)]
relax guarantee on openapi rate limit doc accuracy
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.
Chocobozzz [Fri, 7 May 2021 06:59:59 +0000 (08:59 +0200)]
Fix remote actor creation date
Rigel Kent [Fri, 7 May 2021 00:15:02 +0000 (02:15 +0200)]
add subscriptions feed api to openapi spec
Rigel Kent [Thu, 6 May 2021 23:40:21 +0000 (01:40 +0200)]
add rate limit table to openapi spec