From f4b43fd85ad3a169d27c53865a13548e44f17ebf Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 3 Jun 2021 21:09:44 +0200 Subject: [PATCH 1/7] Update app.src --- conf/app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.src b/conf/app.src index 6aadf59..2c02890 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v3.1.0/peertube-v3.1.0.tar.xz -SOURCE_SUM=94b4ac2e5dd880039b999e6891e96246b9655070c5d08aedbdc0926ecad1bfa5 +SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v3.2.1/peertube-v3.2.1.tar.xz +SOURCE_SUM=2c8fb6c3796d50155e7c2d9533875b034a0aa3513188bf6281f4686e0d33c639 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.xz SOURCE_IN_SUBDIR=true From 6d7b290d496e466201e25aa1f4482ef81998f797 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 3 Jun 2021 21:14:01 +0200 Subject: [PATCH 2/7] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 3fcc55f..6b7189f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé" }, - "version": "3.1.0~ynh6", + "version": "3.2.1~ynh6", "url": "https://github.com/Chocobozzz/PeerTube", "license": "AGPL-3.0-only", "maintainer": [ From 2f46cfc67f3ae28210c08511ba03b8cc0dd22038 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 3 Jun 2021 21:14:39 +0200 Subject: [PATCH 3/7] Update README_fr.md --- README_fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_fr.md b/README_fr.md index 70694f9..0c5fd87 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ Les serveurs sont gérés indépendamment par différentes personnes et organisa En regardant une vidéo, vous aidez l'hébergeur à la diffuser en devenant vous-même un diffuseur de la vidéo. Chaque instance n'a pas besoin de beaucoup d'argent pour diffuser les vidéos de ses utilisateurs. -**Version incluse :** 3.1.0 +**Version incluse :** 3.2.1 ## Points importants à lire avant l'installation From a93643d7b122312e758c8f7f0445ad0f4d8c0da7 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 5 Jun 2021 19:27:11 +0200 Subject: [PATCH 4/7] Update check_process --- check_process | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check_process b/check_process index 644d844..c8f409b 100644 --- a/check_process +++ b/check_process @@ -28,6 +28,8 @@ upgrade=1 from_commit=1be4caaaf2787e614cd315ca8564573d4268032a # 3.1.0~ynh5 upgrade=1 from_commit=343f2b80e0f3bddc87ad8ed143411a0920c21150 + # 3.2.1~ynh6 + upgrade=1 from_commit=f4b43fd85ad3a169d27c53865a13548e44f17ebf backup_restore=1 multi_instance=0 port_already_use=0 @@ -52,4 +54,6 @@ Notification=yes name=3.1.0~ynh2 ; commit=343f2b80e0f3bddc87ad8ed143411a0920c21150 name=3.1.0~ynh5 - \ No newline at end of file + ; commit=f4b43fd85ad3a169d27c53865a13548e44f17ebf + name=3.2.1~ynh6 + From 3f3a3d93e42d106c52573ebc2150fa22d3015e1b Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 7 Jun 2021 20:16:00 +0200 Subject: [PATCH 5/7] Update manifest.json Co-authored-by: yalh76 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 6b7189f..23bdc74 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé" }, - "version": "3.2.1~ynh6", + "version": "3.2.1~ynh1", "url": "https://github.com/Chocobozzz/PeerTube", "license": "AGPL-3.0-only", "maintainer": [ From 50171b40daa274e8c45b098bfbdc8e60123ce9f0 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Mon, 7 Jun 2021 20:47:30 +0200 Subject: [PATCH 6/7] Update nginx.conf --- conf/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 99fedf6..ad57753 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,6 +19,13 @@ location @api { proxy_pass http://127.0.0.1:__PORT__; } +location = /api/v1/videos/upload-resumable { + client_max_body_size 0; + proxy_request_buffering off; + + try_files /dev/null @api; + } + location / { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; @@ -30,6 +37,7 @@ location / { include conf.d/yunohost_panel.conf.inc; } + location = /api/v1/videos/upload { limit_except POST HEAD { deny all; } From def317b0ed54eba159f70d96f95b747f6548725a Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Tue, 8 Jun 2021 23:02:10 +0200 Subject: [PATCH 7/7] Update nginx.conf --- conf/nginx.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ad57753..00e90cc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,7 +22,6 @@ location @api { location = /api/v1/videos/upload-resumable { client_max_body_size 0; proxy_request_buffering off; - try_files /dev/null @api; }