From 6fc4efb84533f077c83ebe54388ce1df741d40fd Mon Sep 17 00:00:00 2001
From: anmol26s <5068843+anmol26s@users.noreply.github.com>
Date: Wed, 3 Oct 2018 17:07:41 +0530
Subject: [PATCH] Updated to version 1.0.0-beta.16 (#48)
* Updated dependencies and typos
* [add] French description
Description is missing in French apps list.
* Updated to version 1.0.0-beta.15
* Fix systemd and redundancy (#46)
* fixed env in systemd
* changed path while creating password
* changed path while creating password
* changed path while creating password
* changed path while creating password
* Path in systemd
* Fixed yarn in upgrade
* Updated to version 1.0.0-beta.16
* Removed reduency from producton.yaml
---
README.md | 2 +-
conf/app.src | 4 ++--
conf/nginx.conf | 1 +
conf/production.yaml | 18 +++++++++---------
manifest.json | 2 +-
5 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index fff8871..749f686 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
[![Install Peertube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=peertube)
=======
-Shipped Version: **1.0.0-beta.15**
+Shipped Version: **1.0.0-beta.16**
## What is Peertube ?
diff --git a/conf/app.src b/conf/app.src
index 27a68ae..3025a81 100644
--- a/conf/app.src
+++ b/conf/app.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.15/peertube-v1.0.0-beta.15.tar.xz
-SOURCE_SUM=fff45acc7cc84fc1847c0ed62fe2a64e683fe84b394cb64edb7a4b7fa9144da0
+SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.16/peertube-v1.0.0-beta.16.tar.xz
+SOURCE_SUM=6cccb37d443d32ff83b10d285aa20c4e5c165d61ab5d83461bde3ffa6a4619af
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.xz
SOURCE_IN_SUBDIR=true
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 2210a02..988923a 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -1,3 +1,4 @@
+ # Bypass PeerTube for performance reasons. Could be removed
location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
add_header Cache-Control "public, max-age=31536000, immutable";
diff --git a/conf/production.yaml b/conf/production.yaml
index a13fb47..fcbd937 100644
--- a/conf/production.yaml
+++ b/conf/production.yaml
@@ -71,8 +71,10 @@ trending:
# Cache remote videos on your server, to help other instances to broadcast the video
# You can define multiple caches using different sizes/strategies
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
-redundancy:
- videos:
+#redundancy:
+# videos:
+# check_interval: '6 hour' # How often you want to check new videos to cache
+# strategies:
# -
# size: '10GB'
# strategy: 'most-views' # Cache videos that have the most views
@@ -80,13 +82,11 @@ redundancy:
# size: '10GB'
# strategy: 'trending' # Cache trending videos
# -
- size: '1GB'
+# size: '1GB'
# Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
- min_lifetime: '48 hours'
- strategy: 'recently-added' # Cache recently added videos
- minViews: 10 # Having at least x views
-
-
+# min_lifetime: '48 hours'
+# strategy: 'recently-added' # Cache recently added videos
+# minViews: 10 # Having at least x views
###############################################################################
#
@@ -162,7 +162,7 @@ instance:
# Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:'
robots: |
User-agent: *
- Disallow: ''
+ Disallow:
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
securitytxt:
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
diff --git a/manifest.json b/manifest.json
index bfae4ab..b457277 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": "1.0.0-beta.15",
+ "version": "1.0.0-beta.16",
"url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only",
"maintainer": {