From 3092e9bbb05fe292fd13bc685b89069c3dda55d9 Mon Sep 17 00:00:00 2001 From: Levi Bard Date: Wed, 3 Jun 2020 09:42:07 +0200 Subject: Make federation of unlisted videos an instance-level server preference (#2802) * Add preference for federating unlisted videos * Connect unlisted video federation with new preference * Apply pull request feedback * Fix lint issues * Remove preference for federating unlisted videos from web admin interface --- config/default.yaml | 4 ++++ config/production.yaml.example | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 34a0a146f..f6e944298 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -178,6 +178,10 @@ plugins: check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions url: 'https://packages.joinpeertube.org' +federation: + videos: + federate_unlisted: true + cache: previews: size: 500 # Max number of previews you want to cache diff --git a/config/production.yaml.example b/config/production.yaml.example index 0ac05c515..e21528821 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -179,6 +179,10 @@ plugins: check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions url: 'https://packages.joinpeertube.org' +federation: + videos: + federate_unlisted: true + ############################################################################### # -- cgit v1.2.3