1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Merge pull request #176 from ericgaspar/upgrade-to-2.3.0

Upgrade to 2.3.0
This commit is contained in:
yalh76 2020-07-23 21:42:28 +02:00 committed by GitHub
commit 5071a910f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 77 additions and 41 deletions

View file

@ -25,7 +25,7 @@ Servers are run independently by different people and organizations. They can ap
By watching a video, you help the hosting provider to broadcast it by becoming a broadcaster of the video yourself. Each instance doesnt need much money to broadcast the videos of its users. By watching a video, you help the hosting provider to broadcast it by becoming a broadcaster of the video yourself. Each instance doesnt need much money to broadcast the videos of its users.
**Shipped version:** 2.2.0 **Shipped version:** 2.3.0
## Important points to read before installing ## Important points to read before installing

View file

@ -17,12 +17,12 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 2.0.0
upgrade=1 from_commit=032acd21b36030c9c1680d882d54c8011439e83c
# 2.1.0 # 2.1.0
upgrade=1 from_commit=d049b71061d12ffab92bbf106af200e7d8a69572 upgrade=1 from_commit=d049b71061d12ffab92bbf106af200e7d8a69572
# 2.1.1~ynh1 # 2.1.1~ynh1
upgrade=1 from_commit=63f076db215f8f438dbdcd2966c12d9ee7976121 upgrade=1 from_commit=63f076db215f8f438dbdcd2966c12d9ee7976121
# 2.2.0~ynh1
upgrade=1 from_commit=2b24ab443dc95fc78654e8232351933491cf04b4
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
@ -36,9 +36,9 @@
Email=anmol@datamol.org;yalh@yahoo.com Email=anmol@datamol.org;yalh@yahoo.com
Notification=yes Notification=yes
;;; Upgrade options ;;; Upgrade options
; commit=032acd21b36030c9c1680d882d54c8011439e83c
name=2.0.0
; commit=d049b71061d12ffab92bbf106af200e7d8a69572 ; commit=d049b71061d12ffab92bbf106af200e7d8a69572
name=2.1.0 name=2.1.0
; commit=63f076db215f8f438dbdcd2966c12d9ee7976121 ; commit=63f076db215f8f438dbdcd2966c12d9ee7976121
name=2.1.1~ynh1 name=2.1.1~ynh1
; commit=2b24ab443dc95fc78654e8232351933491cf04b4
name=2.2.0~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v2.2.0/peertube-v2.2.0.tar.xz SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v2.3.0/peertube-v2.3.0.tar.xz
SOURCE_SUM=eca2c735f73b16404317b42600037e01b3e7ba15c975d3796855db096114c69b SOURCE_SUM=ebab03ac28b9a22a3ba5868964678e8a30815479a83733c959c79587dbeed787
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.xz SOURCE_FORMAT=tar.xz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -32,7 +32,7 @@ rates_limit:
trust_proxy: trust_proxy:
- 'loopback' - 'loopback'
# Your database name will be "peertube"+database.suffix # Your database name will be database.name OR "peertube"+database.suffix
database: database:
hostname: 'localhost' hostname: 'localhost'
port: 5432 port: 5432
@ -91,14 +91,6 @@ log:
maxFiles: 20 maxFiles: 20
anonymizeIP: false anonymizeIP: false
search:
# Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
# If enabled, the associated group will be able to "escape" from the instance follows
# That means they will be able to follow channels, watch videos, list videos of non followed instances
remote_uri:
users: true
anonymous: false
trending: trending:
videos: videos:
interval_days: 7 # Compute trending videos for the last x days interval_days: 7 # Compute trending videos for the last x days
@ -127,6 +119,14 @@ redundancy:
# strategy: 'recently-added' # Cache recently added videos # strategy: 'recently-added' # Cache recently added videos
# min_views: 10 # Having at least x views # min_views: 10 # Having at least x views
# Other instances that duplicate your content
remote_redundancy:
videos:
# 'nobody': Do not accept remote redundancies
# 'anybody': Accept remote redundancies from anybody
# 'followings': Accept redundancies from instance followings
accept_from: 'anybody'
csp: csp:
enabled: false enabled: false
report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
@ -167,6 +167,10 @@ plugins:
check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions
url: 'https://packages.joinpeertube.org' url: 'https://packages.joinpeertube.org'
federation:
videos:
federate_unlisted: true
############################################################################### ###############################################################################
# #
@ -369,7 +373,39 @@ followings:
# /!\ Don't enable this if you don't have a reactive moderation team /!\ # /!\ Don't enable this if you don't have a reactive moderation team /!\
auto_follow_index: auto_follow_index:
enabled: false enabled: false
# Host your own using https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow
index_url: 'https://instances.joinpeertube.org' index_url: 'https://instances.joinpeertube.org'
theme: theme:
default: 'default' default: 'default'
broadcast_message:
enabled: false
message: '' # Support markdown
level: 'info' # 'info' | 'warning' | 'error'
dismissable: false
search:
# Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
# If enabled, the associated group will be able to "escape" from the instance follows
# That means they will be able to follow channels, watch videos, list videos of non followed instances
remote_uri:
users: true
anonymous: false
# Use a third party index instead of your local index, only for search results
# Useful to discover content outside of your instance
# If you enable search_index, you must enable remote_uri search for users
# If you do not enable remote_uri search for anonymous user, your instance will redirect the user on the origin instance
# instead of loading the video locally
search_index:
enabled: false
# URL of the search index, that should use the same search API and routes
# than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
# You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
# and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
url: ''
# You can disable local search, so users only use the search index
disable_local_search: false
# If you did not disable local search, you can decide to use the search index by default
is_default_search: false

View file

@ -6,7 +6,7 @@
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "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é" "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé"
}, },
"version": "2.2.0~ynh1", "version": "2.3.0~ynh1",
"url": "https://github.com/Chocobozzz/PeerTube", "url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": [ "maintainer": [

View file

@ -7,7 +7,7 @@
# dependencies used by the app # dependencies used by the app
pkg_dependencies="ffmpeg postgresql postgresql-contrib openssl g++ redis-server redis-tools mailutils apt-transport-https" pkg_dependencies="ffmpeg postgresql postgresql-contrib openssl g++ redis-server redis-tools mailutils apt-transport-https"
YNH_NODEJS_VERSION=10 YNH_NODEJS_VERSION=12
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS